Joined: July 2004
||Posted: Feb. 29 2008,02:41
Exit the window manager, or press Ctrl+Alt+Backspace, to shut down X. Type startx to restart X.
|I'm still missing an obvious way to just restart X|
There are many ways you can choose from multiple options; usually an easy way is to write a couple of lines of script. For choosing one of two xmodmap files to use, you could include a prompt in .xinitrc:
Anything other than a response of "N" or "n" will use dvorak.
|Code Sample |
|echo "would you like Dvorak today? (Y|n)" && read answer|
case "$answer" in
N|n) xmodmap $HOME/.Xmodmap-qwerty;;
*) xmodmap $HOME/.Xmodmap-dvorak;;
There are probably better ways, but this is the first thing that came to mind