Seamingly stuck modifier keys

..recently I experienced this issue several times: the command or the option key gets somehow stuck, but not physically only in osx... a log in log out usually solves the issue, or sometimes it gets unstuck by itself after a few minutes of waiting...it's pretty annoying during work so if any of you experienced a similar issue or know how solve it then please tell me...thank you
...the thingy usually kicks in when I use capture nx or illustrator cs...but I can't directly link it to none of them...I'm using 10.4.2 with hungarian, and an older hungarain-h keyboard layout...if any specific info is needed just tell me here....thanks in advance

...yes I did, but nothing happened...a member of local mac forum also told me to use this
tell application "System Events"
key up {command, option, shift, control}
end tell
script and the os will let go of the "stuck" modifier keys but it didn't work...

Similar Messages

  • How to make modifier keys lockable? (like Caps Lock for Ctrl or Alt)

    Playing around with the non-modal text editor ne, I found myself wondering if one could simulate a modal interface (like vim has) by having something like "Ctrl Lock" or "Alt Lock" (analogous to Caps Lock) and thus a "ctrl mode"/"alt mode". I would like to try this, but I am not sure how to make it happen.
    My best guess is that this could be accomplished via XKB, but its documentation looks pretty intimidating. Is anyone here proficient in XKB and could point me in the right direction?
    Other ideas:
    – Is this something that a terminal emulator could do? Is there already one that can do it?
    – Or a shell?
    – For console applications, would it be possible to have a small wrapper that did nothing but intercept keyboard input and just pass everything through to the wrapped process, except that it would take into account the desired lockable modifier key? (I am thinking of tput here, but from my first search it appears that it doesn't do this sort of thing.)

    @Trilby: Thank you for the elaborate input!
    @drcouzelis: "sticky keys" normally means that modifiers remain active only until the next keypress, while I want a way to lock them in active state for an arbitrary number of keypresses. But still, "sticky keys" was a worthwile input for the search engine.
    The program xkbset, which can be used to set XKB options on the fly, has a function that comes very close to what I desire:
    $ xkbset h
    Usage: To set or unset various options:
    xkbset <options>
    where <options> may be all or any of (the '-' switches the feature off,
    otherwise it is switched on):
    To switch sticky keys on or off, and optionally set or reset:
    () two keys pressed at the same time stops sticky keys;
    () a modifier pressed twice will be locked:
    [-]{sticky|st} [[-]twokey|[-]latchlock]...
    I cannot select specific modiers to be affected with xkbset, but that would be fine with me. Sadly, it didn't completely work for me:
    – It doesn't affect Alt at all for me.
    – The effect seems to go away as soon as I change the window. (Maybe I need to invoke xkbset from .xinitrc for its effects to persist throughout the session? I will try that.)
    So I went on and tried to configure XKB manually. I got up to a certain point without studying the documentation in-depth, but now I have landed on an error message that seems to suggest to me that I would have to get to a better understanding about the layout files before I could understand it. Here is what I did:
    1. Got my current XKB configuration:
    xkbcomp :0 output.xkb
    2. Editet output.xkb to include the following at the end of the xkb_compatibility section:
    //Hoping this makes the ^-key into a Ctrl-Lock key:
    interpret TLDE {
    action= LockMods(modifiers=Control);
    3. Then I recompiled the configuration back into the running X server:
    $ xkbcomp out.xkb :0
    Warning: Compat map for group 2 redefined
    Using new definition
    Warning: Compat map for group 3 redefined
    Using new definition
    Warning: Compat map for group 4 redefined
    Using new definition
    Error: Couldn't lookup keysym
    Symbol interpretation ignored
    Warning: No symbols defined for <AB11> (keycode 97)
    Warning: No symbols defined for <JPCM> (keycode 103)
    Warning: No symbols defined for <I120> (keycode 120)
    Warning: No symbols defined for <AE13> (keycode 132)
    Warning: No symbols defined for <I149> (keycode 149)
    Warning: No symbols defined for <I154> (keycode 154)
    Warning: No symbols defined for <I168> (keycode 168)
    Warning: No symbols defined for <I178> (keycode 178)
    Warning: No symbols defined for <I183> (keycode 183)
    Warning: No symbols defined for <I184> (keycode 184)
    Warning: No symbols defined for <FK19> (keycode 197)
    Warning: No symbols defined for <FK24> (keycode 202)
    Warning: No symbols defined for <I217> (keycode 217)
    Warning: No symbols defined for <I219> (keycode 219)
    Warning: No symbols defined for <I221> (keycode 221)
    Warning: No symbols defined for <I222> (keycode 222)
    Warning: No symbols defined for <I230> (keycode 230)
    Warning: No symbols defined for <I247> (keycode 247)
    Warning: No symbols defined for <I248> (keycode 248)
    Warning: No symbols defined for <I249> (keycode 249)
    Warning: No symbols defined for <I250> (keycode 250)
    Warning: No symbols defined for <I251> (keycode 251)
    Warning: No symbols defined for <I252> (keycode 252)
    Warning: No symbols defined for <I253> (keycode 253)
    The "Error" part is where I am currently stuck. It tells me that my changes were ignored (I no that it's about them because it goes away when I comment them out), but I don't yet understand why.

  • Keyboard modifier keys

    I have a new MacbookPro that I sometimes use with a bluetooth keyboard (Logitech DiNovo Edge). Because the bluetooth keyboard is set for Windows, I used the keyboard Preference Pane to switch the modifier keys for option and command (or Apple) keys. (That is, on the bluetooth keyboard I made the Option key work as the Command key and vice versa.)
    My problem is that now I cannot switch the preference setting back. When I use the MBP without the bluetooth keyboard, I want the keys to work as designed. So I go to the Preference Pane and manually change the modifier keys settings, or click "Restore Default" but it continues to still be stuck at the setting that I had set for the bluetooth keyboard.
    I have tried restarting the computer after restoring default. I have also removed the keyboard preferences (plist file) from the ~/Library folder. None of this makes a difference. I cannot restore the default key behavior.
    Since I use the Command key a lot (to cut, paste, copy etc.) this is seriously affecting my work productivity. I will appreciate any help.

    VK, That terminal command did not work for me.
    However, I found the solution on another post and it worked. The solution is here:
    http://discussions.apple.com/thread.jspa?messageID=8560965&#8560965

  • Keyboard modifier key remap suddenly not working

    I am using a MacBook Pro running OS X 10.6.8 (Snow Leopard). I use a third-party USB keyboard that is laid out (naturally) Windows-style, with the Alt keys inside (closer to the space bar than) the “Windows logo” keys. I use the Modifier Keys button in the Keyboard preference panel to remap these to the standard Mac configuration, with the Command keys on the inside and the Option keys on the outside.
    Today those modifier keys are suddenly reversed back to the default Windows layout. The Keyboard panel still shows my preferred (remapped) configuration, but it is not being honored. I have tried reverting to the default layout and then back again, I have rebooted the system, nothing works—the modifier keys are still stuck in the Windows configuration. I rely heavily on keyboard macros in my work, most of which use the modifier keys, and those keystrokes are built into my fingers as second nature. The reversed modifier keys are driving me crazy. Please help: what can I do to make the keyboard honor my settings in the Keyboard preference panel?

    Same problem here. Been working fine for a couple years and now suddenly the modifier key mapping is being ignored.

  • Keyboard seems to trap modifier key after sleep

    Hello there,
    Wondering if anyone else has this issue. When my iMac sleeps, or even if enough time elapses for the monitor to shut off, oftentimes upon waking it with the mouse the system seems to be sending a modifier key.
    I left-click the mouse to wake. The next thing I click on will either show a contextual menu (as if the control key is held down) or if the item is on the dock do a "Show in Finder" (as if the Command key is held down).
    If I press the control key on the keyboard the system seems to sort itself out and the problem does not persist.
    Find it odd though. Any others out there with this issue? Any suggestions?

    Unfortunately didn't work When I paired it to another device (my iPhone in this case) it just messed about with the ringer volume, same as it does with the iMac volume. Maybe the volume key is stuck and whatever key does zooming in and out (though it's not doing any zooming on the phone). I guess it IS 5 years old now, could it just be well and truly buggered?

  • Some applications behave as though modifier keys are pressed

    I am experiencing occasions when some applications behave as though modifier keys are being pressed (ie Command Key, Option Key and Shift Key). At first I thought the problem was isolated to Adobe Creative Suite Applications but have now found that MYOB is also affected. I have tried multiple keyboards (even no keyboard) so I do not believe it is a keyboard hardware problem. I am running on the hardware and software listed below.
    When the problem occurs it immediately affects all applications listed below in the way described. Many other applications appear unaffected. The only way I have found to fix the problem is to reboot the machine. After rebooting, the problem may not reoccur for several days, or may reoccur within half an hour. This problem has been occurring since some time in December 2010. I have also confirmed that none of the behaviour listed below occurs when the problem isn't present.
    Affected Applications & Observed Behaviour:
    - Adobe Photoshop CS4: All tools behave as though the option key is being pressed (rendering them unusable).
    - Adobe Dreamweaver CS4: When clicking on the contents of an open file, Dreamweaver behaves as though Cmd+Opt is pressed (ie the code navigator appears making the program unusable)
    - All applications in Adobe CS4 Suite: Upon startup, each application behaves as though CmdOptShift is pressed (resets preferences).
    - MYOB: When the cursor is in a data field, the delete key behaves as though the option key is pressed (ie entire field is deleted rather than a single character)
    I have been working with Adobe telephone support without success for about 3 weeks but since noticing the problem also affects MYOB, it now seems feasible that it is caused by something outside of the Adobe Creative Suite.
    Any help would be appreciated.
    Message was edited by: Leon Borrack

    Leon,
    You are not alone - I sometimes suffer a similar issue and I don't use any Adobe software. For me, it manifests itself as modifier keys being pressed in Safari, Mail or Finder. This normally happens shortly after a wake from sleep. I'm using an old-style Bluetooth Apple keyboard on a Mac Pro 1,1. I can't tell you what causes it, but I can tell you the solution that I've found: If I relaunch Finder the problem goes away...
    To relaunch Finder (apologies if you already know this), press 'Cmd-Option-Escape', select 'Finder' and click relaunch. For some reason the seemingly stuck modifier is cleared. It's not an terribly elegant solution, but it is a lot quicker and less disruptive than rebooting.
    Hope that helps a little.
    Greg

  • Cross browser testing : Modifier Keys playback actions not working in chrome and Firefox

    Hi,
    In my work flow I have to select multiple items in list.So I have recorded 'Ctrl+Click' action to select list items.In Chrome and Firefox it is not selecting multiple Items.
    Even Ctrl+A,Ctrl+C,Ctrl+V also not working in chrome and Firefox.Complete modifier keys support is not observed in chrome and Firefox.Let me Know how to automate modifier keys actions in cross browser?
    Regards,
    Nagasree.

    Hi Nagasree,
    Welcome to MSDN forums.
    First,please make sure the Chrome and Firefox is supported by cross browser testing.
    Latest version of Chrome and Firefox supported by cross browser testing are Chrome version 38.0.2125.111 and
    Firefox 33.
    I doubt whether Chrome and Firefox in cross browser testing don’t support automating modifier keys or there is anything wrong on it if you are using supported browser. Since this issue is related to the Extensions tool
    Selenium components for Coded UI Cross Browser Testing, if possible, I suggest you post this
    issue here, click “Q AND A”, and then you could post this issue there, you would get dedicated
    support there.
    Thanks for your understanding.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Using scroll wheel with modifier key to zoom out is not working

    I can't zoom out with the magnifying tool selected in all programs of the CS3 suite using the option key on a Mac. I can zoom in with no problem. I've been trying to figure this out for "8 hours" now!!!
    I do have this checked in the system preferences and Photoshop preferences. I don't think this is considered a keyboard shortcut but I do have universal access checked and zoom out checked in the system preferences.
    I searched this site and all of the internet looking for answers but can't seem to find much. I appreciate any help you can give. I'm way behind on my work today.
    Thank you!

    The default key for scrolling zoom is not Command but Control. To change this, go to System Preferences —> Universal Access and click on the Seeing tab. In the Zoom pane, click on the Options button, and in the sheet that drops down, select the text box at the bottom, highlight the character there, then press the modifier key you prefer.
    HTH
    Archie

  • Tecra M10 - Stuck CTRL key issue -- perhaps to do with BIOS?

    Hello and thanks for reading.
    I recently switched my Tecra M10 to Windows 7 (from XP) and it soon developed the dreaded "stuck CTRL key" issue. This causes the keyboard to behave as if the CTRL key is permanently depressed. Sometimes hitting a combination of keys, or bringing up the onscreen keyboard, temporarily solves the issue, but then it returns.
    It seems to be an issue many people have, with no simple solution. I've looked at every thread about it I can find, and tried many things to do with drivers etc. without any success.
    So firstly, if anyone knows a remedy that works for this particular machine, I would be very grateful to learn it!
    Then, there are two things I've not yet done: update BIOS and disable pinch zoom.
    I was looking at the following BIOS update:
    http://www.toshiba-asia.com/sg/support/drivers/details/25244
    ... which is version 3.00 and seems to be most recent. My own version is 1.90.
    However version 3.00 is labelled "For PTMB0* ONLY". I don't know what this means or whether it applies to me. Can anyone help? Should I install this BIOS?
    For the pinch zoom, I've been told that disabling it does sometimes cure the CTRL problem -- but I can't find any pinch zoom facility on the M10. I suspect it simply doesn't have one. Is that right?
    Many thanks for any help you can give.

    Hi
    > I was looking at the following BIOS update. which is version 3.00 and seems to be most recent. My own version is 1.90.
    There are different Tecra M10 models on the market.
    Check the labels at the bottom of the unit. There you should find some numbers like for example PTMB0E-01K00LGR
    The first 6 characters are important: for example PTMB0E
    I assume your notebook belongs to European series.
    In such case you should check the Toshiba EU driver page for possible BIOS update.
    http://www.toshiba.eu/innovation/download_drivers_bios.jsp
    However, on Toshiba EU driver page you will find also the BIOS v3.0 for all European Tecra M10 units.
    Anyway, back to the CTRL button issue: guess what, you should connect an external USB keyboard and should check how the CTRL button acts.
    In case the USB keyboard would work properly, the CTRL button of internal keyboard is affected and you will need to replace the internal keyboard.
    PS: it could be possible that the option "sticky keys" has been enabled. To disable this function, you have to press SHIFT button 5 times in the row.

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

  • Modifier keys not working after 10.6.7 update

    After the most recent 10.6.7 update, my modifier keys no longer work. I switched my Command and Option keys over a year ago, but now even when I'm in System Preferences>Keyboard>Modifier Keys and I switch them back and forth from Restore Defaults to the way I had them, nothing changes. I deleted  /username/Library/Preferences/ByHost/com.apple.HIToolbox.UUID.plist and logged off and back on, but that didn't work. Any suggestions?

    After the most recent 10.6.7 update, my modifier keys no longer work. I switched my Command and Option keys over a year ago, but now even when I'm in System Preferences>Keyboard>Modifier Keys and I switch them back and forth from Restore Defaults to the way I had them, nothing changes. I deleted  /username/Library/Preferences/ByHost/com.apple.HIToolbox.UUID.plist and logged off and back on, but that didn't work. Any suggestions?

  • Unable to change modifier keys on exernal keyboard.

    Running a unibody MBP with 10.8.5.  Trying to change the modifier keys (swap Option and Command) on an external USB keyboard (daskeyboard ultimate stealth).  Using Preferences -> Keyboard/Mouse -> Modifier Keys, I select my external keyboard (listed as daskeyboard) and make the switch.  This has no effect.  I am able to change the modifiers on the built in keyboard, but that doesn't help me. 
    I am not running the KB through a hub, direct connect to USB port.
    I have tried all possible combinations of adjust settings, reboot, retry, unplug, re-plug, move plug - no joy.
    From other posts here and elsewhere it seems this bug/glitch has been in Apple's side for a lot of years.  Does anyone have a FIX for this that does not involve some hacky workaround where a chicken needs to die?
    I run a linux VM on this Mac and it would be really nice if CTRL and ALT were where CTRL and ALT have been for decades.

    Hello
    I have a new Toshiba Satellite A75-S209 laptop. Now the keyboard was working perfectly, until i plugged in a external logitech usb keyboard. Now when i try to use the laptop keyboard alone all the characters are messed up.
    i have tried to reinstall the keyboard by removing it, but i was not successful .
    is there any way of re mapping all the keys?
    or even like keyboard software?!
    thanks
    nelby

  • 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?

  • Zoom:Use Scroll wheel with Modifier Keys to Zoom

    Help! Since the 10.6 update from 10.4.11, I can no longer zoom in and out by holding Command while moving scroll ring on my Kensington Expert Mouse. I have tried other modifier keys to no avail.
    I suspect a conflict, but do not know where to fix it. When in Firefox 3.5.2., Command plus scroll ring zooms the active window nicely. Any ideas or should I provide feedback to Apple or both? Thanks! DJ

    The default key for scrolling zoom is not Command but Control. To change this, go to System Preferences —> Universal Access and click on the Seeing tab. In the Zoom pane, click on the Options button, and in the sheet that drops down, select the text box at the bottom, highlight the character there, then press the modifier key you prefer.
    HTH
    Archie

  • Is there a way to add/change the modifier keys?

    Hi
    I would like to have the smooth tool be a modifier key like it used to be. aaah the old days.
    anyway I'm sure I'm not the only one.
    Thanks!

    You can assign a keyboard shortcut. Go to your Edit menu in Illustrator, select keyboard shortcuts. Scroll down to the smooth tool and enter the key combo that you would like to use. Then save the set.

Maybe you are looking for