You are not logged in.

#1 2012-09-09 11:52:27

xorgx3
Member
From: Poland
Registered: 2011-11-29
Posts: 197

Complety disable wirelles function key

Hi,
I am using Arch Linux with Openbox.

I want complety disable my function key which on/off wireless card(F2).

Is possible to do this?

Offline

#2 2012-09-17 15:31:49

hellomynameisphil
Member
From: /home/phil/Vancouver
Registered: 2009-10-02
Posts: 257
Website

Re: Complety disable wirelles function key

I would also like to know the answer to this.

Offline

#3 2012-09-17 17:54:25

ixnine
Member
Registered: 2008-11-01
Posts: 60

Re: Complety disable wirelles function key

Offline

#4 2012-09-18 00:21:36

hellomynameisphil
Member
From: /home/phil/Vancouver
Registered: 2009-10-02
Posts: 257
Website

Re: Complety disable wirelles function key

This doesn't seem to work for me; perhaps I am doing something wrong. xev tells me that the key code for the wireless key combo (Fn+F2) is 246 (The keycode for F2 on its own is 68). I added

keycode 246 =

to $HOME/.Xmodmap but the key still works (I can turn wireless on and off with it). A similar line works to disable Caps Lock (keycode 66), so I know that .Xmodmap is being read and that a similar approach works for other keys.

Offline

#5 2012-09-18 00:34:34

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: Complety disable wirelles function key

It is a hardware switch.  Perhaps there is a bios setting for it.  Certainly nothing within X can affect it.  I'd be surprised if anything within arch could affect it unless it were a specific tool to interact with the bios.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#6 2012-09-18 03:09:56

hellomynameisphil
Member
From: /home/phil/Vancouver
Registered: 2009-10-02
Posts: 257
Website

Re: Complety disable wirelles function key

I was afraid of that. Thanks for the knowledge.

Offline

#7 2012-09-18 11:37:41

xorgx3
Member
From: Poland
Registered: 2011-11-29
Posts: 197

Re: Complety disable wirelles function key

I am surprised I can't do this.

For example F1 key, to switch display isn't detect correctly by xev, and it is not necessary key, working good.

Last edited by xorgx3 (2012-09-18 11:39:13)

Offline

Board footer

Powered by FluxBB