=> On [2011-12-14 15:06:32 -0200]: Vitor Eiji Justus Sakaguti Said: > On Wed, Dec 14, 2011 at 2:34 PM, Julien Danjou <[email protected]> wrote: > > On Wed, Dec 14 2011, stardiviner wrote: > > > >> I was used to press Mode4(Windows key on keyboard) + 1..9 to switch > >> tab in Awesome. But I changed keyboard now. This keyboard one "Fn" key > >> replaced the position of original Mod4 key. How to set in *rc.lua* to > >> setup this ? I just want to config *rc.lua* to replace Windows key > >> with "Fn". > > > > You need to grab the keysym of this key via xev, and use xmodmap to bind > > it to a modifier key, typically Mod4. > > For the record, I have never seen a laptop keyboard with a Fn key that > could be grabbed by X. I suspect they are usually masks hard built > into the keyboard, like "alt" used to be back in the day... I checked my keyboard, only one key "~" can be used to replace Mod4. I found that Awesome use `modkey = "Mod4"` in rc.lua for Windows key. So what is "~" 's key code for Awesome to fill in rc.lua ? > > -- > To unsubscribe, send mail to [email protected]. >
-- >> stardiviner << =>GPG: 5D9F64D8 Twitter: @numbchild http://stardiviner.dyndns-blog.com/author.html
signature.asc
Description: Digital signature
