LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 06-01-2008, 02:55 PM   #1
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
Thinkpad keys stopped working


Hello!

So I've upgraded my T60p to new Ubuntu 8.04 and now some thinkpad keys do not work. In particular, thinkpads have two keys just above the left and right arrow keys that I used to change virtual desktops in 7.10 and they worked like a charm. However, they do not work anymore. I can map them to actions to change virtual desktops in Gnome keyboard shortcuts (they produce keycodes, 0xea and 0xe9), but pressing them does not change virtual desktops anymore. Any ideas how to get them to work again? Perhaps with xmodmap?

Thanks for help,
-NSKL
 
Old 06-02-2008, 03:06 AM   #2
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Original Poster
Rep: Reputation: 46
Had a read around, and although I don't understand why they stopped working in the first place, I managed to fix this. I found out the keycodes of the keys (233 and 234) using xev, then mapped them to XF86Back and XF86Forward actions. Saved that to .Xmodmap and loaded it, reassigned the shortcuts in Gnome keyboard shortcuts setup, and auto magically everything works now.

Here is my ~/.Xmodmap

keycode 234 = XF86Back
keycode 233 = XF86Forward


Hope that helps someone,
-NSKL
 
  


Reply


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
Alt+ctrl+F Keys stopped working Xorg miner49er Linux - General 6 04-08-2006 05:00 AM
control keys, underscore, and others stopped working. Wartz Ubuntu 0 12-01-2005 11:10 AM
extra keyboard keys stopped working kaega2 Linux - Software 3 04-16-2005 10:57 PM
Thinkpad A20m, MS MN-520 Wireless card stopped working SignalFreak Linux - Laptop and Netbook 0 01-11-2005 04:55 PM
Thinkpad G40 function keys not working mcquay18 Linux - Laptop and Netbook 2 08-14-2004 08:52 AM


All times are GMT -5. The time now is 04:19 AM.

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