Trouble swapping Ctrl/Alt [SOLVED]

When I go to KDE's System Settings > Input Devices > Keyboard > Advanced, I try "Ctrl key position: Swap Left Alt Key With Left Ctrl Key". Nothing happens, Ctrl and Alt still do the same thing as before. This is a fresh Arch/KDE install so I may have neglected to install/configure something, but I haven't had any other keyboard problems.
EDIT: This problem seems to have gone away on its own. I guess an update fixed it?
Last edited by YAOMTC (2014-10-18 20:21:35)

Solved! Someone in #kde linked me to this:
http://superuser.com/questions/116376/c … alt-in-kde
Run setxkbmap -print | xkbcomp -xkb -o original.xkb -
Then copy original.xkb to switch-LALT-LCTL.xkb. Keep the file original.xkb as a backup, better remove write permission.
Edit switch-LALT-LCTL.xkb in the block xkb_keycodes and exchange the keycodes for LALT and LCTL.
Run xkbcomp switch-LALT-LCTL.xkb $DISPLAY to active your new layout. Run xkbcomp original.xkb $DISPLAY to restore the old one.
These instructions suffice for modification on any level of sophistication. The keyboard description file is just structured text, after all.
It worked for me! Not sure why System Settings couldn't do it but oh well.
EDIT: This resets every startup for some reason, so put that last line of code in a shell script and told KDE to run that script on startup.
Last edited by YAOMTC (2014-09-26 21:02:04)

