You are not logged in.

#1 2012-06-23 20:45:20

wombat23
Member
Registered: 2011-01-14
Posts: 46

[SOLVED] Gnome keyboard brightness keys without backlight

On my Macbook with Gnome 3, keys F8, F9 and F10 are used as keyboard backlight keys, but the device doesn't have a keyboard backlight. I'd rather use these keys as what they are: F keys. I tried different Xorg keyboard models through setxkbmap -model but nothing changed. I did not find any related configuration options in Gnome.

Can anybody help me trace the origin of this bug?

Last edited by wombat23 (2012-06-24 12:55:05)

Offline

#2 2012-06-24 12:53:29

wombat23
Member
Registered: 2011-01-14
Posts: 46

Re: [SOLVED] Gnome keyboard brightness keys without backlight

OK after some time I found out what's wrong. xmodmap -pk showed that xorg mapped these keys to the keyboard backlight functions. a quick workaround for this turned out to remap the keycodes to the F symbols: Create a file with this text

keycode 236 = F8 F8
keycode 237 = F9 F9
keycode 238 = F10 F10

and run it with the command "xmodmap FILE"

Offline

Board footer

Powered by FluxBB