Xmodmap, Caps Lock and XF86Calculator

I want to do something as simple as remapping XF86Calculator to Caps Lock. Easy peasy with xmodmap:
xmodmap -e 'clear Lock'
xmodmap -e 'keycode 148 = Caps_Lock'
xmodmap -e 'add Lock = Caps_Lock'
But life isn't supposed to be easy. 1. The new caps lock doesn't toggle the led on the keyboard. 2. When caps is switched on, the first letter is still typed in lower case. The rest are upper case, as expected. (The reverse doesn't happen - when caps is switched off, the first letter is also lower case).
Remapping other keys to Caps Lock, e.g. F12, works without any problems.
Surly it isn't a big problem and I could easily live without Caps Lock. However, it's annoying when something doesn't work as expected. I have no idea where I should start looking, so any help is appreciated.
My system is up to date, and I use hotplugging with Xorg (evdev).

Hi,
nswint, it seems that we have to do as you described.
Corey, I have the remote desktop client installed on a iPad Air, I can input capital letters via the on-screen keyboard within the remote desktop session that we can activate by a tap on the keyboard icon in the connection bar.
Thanks.
Jeremy Wu
TechNet Community Support

Similar Messages

  • [SOLVED] Switching Caps Lock and Escape

    I know this has been asked before, but none of the solutions proposed work for me.
    I can currently think of four solutions for this:
    * Using xmodmap
    * Using setxbmap
    * Playing around with udev
    * Using DE specific setting
    I would like my setting to DE agnostic and as far as possible changing only user config files, so I'm looking for a solution with one of the first two approaches. Referring to previous discussions [1], I tried the following:
    * /usr/bin/setxkbmap -option "caps:swapescape"
    * Setting caps lock and esc values in .xmodmap file and invoking using /usr/bin/xmodmap ~/.xmodmap
    I tried all possible variations, by putting the above in .profile and .xinitrc separately. But, nothing seems to work. How do I solve this problem?
    [1] https://bbs.archlinux.org/viewtopic.php?pid=1104840
    Last edited by hashken (2014-10-12 13:48:35)

    I also use and recommend the first method.
    xinitrc is not always read - there isn't a simple way to 'check' but you should know.  How do you start X?  If you are using a DE (as indicated in the first post) many DE's come with their own display managers (DMs) and often these do not read xinitrc.

  • How do I get my macbook off CAPS lock and safe boot?

    My macbook is stuck on caps lock and only comes up on safeboot? what should I do? It was only on sleep and playing music but when I wanted to log back I was unable to do so

    Open the terminal app. (Applications => Utilities => Terminal)
    Copy and paste the following code.
    sudo nvram boot-args=""
    then restart your mac.
    if you will want to stick with the safe boot again use the following code.
    sudo nvram boot-args="-x"

  • How do I get my caps lock and tab keys to work again?

    how do I get my caps lock and tab keys to work again?

    Have a look at > One or more keys on the keyboard do not respond

  • Pavilion dv4-1275mx notebook - once-flashing leds @ caps lock and scroll keys @ start-up

    My HP Pavilion dv4-1275mx notebook runs Windows Vista Home Premium service pack 1 for 64x-based systems.  
    Recently, when I turn it on, the led lights @ the caps lock and scroll keys repeatedly flash once.
    I'm not sure what, if anything, happened prior to this starting.  It's possible that there was a power surge when it was shut off, or it may be related to doing a McAfee virus scan or installing the latest version of a software, e.g., Adobe Reader.
    I was able to use my System Recovery disks to reinstall the Vista software, thinking this might "kickstart" my computer into working, e.g., as part of the restart process.  After the reinstallation, I was able to use my computer, although the led lights continued to flash.  However, once I shut down my computer, I have been unable to restart it.  The leds continue to flash upon start-up, and I have not been successful in again reinstalling the Vista software.  (I thought if could get my computer to work again that way, it might stay accessible if I used hiberate mode instead of shutting it down.)
    The computer's about 4-1/2 years old.  The screen has a short of some kind (only turning on when the screen is low to the keyboard, so I use an external monitor. 

    Try the steps in the following weblink:
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c00372748
    If the issue persists, please read the following document, understand the LED blink code, identify the root cause and try troubleshooting appropriately:
    http://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/kb/docDisplay/?javax.portlet.begCach...
    I am an HP employee.
    Regards,
    Vidya
    Make it easier for other people to find solutions, by marking my answer “Accept as Solution” if it solves your problem.
    ***Click on "Thumbs up" button to the bottom right side of my post to say thanks!***

  • Why does Caps Lock and F keys log me out of websites?

    MacBook Air 11" Core i5, OS X 10.7.2, Safari 5.1.2.
    Caps Lock and F keys seem to log me out of websites like Jimdo and stop BBC iPlayer from playing video, why? Most annoying. As you can't turn up the volume with out stopping the video and the system going back to the beginning of the video.

    On a Mac OS X system: System Preferences->Keyboard and Mouse->Keyboard(tab)->Modifier Keys(button): set Caps Lock to No Action (or to plain Shift if you prefer). Some people like Caps Lock. They can keep it. Others (like me) keep pressing it by mistake. We disable it. Everybody's happy. And if you're a No Caps Lock type of person, but really want it on rare occasion, just map it back temporarily. Takes 5 seconds.

  • DV4 flashing caps lock and num lock lights

    My laptop, an HP Pavilion DV4-2040US, has stopped booting up recently. The day before this problem come about I was using the laptop perfectly fine. I then went one day without using. When I turn on the laptop it booted up but nothing showed up on the screen. Then the CAPS LOCK and NUM LOCK lights started to blink on and off.
    I did some researching about the blinking lights and what they mean but I don't think mine is listed on there. It says the pattern will repeat a couple of times then shut off, but mine doesn't. The pattern is the CAPS LOCK and NUM LOCK both blink once every 3 seconds (about) and keeps blinking every 3 seconds forever. The only time they stop blinking is when I shut I down by holding the power button on the laptop.
    I've tried disconnecting everything and holding for 15 seconds and even tried holding it for 30 seconds and that still didn't fix the problem. I called HP support and the guy who I talked to told me it sounded like a motherboard issue, but he wasn't sure exactly and told me to ask here for help.
    If it matters, I can hear the fan turn on for about 2 seconds then stop. Also all the touch sensitive buttons light up too$

    Please, someone, anyone help me. I am having this exact same problem as we speak It happened after i put the laptop to sleep overnight. The LEDs for capslock and numlock blink consistently but slowly-approximatelt 2-3 seconds. When started up, i hear the fan come on for maybe a second or two and then comes off.I've tried all the mentioned solutions - i removed the battery for a while and put it back in-i tried the four arrows-i tried started up with AC adapted but without battery - and still no fix. What i am worried about is the documents and files on the laptop. Are they recoverable? Please help me on this someone. Please. Thank You.

  • Pavilion Dv5-1009el - Black screen and blink caps lock and block scorr

    Hi,
    I just replaced the motherboard of my pavilion that reported an error as object. The purchased motherboard is new and hp original.
    After having changed, I turn on the pc and work fine, i see the hp logo and enter to bios, after I turned off the pc without starting windows.
    I inserted the battery and powered on the pc and returns to the old error, the LED of caps lock and block Lock blinks...
    So I tried to update the bios from USB using winkey + B. The computer emits two beeps but does not read from any USB port and the LEDs go out for a while and then blink again.
    What can I do?
    Greetings,
    Enzo.

    Hi @shmurray,
    Welcome to the HP Support Forums!
    I understand you are getting a blink pattern on the Caps lock LED, when you turn on the notebook. I am happy to help you with this.
    I am including the page on the error codes for your reference: Blank Screen LED Error Codes
    From that document the pattern you are getting indicates a memory problem. You said that you have tested the memory. What exactly did you try?
    The document suggests reseating the RAM or trying a new set of RAM and then restarting the notebook. If you are still getting a memory problem after trying both of those things, ie a 3 blink code again, then it would likely suggest that there is a problem with the motherboard itself, either with the memory slot or one of the controllers related to memory.
    In that case I would suggest contacting the technical phone support number at 800-474-6836. If you live outside the US/Canada Region, please click the link below to get the support number for your region.
    http://www8.hp.com/us/en/contact-hp/ww-phone-assist.html
    If however reseating the memory or replacing it leads to a different error code or message please let me know, Although in that case the following may be helpful if you still have a blank screen.
    Troubleshooting Black Screen Displays with No Error Messages During Startup or Boot
    Here are some other sources I found that may be helpful to you.
    Resolving Problems with Notebook Displays (Windows 7 and Windows 8)
    I hope that this is helpful to you.
    Regards,
    Malygris1
    I work on behalf of HP
    Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
    Click Kudos Thumbs Up on the right to say “Thanks” for helping!

  • Using caps lock key as caps lock and control key

    I'd like to use the caps lock key as caps lock and control key. While I can convert the caps lock to control key very easily, there seems no way to make it both caps lock and control. Is there any way to do this? I use emacs and it'd be really useful to be able to do this.
    Thanks.

    Finally found something that worked for me. See this thread and look for the post about removing the Hitoolbox plist files.
    http://discussions.apple.com/thread.jspa?messageID=10765093&#10765093
    I removed all of them. (Had multiples) Also make sure you empty the trash afterwards.
    Then restart.
    Then I used the modifier key trick in this thread. Turned off the caps lock key. Then restart.
    Then use the modifier key trick and turn the caps lock key back on. Test to see if your lights come back on for the caps lock key.
    If so, next time you restart it should still work. Finally. This thing has been dogging me for a long time.

  • Caps lock and shift not recognized from a usb or virtual keyboard on the Mac

    Caps lock and shift not recognized from a usb or virtual keyboard on the Mac client.   You have to use the native keyboard or bluetooth keyboard.

    Hi,
    nswint, it seems that we have to do as you described.
    Corey, I have the remote desktop client installed on a iPad Air, I can input capital letters via the on-screen keyboard within the remote desktop session that we can activate by a tap on the keyboard icon in the connection bar.
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • Pavilion DV5 1111ea CAPS lock and NUM lock continuously blinking

    I recently upgraded my dv5 pavilion 1111ea to windows 8.1
    Due to an issue with the OS, it doesn't resume from Hibernation, as described here.
    I held down the power button until the laptop swithched off.
    Once I tried to put it on again, it couldn't get to the BIOS screen, the CAPS lock AND NUM/SCROLL lock LEDs were blinking continuously, once every 3 seconds.
    No disk activity at all.
    I checked HP Notebook PCs - Blank Screen LED Error Codes but non corresponded to continuous blinking.
    I have a spare CPU which I removed from a discarded dv5, the CPU is exactly the same model with mine (AMD Turion x2 RM-72).
    I've troubleshooted by removing both RAMs and testing each individually in different ports, yet no solution.
    I'm suspecting the CPU because about a year after purchasing the PC, it began to overheat and hibernate automatically to prevent the CPU from burning. I had to underclock the CPU so, for over three and half year now, I've been running at 50% CPU speed. In total the laptop is 4.5 years old already.
    Please I need suggestions as to what to do. I don't have the required tools to replace the cpu myself.
    Thanks.

    I took my PC to a repairer and he claimed to have replaced the CPU with an AMD Sempron from his collection of scrap laptop CPUs.
    After about 3 months, the same problem has recurred.
    I opened it up, only to find my former CPU model inside!
    Whether the repairer had a spare Turion, or he only performed a trick to make my original CPU to work (and billed me for a replacement), I can't say for sure.
    Now I've purchased another CPU from eBay.
    Fixed it and...... got dissapointed again.
    Still blinking the CPU error code.
    From other posts I've come across here, I think HP/AMD combo is to blame for all these.

  • CAPS Lock and Scroll Lock blinking / Display is Black

    Hi,
    I am using DV5 with processor AMD Turion X2 RM70. CAPS Lock and Scroll Lock blinking once every 4 secs.
    Is it Blink Code Error? Is my CPU dead? Should i take to service centre(No Warranty)? If CPU failure, how much the CPU costs?
    Please help me.
    Thanks,
    Rahul

    Hi 3dogtim,
    Which computer is this? If you don't know click on Guide to finding your product number. I can look up some information to help answer your questions.
    I look forward to hearing fro you.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • Updating caps lock and num lock status

    I need to keep track of the status of the caps lock and num lock keys in a status bar of my frame.
    I get the current status with a code like this
    Toolkit toolkit = Toolkit.getDefaultToolkit();
    numLockState = toolkit.getLockingKeyState(KeyEvent.VK_NUM_LOCK);
    capsLockState = toolkit.getLockingKeyState(KeyEvent.VK_CAPS_LOCK);
    fireChangeEvent();
    where fireChangeEvent() updates a label in the status bar. The code is invoked when any of the caps lock and num lock keys are pressed (while the window has the focus) and when the window is activated. This code works while the window has the focus (i.e. the status of the keys if correctly tracked). It does not work correctly when the window is activated.
    Specifically the following scenario fails:
    - The window has focus and the state of the keys if correctly reported by the code above (say caps lock up, num lock
    up);
    - The window loses focus, i.e., another (non java) window gains the focus;
    - The user presses any of the two keys (say the caps lock key);
    - The window regains focus.
    When the latter event happens the code above is invoked (as a consequence of the window being activated) but it continues to report the status of the keys at the time the focus was lost by the window (caps lock up, num lock up).
    It seems that the toolkit does not automatically updates its internal status if a key is pressed when the java window does not have the focus. If I press the caps lock key (so that it returns to the up state) after the window has regained focus the status is updated and the new state is correctly reported. I need to manually realign the status by pressing the keys to have them correctly reported by the toolkit.
    Some ideas on how to have correct key status even after the window looses the focus?
    Thanks.

    Specifically the following scenario fails:
    - The window has focus and the state of the keys if correctly reported by the code above (say caps lock up, num lock
    up);
    - The window loses focus, i.e., another (non java) window gains the focus;
    - The user presses any of the two keys (say the caps lock key);
    - The window regains focus.
    When the latter event happens the code above is invoked (as a consequence of the window being activated) but it continues to report the status of the keys at the time the focus was lost by the window (caps lock up, num lock up).sorry! i tried this in a JFrame windowActivated() and i got the desired result it breaks your senario.
    the only is though it is not sensing the keyStrokes but if window looses focus because of another window gains focus it changes the values when it get focus next by ne means.
    Provide a short executable code might be the problem lies there.

  • Satellite C55-A and Ubuntu - Caps Lock and Num Lock key leds always off

    I use Ubuntu Desktop 14.04 and Mate Desktop and LightDM. My Toshiba Laptop is Satellite C55-A-1JH (PSCG6E) model.
    Cap Lock and Num Lock is working , but their leds always is off.
    I don't find any Linux driver in Toshiba support web site.How I solve this problem?

    Hi. Are you sure this is a Linux-issue? Please try this: reboot the unit and press F12 several times when the Toshiba logo is shown. When the boot menu is shown try Caps and Num lock again.
    Same issue or not?
    Br Tom

  • When backlight is off Caps Lock and Num Lock keys flicker slightly

    I recently noticed that on my very new MacBook when I leave the backlight to turn off, the caps lock and num lock lights flicker green. This is a very low level of light coming from it. Is anyone else having this problem and is it very serious?

    I doubt it means anything. You might consider leaving it like that for a while and then checking to see if your battery ran down like the computer was awake. Or you could close the lid. At least that way you don't have to see the flicker.
    If you said the lights flicker at full intensity, that might mean a loose connection or a bad resistor on a chip, etc.

Maybe you are looking for

  • Change color of entire image?

    I have a damask flourish design in JPEG format.  I want to change the entire color of the design from green to pink.  How can I do that?  I have an older version of Photoshop Elements 6.0 on my Windows XP machine, but can upgrade to 11 on my Macbook

  • Black Border on Canvas

    I'm sure this is something real simple, but I have a black border on the top and bottom of my canvas (Final Cut Pro 7) but not in the Viewer. It must be some simple setting I'm missing - any thoughts on how to correct it? Much appreciated. Final Cut

  • HT5312 My appleID was stolen, how can i contact apple support in Moldova ?

    Please help me or provide some info how can i recover my apple id after the theif changed the resque email and changed the acc info!!! How can i get it back ? I live in Moldova, we don't have any apple stores, just resellers, and no apple phone suppo

  • Print Copy on the Invoice

    Guys, I have a requirement where I need to print word "Copy" on the invoice. In my O/P condition I have Number of copies maintained as 3, the first should be original and the subsequent two should have "Copy" mentioned on the top. I have used this fu

  • PLEASE HELP-problem with downloaded files!

    I have downloaded some games and stuff from the internet to my new iMac(Leopard10.5.1). I open the files, copy to applications, or install from the folder-and that should be it, right?? Unfortunately, this is not so! I have to go through this same pr