Symbols generated when Caps Lock is in action

I am trying to figure out how keyboard layouts are defined (for Xorg). I more or less understand the formats of the /usr/share/X11/xkb/symbols/* files but the comportment of the Caps Lock key remain a mystery. How the symbols generated when the Caps Lock key is in action are configured? For example the French keyboard layout has a key that generate é (eacute) and the digit 2 when shift is pressed. When Caps Lock is in action it generates É (Eacute). If i change the eacute by à (aacute) in /usr/share/X11/xkb/symbols/fr then it generates À when Caps lock is pressed. This is logical but how Xorg know that À is the uppercase version of à?
Last edited by olive (2015-01-16 08:01:46)

Hi Abk,
Please try like this. It works for me.
declare
  key_pressed  VARCHAR(30) := 'FALSE';
begin
  key_pressed := :System.Mouse_Button_Shift_State;
           or
  key_pressed := :system.mouse_button_modifiers;
  if upper(key_pressed) = 'CAPS LOCK+' then
     <your logic>
  end if;
end;Also, are you meeting the condition i wrote above of pressing caps lock along with left mouse click?
If this doesn't work, try debugging your code. Stop in the when-mouse-click trigger and check if it is going inside the if condition.
Check what is the value of key_pressed.
Hope it helps.
Navnit

Similar Messages

  • How may I use directly the numerical when caps lock is on?

    How may I use directly the numerical when caps lock is on?

    I don't understand?  Having caps lock on still allows you to type numbers.  Perhaps you mean something else?

  • Dot appears under the password when 'caps lock on' at the time of entering password in loginscreen

    As you can see in the above image, there is a small dot under the big(for password dot) dot.The small dot is appear when I hit the caps lock and it disappear when I again hit the caps lock. It is happening after installing the Mac OS X(10.10.1) or Yosemite.Before that it is does not happen before. The small dot appear randomly, I  mean to say it appear some time when I hit the caps lock (and disappear when I again hit caps lock) but it does not appear some times (although I hit caps lock one or more than one times).If some one noticed this problem.

    Hello ANTVD,
    It sounds like you are unable to connect to your cellular service even after restarting the device multiple times. I recommend the troubleshooting from the following article named:
    iPhone: Troubleshooting No Service
    http://support.apple.com/kb/ts4429
    Toggle airplane mode: Tap Settings > Enable Airplane Mode, wait five seconds, then turn off airplane mode.
    Remove the SIM card and verify that it's a valid, carrier-manufactured SIM. Also verify that it isn't damaged, worn, or modified. Then reinsert it.
    Check for a carrier-settings update. Connect to a Wi-Fi network. Then tap Settings > General > About. If an update is available, iOS will ask you if you want to install it. If Wi-Fi isn't available, connect your device to iTunes.
    Update your iPhone to the latest version of iOS.
    Reset network settings by tapping Settings > General > Reset > Reset Network Settings. This will reset all network settings, including Bluetooth pairing records, Wi-Fi passwords, VPN, and APN settings.
    Restore the iPhone.
    If you're outside the United States, please also follow these steps:
    Go to Settings > Carrier > Automatic.
    If the phone registers any carrier network, Settings > Carrier will be present.
    If the Carrier option is missing in Settings and you're outside of the Unites States, please contact Apple for support and service options.
    Set the option for Automatic to off.
    A list of potentially available carriers appears after about two minutes. If the device is locked to a carrier, it may connect only to the carrier network to which it is locked. If the device displays carrier networks, then the device is working as expected.
    Set Settings > Carrier > Automatic back to on.
    If you're still experiencing No Service issues, contact your carrier to check for any network or account issues that could cause these symptoms.
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • Caps Lock & Keyboard error - Satellite L50-A-1F2

    Hi, everybody!
    Can anyone help me solving these problems with caps lock key?
    *1st problem:*
    In my Toshiba Satellite L50-A-1F2 the led on the caps lock key is always on.
    *2nd problem:*
    I have made some test using MS Word:
    when caps lock is not active, I can write without problems.
    when caps lock is active, I have problems with some keys (all in the same "column"): 3, D, E, C.
    When I press:
    3: I get the symbol "-"
    D: the cursor moves to the line below
    E: I get the or the TM symbols; sometimes it activates Intel Graphic Panel
    C: the cursor moves to the begin of the first line.
    Thank you in advance for you help!

    Usually the CAPS LOCK button function could be enabled and disabled pressing the same button once again.
    If this isnt possible, Im afraid this could be a hardware problem.
    But new Toshiba notebooks support special feature called special function key mode.
    This mode allows you to use the FN keys without pressing the additional FN button.
    I dont know if this mode could affect the CAPS LOCK functionality but its definitely worth a check.
    However, I would recommend you to connect external keyboard and to check if the same CAPS LOCK problems would appear. In case the external USB keyboard would work properly, the CAPS LOCK issue is related to internal keyboard malfunction.

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

  • Key board Caps Lock

    I can't get my caps lock to function. It will auto caps lock at the begining of each line and after a period. I can cap a letter but I double click and it wont turn blue and lock the cap on. Any ideas???

    Caps lock plus a few more goodies...
    Keyboard:
    Turn Auto-Capitalization on or off: Choose General > Keyboard and turn Auto-
    Capitalization on or off.
    By default, iPhone automatically capitalizes words after you type sentence-ending
    punctuation or a return character.
    Set whether caps lock is enabled: Choose General > Keyboard and turn Enable Caps
    Lock on or off.
    If caps lock is enabled and you double-tap the Shift key on the keyboard, all letters
    you type are uppercase. The Shift key turns blue when caps lock is on.
    Turn the ”.” shortcut on or off: Choose General > Keyboard and turn ”.” Shortcut on or
    off.
    The ”.” shortcut lets you double-tap the space bar to enter a period followed by a space
    when you’re typing. It is on by default.
    More:
    http://manuals.info.apple.com/enUS/iPhone_UserGuide.pdf
    Doug

  • Caps lock display

    Hello I have just obtained an HP Pavilion Slimline PC .How can I show on the screen,when capslock is on
    This question was solved.
    View Solution.

    Digcot65, welcome to the forum.
    Here is a small FREE program that will display when CAPS lock is on in the lower left of your screen.  When it asks for a Key simply click Continue.
    Please click the "Thumbs Up+ button" if I have helped you and click "Accept as Solution" if your problem is solved.
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • Remove Caps lock/Num lock indicator?

    I have a Lenovo B590 laptop with Windows 8. When Caps lock or Num lock is turned on an indicator is shown in the lower right screen and it does not disappear until its turned off. I want to either remove it or turn it off. It looks like this:  I have searched this forum for a solution and, for some, removing Lenovo Silver Silk Wireless Keyboard has fixed the problem. But I do not have this program in the "Add/Remove Program" list. Any suggestions what to do?

    Hi Guys Had the same problem. The indicator mentioned is for the touchpad lock. It comes on every time and just sits uselessly in the bottom centre of the screen. Fn F6 removes the indicator icon from the screen but of course now toggles the touchpad off so it will not work, So Fn F6 again displays the indicator icon (without the diagonal line) and toggles the touchpad back on and in a few moments the icon disappears. This is only a temporary solution until the next time I awaken the machine. Consequently I followed the recommendation above for ridding yourself of the NumLock and CapsLock indicators and so far it appears to have cured the problem. In the Screen Resolution properties the TouchPadLock is not an option so just getting rid of it completely seemed the only solution. If a moderator knows better then some further advice would be welcome.

  • New out of the box MacBook Pro with Caps Lock/Num Lock lit keys

    I just set up my brand new MacBook Pro 15" laptop and, right out of the box, the Caps Lock and Num Lock keys were lit up. I didn't think anything of it, and transferred all my user files from my old PowerBook G4. Well, they 2 keys seem to be working in reverse. When Caps Lock is lit up green, all characters are in lower case. Same as Num Lock. Any advice? Do I have a lemon?
    Thanks!

    I've also had this problem twice over the past couple of weeks.
    I have a theory that it has something to do with plugging in my USB mouse during the system boot. A reboot cured it both times though, and it's not gotten tot he point that it's annoying enough to investigate further.

  • How can I disable the Caps Lock key

    I find it is too easy to accidentally activate Caps Lock. Is there a way to disable this key? I am using an Apple wireless keyboard and an iMac running Snow Leopard 10.6.6

    Hi Jim
    System Preferences - Keyboard - Keyboard (not the shortcuts) - Modifier Keys...
    set caps lock to 'no action' - you can do that for each keyboard listed in the drop-down above.

  • Caps lock keyboard can't be hidden now?

    Looks like the option to hide the annoying and useless caps lock keyboard has been taken away. Why would they do that? It's always in the way, and you really don't need to see it after the first or second time you use it.
    Am I wrong, has that option just moved somewhere else? It just seems so ridiculous to take that away.

    Huh?
    But then obviously you can't use the caps lock keyboard.
    I'm talking about actually using the caps lock keyboard and not having it show. In Logic 7 there was an option to have it hidden when caps lock was engaged.

  • Wireless keyboard, no working caps lock

    I just became the proud owner of an iMac. I still need to get used to some things, but the wireless keyboard doesn't give me numerals when caps lock is switched on (the light comes on). I can use numbers by holding down the (single) shift button and capitals are no problem either. It just doesn't seem to work with the numbers... Can someone help me please?

    Hello Barry,
    The numbers on my alu keyboard don't work when I press caps lock (the little green light comes on, but I can only type capital letters.) So for typing numbers I need to keep the shift button pressed down. I called the helpdesk and they suggested I buy a separate keypad! because this is completely... normal!... I guess I still need to get used to my new computer.

  • Caps lock indicator remains on screen at all times

    One of my clients has a T410 with Windows 7 64-bit installed.  When he turns on his caps lock, the indicator lights up and the same indicator appears on the screen and then stays present until the caps lock is turned off.  When caps lock is turned off the indicator disappears in about 3 seconds.  My other T410s are not experiencing this issue.  What can we do to change the indicator so that it only appears on-screen for 3 seconds?  I appreciate your help.
    Solved!
    Go to Solution.

    control panel, display, settings, advanced, on screen display.  chk enable on screen display.  chk both options for "show indicator for a few seconds" 
    done deal
    Cleo edited: The same information can be found in community knowledgebase or Hints and Tips from Lenovo Support site.

  • Caps Lock delay gone?

    I think for the new aluminum keyboard, Apple introduced a delay in the Caps Lock key to avoid hitting it mistakenly. I found this very irritating because I remap it to Control. In 10.5 I noticed there's now no delay, which I am very happy about. Anyone know any details on this? Is the delay gone, is it gone only when Caps Lock is changed to another key, etc.? I hope this is simply not a bug.

    Thanks for workaround but it's not good with me. I think that using Caps Lock is more comfortable and to use Caps Lock that works I like, is even better .

  • Keyboard Caps Lock LED continuously on

    I don't see a thread anywhere on the forum that discusses this situation.  I have an iMac i5 with wireless keyboard.  I noticed today that the Caps Lock button LED is continuously lit, whether in Caps Lock mode or not.  I've turned the keyboard on and off, removed and reinserted the batteries, and restarted the machine.  Nothing changes.  I also noticed that when I press any other key I see the light will go off - for each character pressed or for as long as I hold that key.  As soon as I stop holding the key, or stop typing the light comes back on and stays lit.  For example, I purposely held the "fn" key down and I see the light goes off for as long as I hold the key down.  I'm not a touch typist so I do look at the keys when typing.  It's not quite as bright as when Caps Lock mode is actually on, but it's nonetheless bright enough that I see it, which I find very distracting.
    Any thoughts as to what might cause something like this?  I purchased the entire setup through Best Buy during Christmas season 2011.
    Thanks.

    Hello:
    I suggest you call Applecare with a warranty issue.  The KB has a one year Apple warranty.  I would not waste any more time trying additional things.  You have already tried everything I would suggest.
    Barry

Maybe you are looking for

  • Schedule archiving jobs

    Hi, We are trying to schedule periodically the archiving jobs for several objects. To be more specific, we begin with MM_EKKO archiving object and we would like to chain the 3 steps : preprocessor the write, then delete. Chaining delete after write i

  • Org.apache.jackrabbit.api.security.principal.PrincipalManager not resolving in 5.6.1

    Hi, I am trying to add acl to the node dynamically. For a path "/content/dam/abc" folder I want to add read and write access to "testusers" group through the api. For this I am trying to create principal and privilages objects. I am using below code

  • ASO, MDX, Loading Level 0

    <p>Maybe this is more simple than I am making it, but I am tryingto load a level 0 file into my ASO app.  I get to messagesonce the data load happens.   The first is:</p><p> </p><p>SourceTYPE                        SourceFile                    Opera

  • Working with Instances - Hiding 1 field and multiple pages

    I have a fairly simple form that has some header information and then 6 fields that repeat an unknown number of times, then a second page of summary information. I have two issues that I can't resolve: 1. How do I set up the repeating rows to flow to

  • DI Server Installation and connection

    hello, We've installed <b>DI Server</b>, started it, but the <b>WSClient</b> file comming with the installation doesn't work. a) Is the <b>IIS</b> needed for the DIServer to work? If not, what do I need to do to be able to connect to the DIServer. Th