Notices

Overclockers Forums > Software > Alternative Operating Systems
Alternative Operating Systems Linux, Mac, Unix Operating Systems and Applications
Forum Jump

dvorak broken within gnome

Post Reply New Thread Subscribe Search this Thread
 
 
Thread Tools
Old 03-18-09, 10:05 AM Thread Starter   #1
I.M.O.G.
Glorious Leader

 
I.M.O.G.'s Avatar 

Join Date: Nov 2002
Location: Rootstown, OH

10 Year Badge
 
dvorak broken within gnome


I use the dvorak layout and it has stopped working within gnome.

I normally boot to the CLI, then issue startx to launch the GUI. When at the CLI, dvorak works like a charm. Once the GUI launches, I'm back to qwerty.

When I go into the Gnome menu System>preferences>keyboard nothing happens - I get the stopwatch which tells me its thinking about it, then it goes away and I get no dialog window.

If I logout to drop back to the CLI, its back to dvorak. I can issues startx again, and then its back to qwerty. I've tried running "loadkeys dvorak" from the terminal as well as from the run prompt (alt+F2), but I'm still stuck on qwerty.

I'm reasonably proficient with qwerty, but its really uncomfortable. Any help is appreciated

__________________
The OC Forums Way
We are a team. We are a community. We are a fellowship made strong by mutual respect and shared dedication to the task of enriching all who come here.
The OC Forums Thank You Thread
Put your computer to work for our OC Forum Teams!
Try out our POST TEMPLATES, they save you time answering common questions!

I spend half my money on CPUs, GPUs, and Liquid Nitrogen. The other half I waste.
I.M.O.G. is offline Author Profile Benching Profile Folding Profile Heatware Profile   QUOTE Thanks
Old 03-18-09, 10:38 AM   #2
splat
ASCII Moderator
Overclockers.com Lead Editor


 
splat's Avatar 

Join Date: Apr 2002
Location: Philly

10 Year Badge
 
i'd manually set it in the xorg.conf, see if that makes any difference:

in the xkblayout
Code:
Option "XkbLayout" "dvorak"

__________________
______________________________/\/\__________________/\/\_____
_______/\/\/\/\__/\/\/\/\____/\/\____/\/\/\______/\/\/\/\/\__
____/\/\/\/\____/\/\__/\/\__/\/\________/\/\______/\/\_______
_________/\/\__/\/\/\/\____/\/\____/\/\/\/\______/\/\________
__/\/\/\/\____/\/\________/\/\/\__/\/\/\/\/\____/\/\/\_______
_____________/\/\___________
once you clock you can't go stock
articles || folding stats || overclockers last.fm group

splat is offline Author Profile   QUOTE Thanks
Old 03-18-09, 10:52 AM Thread Starter   #3
I.M.O.G.
Glorious Leader

 
I.M.O.G.'s Avatar 

Join Date: Nov 2002
Location: Rootstown, OH

10 Year Badge
 
Same result.

__________________
The OC Forums Way
We are a team. We are a community. We are a fellowship made strong by mutual respect and shared dedication to the task of enriching all who come here.
The OC Forums Thank You Thread
Put your computer to work for our OC Forum Teams!
Try out our POST TEMPLATES, they save you time answering common questions!

I spend half my money on CPUs, GPUs, and Liquid Nitrogen. The other half I waste.
I.M.O.G. is offline Author Profile Benching Profile Folding Profile Heatware Profile   QUOTE Thanks
Old 03-18-09, 11:10 AM Thread Starter   #4
I.M.O.G.
Glorious Leader

 
I.M.O.G.'s Avatar 

Join Date: Nov 2002
Location: Rootstown, OH

10 Year Badge
 
So in a terminal I issued "sudo setxkbmap dvorak" and that fixed it. I actually found the answer thru a comic on this page:

http://ubuntu-tutorials.com/2007/01/...s-the-culprit/

Why I had this problem, I have no idea... But I did get about 40 updates when I issued an "emerge -uDNav world" yesterday after syncing. Looks like something updated and jacked my keyboard settings.

EDIT: That only fixed things on a per-session basis. Once I logout and reload X, I'm back to qwerty. So I added the setxkbmap command to my session startup list. This will get me by for now, but why aren't my world settings for dvorak working like they used to?

This is my xorg.conf. I changed the keyboard settings, previously when dvorak was working fine under input device it only had "identifier" and "driver" - I added Option "XkbRules" "xorg", Option "XkbLayout" "us", and Option "XkbVariant" "dvorak" but this had no effect whatsoever.

