Skip to content

Instantly share code, notes, and snippets.

@ibqn
Last active November 3, 2019 20:12
Show Gist options
  • Save ibqn/852f21febf9e8056936d8ddbe4b44e0e to your computer and use it in GitHub Desktop.
Save ibqn/852f21febf9e8056936d8ddbe4b44e0e to your computer and use it in GitHub Desktop.
Useful notes

disable dynamic session-creation by default in byubu

Allow the dynamic session-creation behaviour to be disabled by creating

 touch ~/.byobu/.reuse-session

Its fixed in byobu 5.125. Just create ~/.byobu/.reuse-session

enable mouse support in byobu

enable mouse support by default for all these operations, add these lines to your ~/.byobu/profile.tmux

# Enable mouse support including scrolling
set -g mouse on

versions prior to 2.1 may want this too:

set -g mouse-utf8 on

change default shell to fish in byobu

put the following in your ~/.byobu/profile.tmux

set -g default-shell /usr/bin/fish
set -g default-command /usr/bin/fish

enable sudo without password

sudo visudo

and append the following line

username     ALL=(ALL) NOPASSWD:ALL

change the default editor of the sudoedit command

sudo update-alternatives --config editor

fix perl warning massages about unset locale settings

sudo dpkg-reconfigure locales

add german language spellcheck support in libreoffice

sudo apt install hunspell-de-de-frami

change default shell to fish

Set fish as your default shell by running

chsh -s `which fish`

To do so for another user, just add the username at the end of the command, and use sudo.

Then log out and back in.

To set it back to bash, you need to use Fish syntax of course, like this

chsh -s (which bash)

list all pip packages installed by --user

To install pip package locally

python3 -m pip install pylint --user

Uninstall a package installed with pip install --user

python3 -m pip freeze --exclude-editable | xargs -r pip uninstall -y

update gimp auf ubuntu 18.04

sudo add-apt-repository ppa:otto-kesselgulasch/gimp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment