X11: Ctrl vs Command key

Is there a way to make X11 remap the ctrl key to the Command key for apps like The Gimp and Inkscape?
I have given up trying to make these apps recognize the Command key. Inkscape allows you to alter the keyboard shortcuts (you have to dig through the package contents of the app to get to the default.xml file with the key bindings). But the Command key is not a viable modifier (neither is Super_L, Meta_L, or Multi_Key). I'm just hoping X11 will allow for the remap.
Thanks!
Jonathan

Hi Jonathan,
By default, the Command key acts as a "Meta" key in X11. If you don't need Meta key, then you can use xmodmap command to make Command key act as a Control key.
Create a file "mapfile" which contains the following two lines:
keycode 63 = Control_L
add Control = Control_L
then in xterm run the following command:
xmodmap mapfile
Now the Command key should act as a Control key (you must uncheck "Enable keyboard shortcuts under X11" in the X11 Preferences).
If this satisfies you, then rename "mapfile" to ".Xmodmap" and move it into your home directory. Then it will automatically take effect next time you start X11.

Similar Messages

  • Move tool issue : Command key + mouse dragging for moving any layer not working in PS CC

    I'm trying to move a layer within the document by holding command key and mouse dragging (mouse cursor not above the layer) is not working at all while using move tool. Suddenly this functionality stopped working. Now I have to place my cursor on layer to be move and drag with mouse. Also pressing command key changing auto select option from layer to group.
    Please help.

    Usually when a tool is not working as expected, a Reset of that tool might be the answer.
    Select the move tool in the toolbox,
    Go to the move tool icon on the top left of the screen (just above the toolbox in its' Option bar) and Ctrl-click on it to get the Reset menu.
    Click on Reset Tool.

  • Ctrl-T command do not work in website with flash

    Ctrl-T command do not work in website with flash
    == URL of affected sites ==
    http://

    If the Flash object has focus then key presses are processed by that plugin.
    In such cases you need to click outside that plugin (e.g. the menu bar if you can't click on the website) to make the keyboard work.

  • Remap Left and Right Command Keys as Different Buttons?

    Hello,
    I'm suffering from the dreaded emacs pinky (yes, I've already changed the caps-lock key to ctrl) and I want to know if it is possible to set the left and right command keys to different options.
    For example, to keep the right command key as command, but have the left function as ctrl.
    Thanks for any help.

    I think the answer is the same as last year.  Don't know of any way to do that.
    Captfred

  • ANSI escape sequence for "Command" key?

    I know there are escape sequences for ctrl (^), alt (~), shift ($), etc that can be used from the command-line, but I'm wondering if there's an equivalent way to invoke the command key (or the apple key or whatever you wish to call it) from a terminal?
    I'd appreciate any advice, thanks!

    Hi Evan,
       This is more than a failure of terminology. The use of certain key sequences cause the terminal to produce certain characters that are just like letters except that many processes take special action when these characters are encountered. These characters are called "control characters."
       For instance, type <Control>-v to "tell the shell" to not take special action on the next character produced. Then, if you type <Control>-c, the terminal will produce an End-of-Text character, ANSII character 3, and the shell will accept it as a literal character. However, it has no symbol for that character so it displays a pair of characters, "^C", in its place. Internally though, there is no carat and no 'C'; there is only the number three, which is the ANSII code for the End-of-Text character.
       The bash shell will substitute control characters for certain escape sequences in expanding words of the form $'string'. For instance, consider the following command:
    echo $'\003' | cat -v
    ^C
    Above, the first line is a command that you can cut-and-paste into your terminal. The second line is the output you would see if you execute the command. Bash replaces the $'\003' word with the literal control character and then "cat" converts that character to the pair of characters, "^C", to show you what had been there.
       Of course there are still terminology problems; you are not using the word "emulate" correctly. However, if there was such a meaning, I think that one would say that the character sequences "emulate" the control character, not the other way around.
       On the other hand, when you modify a key with the "Command" key, Macintosh programs treat that as an attempt to invoke a function of that program. No character is produced. In fact technically, the program never even sees the keystrokes. The system intercepts the key event and converts it to an AppleEvent.
       One tool on Macs specializes in producing AppleEvents and that is AppleScript. Fortunately, Apple wrote a utility to grant the shell access to AppleScript and that is the "osascript" command. That allows you to sort of imbed AppleScript in a shell script and that would allow you to send any program any event that the system would generate in response to a command key sequence.
    Gary
    ~~~~
       "Home life as we understand it is no more natural to us
       than a cage is to a cockatoo."
          -- George Bernard Shaw

  • Command key doesn't work in several usual function.

    command key doesn't work in several usual function.
    Selected object does't change to transform mode by hold down command.
    and "command+2= lock the selected object " doesnt work as well..
    but, these shortcut is still ok. 
    command + c,v
    command + a
    command + select tool = whole select tool
    that is, the command key is not totally stopped.
    Im cs5 but I have had this trouble in cs4.

    causiu,
    It is possible that the issues may be caused by preference corruption or interference from other applications.
    You may try the following (you may have tried/done some of them already) and see whether it helps. Since you had it in CS4 too, the most likely is 5).
    1) Close down Illy and open again;
    2) Restart the computer;
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (irreversible);
    4) Move the folder with Illy closed (reversible);
    5) Look through and try out the relevant among the Other options, especially Item 7) with the usual suspects;
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool, and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • How to restrict CTRL+K command to show the shortcuts

    Hi All,
    Have there anyone to help me "How to restrict *CTRL+K* command to show the shortcut list?". I want to stop this list to show all.
    And also to customize the key commands.
    Arif

    I'm assuming you're using forms on the web.
    If so, you need to edit the fmrweb.res file that sits in your $ORACLE_HOME/forms directory.
    This file will has all the keymappings for the function keys and you can customise them in there.
    To stop Ctrl-K working you will need to comment out the line for Ctrl-K/Show keys by placing a hash (#) sign at the beginning of the line.
    Further instructions can be found in the file.
    Another tack to take would be to introduce a KEY-OTHERS trigger at form level that gives a message such as 'That key not used here, please...', you will then need to explicitly define triggers for all keys that should be used, for instance a KEY-NEXT-ITEM trigger that contains the code 'NEXT_ITEM;'
    hope this helps, please mark as correct if it does.
    Edited by: Ady Keeling on Jun 9, 2010 1:13 PM

  • VZAcess Manager: CTRL + T command?

    I read about a fix for a username/password error you may receive when connecting to the Verizon network.
    [quote]
    Open VZAccess Manager and press Ctrl+T, a terminal window should pop up
    type in: AT$QCMIPEP=1 hit enter and type in AT$QCMIP=1 and hit enter.
    [/quote]
    http://www.myvusers.com/forums/broadbandaccess/2960-vzaccess-manager-problems.html
    My question is this?
    Does the Manager have to be open first and then you run the CTRL + T command?
    Thanks,

    Hello there css1323! The VZ Access Manager application will only respond to key strokes and other commands when it is activated.

  • Apple (Command) Key in Flex?

    How do you do Apple+W (to close a window, for example), in Flex?  I would like to make it so I could do the keyboard command Apple-X on the mac and CTRL-X on PCs.
    Thanks!

    hollypolly49 wrote:
    It seems that my apple/command key is acting like it is permanantly stuck on.....so keyboard is not working correctly...nothing is switched on in universal access....anybody have any ideas ??? Many thanks
    First step is to reset PRAM and NV-RAM just to be sure the hardware is properly registered.
    http://support.apple.com/kb/HT1379
    As others have suggested, an external KB is your next step, if resetting PRAM does not fix it.

  • Bootcamp perfect - now need ctrl-alt-del key map

    Hi Guys,
    Installed bootcamp, XP SP2 on MBP works perfectly, joined local Windows domain - no worries - now on boot of course it wants the infamous cntl-alt-del key combo - I've tried just about everything but no luck.
    In the end plugged in external PC usb keyboard, got in and turned off the requirement to enter ctrl-alt-del in windows as a work around.
    Any ideas on how to map the MBP keyboard to work? Thanks all.

    Ctrl Alt Del on Windows XP:
    After installing,
    1) go to Start>Run
    2) Enter "remapkey" (witout quotes)
    A nice GUI utility pops up to let you remap keys on your keyboard. You can use it to remap the delete key. I suggest using the Right Command key.
    After saving, reboot and you'll be able to use Ctrl-Alt-(Right Command) to do a Ctrl-Alt-Delete and logon to Windows domains and other useful things.

  • I can't order more than one picture at a time in iphoto.  I am holding the command key down and highlighting two but only the last one is showing up

    Hi,
    I need help placing an iphoto order online for prints.  I have a few pictures I want in a few sizes and it seems to only allow me to select one at a time.  I have held the command key down but it defaults to the last picture i selected.  I appreciate your help.

    What system and iPhoto versions are you using?  As a quick test try this:  launch iPhoto with the Option key held down and create a new, test library.  Import some photos and check to see if the same problem persists.  See if you can get all of the selected photos in the order window as it should be.
    If you can't then try this:  make a temporary, backup copy (if you don't already have a backup copy) of the library and try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home()/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
         User/Home()/Library/Caches/com.apple.iPhoto folder. 
    Click to view full size
    3 - launch iPhoto and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.
    OT

  • Mid 2011 macbook air. command key has popped off and is now missing the 2nd metal bar. can this be replaced?

    The command key popped off my mid 2011 macbook air. It is meant to have two metal bars but can't find the 2nd one. I have clicked it back into place but if I press the button at the bottom the top pops up and I'm worried that if I don't fix the problem I may end up losing the key altogether!
    Can you buy replacement metal bars? should I just remove the other bar completely?
    Thanks in advance.

    Sorry, must have been the crackpipe I smoked last night! LOL
    You won't see anything in the Application Support --> Bootcamp folder unless you have previously downloaded the Windows Support Software. Good find.
    ADDENDUM STEP:
    This step should be placed between 9-10.
    Open Bootcamp Assistant. Uncheck everything BUT, "DOWNLOAD THE LATEST WINDOWS SUPPORT SOFTWARE FROM APPLE". You will be prompted to burn the image to a CD/DVD or save to a USB Key. Save the image to a USB key. This will format your USB key properly in preparation for the files. The download commences and if you're lucky, the files will simply be saved to your USB key without having to manually copy them over to the key using the steps above.
    IMPORTANT - Even if the support software hangs when its being saved to the USB key, you should now be able to navigate to the directory and see the image. Follow the steps above.
    Apologies for missing this.
    Best,
    WBN

  • With Mavericks I have to hold command key down and double click to get a sub folder to open in a new window.  Can I go back to just double clicking ?

    With Mavericks I have to hold command key down and double click to get a sub folder to open in a new window.  Can I go back to just double clicking ?

    Of course. To do it, open a Finder window, go to Finder menu (on the menu bar) > Preferences > General, and untick "Open folders in tabs instead of new windows".

  • What is the default key command for the COMMAND key?I seem to have changed it somehow along the way and now when I push the command key it hides all windows or shows desk top I need to correct this as soon as possible-.any ideas?

    What is the default key command for THE COMMAND (apple) key? I seem to have changed it somehow along the way and now when I push the command key (only) it hides all open windows and shows the desk top and when I push it again it shows all windows again...I need to return to default A.S.A.P. just this one key...Any ideas? Thanks in advance...

    Go to
     > System Preferences > Keyboard
    Click on the 'Keyboard' tab and hit the 'modifier keys...' button. You can see and change the defaults there.
    As I'm not sure if all the labels are the same in Lion, he's a screenshot from Snow Leopard. It should be similar enough:

  • Is there a way to operate the command key using the mouse?

    I am working with a student who has limited movement of his hands. He is able to operate a mouse. However, he cannot operate the mouse and make key commands at the same time. Is there any way to adapt the mouse so command key actions can be carried out without pressing the key?

    Look inside System Preference "Universal Access" (or whatever even more politically correct name it is called now).
    There is a feature called "Sticky keys". That says that when you press the command key in a certain way, it stays pressed (It is "Sticky").
    There are also two and three button mouse devices that can be used readily on a Mac (including the "Mighty Mouse" with the little rollerball) that can register one, two, or three button operations.

Maybe you are looking for