Similar Messages

  • [Solved] Ctrl + Alt + F[1-6] -- no signal on display

    02/04/13 I made a full system update. When turned off my PC, I noticed that screen is turned off before the system is actually halted. Well, this didn't made me suspicious.
    However, today I decided to make a full update with new KDE. I thought that it'd be rational to do it from the virtual console but pressing ctrl + alt + Fx causes my monitor to turn off. Have I missed something?
    [mk@linux ~]$ systemctl list-units --type=target
    UNIT LOAD ACTIVE SUB DESCRIPTION
    basic.target loaded active active Basic System
    cryptsetup.target loaded active active Encrypted Volumes
    getty.target loaded active active Login Prompts
    graphical.target loaded active active Graphical Interface
    local-fs-pre.target loaded active active Local File Systems (Pre)
    local-fs.target loaded active active Local File Systems
    multi-user.target loaded active active Multi-User
    printer.target loaded active active Printer
    remote-fs.target loaded active active Remote File Systems
    sockets.target loaded active active Sockets
    sound.target loaded active active Sound Card
    swap.target loaded active active Swap
    sysinit.target loaded active active System Initialization
    LOAD = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB = The low-level unit activation state, values depend on unit type.
    13 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.
    [mk@linux ~]$ pacman -Qs nvidia
    local/lib32-nvidia-304xx-utils 304.84-1
    NVIDIA drivers utilities and libraries. (32-bit)
    local/libcl 1.1-3
    OpenCL library and ICD loader from NVIDIA
    local/libvdpau 0.6-1
    Nvidia VDPAU library
    local/nvidia-304xx 304.84-1
    NVIDIA drivers for linux, 304xx legacy branch
    local/nvidia-304xx-utils 304.84-1
    NVIDIA drivers utilities and libraries, 304xx legacy branch
    Last edited by mkkot (2013-04-07 17:31:25)

    It's a known problem with the nvidia 304.84 driver; so update it to 304.88 and from some users' testimonies it should work again. (I use nouveau presently so I cannot say myself).

  • [BIOS Bug] Enabling Fn/Ctrl swap breaks [Ctrl]-[Alt]-[Up]

    Hello all!
    I'm very used to the standard keyboard layout, where the ctrl key is on the very left. Therefore I enabled the Swap Fn/Ctrl key option in the BIOS of my Lenovo Edge 11 AMD (2545A12, Bios 1.08).
    Unfortunately this has the effect, that a very specific key combination is no longer working: Ctrl+Alt+Up
    Ctrl-Alt-Down/Left/Right keep working as ususal. The problem does not happen with disabled key swap option.
    This clearly seems to be a bug to me. Any hints on how to receive a fix?
    Thanks & Regards
    - Ben

    I doubt this is a software/Linux problem. Same effect here under Fedora 15/Gnome: There this key combination is the essential as the desktop is only vertically oriented.
    Can anybody try to assign this key combination in Windows, enable Fn/Ctrl swap and report if he shares the problem there?

  • [SOLVED] Ctrl-Alt-F1 does not work from KDM login screen

    I have some weird problems with switching to the virtual console from the graphical GUI.
    rc.conf: KEYMAP=hu
    Unless I define hungarian keyboard in KDE4 also, I cannot switch to vc/1 with Ctrl-Alt-F1. When the keyboard is defined in KDE4, i can switch.
    But in the KDM login screen, I am unable to switch and there is no option to set the keyboard.
    Any ideas please?
    Last edited by SanskritFritz (2009-02-28 19:08:24)

    Option      "XkbLayout" "en"
    Hey, you got the point, this was the solution! Setting the option to "hu" solved my problem! Thank you!

  • [Solved]No X, No Ctrl+Alt+Backspace, cant get to console...HELP!

    I did a new install and went for the ext4 option, I installed everything I usually do but went with nvidia-xcofig rather than the usual Xorg -configure, now having set everything up all I get is a blank screen, I cant ctrl alt backspace to get to console and mt laptop just reboots after about 10 seconds or so.
    I have Mint installed on another partition hoping that I could get into rc.conf and ! out gdm but ext4 isn't supported! lol
    What do I do, I'm well and truely stumped!
    I left arch for 4 days as I got tired of things breaking but had to come back, I miss my arch, well until this peach of a problem came up
    Thanks
    Last edited by Andy Mack (2009-03-10 15:39:08)

    What would I need to edit rc.conf for?
    to comment out gdm!!
    I hope you have installed hal and  read the news about disabling autoadddevices, enabling ctrl alt backspace with DontZap etc

  • [Solved] jwm and desktop switching by Ctrl+Alt+N

    How to make jwm to switch desktops by pressing Ctrl+Alt+N where N is desktop number (1,2..6) ?
    Documentation says that should be used "desktop#" : "Key to switch to a specific desktop. To use this, # must be specified in the key section. Then numbers from 1 to the number of desktops configured are substituted for #." but there is no an example of key section with #.
    Can anyone give complete example of using Ctrl+Alt+N ?
    Last edited by warm (2015-03-24 03:27:52)

    nullified wrote:
    I think you would just replace "key" with "#" like so:
    <Key mask="mask" key="#">action</Key>
    Have you tried this?
    Ohh ... thanks :-)
    <Key mask="CA" key="#">desktop#</Key>
    this does exactly what I want.

  • Ctrl+Alt+F1 while in X - how to get back? [SOLVED]

    Hey there!
    How do I get back into X after switching out with Ctrl+Alt+F1 without aborting X by Ctrl+C though? I searched the forums for "get back into x ctrl+alt+f1" without success.
    Thanks in advance!
    Solution: Press Alt +F7
    Last edited by Thoht (2009-01-24 06:57:49)

    no need for ctrl

  • [SOLVED] enable Ctrl+Alt+L to lock?

    I just installed and configured gnome after moving from ubuntu on my netbook, and I always used Ctrl+Alt+L to lock my workstations. How can I enable this in Arch? I installed the xscreensaver package based on a tip I found elsewhere, but that doesn't seem to do anything. Thanks!
    Last edited by pythonscript (2012-05-27 13:42:32)

    If you use gnome-screensaver, launch "Keyboard Shortcuts" in your preferences menu and change the shortcut.
    If you want to use xscreensaver see http://justlinux.com/forum/showpost.php … ostcount=7.
    Or you could have just spent a minute googling.
    Last edited by Stebalien (2010-06-20 20:52:45)

  • [SOLVED] Ctrl+Alt+S and Ctrl+Alt+O Blocked by ?

    Hi!
    On a new arch+gnome system, I cannot bind any command to the Ctrl+Alt+O and Ctrl+Alt+S shortcuts in pycharm.
    Going through all the shortcuts in gnomes' Keyboard > Shortcuts and via dconf-editor, I cannot find any program that binds to these shortcuts.
    Any advice?
    Last edited by nonZero (2015-05-19 07:10:58)

    When using xbindkeys -k , I get this for ctrl+alt+s or ctrl+alt+o:
    "(Scheme function)"
    m:0xc + c:64
    Control+Alt + Alt_L
    Which is very strange, because it does work correctly for other shortcuts, for example, ctrl+alt+a:
    "(Scheme function)"
    m:0xc + c:38
    Control+Alt + a

  • [SOLVED] Ctrl+Alt+T

    hi guys
    sorry if my question is repeated but I can't use Ctrl+Alt+T to launch terminal.
    i use gnome 3.
    thank you
    Last edited by Hossan (2011-11-01 12:39:49)

    I've the same problem, can't set CTRL+<key>, SHIFT+<key> or CTRL+SHIFT+<key> combinations, CTRL get always filtered out.
    Doing the terminal thing above, only ALT+T does open a terminal for me.
    Also, recording shortcuts with function keys produce very odd results, such as:
    SHIFT+F5 (or any other F-key) => Shift+VoidSymbol
    But if also pressing CTRL, the shortcut produced is:
    CTRL+SHIFT+F5 (or any other F-key) => Shift+F5
    These shortcuts never work btw, not the key i recorded and not the key gnome seems to record and present you after.
    I'm using a Logitech Illuminated Keyboard (italian layout) and gnome has been configured for two layout, en-US and it-IT, to be switched by ALT+CAPSLOCK: i tried everything (leaving one single layout, removing layout switch shortcut... nooone let the shortcuts being recorded correctly and working, only ALT+<key> combinations work).
    Anyone with the same behavior?!
    Is this the reason due to which i'm not able to get Thunderbird 7 to "get all messages for all accounts" via SHIFT+F5??! Does Gnome capture something for its own magic?!
    Last edited by bmanuel (2011-11-02 20:35:38)

  • [Solved] cannot access ttys (Ctrl + Alt + F1-F7)

    When I press Ctrl + Alt + F1 I just get this error (Ctrl + Alt + F2 brings me back):
    :: Loading Initramfs
    commandline read: splashy
    commandline read: boot
    waiting 90 seconds for device /dev/disk/by-uuid/e289..[numbers]..311 ...
    ... When pressing Ctrl + Alt + F3-F7 I just get blank screen.
    Here's the output of ps a:
    [det@myhost ~]$ ps a
    PID TTY STAT TIME COMMAND
    2183 tty2 Ss+ 3:10 /usr/bin/Xorg :0 -audit 0 -auth /var/lib/gdm/:0.Xauth
    14044 pts/0 Ss 0:00 bash
    14046 pts/0 R+ 0:00 ps a
    Last edited by algorythm (2009-08-06 13:05:59)

    Ii guess that is.. . See my both (/etc/)inittab(.pacsave) files look exactly the same:
    # /etc/inittab
    # Runlevels:
    # 0 Halt
    # 1(S) Single-user
    # 2 Not used
    # 3 Multi-user
    # 4 Not used
    # 5 X11
    # 6 Reboot
    ## Only one of the following two lines can be uncommented!
    # Boot to console
    id:3:initdefault:
    # Boot to X11
    #id:5:initdefault:
    rc::sysinit:/etc/rc.sysinit
    rs:S1:wait:/etc/rc.single
    rm:2345:wait:/etc/rc.multi
    rh:06:wait:/etc/rc.shutdown
    su:S:wait:/sbin/sulogin -p
    # -8 options fixes umlauts problem on login
    c1:2345:respawn:/sbin/agetty -8 38400 vc/1 linux
    c2:2345:respawn:/sbin/agetty -8 38400 vc/2 linux
    c3:2345:respawn:/sbin/agetty -8 38400 vc/3 linux
    c4:2345:respawn:/sbin/agetty -8 38400 vc/4 linux
    c5:2345:respawn:/sbin/agetty -8 38400 vc/5 linux
    c6:2345:respawn:/sbin/agetty -8 38400 vc/6 linux
    ca::ctrlaltdel:/sbin/shutdown -t3 -r now
    # Example lines for starting a login manager
    x:5:respawn:/usr/bin/xdm -nodaemon
    #x:5:respawn:/usr/sbin/gdm -nodaemon
    #x:5:respawn:/usr/bin/kdm -nodaemon
    #x:5:respawn:/usr/bin/slim >& /dev/null
    # End of file
    I guess I need to change the vc/s to ttys?
    Like this?:
    c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
    c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
    c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
    c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
    c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
    c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux
    Edit: Yeah, thanks man.
    Edit 2: Later on I also edited /etc/rc.sysinit the same way
    Last edited by algorythm (2009-08-07 22:58:15)

  • [SOLVED] CTRL+ALT+F? don't working

    I don't know when it stopped to work, but today I needed use CTRL+ALT+F? to log in text mode, and it does not work. I don't know where I need start my investigation.
    System updated every day (and today too).
    Thanks for any help.
    Last edited by mkanada (2010-12-17 09:59:47)

    I'm using kdm, kde. Even at kdm (before login), these keystrokes does not work. So, I think that the problem is with some wrong configuration with X, but I don't know.
    I don't understood your second question 'show us where that keystroke is defined'. These keystrokes are pressed in KDM or KDE and don't work.

  • [SOLVED] Ctrl+Alt+Backspace Wont restart X

    It just does nothing, is it disabled somewhere somehow?  I used to work before, broke from upgrade or something?
    Last edited by degmic71 (2009-04-15 13:45:54)

    man xorg
    Ctrl+Alt+Backspace
    Immediately kills the server -- no questions asked. This is
    disabled by default. It can be enabled with the -retro command
    line flag or by setting the DontZap xorg.conf(5) file option to
    a FALSE value.
    add this to you xorg.conf
    Section "serverFlags"
    Option "DontZap" "false"
    EndSection

  • Revolve 810 G1 Unlock Computer when in Tablet Mode. Press CTRL-ALT-DEL or Windows Security Button

    1.  I have an Revolve 810 G1
         Running Windows 7 Pro (64 Bit).
    When I change the screen to Tablet Mode
      (Folding tablet over keyboard and using as tablet).
    I lock my computer.
    2.  What to know how to unlock without having to Open back up and use the CTL-Alt-DEL keys.
    When Locked screen shows:  Press CTRL-ALT-DEL or use the Windows Security Button to unlock this computer.
    I would like to use the Windows Button on the bottom of the screen
       (One Used in Windows 8 to change between Desktop and Metro) to Unlock screen And bring up on screen keyboard to put in my password.
    This is probably how it should work, but it does not work.
    Even bringing up the onscreen keyboard via the blue power button On the screen to Ease Of Access does not work.
    The CLT-ALT-DEL on the on screen keyboard will not unlock the screen.
    P.S.
    Where is that Windows Security Button when you need it? 
    Thanks,
    Rog

    If you are using Windows 7 (not Windows 8), you should be able to touch the Ease of Access button at the lower left of the screen, then select Type without the keyboard (On-screen keyboard). When the on-screen keyboard pops-up, press CTRL, then ALT, then DEL. You should get a password prompt; the on-screen keyboard will stay visible unless and until you close it.
    Although I am an HP employee, I am speaking for myself and not for HP.
    Please click the little thumbs-up dealybopper to the lower right if my reply was helpful to you. Please mark Accept As Solution if it solves your problem. This will help others, too!

  • When I close firefox with ctrl-alt-delete, I want to start over on Firefox, I usually do this when too many tabs and windows are open. However, Firefox always restores the tabs and windows I previously had. How can I stop that from happening?

    This happens when FireFox is not responding, and I want to close firefox with ctrl-alt-delete. Too many tabs can make Firefox crash. That is why I want to use ctrl-alt-delete to close FireFox. I tried finding a way to disable this, but I found no option to.

    Ending the Firefox program or process with the Windows Task Manager "looks like" a crash. The proper way to exit Firefox is click Firefox button > Exit (or File > Exit, if using the Menu Bar).
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