Code:
 Section "ServerLayout" 
 Identifier "X.org Configured" 
 Screen 0 "Screen0" 0 0 
 InputDevice "Mouse0" "CorePointer" 
 InputDevice "Keyboard0" "CoreKeyboard" 
 EndSection

 Section "Files"
 FontPath "/usr/share/fonts/misc/"
 FontPath "/usr/share/fonts/TTF/"
 FontPath "/usr/share/fonts/OTF" 
 FontPath "/usr/share/fonts/Type1/" 
 FontPath "/usr/share/fonts/100dpi/" 
 FontPath "/usr/share/fonts/75dpi/" 
 EndSection

 Section "Module" 
 Load "xtrap"
 Load "dri"
 Load "glx"
 Load "dbe"
 Load "extmod"
 Load "GLcore"
 Load "record"
 Load "freetype" 
 EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option "XkbRules" "xorg"
	Option "XkbLayout" "us"
	Option "XkbVariant" "dvorak"
EndSection

 Section "InputDevice" 
 Identifier "Mouse0"
 Driver "mouse"
 Option "Protocol" "auto"
 Option "Device" "/dev/input/mice"
 Option "ZaxisMapping" "4 5 6 7"
 EndSection 

 Section "Monitor"
 Identifier "Monitor0"
 VendorName "Monitor Vendor"
 ModelName "Monitor Model"
 EndSection 

 Section "Device"
 #Intel Identifier "Card0" 
 #Driver "vesa" 
 #VendorName "Intel Corporation" 
 #BoardName "Unknown Board" 
 #BusID "PCI:0:2:0"
 #AMD ATI Radeon
 Identifier "Card0"
 Driver "radeonhd"  
 BusID "PCI:1:0:0"
 VendorName "ATI Technologies Inc"
 BoardName "Unknown Board"
 EndSection 

 Section "Screen"
 Identifier "Screen0"
 Device "Card0"
 Monitor "Monitor0"

 SubSection "Display"
 Viewport 0 0
 Depth 1
 EndSubSection 

 SubSection "Display" 
 ViewPort 0 0
 Depth 24 
 EndSubSection
EndSection 

 Section "dri"
 Mode 0666
 EndSection 

Section "Extensions"
Option "Composite" "Enable"
EndSection

__________________
The OC Forums Way
We are a team. We are a community. We are a fellowship made strong by mutual respect and shared dedication to the task of enriching all who come here.
The OC Forums Thank You Thread
Put your computer to work for our OC Forum Teams!
Try out our POST TEMPLATES, they save you time answering common questions!

I spend half my money on CPUs, GPUs, and Liquid Nitrogen. The other half I waste.

Last edited by I.M.O.G.; 03-18-09 at 11:31 AM.
I.M.O.G. is offline Author Profile Benching Profile Folding Profile Heatware Profile   QUOTE Thanks
Old 03-18-09, 11:41 AM   #5
splat
ASCII Moderator
Overclockers.com Lead Editor


 
splat's Avatar 

Join Date: Apr 2002
Location: Philly

10 Year Badge
 
maybe try using a ubuntu-esque xorg.conf, where it's basically bare and lets Xorg autodetect everything, then just changing the settings in Gnome itself.

Code:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Default Screen" 0 0
EndSection

Section "Module"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "Monitor"
    Identifier     "Configured Monitor"
EndSection

Section "Device"
    Identifier     "Configured Video Device"
    Driver         "nvidia"
    Option         "NoLogo" "True"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Configured Video Device"
    Monitor        "Configured Monitor"
    DefaultDepth    24
EndSection

__________________
______________________________/\/\__________________/\/\_____
_______/\/\/\/\__/\/\/\/\____/\/\____/\/\/\______/\/\/\/\/\__
____/\/\/\/\____/\/\__/\/\__/\/\________/\/\______/\/\_______
_________/\/\__/\/\/\/\____/\/\____/\/\/\/\______/\/\________
__/\/\/\/\____/\/\________/\/\/\__/\/\/\/\/\____/\/\/\_______
_____________/\/\___________
once you clock you can't go stock
articles || folding stats || overclockers last.fm group

splat is offline Author Profile   QUOTE Thanks
Old 03-18-09, 12:08 PM Thread Starter   #6
I.M.O.G.
Glorious Leader

 
I.M.O.G.'s Avatar 

