Comment 2 for bug 293213

Revision history for this message
John Dong (jdong) wrote : Re: k-d-s applies incorrect xmodmap that breaks macbook brightness keys

Even worse, I don't even know how to properly categorize this horrific brokenness, maybe an experienced QT4 soul can handle this:

Qt4 doesn't even capture the XF86MonBrightness* keys -- to the keyboard shortcut applet they don't exist (i.e. you can't grab those keys as shortcuts) -- the Qt4::Keys_* items don't exist for those keysyms either.

In addition, Kubuntu uses nonstandard hackish mappings XF86Launch4 and XF86Launch5 in Guidance for the other set of common brightness keys (mapped in xmodmap), and those are actually in Qt Key_Launch6 and Key_Launch7??

Something really weird and wacky is going on in the handling of brightness keys all the way down to the QT stack which, to this GNOME user, looks like resulted in a large stack of hacks to get to where we are today. IMO this needs to be fixed at the Qt level to recognize the XF86MonBrightness{Up,Down} keys properly, so that we can stop using Xmodmap hacks that incidentally don't seem to work!