LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-25-2009, 04:38 AM   #1
drTronic
LQ Newbie
 
Registered: Dec 2009
Location: BC, Canada
Distribution: Xubuntu 9.1
Posts: 15

Rep: Reputation: 0
Angry Deactivating F7/function keys in Xubuntu on Acer Aspire One


I have a malfunctioning (stuck on) F7 key. It is driving me NUTS

Is there any way to disable my functions keys/F7..?
If possible I want to avoid dismantling my machine

drT
 
Old 12-25-2009, 02:33 PM   #2
drTronic
LQ Newbie
 
Registered: Dec 2009
Location: BC, Canada
Distribution: Xubuntu 9.1
Posts: 15

Original Poster
Rep: Reputation: 0
Hows about reassigning F7?

If deactivation is not possible (as the silence might suggest), is it possible to re-assign F7?
I found another forum where people are doing so in Windoze.. http://www.autohotkey.com/forum/topic298.html

Any suggestions welcome
drT
 
Old 12-26-2009, 03:11 AM   #3
kellemes
LQ Newbie
 
Registered: Oct 2005
Location: Amsterdam
Distribution: Arch
Posts: 26

Rep: Reputation: 18
First find the keycode of the F7-key..
From terminalwindow..
Code:
xev
You'll see a white box on your screen, have it stay in focus and press the F7-key.. in the terminalwindow you'll see the corresponding keycode (73 in my case)

Now to disable the key enter..
Code:
xmodmap -e 'keycode 73='
To make this permanent you simply have this command execute at startup.
Using XFCE from Arch myself I can enter it from the settings-dialog..
Session and Startup -> Application Autostart -> Add etc..

Good luck.
 
1 members found this post helpful.
Old 12-26-2009, 04:00 AM   #4
drTronic
LQ Newbie
 
Registered: Dec 2009
Location: BC, Canada
Distribution: Xubuntu 9.1
Posts: 15

Original Poster
Rep: Reputation: 0
A thousand thankyous to you kellemes.

Event Tester showed me that my F7 button does nothing when [U]I[U] press it, but what I could see from the Terminal window was that it was repeatedly activating itself (??) and, like you, my keycode is 73.

Interestingly, Fn+F7, which is a HotKey to toggle my touchpad on/off DOES work and from that I am also able to see that the keycode is 73.

I entered your piece of code and my F7 key is now silent

You may or may not be interested to hear that Fn+F7 still toggles my touchpad on/off..
Does this give any clue as to what the problem is?

Next step is to make it permanent.. I will post news of that next and hopefully this can become a useful thread for others.

Sincere thanks,
drTronic
 
Old 12-26-2009, 12:51 PM   #5
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 2,942

Rep: Reputation: 767Reputation: 767Reputation: 767Reputation: 767Reputation: 767Reputation: 767Reputation: 767
Quote:
Originally Posted by drTronic View Post
You may or may not be interested to hear that Fn+F7 still toggles my touchpad on/off..
Does this give any clue as to what the problem is?
I'm afraid not. Normally, when you press a pair of keys (say Ctrl S) both scancodes are sent to the computer and it works out what it's supposed to do with them. The Fn key on compact keyboards is quite different, however. The keyboard itself intercepts it and sends a special scancode to represent the combination of Fn and the other key.
 
  


Reply

Tags
disable, function, key


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fn keys not working on Acer Aspire One with Ubuntu Intrepid esteeven Linux - Laptop and Netbook 2 03-13-2009 11:38 AM
Broadcom bcm4310 on Acer Aspire 4720Z not function in Fedora 8 katrok Linux - Newbie 2 10-11-2008 02:16 AM
How to make extra keys work on acer aspire 9113? They don't have scancodes! gkiagia Linux - Laptop and Netbook 4 10-20-2006 01:48 PM
Acer hot keys? (aspire 1500 series) : works partially vmicho Linux - Laptop and Netbook 1 03-20-2005 09:58 AM
APM or APCI on ACER Aspire 2012WLMi (Aspire 2010 Family) FTP_Palace Linux - Laptop and Netbook 4 07-15-2004 06:08 PM


All times are GMT -5. The time now is 12:47 PM.

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