Join Date: Nov 2002
Location: Rootstown, OH

10 Year Badge
 
Thanks, I'll try that later and update the thread.

I also am unable to add the keyboard applet to my gnome panel.

"The panel encountered a problem while loading "OAFIID:GNOME_KeyboardApplet"."

I can run the applet from the command line and I get this:

Code:
mrb78s@l3adf3h ~ $ /usr/libexec/gnome-keyboard-applet 
/usr/libexec/gnome-keyboard-applet: error while loading shared libraries: libgnomekbd.so.2: cannot open shared object file: No such file or directory
mrb78s@l3adf3h ~ $ locate libgnomekbd.so  
/usr/lib/libgnomekbd.so
/usr/lib/libgnomekbd.so.3
/usr/lib/libgnomekbd.so.3.0.0
I'm running libgnomekbd-2.24.0, which looks like it just went stable:

15 Mar 2009; Markus Meier <maekke@gentoo.org> libgnomekbd-2.24.0.ebuild:
x86 stable, bug #260063

If I'm understanding all this correctly, the keyboard applet is looking for libgnomekbd.so.2 and not finding it, thus it fails to load. I'm gonna take a stretch and say thats probably also why my keyboard settings aren't automatically applying. What do you think?

__________________
The OC Forums Way
We are a team. We are a community. We are a fellowship made strong by mutual respect and shared dedication to the task of enriching all who come here.
The OC Forums Thank You Thread
Put your computer to work for our OC Forum Teams!
Try out our POST TEMPLATES, they save you time answering common questions!

I spend half my money on CPUs, GPUs, and Liquid Nitrogen. The other half I waste.

Last edited by I.M.O.G.; 03-18-09 at 12:31 PM.
I.M.O.G. is offline Author Profile Benching Profile Folding Profile Heatware Profile   QUOTE Thanks
Old 03-18-09, 12:48 PM Thread Starter   #7
I.M.O.G.
Glorious Leader

 
I.M.O.G.'s Avatar 

Join Date: Nov 2002
Location: Rootstown, OH

10 Year Badge
 
So I re-emerged libgnomekbd-2.24.0, and this apparently fixed the keyboard indicator applet - it will now load fine. However, I still don't get the correct keyboard layout by default, and I still cant display the gui under System>preferences>keyboard.

__________________
The OC Forums Way
We are a team. We are a community. We are a fellowship made strong by mutual respect and shared dedication to the task of enriching all who come here.
The OC Forums Thank You Thread
Put your computer to work for our OC Forum Teams!
Try out our POST TEMPLATES, they save you time answering common questions!

I spend half my money on CPUs, GPUs, and Liquid Nitrogen. The other half I waste.
I.M.O.G. is offline Author Profile Benching Profile Folding Profile Heatware Profile   QUOTE Thanks
Old 03-18-09, 12:58 PM   #8
splat
ASCII Moderator
Overclockers.com Lead Editor


 
splat's Avatar 

Join Date: Apr 2002
Location: Philly

10 Year Badge
 
sounds like you need to post a bug to the gentoo bugzilla

__________________
______________________________/\/\__________________/\/\_____
_______/\/\/\/\__/\/\/\/\____/\/\____/\/\/\______/\/\/\/\/\__
____/\/\/\/\____/\/\__/\/\__/\/\________/\/\______/\/\_______
_________/\/\__/\/\/\/\____/\/\____/\/\/\/\______/\/\________
__/\/\/\/\____/\/\________/\/\/\__/\/\/\/\/\____/\/\/\_______
_____________/\/\___________
once you clock you can't go stock
articles || folding stats || overclockers last.fm group

splat is offline Author Profile   QUOTE Thanks
Old 03-18-09, 01:29 PM Thread Starter   #9
I.M.O.G.
Glorious Leader

 
I.M.O.G.'s Avatar 

Join Date: Nov 2002
Location: Rootstown, OH

10 Year Badge
 
Ok, so I think my earlier posts may have obfuscated the problem more than they clarified anything. I looked at my /var/log/Xorg.0.log and it said the following (excess info removed):
Code:
(WW) AllowEmptyInput is on, devices using drivers 'kbd' or 'mouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel

(II) config/hal: Adding input device ThinkPad Extra Buttons
(II) LoadModule: "evdev"

