You are not logged in.
Pages: 1
Hello, I am currently using dvorak, but I still would like to remain capable in the regular qwerty format, So I had set up in my xorg.conf the ability to switch between layouts by pressing the control keys. this is no longer working and I am wondering why. Can you help? Here is my xorg.conf:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Mon May 19 00:33:37 PDT 2008
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Touchpad" "SendCoreEvents"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "dbe"
Load "glx"
Load "xtrap"
Load "record"
Load "extmod"
Load "freetype"
Load "synaptics"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "dvorak,us"
Option "XkbOptions" "grp:ctrls_toggle"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Touchpad"
Driver "synaptics"
Option "Device" "/dev/input/mouse0"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.12"
Option "MaxSpeed" "0.24"
Option "AccelFactor" "0.0010"
Option "SHMConfig" "on"
Option "VertTwoFingerScroll" "True" #Virtual scroll when two fingers dragged up/down
Option "HorizTwoFingerScroll" "False" #Virtual scroll when two fingers dragged left/right
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 30.0 - 130.0
VertRefresh 50.0 - 100.0
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "Unknown Board"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
Option "RenderAccel" "true"
Option "NoLogo" "true"
Option "AGPFastWrite" "true"
Option "EnablePageFlip" "true"
Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
(Also I am trying to learn vim so it would help if the keyboard was setup with all the keys the way they were meant to)
Offline
Does anybody switch between keyboard layouts? If so how do you do it?
Offline
I have trouble switching between xorg kbd layouts myself. I've set it up as it should be but xorg just won't switch layouts and I have to use kkbswitch from KDE....
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Does anybody switch between keyboard layouts? If so how do you do it?
Yes, I switch between US English, Latin American (Spanish) and Brazilian Portuguese. I just use xorg.conf configuration because I don't use a DE and to keep things simple. Here is my keyboard stanza from xorg.conf.
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "latitude"
Option "XkbLayout" "us,latam,br"
Option "XkbOptions" "grp:shifts_toggle"
EndSection
As you can see I use both shift keys together to switch groups. If this was previously working for you and suddenly stopped, it could be that an update to the xkb stuff broke one of the layouts. Perhaps try switching out each of your layouts for some other layout and see if it works. Also, I note you don't have XkbRules or XkbModel lines in your xorg.conf as I do. It might be worth trying that out, I've had the same xorg.conf for a long time and on several machines and this keyboard setup always worked, but I can't necessarily say that XkbRules and XkbModel have anything to do with it.
Good luck.
Offline
Added these options and it still didnt work.
Option "CoreKeyboard"
Option "XkbRules" "xorg"
So then I changed it to the shifts_toggle option, and now that works. So just the ctrls_toggle option isn't working I guess. Should I file a bug report about it? It used to be working but suddenly stopped, so I guess an update along the way must have broke that. Thanks for your help in getting a working solution.
Last edited by semperfiguy (2008-06-24 17:44:10)
Offline
Added these options and it still didnt work.
Option "CoreKeyboard" Option "XkbRules" "xorg"
So then I changed it to the shifts_toggle option, and now that works. So just the ctrls_toggle option isn't working I guess. Should I file a bug report about it? It used to be working but suddenly stopped, so I guess an update along the way must have broke that. Thanks for your help in getting a working solution.
Same here -- I'm on Xmonad and grp:ctrls_toggle doesn't work but grp:shifts_toggle works fine. I guess it is a bug after all.
Offline
@jbromley:
Thank you! Thank you! Thank you! (you get the jist?!)
Man have I been struggling of lately - I have a US keyboard but frequently need to change to another language/map and have always used 'setxkbmap'. Now that worked fine untill a couple of weeks ago :-(
The above works perfectly, though for the life of me I can't see why we should use 'keyboard' and not 'kb' as the driver - I thought the former was regarded as obsolete.
However - it works!
Offline
Pages: 1