Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I installed Zenwalk Linux the other day, and like you would expect a Slackware derivative to be, it's awesome.
One little idiosyncrasy I did come across was that the normal escape functionality is not working correctly. Instead of Esc opening up a prompt in vi, I have to use Shift-Esc. This is system-wide, so it doesn't matter what application I'm using, if I used Esc before, it's not Shift-Esc.
Rather than getting used to this seemingly unique situation I want to fix this and I have a few ideas of what I need to do, but I don't have enough information to execute a plan.
Here's what I know: The Keyboard is NOT broken. I have tested others.
I am using the U.S. qwerty layout, on a U.S. qwerty keyboard.
This is the `dumpkeys` information pertaining to Escape:
Code:
keymaps 0-2,4-6,8-9,12
keycode 1 = Escape
alt keycode 1 = Meta_Escape
shift alt keycode 1 = Meta_Escape
control alt keycode 1 = Meta_Escape
I think what needs to happen is I need to find a way that makes keycode 1 = Meta_Escape. As the dumpkeys output indicates, not only is Shift-Esc working as plain 'ol Esc should, but Alt-Esc and Ctrl-Esc work identically to the former.
What does xmodmap -pke say? What does xev say when you press Escape. Are you sure it's not your window manager/desktop who intercepts Escape for some reason?
No, I didn't fully consider Esc was being altered by Xfce. Upon looking further, (Xfce's Keyboard manager under "Settings" in it's menu) it's using the system default for Xfce's layout (I ensured it was set to: qwerty.us); and there are no suspicious looking Application shortcuts.
I apologize for the confusion. I was aware of xev before, but not sure about what or how it's used.
Running xev printed the X window to the screen as expected with a hollow black box in it. Nothing else prints in the xev window.
This is the xev output for each Shift-Esc press and release.
Code:
KeyPress event, serial 34, synthetic NO, window 0x2e00001,
root 0x28e, subw 0x0, time 487298, (166,-9), root:(972,287),
state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 34, synthetic NO, window 0x2e00001,
root 0x28e, subw 0x0, time 488546, (166,-9), root:(972,287),
state 0x11, keycode 9 (keysym 0xff1b, Escape), same_screen YES,
XLookupString gives 1 bytes: (1b) ""
XmbLookupString gives 1 bytes: (1b) ""
XFilterEvent returns: False
KeyRelease event, serial 34, synthetic NO, window 0x2e00001,
root 0x28e, subw 0x0, time 488738, (166,-9), root:(972,287),
state 0x11, keycode 9 (keysym 0xff1b, Escape), same_screen YES,
XLookupString gives 1 bytes: (1b) ""
XFilterEvent returns: False
KeyRelease event, serial 34, synthetic NO, window 0x2e00001,
root 0x28e, subw 0x0, time 490466, (166,-9), root:(972,287),
state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
This is the output for each Esc press and release.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.