(II) Loading /usr/lib/xorg/modules/input//evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
	compiled for 1.5.3, module version = 2.1.0
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 2.1
(**) ThinkPad Extra Buttons: always reports core events
(**) ThinkPad Extra Buttons: Device: "/dev/input/event3"
(II) ThinkPad Extra Buttons: Found keys
(II) ThinkPad Extra Buttons: Configuring as keyboard
(II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) ThinkPad Extra Buttons: xkb_rules: "evdev"
(**) Option "xkb_model" "evdev"
(**) ThinkPad Extra Buttons: xkb_model: "evdev"
(**) Option "xkb_layout" "us"
(**) ThinkPad Extra Buttons: xkb_layout: "us"
(II) config/hal: Adding input device TPPS/2 IBM TrackPoint
(**) TPPS/2 IBM TrackPoint: always reports core events
(**) TPPS/2 IBM TrackPoint: Device: "/dev/input/event5"
(II) TPPS/2 IBM TrackPoint: Found 3 mouse buttons
(II) TPPS/2 IBM TrackPoint: Found x and y relative axes
(II) TPPS/2 IBM TrackPoint: Configuring as mouse
(**) TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
(**) TPPS/2 IBM TrackPoint: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE)
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event4"
(II) AT Translated Set 2 keyboard: Found keys
(II) AT Translated Set 2 keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) AT Translated Set 2 keyboard: xkb_rules: "evdev"
(**) Option "xkb_model" "evdev"
(**) AT Translated Set 2 keyboard: xkb_model: "evdev"
(**) Option "xkb_layout" "us"
(**) AT Translated Set 2 keyboard: xkb_layout: "us"

__________________
The OC Forums Way
We are a team. We are a community. We are a fellowship made strong by mutual respect and shared dedication to the task of enriching all who come here.
The OC Forums Thank You Thread
Put your computer to work for our OC Forum Teams!
Try out our POST TEMPLATES, they save you time answering common questions!

I spend half my money on CPUs, GPUs, and Liquid Nitrogen. The other half I waste.

Last edited by I.M.O.G.; 03-18-09 at 01:36 PM.
I.M.O.G. is offline Author Profile Benching Profile Folding Profile Heatware Profile   QUOTE Thanks
Old 03-18-09, 02:02 PM   #10
splat
ASCII Moderator
Overclockers.com Lead Editor


 
splat's Avatar 

Join Date: Apr 2002
Location: Philly

10 Year Badge
 
i don't see any errors.

__________________
______________________________/\/\__________________/\/\_____
_______/\/\/\/\__/\/\/\/\____/\/\____/\/\/\______/\/\/\/\/\__
____/\/\/\/\____/\/\__/\/\__/\/\________/\/\______/\/\_______
_________/\/\__/\/\/\/\____/\/\____/\/\/\/\______/\/\________
__/\/\/\/\____/\/\________/\/\/\__/\/\/\/\/\____/\/\/\_______
_____________/\/\___________
once you clock you can't go stock
articles || folding stats || overclockers last.fm group

splat is offline Author Profile   QUOTE Thanks
Old 03-18-09, 02:21 PM Thread Starter   #11
I.M.O.G.
Glorious Leader

 
I.M.O.G.'s Avatar 

Join Date: Nov 2002
Location: Rootstown, OH

10 Year Badge
 
Quote:
Originally Posted by splat View Post
i don't see any errors.
Its not erroring, but rather than respecting the settings I specific in xorg.conf with the kbd driver, its using the evdev driver and specifying the regular us qwerty layout.

I'm not sure why its doing that or how to make it stop.

__________________
The OC Forums Way
We are a team. We are a community. We are a fellowship made strong by mutual respect and shared dedication to the task of enriching all who come here.
The OC Forums Thank You Thread
Put your computer to work for our OC Forum Teams!
Try out our POST TEMPLATES, they save you time answering common questions!

I spend half my money on CPUs, GPUs, and Liquid Nitrogen. The other half I waste.
I.M.O.G. is offline Author Profile Benching Profile Folding Profile Heatware Profile   QUOTE Thanks
Old 03-18-09, 02:25 PM   #12
splat
ASCII Moderator
Overclockers.com Lead Editor


 
splat's Avatar 

Join Date: Apr 2002
Location: Philly

10 Year Badge
 
are you using the "minimal" xorg.conf to get this output? I'd say that this is more the way it should be so you can change the settings in userspace. so can you now go in to the preferences in gnome and change the keyboard layout? keep in mind that i'm guessing at all this.

