|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
||||
Quote:
~/.fluxbox/keys |
|
|||
Add following lines under your "InputDevice" section in your xorg.conf file
Option "XkbLayout" "af,us" Option "XkbOptions" "grp:alt_shif_toggle" same thing can be done with command: % setxkbmap -layout "af,us" -option "grp:alt_shift_toggle"
|
|
||||
You would set a comma separated list of the keyboard layouts and define a key combination to toggle between them
in Xorg's config file as Code:
Section "InputDevice" Identifier "Keyboard1" Driver "kbd" .... Option "XkbLayout" "af,us" Option "XkbOptions" "grp:alt_shift_toggle" ... Alternatively at runtime Code:
setxkbmap -rules xorg -model {the one in the xorg.conf, presumaby pc105} \ -layout "af.us" -option "grp:alt_shift_toggle"
__________________
da more I know I know I know nuttin' |
|
||||
Quote:
But I do not want change Xorg or type setxkbmap each time |
|
||||
You only have to edit the xorg.conf once. Then use shift+alt to switch.
Since you are on GBONE, you can install the keyboard applet. From there, you can edit a list of whatever keyboards. And, a plus, even call a graphic representation of the keyboard with the way to enter some characters. Fwiw, XFCE4 has the keyboard pabnel applet, but just displays the current keyboard and does not switches yet. Havent't tried the shift+alt though. Specific OpenBSD: - you must first make sure you have a symlink ln -s /etc/X11/xkb /usr/X11R6/lib/X11/xkb - man kbd for the CLI, haven't found equivalents on other *BSDs
__________________
da more I know I know I know nuttin' |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
NetBSD 5 keyboard layout in gnome | jaideep_jdof | NetBSD Package System (pkgsrc) | 1 | 17th September 2009 03:50 PM |
Can not change keyboard layout with SHIFT and Alt after VNCviewer connect | mfaridi | OpenBSD General | 1 | 13th December 2008 03:14 PM |
Recommended Partition Layout | MetalHead | OpenBSD Installation and Upgrading | 12 | 30th November 2008 10:08 AM |
Project layout, any comments? | PatrickBaer | FreeBSD General | 1 | 12th October 2008 05:13 PM |
Keyboard | delboy | FreeBSD Installation and Upgrading | 2 | 23rd May 2008 05:55 PM |