Changing keyboard layout
Ugrás a navigációhoz
Ugrás a kereséshez
You can:
- Use the default menu:
Left mouse click above free space on your desktop to get 'Root Menu', then 'Utilities' > 'Corvina' > 'Keyboard< or
- Create a menu entry at the top of the 'Root Menu':
Add the following lines to your '~/.fvwm2/main-menu-pre.hook' file:
AddToMenu RootMenu "Keyboard" Popup Keyboard AddToMenu Keyboard "Keyboard" Title + "Hungarian" Exec /usr/bin/X11/xmodmap /usr/local/lib/xmodmaprc-voyager.hun + "English" Exec /usr/bin/X11/xmodmap /usr/local/lib/xmodmaprc-voyager.eng
Then log out and log in to make changes effect. or
- Create an alias:
Add the following lines to your '~/.zshrc' file:
alias kbdhu='/usr/bin/X11/xmodmap /usr/local/lib/xmodmaprc-voyager.hun' alias kbden='/usr/bin/X11/xmodmap /usr/local/lib/xmodmaprc-voyager.eng' After you log out and log in again, the command 'kbdhu' will switch keyboard layout to Hungarian and the command 'kbden' will switch it back to English.