My Ubuntu tweaks

From chriesibaum wiki
Jump to navigation Jump to search


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:

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