__________________
______________________________/\/\__________________/\/\_____
_______/\/\/\/\__/\/\/\/\____/\/\____/\/\/\______/\/\/\/\/\__
____/\/\/\/\____/\/\__/\/\__/\/\________/\/\______/\/\_______
_________/\/\__/\/\/\/\____/\/\____/\/\/\/\______/\/\________
__/\/\/\/\____/\/\________/\/\/\__/\/\/\/\/\____/\/\/\_______
_____________/\/\___________
once you clock you can't go stock
articles || folding stats || overclockers last.fm group

splat is offline Author Profile   QUOTE Thanks
Old 03-18-09, 02:41 PM Thread Starter   #13
I.M.O.G.
Glorious Leader

 
I.M.O.G.'s Avatar 

Join Date: Nov 2002
Location: Rootstown, OH

10 Year Badge
 
With the minimial xorg.conf, I get identical output except the first 3 lines of what I posted above. So xorg loads the evdev module and sets the qwerty layout.

System>Preferences>Keyboard gives me the stopwatch cursor and no window appears still. The keyboard applet which indicates what layout your using on the gnome-panel runs fine, except you can't right click and bring up keyboard preferences. setxkbmap still works fine also.

So 2 problems remain:
1) Keyboard Preferences is broken
2) Keyboard layout in xorg.conf is overidden by evdev

__________________
The OC Forums Way
We are a team. We are a community. We are a fellowship made strong by mutual respect and shared dedication to the task of enriching all who come here.
The OC Forums Thank You Thread
Put your computer to work for our OC Forum Teams!
Try out our POST TEMPLATES, they save you time answering common questions!

I spend half my money on CPUs, GPUs, and Liquid Nitrogen. The other half I waste.
I.M.O.G. is offline Author Profile Benching Profile Folding Profile Heatware Profile   QUOTE Thanks
Old 03-20-09, 12:24 PM Thread Starter   #14
I.M.O.G.
Glorious Leader

 
I.M.O.G.'s Avatar 

Join Date: Nov 2002
Location: Rootstown, OH

10 Year Badge
 
Just to update this...

Did an emerge --depclean and a revdep-rebuild and it fixed something to do with the keyboard settings. The System>prefences>keyboard dialog now works fine.

Keyboard layout is working normally now, without the workaround.

__________________
The OC Forums Way
We are a team. We are a community. We are a fellowship made strong by mutual respect and shared dedication to the task of enriching all who come here.
The OC Forums Thank You Thread
Put your computer to work for our OC Forum Teams!
Try out our POST TEMPLATES, they save you time answering common questions!

I spend half my money on CPUs, GPUs, and Liquid Nitrogen. The other half I waste.
I.M.O.G. is offline Author Profile Benching Profile Folding Profile Heatware Profile   QUOTE Thanks
Old 03-20-09, 01:46 PM   #15
splat
ASCII Moderator
Overclockers.com Lead Editor


 
splat's Avatar 

Join Date: Apr 2002
Location: Philly

10 Year Badge
 
ah yeah, i'm surprised at myself for not suggesting that before. I run rev-dep rebuild every time i update world now.

__________________
______________________________/\/\__________________/\/\_____
_______/\/\/\/\__/\/\/\/\____/\/\____/\/\/\______/\/\/\/\/\__
____/\/\/\/\____/\/\__/\/\__/\/\________/\/\______/\/\_______
_________/\/\__/\/\/\/\____/\/\____/\/\/\/\______/\/\________
__/\/\/\/\____/\/\________/\/\/\__/\/\/\/\/\____/\/\/\_______
_____________/\/\___________
once you clock you can't go stock
articles || folding stats || overclockers last.fm group

splat is offline Author Profile   QUOTE Thanks

Post Reply New Thread Subscribe


Overclockers Forums > Software > Alternative Operating Systems
Alternative Operating Systems Linux, Mac, Unix Operating Systems and Applications
Forum Jump

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Mobile Skin
All times are GMT -5. The time now is 03:23 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
You can add these icons by updating your profile information to include your Heatware ID, Benching Profile ID or your Folding/SETI profile ID. Edit your profile!
X

Welcome to Overclockers.com

Create your username to jump into the discussion!

New members like you have made this the best community on the Internet since 1998!


(4 digit year)

Why Join Us?

  • Share experience
  • Max out your hardware
  • Best forum members anywhere
  • Customized forum experience

Already a member?