- Set Caps to Ctrl:
setxkbmap -layout ch -option ctrl:nocaps
sudo vim /etc/default/keyboard and change XKBOPTIONS="ctrl:nocaps"
install shutter
sudo add-apt-repository ppa:shutter/ppa
sudo apt-get update
sudo apt-get install shutter
system-config-printer
- Define startup scripts
- Sources:
- https://stackoverflow.com/questions/9683357/ubuntu-run-command-on-start-up-with-sudo
- https://askubuntu.com/questions/19320/how-to-enable-or-disable-services
sudo vim /etc/rc.local
Don't forget to kill pigeon every now and then... XD
ps aux | grep pigeon | awk '{print $2}' | xargs kill
Allow to index custom shell scripts:
- create a directory to store your scripts: mkdir ~/bin
- Add
PATH=~/bin:$PATH
to~/.bashrc
,~/.zshrc
or ~/.bash_profile files. - Create
~/bin/foobar
:
#!/usr/bin/env bash
/PATH/TO/A/FANCY/SCRIPT/SCRIPT_NAME OPTIONS
github ssh:
- Start ssh agent:
eval "$(ssh-agent -s)"
- Add ssh key to agent:
ssh-add ~/.ssh/id_rsa
edit /etc/hosts/
1.2.3.4 foobar.barbaz.local