sed -i 's/XKBLAYOUT="us"/XKBLAYOUT="de"/' /etc/default/keyboard setupcon --force
The first line makes the necessary changes in the file that is responsible for the global keyboard layout. The second line applies the change to the current console.
sed -i 's/XKBLAYOUT="us"/XKBLAYOUT="de"/' /etc/default/keyboard setupcon --force
The first line makes the necessary changes in the file that is responsible for the global keyboard layout. The second line applies the change to the current console.
Set the default application for Java files to Kate and use Evince for pdfs:
echo "text/x-java=kde4-kate.desktop;" >> /usr/share/xfce4/applications/defaults.list echo "application/pdf=evince.desktop;" >> /usr/share/xfce4/applications/defaults.list
A few settings to be put into the .bashrc
.
Ignore duplicates in history, but do put in comands that start with spaces:
HISTCONTROL=ignoredups # (default: ignoreboth)
Keep a lot of history:
export HISTSIZE=10000 # default: 1000 export HISTFILESIZE=10000 # default: 1000
When the shell exits, append to the history file instead of overwriting it:
shopt -s histappend
Disable the annoying password thingy in KDE:
unset SSH_ASKPASS