My Ubuntu tweaks: Difference between revisions
| (22 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<syntaxhighlight lang="bash"> | |||
sudo aptitude install net-tools avahi-daemon avahi-autoipd inetutils-traceroute | |||
</syntaxhighlight> | |||
=Packages for dev boxes= | =Packages for dev boxes= | ||
== must haves== | == must haves== | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
sudo aptitude install openssh-server konsole yakuake htop | sudo aptitude install openssh-server konsole yakuake htop python-is-python3 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| Line 18: | Line 22: | ||
==bits and pieces == | ==bits and pieces == | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
sudo aptitude install kate konqueror | sudo aptitude install kate gedit konqueror | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==Various dev Tools== | ==Various dev Tools== | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
sudo aptitude install git subversion build-essential make minicom | sudo aptitude install git subversion build-essential make minicom meld | ||
</syntaxhighlight> | |||
<syntaxhighlight lang="bash"> | |||
sudo snap install gitkraken --classic | |||
</syntaxhighlight> | </syntaxhighlight> | ||
| Line 31: | Line 39: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Install the chrome-gnome-shell package: | |||
<syntaxhighlight lang="bash"> | |||
sudo aptitude install chrome-gnome-shell | |||
</syntaxhighlight> | |||
Remove brltty as this package can interfere with some UART devices. | |||
<syntaxhighlight lang="bash"> | |||
sudo aptitude purge brltty | |||
</syntaxhighlight> | |||
== Arrange workspaces in a two dimensional grid with workspace thumbnails. == | == Arrange workspaces in a two dimensional grid with workspace thumbnails. == | ||
This setting now made it into the "Settings" tool on the "Multitasking" tab: | |||
* https://askubuntu.com/questions/1403554/switch-workspace-on-dual-monitor-22-04 | |||
old: | |||
* https://askubuntu.com/questions/1232919/how-do-i-get-grid-workspaces-in-ubuntu-20-04 | * https://askubuntu.com/questions/1232919/how-do-i-get-grid-workspaces-in-ubuntu-20-04 | ||
* https://extensions.gnome.org/extension/1485/workspace-matrix/ | * https://extensions.gnome.org/extension/1485/workspace-matrix/ | ||
Enable workspaces on all monitors: | |||
<syntaxhighlight lang="bash"> | |||
gsettings set org.gnome.mutter workspaces-only-on-primary false | |||
</syntaxhighlight> | |||
== Open a new instance of an applicaiton == | |||
1. Install from App Center: Extension Manager - A native tool for browsing, installing, and managing GNOME Shell Extensions | |||
2. Install from Extension Manager: Launch new instance | |||
3. Enable the option | |||
Old variant (does not really work anymore): | |||
https://askubuntu.com/questions/125243/how-do-i-open-a-new-instance-of-an-application-by-default-in-gnome | |||
https://extensions.gnome.org/extension/600/launch-new-instance/# | |||
=Packages for server boxes= | =Packages for server boxes= | ||
| Line 55: | Line 94: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
sudo bash -c "echo 2 > /sys/module/hid_apple/parameters/fnmode" | sudo bash -c "echo 2 > /sys/module/hid_apple/parameters/fnmode" | ||
</syntaxhighlight> | |||
or add the following line to /etc/modprobe.d/hid_apple.conf | |||
<syntaxhighlight lang="bash"> | |||
options hid_apple fnmode=2 | |||
</syntaxhighlight> | |||
and run: | |||
<syntaxhighlight lang="bash"> | |||
sudo update-initramfs -u | |||
</syntaxhighlight> | |||
reboot your system - be happy! ;-) | |||
==WLAN== | |||
Download <syntaxhighlight lang="bash" inline>bcmwl-kernel-source</syntaxhighlight> package from https://packages.ubuntu.com/groovy/amd64/bcmwl-kernel-source/download and (re)-install it ([https://forum.ubuntuusers.de/topic/wifi-funktioniert-nicht-nach-neuinstallation/2/ info source]): | |||
<syntaxhighlight lang="bash"> | |||
sudo apt remove --purge bcmwl-kernel-source | |||
wget http://de.archive.ubuntu.com/ubuntu/pool/restricted/b/bcmwl/bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu7_amd64.deb | |||
sudo dpkg -i bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu7_amd64.deb | |||
</syntaxhighlight> | |||
=have fun with Tex/Latex= | |||
A few nice latex packages (tbd.): | |||
<syntaxhighlight lang="bash"> | |||
sudo aptitude install texlive-base texlive-bibtex-extra texlive-binaries texlive-fonts-extra texlive-fonts-extra-links texlive-fonts-recommended texlive-lang-german texlive-lang-greek texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-pictures texlive-plain-generic texlive-science | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Latest revision as of 13:40, 30 November 2025
Packages for all boxes
sudo apt install aptitude
sudo aptitude install net-tools avahi-daemon avahi-autoipd inetutils-traceroute
Packages for dev boxes
must haves
sudo aptitude install openssh-server konsole yakuake htop python-is-python3
- Add yakuake to "startup applications" - guckst Du
bits and pieces
sudo aptitude install kate gedit konqueror
Various dev Tools
sudo aptitude install git subversion build-essential make minicom meld
sudo snap install gitkraken --classic
- to be able to use minicom and serial ports, add your username to the dailout group:
sudo adduser <the dev user> dialout
Install the chrome-gnome-shell package:
sudo aptitude install chrome-gnome-shell
Remove brltty as this package can interfere with some UART devices.
sudo aptitude purge brltty
Arrange workspaces in a two dimensional grid with workspace thumbnails.
This setting now made it into the "Settings" tool on the "Multitasking" tab:
old:
- https://askubuntu.com/questions/1232919/how-do-i-get-grid-workspaces-in-ubuntu-20-04
- https://extensions.gnome.org/extension/1485/workspace-matrix/
Enable workspaces on all monitors:
gsettings set org.gnome.mutter workspaces-only-on-primary false
Open a new instance of an applicaiton
1. Install from App Center: Extension Manager - A native tool for browsing, installing, and managing GNOME Shell Extensions 2. Install from Extension Manager: Launch new instance 3. Enable the option
Old variant (does not really work anymore): https://askubuntu.com/questions/125243/how-do-i-open-a-new-instance-of-an-application-by-default-in-gnome https://extensions.gnome.org/extension/600/launch-new-instance/#
Packages for server boxes
tbd
General tweaks
Shell/Bash
Add the following mappings to /etc/inputrc for a very convinient history search:
# mappings for "page up" and "page down" to search the history
"\e[5~": history-search-backward
"\e[6~": history-search-forward
Öpfelbuech / mac book tweaks
Enable direct Function Key F1..F12
sudo bash -c "echo 2 > /sys/module/hid_apple/parameters/fnmode"
or add the following line to /etc/modprobe.d/hid_apple.conf
options hid_apple fnmode=2
and run:
sudo update-initramfs -u
reboot your system - be happy! ;-)
WLAN
Download bcmwl-kernel-source package from https://packages.ubuntu.com/groovy/amd64/bcmwl-kernel-source/download and (re)-install it (info source):
sudo apt remove --purge bcmwl-kernel-source
wget http://de.archive.ubuntu.com/ubuntu/pool/restricted/b/bcmwl/bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu7_amd64.deb
sudo dpkg -i bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu7_amd64.deb
have fun with Tex/Latex
A few nice latex packages (tbd.):
sudo aptitude install texlive-base texlive-bibtex-extra texlive-binaries texlive-fonts-extra texlive-fonts-extra-links texlive-fonts-recommended texlive-lang-german texlive-lang-greek texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-pictures texlive-plain-generic texlive-science