[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)

To get my inspiron 8500 working I had to use the xkbmodel set to inspiron and remap a little like this
/etc/X11/xorg.conf
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbOptions" "altwin:super_win"
# Option "XkbModel" "pc105"
Option "XkbModel" "inspiron"
Option "XkbLayout" "gb"
Manually configured other keys in ~/.Xmodmap. To see current mappings use "xmodmap -pk"
keycode 162 = XF86AudioPlay
keycode 153 = XF86AudioNext
keycode 144 = XF86AudioPrev
keycode 164 = XF86AudioStop
keycode 129 =
keycode 130 =
keycode 131 =
keycode 132 =
The 129-132 were wrongly mapped so I unmapped them
I then still had to configure Amarok global shortcuts to use the keys, but it worked, Maybe as I am using XFCE.
Last edited by alleyoopster (2008-11-22 23:35:17)

Similar Messages

  • Control key no longer works after update.

    After updating Lion the control key no longer works. It beeps when pressing control and then a number key but nothing happens.
    This is left control key though. Right still works?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software -- potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions -- they’re easy to carry out and won’t change anything on your Mac.
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing.
    Below are four lines of text in monospaced type, which are UNIX shell commands. They’re harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of running these commands, search this site for other discussions in which they’ve been used without any report of ill effects.
    Some of the commands will line-wrap in your browser, but each one is really just a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then either copy or drag it. The headings “Step 1” and so on are not part of the commands.
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply.
    To begin, launch the Terminal application; e.g., by entering the first few letters of its name in a Spotlight search.
    Step 1
    Copy or drag -- do not type -- the line below into the Terminal window, then press return:
    kextstat -kl | awk ' !/apple/ { print $6 $7 } '
    Post the lines of output (if any) that appear below what you just entered (the text, please, not a screenshot.)
    Step 2
    Repeat with this line:
    sudo launchctl list | sed 1d | awk ' !/0x|apple|com\.vix|edu\.|org\./ { print $3 } '
    This time, you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. You don't need to post the warning.
    Step 3
    launchctl list | sed 1d | awk ' !/0x|apple|edu\.|org\./ { print $3 } '
    Step 4
    ls -1A {,/}Library/{Ad,Compon,Ex,Fram,In,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Sta}* 2> /dev/null
    Important: If you synchronize with a MobileMe account, your me.com email address may appear in the output of the above command. If so, change it to something like “[email protected]” before posting.
    Remember, this is all drag-and-drop or copy-and-paste, whichever you prefer -- no typing, except your password.
    You can then quit Terminal.

  • Up volume key no longer working after 10.3.1

    Since OS update on Passport to 10.3.1.1581 the up volume key no longer works in an app. I first noticed it while watchin a YouTube video in browser, then in Neutron music player then the Music app. The button works fine to advance songs (long press). At first I rebooted and it seemed to work, then it stopped. 
    Then I noticed that it works on the home screen just not in any apps.  It's a pain to have to exit the music app, go to the home screen to increase volume. 
    Down volume and pause/assistant works fine. Up button works fine in Camera to take shot. 
    Have rebooted many times since upgrading. 
    Any suggestions would be appreciated. 
    Paul
    Torch 9810; PlayBook 64g; iPad1 64g; iPad2 64g; iPhone6 64g Passport
    Provider Bell (tablets all WiFi)

    Try reloading the 10.3.1 update again just in case something in the update went wrong.
    Also, are you updating through BlackBerry link or over wifi or cellular? I always reccomend updating through BlackBerry link just to prevent a corrupt update in case the signal drops. BlackBerry link will greatly reduce the chance of a corrupt update as long as the USB cable is not disconnected.
    Good luck and keep me posted.
    1. If a post has helped you, show your appreciation by clicking Like at the bottom of the message box.
    2. If a post has solved your question, please click ''accept as solution'' to verify your question has been solved.

  • Enter key no longer works for calculator or emails

    When using the calculator on my Blackberry Curve 8330, the "enter" key no longer works as the "equals" key - nothing happens. It also has stopped working when composing emails and trying to hit "enter" to create a break between paragraphs. Any suggestions on how to get my "enter" key back?

    Thanks cor-el, that was exactly the problem, all solved now, thanks for your help !

  • Enter key no longer works in address bar

    Hi, In the last couple of days, the enter key no longer works in the address bar, which is really annoying !
    If I type the address I want to go to, and then hit "enter", nothing happens. I have to manually click on the "go to" icon to the right of the bar.
    Is this a setting I can change back please, I certainly haven't done it knowingly or willingly, and it is really spoiling my web use on FF. I am on 3.6.13.
    Cheers !
    ''edited by a moderator due to formatting''

    Thanks cor-el, that was exactly the problem, all solved now, thanks for your help !

  • 10.8.4 Screen Brightness Keys No Longer Work

    I ran updates this morning and I assume it updated to 10.8.4 from the app store updates tab.
    After this update and booting back up the screen brightness keys no longer work. F1 and F2 keys do nothing and they worked fine before the update.
    Anyone else experiencing this? If so know a way to fix it?
    Thanks
    Patrick

    I have been having the same issue and even with updates have continued to have the problem. I was able to find a chck box under the keyboard settings that I never noticed before. When checked it only allows you to use the function keys on the top of the keyboard when pressing the fn (function) key. Simply unchecking this (not sure how it got checked in the first place) solved the issue immediately.

  • Function keys no longer working with a new keyboard...

    I got a new keyboard and my function keys no longer work with it.  I am used to have them used in the standard format, i.e. F10-F12 control the voume, etc.  I have the "Use all f1,f2, etc." button clicked.  I have also tried restarting my computer.  Any thoughts?

    Try doing a SMC reset and PRAM reset.
    SMC RESET
    Shut down the computer.
    Unplug the computer's power cord and all peripherals.
    Press and hold the power button for 5 seconds.
    Release the power button.
    Attach the computers power cable.
    Press the power button to turn on the computer.
    PRAM RESET
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • All of a sudden my Enter key no longer works in SQL Developer.

    All of a sudden my Enter key no longer works in SQL Developer. I don't know how I managed to disabled it. Can anyone tell me how to re-enable it?
    I already tried the following:
    - I closed the application and re-opened it. - It didn't work
    - I re-started my machine. I didn't work
    Help! Thank you

    The same thing has just happened to me and this was very useful to correct the problem --- but now I am wondering why or how this happened. To the best of my knowledge, I haven't make any setting changes so why did I lose the Enter action?

  • Return Key no longer works in sql windows or procedure editors.

    The <return> key no longer works in my SqlDeveloper editors. Is there an easy fix? I tried resetting the Option for the carriage return but it did not change anything.

    So if you go to your shortcut keys (Tools > Preferences > Shortcut Keys) and search for "Enter", what commands are associated with the Enter shortcut? If you have tried remapping the Enter key to something else, it may have removed the standard association with the "Insert New Line" command.
    You can reset to the default (which should fix the problem, but lose any custom shortcuts) with More Actions (top right) > Load Keyboard Scheme > Default.
    theFurryOne

  • Backlit keys no longer working...

    After recent SMC? firmware auto update, my backlit keys no longer work.
    When I try to turn them on (dim/bright) via keyboard shortcut keys, I get a circle with a slash thru it on the on-screen keyboard logo...

    NeoTranc3 wrote:
    Hah, Im not sure but I may have the opposite to your problem. I'm here in a very dark room, so the back light comes one, but *I am watching videos* so I'm not touching the laptop. The keys would go dark until I touched the laptop again or that is what I thought. Now the back light comes on randomly. I'm going to have to research this keyboard to see what sets it off.
    It occurs to me that you're getting a light show based on overall brightness fluctuations in the program content of your DVD! Do the keys light up when a dark scene is on the screen? Then go off once the light level in the flick goes back up?
    Take your Apple-branded black cleaning cloth and drape it over the iSight camera, which is where the ambient light sensor is. Sort of like playing peek-a-boo with the MB! (We have a 2 1/2-year-old daughter [not MacBook]). Great way to test the KB backlight (which we didn't get ourselves, BTW).
    ''86

  • I and K keys no longer working on Macbook keyboard

    The I and K keys no longer work, it seems. I've restarted, attempted to clean out the keyboard, restarted again, etc. No dice. Sometimes when I push I or K I'll get an odd string of characters--'YIOU' or a bunch of symbols--but mostly I just get no response. I wasn't doing anything unusual when this started and I didn't spill anything on it.

    Welcome to Apple Discussions!
    I have heard around the message boards about this kind of problem, and no one seems to know what the problem is. Your best bet is to take it into Apple and they can fix it for you. If you are in warranty, they shouldn't charge you, especially since you didn't spill anything into the keyboard (also a common problem). if you are out of warranty, you're looking at around $90 or so (still better than not being able to finish that email or that final report!). i had my keyboard replaced for a different reason, but the receipt said I would have been charged said amount had I not been under warranty.
    hope that helps!
    -MD55

  • Menu key no longer working

    Since I first used my Nike+ with my ipod a few weeks ago the menu key no longer works.
    Can anyone help please. I use my ipod all the time and im desperate for it to work again

    mdcoley wrote:
    Cheers! Store is now working. I didn't quite do things in your order as your post came in after I started experimenting. This is what I did:
    Three-finger reset again.
    Installed the .sisx file above (cwrt core).
    Installed the Nokia Store from Betalabs (with Qt 4.7.4).
    Read your post, so deleted those two files you mentioned from installated apps.
    Installed earlier version of Nokia Store from your link.
    Ran this, which prompted me to upgrade.
    Can now log in without the black screen.
    It seems remarkable that doing a factory reset means the phone doesn't work.
    That's the question;Nokia advise to never do a 3 finger hard reset.this process delete some files that isn't recoverable even reinstall software.
    I have a C7 as well and already perform a 3 finger hard reset,but a software reinstall put it back as 2out of the box".don't know why this do not works in Nokia 701 
    At least you have the store back again right?
    As far as i know it should be missing in your phone,the photo and video editor right?
    That's why i took mine to Nokia Care Center,they put the phone as out of  the box.
    Nokia Lumia 820
    Nokia 701

  • Command, Control, and Option keys no longer works with Citrix Receiver after upgrading to OSX 10.9.5

    At first my keyboard did not work with Citrix Receiver after upgrading to OSX 10.9.5 and I found the workaround by using "cmd + tab," however, once my keyboard work within Citrix, the "command, control, and option" keys no longer work.  Does anyone have a remedy for this?

    Keyboard no longer works with Citrix Receiver after upgrading to OSX 10.9.5

  • Ever since I updated my Macbook Pro, the shortcuts on the F1-F12 keys no longer work as they did before.

    Ever since I updated my Macbook Pro, the shortcuts on the F1-F12 keys no longer work. I used to press just the F12 key and I would be able to raise the volume, now it switches to the home page. I want the old shortcuts back and I don't know how to do that. Please help.

    Ever since I updated my Macbook Pro
    updated from what to what?
    Suggest you try a NVRAM / PRAM reset, as described by Apple:
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • Modifier Key Mapping Not Working

    When I'm at home, I connect my MacBook Pro to a 24" LCD, along with an external keyboard and mouse. One of the small features I was looking forward to in Leopard was not having to go into System Preferences and switch the modifier keys to correctly work with my external keyboard, but I've discovered that the feature isn't working. I choose "USB Receiver" from the keyboard drop-down, re-map the Option and Command keys, click OK, and close SysPrefs. Nothing has changed; the Command key on my keyboard is still performing as Option and Option is still Command. When I go into the Keyboard & Mouse section of SysPrefs, the Modifier Keys pane is back to it's default values. I'm wondering if this is a bug in 10.5 that will be fixed with 10.5.1, or if it's just my keyboard. Any tips would be greatly appreciated!
    Message was edited by: bradbergeron
    Message was edited by: bradbergeron

    Any updates on this bug?
    On my Powerbook, I have to swap the modifier keys under the "All" setting to make the change take effect on the external USB keyboard I'm using. Changing modifier keys on just the "DELL USB KEYBOARD" (in my particular case) has no effect.
    It's just a minor annoyance (having to reset my modifier keys back to defaults when I need to use the built-in keyboard), but all the same the feature doesn't appear to work as it should.
    Or is it just me?

Maybe you are looking for

  • In Mail, how can I tell if an email has been read by the recipient?

    There used to be a way in msn to get a message when an email was read. Is there a way to do the same in Mail?

  • Document relates to CO

    MODERATOR: Do not post your email address or links to copyrighted information on these forums. If you do, the thread will be LOCKED and all points UNASSIGNED. If you have some information, please consider posting it to the Wiki rather than sharing vi

  • Indesign CS3 refuses to load

    Hi, i would be grateful for any advice if you have experience of the same. My problem is that indesign CS3 refuses to launch all of a sudden.  About two weeks ago it just wouldn't (and still hasn't) loaded.  When i click on the application the spinni

  • Tabs as Hyperlinks

    Does anyone know of a way, how you can make it so that when you click on one of the tabs that it links to a different page? I have a bunch of tabs with content, but some other content would require drilling down deeper into a form which has different

  • HT1695 cannot connect to my wifi

    i have just bought my new ipad 2 and have followed all instructions but cannot connect to wifi.i put in my password which is correct but an error message says "unable to join the network"  i have tried all the different methods online to correct this