Kdemod4, no way to change caps lock to ctrl?

I usually change caps lock to ctrl.
I'm new to KDE (using 4.3 with kdemod), and don't see the option to change the key in the keyboard system settings.
Am I just being blind, or do I have to use something else like xmodmap?

I believe you can do this in the xorg config file.
Take a look at /usr/share/X11/xkb/rules/xorg.lst.  When I had an Apple computer, I mapped the Apple key to cntl by remapping it:
Section "InputDevice"
Option "XkbOptions" "altwin:ctrl
EndSection
Think it can be done with caps lock, but not entirely sure.  Caps lock behaves a little different than other keys though.
Last edited by Gen2ly (2009-09-21 11:25:05)

Similar Messages

  • Remap caps lock to Ctrl in console (tty)

    I tried to use loadkeys to remap caps lock to Ctrl and Ctrl to caps lock but it doesn't work, because i think use caps lock is easier than press Ctrl when i move around keyboard. so i wonder:
    1. how can i remap caps lock to Ctrl and Ctrl to caps lock in bash (in tty)
    2. how can i remap caps lock to ESC in vim (in tty)
    I tried to modify /usr/local/share/kbd/keymaps/personal.map
    keycode 58 = 29
    keycode 29 = 58
    58 is caps lock keycode
    29 is control keycode.
    Thanks in advanced!

    yep, tks a lot, english is not my native language.
    write a super short script that simply changes keymap before calling vim.
    you mean i need to reload keymap when i call vim. if that i need to modify my .vimrc to call a script to reload the keymap. humm, that's problem, how can i call a script in .vimrc?  i am new to linux so can you show me howto?

  • I need to reprogram the delete and enter key to the left side of a external keyboard for the ipad mini. don't need the caps/lock or ctrl key and due to an injury my daughter can only use her left hand to type. She is using a text to speech app to verbaliz

    I need to reprogram the delete and enter key to the left side of a external keyboard for the ipad mini. I don't need the caps/lock or ctrl key. Due to a brain injury my daughter can only use her left hand to type. She also uses a text to speech app to verbalize all of her needs since her speech isn't intelligible any longer either. And her vision was significantly affected also, so the keyboard has to be mounted about 6 inches from her face. So to reach across the keyboard with her left hand to the right side delete and enter button is physically difficult and causes typing errors, which cause people to not understand what shes trying to say.
    The best keyboard so far is the Zagg folio mini. I just had to make stickers to enlarge the letters on the key buttons.
    Does anyone know how I can reprogram these two keys? Or where I can buy a wireless mini keyboard for Ipad made for lefthanders with these two functions on the left side. I have searched for days and days. It's sooooo important to me that she be able to contribute her voice again. Imagine if you got in a car accident and couldn't speak clearly any longer, but understood everything still. Thanks for any help and suggestions you all take the time to share with me. I really appreciate the kindness of strangers to help me help my daughter.
    Sami's mom

    Sami\'s mom wrote:
    I need to reprogram the delete and enter key to the left side of a external keyboard for the ipad mini.
    You cannot.

  • Changing Caps Lock Behavior

    Is there a way to change the behavior of the Caps Lock key so that the combination of Caps Lock and the Shift key produces lower case? I've just migrated from the Windows world and a number of my passwords are "reversed case" (harder to steal) - on my MacBook Pro, those passwords are a hassle - If there was a workaround, I'd not need to change them all.

    I suspected that Apple would "fix" the traditional behavior of keyboards so that the caps lock key did exactly what it was supposed to do !

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

  • Is there a way to change the order that Ctrl+` switches through tab groups?

    I prefer for Ctrl+Tab to switch between tabs in the most-recently used order (the same way Alt-Tab works), so I use that setting in about:config. Is there a way to do the same thing with the Ctrl+` shortcut that switches through tab groups? By default it appears to cycle through all of them, regardless of the order of use, which is very inconvenient for me, because I have tab groups that I don't use very frequently that just get in the way when cycling through them.
    Barring that, is there a way to make it so that Ctrl-Tab cycles through all tabs, regardless of what group they're in?
    I'd really appreciate any information. Thanks!

    You're not alone in wanting this.  Feel free to provide feedback to Apple directly:
    http://www.apple.com/feedback/ipad.html

  • Caps Lock LED incorrect when changing modifier keys

    Hello,
    I remapped Caps Lock and Ctrl keys via keyboard settings (they're now flipped). Unfortunately the Caps Lock LED is still being activated by the "old" Caps Lock key (which is now the Ctrl key). This means that whenever I hit Ctrl (using the Caps Lock key) the Caps Lock LED changes its status.
    This is rather annoying as it ends up being in random state and tells me nothing about the actual Caps Lock status. Is there a way to fix this?
    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

  • [SOLVED]Switching Caps Lock with Shift_L

    I have a broken left shift key, and it's a bit of a pain to type with. I often use an external keyboard, so this doesn't always bother me, but when I take my laptop with me somewhere, I would like to be able to quickly swap Caps and Left Shift. For a while, I've done that like this:
    xmodmap -e "keycode 66 = Shift_L NoSymbol Shift_L"
    But xmodmap is deprecated, and causing problems with qt5 applications, so I want to ditch it and do the same thing with setxbmap instead. Now, xkb is really nice, it is full of built in options for common remaps, and a quick look around shows my I can use any one of these to change how caps lock works:
    grp:caps_switch Caps Lock (while pressed), Alt+Caps Lock does the original capslock action
    grp:caps_toggle Caps Lock
    grp:shift_caps_toggle Shift+Caps Lock
    grp:shift_caps_switch Caps Lock (to first layout), Shift+Caps Lock (to last layout)
    grp:alt_caps_toggle Alt+Caps Lock
    lv3:caps_switch Caps Lock
    lv3:caps_switch_latch Caps Lock chooses 3rd level, acts as onetime lock when pressed together with another 3rd-level-chooser
    ctrl:nocaps Caps Lock as Ctrl
    ctrl:swapcaps Swap Ctrl and Caps Lock
    grp_led:caps Caps Lock
    caps Caps Lock key behavior
    caps:internal Caps Lock uses internal capitalization. Shift "pauses" Caps Lock
    caps:internal_nocancel Caps Lock uses internal capitalization. Shift doesn't affect Caps Lock
    caps:shift Caps Lock acts as Shift with locking. Shift "pauses" Caps Lock
    caps:shift_nocancel Caps Lock acts as Shift with locking. Shift doesn't affect Caps Lock
    caps:capslock Caps Lock toggles normal capitalization of alphabetic characters
    caps:numlock Make Caps Lock an additional Num Lock
    caps:swapescape Swap ESC and Caps Lock
    caps:escape Make Caps Lock an additional ESC
    caps:backspace Make Caps Lock an additional Backspace
    caps:super Make Caps Lock an additional Super
    caps:hyper Make Caps Lock an additional Hyper
    caps:shiftlock Caps Lock toggles Shift so all keys are affected
    caps:none Caps Lock is disabled
    caps:ctrl_modifier Make Caps Lock an additional Control but keep the Caps_Lock keysym
    compose:caps Caps Lock
    compose:caps-altgr 3rd level of Caps Lock
    shift:breaks_caps Shift cancels Caps Lock
    shift:both_capslock Both Shift-Keys together toggle Caps Lock
    shift:both_capslock_cancel Both Shift-Keys together activate Caps Lock, one Shift-Key deactivates
    None of those allow me to use caps lock as a normal shift. I'm trying to figure out how to rebind caps to work as a shift, but I want to have this in a script so that my external keyboard will stick with its default behavior, and I can just type "fixshift" when I unplug it. Basically, just manually switch the two with setxkbmap the way I did with xmodmap. Out of a long while searching, and /only/ finding advice to use one of the default options, and none on making my own, I've decided to come here.
    Any help, Arch-friends?
    Last edited by Kebertx (2013-10-31 09:10:14)

    For the record, here's my solution:
    This creates a custom key symbol to swap Caps and Shift:
    /usr/share/X11/xkb/symbols/custom
    partial modifier_keys
    xkb_symbols "swapcaps" {
    replace key <CAPS> { [ Shift_L ] };
    replace key <LFSH> { [ Caps_Lock ] };
    This script prints a description of the keymap, adds the symbol to swap the two keys from that other file to the right line, and writes the new description to a temporary file... then compiles it!
    /usr/local/bin/fixshift
    #!/usr/bin/bash
    setxkbmap -print | sed '/xkb_symbols/ { s/"/+custom(swapcaps)"/2 }' > /tmp/fixshift
    xkbcomp /tmp/fixshift $DISPLAY > /dev/null 2>&1 &
    Then I just set that program to run every time lightdm starts a session:
    /etc/lightdm/lightdm.conf
    display-setup-script=/usr/local/bin/fixshift
    greeter-setup-script=/usr/local/bin/fixshift
    session-setup-script=/usr/local/bin/fixshift
    And nothing more to it. Life is grand again.

  • How do you change the lock button so it does not end a call?

    My new phone cover doesn't allow my phone screen to go black when on a phone call. When the cover is off it works fine. Is there any way to change the lock button to not end a phone call?

    No.... you need a different cover

  • IPhone Typing Caps Lock?

    This may be a simple question, but one thing that has always bugged me about the iPhone keyboard is that is seemingly impossible to hold down caps lock...even when u manually push the caps lock button it deactivates as soon as i enter 1 letter.
    am i being stupid and is there a way to enable caps lock until i want to disable it?
    ive just noticed that under keyboard settings there is an option to "enable caps lock" which was "off"....ive switched it on and it still doesnt do what i want it to.
    thanks in advance.

    http://manuals.info.apple.com/enUS/iPhone_UserGuide.pdf

  • Caps Lock OSD not showing (U410)

    Hi,
    I would like to know if there is a way to enable caps lock screen indicator on U410 models with Windows 8.
    I know that there is a Quanta Caps lock OSD driver for Windows 7 but it does not enable cpas lock  screen indicator. I reinstalled the Lenovo energy management but still not showing caps lock screen indicator. Is there a way to turn on the caps lock OSD? Any help would be appreciated. 
    Solved!
    Go to Solution.

    hi kang106,
    Welcome to the Lenovo Forums.
    The Ideapad U410 here on the lab came with Windows 7. We decided to upgrade it to Windows 8 (thru Windows 8 Upgrade Assistant) and the OSD drivers for the brightness, volume, and capslock are all working.
    Have you tried to uninstall the capslock OSD and lenovo energy management (windows 8 version) and reboot then reinstall the Lenovo Energy Management  (Windows 7 version) and capslock OSD driver and reboot?
    Regards,
    neokenchi
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Remapping Caps Lock

    The standard layout on an a macbook pro is not quite efficient if one wants to do a lot of programming. I want to change that with some small tweaks. One of those would be: Change Caps Lock to be a key like cmd and ctrl. For example if I want to write '{' I want to press 'Caps + a'.
    Is that possible?
    I've already tried Ukelele, which allows me to remap all other keys and combinations. But with it I did not find out how to create a new key like cmd, ctrl...

    But this would mean that I simply asign 'cmd' to the caps lock key. That's not what I want.
    I want to create a new Layer. At the moment I have the cmd, ctrl and shift layers. I want something new to happen if I press caps-lock + a, for this I have to introduce a new layer. Is this possible?

  • HT6162 Way to go Apple - Now the Caps Lock button in iOS 7.1 is even more confusing! Why not finally change the keyboard from lower to upper as needed?

    Way to go Apple - Now the Caps Lock button in iOS 7.1 is even more confusing! Why not finally change the keyboard from lower to upper as needed?
    Or, allow us to change the look of the keyboard as we would like? How simple would that be?
    Thank you!

    You can tell Apple directly at the link below.
    http://www.apple.com/feedback/ipad.html

  • Are there any scripts to change all Caps locked items to bold?

    I'm new to this program...like, 5 minutes in to using it. I make typesetted catalogs, where there are 850 or so "lots," that all have Caps locked titles. These titles also have to be in all bold. Is there any easy to take my existing text, & make it bold (like a Find/Change)?

    I presume you mean the text was typed in with the caps lock key on so it is all uppercase. There are a number of ways to do this, but which to use depends on waht you have. Do these headings have a style assigned to them? They should, and if they do all you need to do is edit the style definition to use Bold. If not you can do it with Find/Change and GREP, but we need to know if there is any punctuation and whether there is any other text inthe same paragraph, or if the titles stand alone. A screen capture would help, (and take it with non-printing characters visible, please). You can embed it in a post using the camera icon on the web page like this:

  • TS3092 My Apple bluetooth wireless keyboard caps lock keeps changing so that sometimes the caps are on when the lights on and sometimes the caps are on when the light is off. How do I control this?

    My caps lock keeps changing. That is, sometimes the caps are locked and the light is on the key and sometimes the caps are on when the light is off. It changes without my knowing it. Also when I hold the shift key down I hear a double click noise which changes the keys in some way. How do I get it to not change?

    Try resetting SMC and NVRAP and then reboot.
    http://support.apple.com/kb/HT3964
    http://support.apple.com/kb/PH4405
    Try booting the Recovery Partition.  Power off, boot and then hold down the Command and R keys.  Is the screen still black?  If so it is not a software problem so take it in for diagnosis and repairs.  Make a Genius Bar reservation http://www.apple.com/retail/geniusbar/ or find an Apple Authorized Service Provider https://locate.apple.com/country .
    If you are running Mavericks try upgrading to 10.9.2.  It has a fix for black screen problems.

Maybe you are looking for

  • SAP R/3 VA01. Multiple PO's against 1 order.

    Hello experts. I'm kind of going crazy right here. I've used VA01 in SAP to process a new Order Entry. Normaly fields that are filled are header - texts - header contact name, and item level - additional data B w/contact name. Now I just received a n

  • Reverse document for check voided with FCH9

    I voided a manual check that was created by using FCH9. I want to be able to reverse the document, but when I tried to reverse, I got an error that the document was already cleared and could not be reversed. Is there a way to reverse the payment docu

  • Pp Scenerio

    dear all 1) My scenerio is MTO 2)"During conversion of planned order to Production order the system should not allow to do it if  found Capacity oveloaded." 3)The system should also proposed some alternate workcenter or resources , which is not ovelo

  • What do I need for forms

    I am having no real luck reseaching what version of adobe software that i need to make simple basic fillable forms.  Can anyone tell me what version do I need, i want the most basic version that can make a simple fillable form. Thank You

  • TM volume corrupted after 10.6.4 update

    I did update my AirBook to 10.6.4. After rebooting fsck worked for a long time with 90 % CPU. Several hours later I had to stop it. Since this moment my TimeMachine Volume is "locked" (so probably fsck did check the TM volume before). The sparsebundl