Obscure things you want to do to your 'nix

Tired of a complete misuse of one of the biggest keys on keyboard, and inaccessibility of the most important.

setxkbmap -option caps:backspace
setxkbmap -option shift:both_capslock
xmodmap -e "clear Lock"
xmodmap -pke >~/.Xmodmap
echo "xmodmap .Xmodmap" > .xinitrc

after 13.10

sudo dpkg-reconfigure xkb-data

Missing a certificate?

mozroots --import --ask-remove

Restart sound..

pulseaudio -k && sudo alsa force-reload

mount usb

mount -o gid=1000,uid=1000 /dev/sdb1 usb

don’t save history in a current session

export HISTFILE=/dev/null

what is using port 7777

sudo netstat -tulpn | grep 7777

gnome applications location

~/.local/share/applications/
/user/share/applications

fix locales

sudo dpkg-reconfigure locales
comments powered by Disqus