You are not logged in.

#1 2014-10-08 21:49:20

hckr
Member
Registered: 2014-05-03
Posts: 12
Website

[SOLVED] xmodmap qt4 modifier keys no longer work

Hi, I'm nearing the "hair-pulling stage because Googling this issue did not yield helpful results" stage.

I am having trouble getting modifier keys (CTRL, ALT) to work in qt apps after loading my custom keymap (as provided by ~/.Xmodmap). If my custom keymap is not loaded, then ctrl, alt keys work fine in qt apps. That is, it is only when this custom keymap is loaded that qt apps no longer respond to what I have mapped as the CTRL and ALT keys.

I have awesome wm setup to load the command xmodmap ~/.Xmodmap automatically on startup using this lua code:

awful.util.spawn("xmodmap " .. os.getenv("HOME") .. "/.Xmodmap")

My ~/.Xmodmap has comments on what I've switched around.

I am not sure what is causing this to occur? How can I fix this?

FYI on Xfce4 loading the custom key mappings don't lead to this issue with qt apps not responding to what I've set as modifier keys.

Update 10/08/2014 5:55PM CST It turns out I had a different .Xmodmap from when I was using Xfce4. There's something funky with the version I was using with awesome wm.  I've updated Xmodmap here, in case somebody runs into a similar issue.

Last edited by hckr (2014-10-08 22:59:59)

Offline

Board footer

Powered by FluxBB