Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This 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.


  Search this Thread
Old 05-21-2005, 02:22 AM   #1
Senior Member
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 49
Emulate keyboard key "left"

I spilled some cola over my laptop and now, two months later, the left key is not working anymore. I was hoping that I could get around this by emulating this key with, for example, "ctrl+right_key" or "ctrl+page_up". I really need a clever solution to this until I get someone from Acer to look at it.

I tried to do this in .xmodmaprc
keysym home = home left
keysym right = right left
This should have made "shift+home" and "shift+right" to work as left, but it did not want to work. Does anyone have any ideas?


Last edited by Ephracis; 05-21-2005 at 03:00 AM.
Old 05-22-2005, 08:59 AM   #2
LQ Newbie
Registered: Feb 2005
Distribution: Debian "Sarge" testing
Posts: 19

Rep: Reputation: 0
You could make an xkb keyboard map... it's not that hard and should work.
Basically, look in /etc/X11/xkb/symbols/pc for your keyboard map, and either modify the entry you normally use (easier) or create a new one (you'll probably have to add an entry to another file or two in the xkb dir (use a search)). There's some help files in the xkb dir. I'll leave you to experiment...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
"numlock" and "capslock" freeze keyboard evilchild SUSE / openSUSE 2 07-04-2005 10:39 AM
PS2 keyboard doesn't work after the "Enter" key is used gonefishing SUSE / openSUSE 1 11-06-2004 10:02 PM
"<" ">" Keyboard keys on Toshiba Satellite 1005-s157 dont work RodCas Linux - Laptop and Netbook 1 05-08-2004 04:22 PM
Keyboard oddity. "atkbd.c: Unknown key" fr0zen Linux - Software 2 01-10-2004 06:46 PM
kde "keyboard shortcuts": can't change modifiers & says no windows key peb Linux - Newbie 0 01-02-2004 04:41 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration