FS#12248 - "up" key invokes gnome-screenshot
Attached to Project:
Arch Linux
Opened by Jarod Liu (jarod) - Wednesday, 26 November 2008, 14:07 GMT
Last edited by Jan de Groot (JGC) - Saturday, 06 December 2008, 11:55 GMT
Opened by Jarod Liu (jarod) - Wednesday, 26 November 2008, 14:07 GMT
Last edited by Jan de Groot (JGC) - Saturday, 06 December 2008, 11:55 GMT
|
Details
Description:
My situation is identical to the link below: https://bugs.launchpad.net/gnome-settings-daemon/+bug/255008/ This situation show up after a xserver package upgrade copule weeks ago. After that upgrade, my keyboard and mouse not work in X. Then, I install xf86-input-evdev package, my keyboard and mouse work again. But, from that time on, 'up' key mapped to screen print(invokes gnome-screenshot) |
This task depends upon
Closed by Jan de Groot (JGC)
Saturday, 06 December 2008, 11:55 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in the latest version of xorg-server. Be sure to set your keyboard model to evdev when using the evdev driver, this is documented in the wiki now.
Saturday, 06 December 2008, 11:55 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in the latest version of xorg-server. Be sure to set your keyboard model to evdev when using the evdev driver, this is documented in the wiki now.
I think my situation worse. I just installed gdm, but I don't use it. I boot my machine in level 3, and run startx myself, the problem is there.
I think so. The xkeyboard-config package I installed is version 1.4.1(i686)
And I tested both configuratins below in /etc/X11/xorg.conf, got the same result.
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "evdev"
Option "evBits" "+1"
Option "keyBits" "~1-255 ~352-511"
Option "Pass" "3"
Option "Name" "AT Translated Set 2 keyboard"
Option "XkbModel" "evdev"
Option "XkbLayout" "us"
Option "1 2 3"
Option "AutoRepeat" "250 30"
EndSection
So what's the solution? :)
xorg.conf (3 KiB)
What should I do in order to get my up key functioning? :)
there's no inputdevice section nor allowEmptyInput directive in my xorg.conf.
but look what i've found on /var/log/Xorg.0.log:
"
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
If no devices become available, reconfigure HAL or disable AllowEmptyInput.
"
what should i do now?
xorg.conf (0.6 KiB)
Try removing all input devices from xorg.conf and remove the AllowEmptyInput line, I think things are confused because both evdev and kbd are handling your keyboard at this moment.
[/quote]
nothing change.
i've solved the problem by issuing the command: "gcontool-2 --recursive-unset /desktop/gnome/peripherals/keyboard" (without quotes) and logging out and in. gnome-keyboard-preferences dialog still displays the model as "evdev-managed keyboard".
since the problem got solved by deleting a key from gnome's registery, i guess this bug should be filed against gnome (and remains there until this issue is gone)
[solution taken from: https://bugs.launchpad.net/gnome-settings-daemon/+bug/255008/comments/94]
thanks :)
"I went to system->keyboard preferences->layouts and then to keyboard model. Switched to generic->Evdev managed keyboard. Similar solution to KDE problem."
Taken from http://bbs.archlinux.org/viewtopic.php?id=59931
But I have another problem, with Wacom tablet. It worked before w/o problems, now it doesn't work at all.
X log says:
(II) LoadModule: "wacom"
(II) Loading /usr/lib/xorg/modules/input//wacom_drv.so
dlopen: /usr/lib/xorg/modules/input//wacom_drv.so: undefined symbol: xf86errno
(EE) Failed to load /usr/lib/xorg/modules/input//wacom_drv.so
(II) UnloadModule: "wacom"
(EE) Failed to load module "wacom" (loader failed, 7)
Someone from X.org seriously broke something…
Someone from X.org seriously broke something…
[/quote]
from what i see, its not an x problem. i only have this issue in gnome. if i start X with xterm for fluxbox, everything works like expected. my issue may not be the same though, none of my arrow keys work, nor do any of the home/end set of keys nor print/scrlk/pause.
the only of the above mentioned suggestions that ive tried so far was reconfiguring X. that was before i realized that it seems to be a gnome issue, not an X issue. it should be mentioned that i just switched mirrors cause teh one i was using (vt.edu) was massively out of date. i had to reconfig X just to get X to not crash (prolly related to updating the kernel, gnome, X, and the nvidia drivers all at teh same time cause the mirror was so out of date... arg.)
ok, so i changed my keyboard model to "Evdev-managed keyboard" (i have a ms digital media pro kb, it was previously set to a similar ms kb model).
this partially fixed the problem. the up key used to register as "Print" in the gnome keyboard shortcuts, now it accurately sees it as up. Likewise, the other messed up keys now work as expected. however, the up key still launches the screenshot tool. (and the print key does nothing...). alt + up also launches teh screenshot tool, taking a shot of just the active window, the expected behavior if i hit alt + print.
That worked. i dont particularly care for workarounds, but thats not so bad. thanks for the tip!
http://cvs.fedora.redhat.com/viewvc/devel/xorg-x11-server/xserver-1.5.0-force-SwitchCoreKeyboard-for-evdev.patch?revision=1.1
Can someone try to apply this to the xorg-server package and test if this patch solves this problem?