Maybe you are looking for

  • Dealing with DB table-entries in ABAP OO

    Hi everybody, in ABAP-Reports (normally) we have deal a lot with DB table entries. Is there a "state of the art" for doing this with ABAP OO? An easy example: Asuming I want to select table  entries into an internal table from BUT000.And than I want

  • Problems with Acrobat 8 and distiller 8 when printing PDF.

    Hello, I got this problem: I have Acrobat 8 Pro and Distiller 8. Everytime i want to use Distiller 8 to generate PDF's containing MathType characters, it makes postscripts incomplete.!!.. We have tried updating Acrobat 8 with no results, then we trie

  • GPS Metadata filter

    I imported a few photos to experiment and added GPS data to some. After adding location to some photos the metadata filter list for GPS Location shows All (2 GPS Locations)  53 Current Map Region 14 Location A     14 This just seems wrong, the number

  • Event-driven data logging

    I want to save the data from the DAQ - Card just in case a pre-defined event (measured Value out of tolerance) occured. In that case, I want to have a File with Data 1 min before the event und 1 Minute after the event. I tried to find examples, but I

  • What You Hear and the X

    I cannot stop what I hear from going through my Micon Ventrilo. We use Ventrilo to game with and everything I hear in the game is played through my Mic when I hit my push to talk key. Please help