Apply xmodmap to a specific keyboard?

Is there any way I can use an Xmodmap only for a specific keyboard. Suppose I connect an external bluetooth keyboard to my laptop, I want to apply the xmodmap only to the bluetooth keyboard and not the laptop one. Possible?
Should I be looking at xord config or bluez config or xmodmap config?
Thanks.
Last edited by abhinandh (2012-01-10 16:26:54)

It should be possible by editing /etc/X11/xorg.conf.d/10-evdev.conf  (it is part of Xorg configuration). You should write two section that matches exactly the keyboard you want. You can try to match a precise path ( for example /dev/input/by-id/<your-keyboard> ) and putting the corresponding layout. I have not tested it, but you should have no problem to find more information with man evdev, man xorg, etc...

Similar Messages

  • Can anyone help with Double Command issues. This a specific keyboard question and they do not seem to know.

    Before I go into a lengthy explanation of the problem: Can anyone help with Double Command issues. This a specific keyboard question and they do not seem to know.
    Thanks much.
    Emile

    Choose Force Quit from the Apple menu and close Mail from there.
    (103661)

  • Application specific keyboard shortcuts missing

    Hey all,
    Just noticed that the 2 or 3 app specific keyboard shortcuts I set up in sys prefs are no longer listed. They work, but don't show up in sys prefs for keyboard shortcuts.
    This means I can't edit the existing ones if need be. I also don't exactly remember them all and it would be nice to replicate them for friends or other computers in the future.
    Any ideas/fixes?
    TIA
    rkny

    HI,
    Try posting in the Final Cut Pro forum here.
    http://discussions.apple.com/forum.jspa?forumID=939
    Carolyn

  • TS3274 In my iPad's Photo folder, after I select edit, and apply check marks to specific photos, the red 'Delete' button does not function.  How do I correct this issues?

    To anyone familiar with iPad 2s,
    After I select the Sunflower Photo icon and touch 'Edit', apply check marks to specific photos I want deleted, the red 'Delete button doesn't function.  How do I correct this?
    Thanks

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    (With iOS 5.1, use 2 fingers)
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
     Cheers, Tom

  • How to create an EventListener for a specific keyboard press?

    Hello,
    I have been trying to figure out how to switch my actionscript3 from a mouse click to a keyboard press. I'm new to Flash, but the problem I keep coming to is that I need to have 3 separate keys programmed in to do three seperate outcomes. I have messed around with eventListeners for keyboard presses, but I cannot figure out how to have flash listen for a specific key press and then do an action based on that specific key press.
    Here is my actionscript. Any suggestions on how I can modify the mouse clicks to be keyboard presses, where key 's' = btn1 and triggers gotoAndPlay(2), 'g' = btn2 and triggers gotoAndPlay(3), 'k' = btn3 and triggers gotoAndPlay(4) as outline below. I also need my timer and writing to an exteral file to remain the same.
    stop();
    var startTime:Number=getTimer();
    var elapsedTime:Number;
    stream.writeUTFBytes("Item1,");
    function BTN1Action(eventObject:MouseEvent) {
         elapsedTime = getTimer() - startTime;
              stream.writeUTFBytes("Tar1,");
              stream.writeUTFBytes(elapsedTime.toString());
              stream.writeUTFBytes("\n");
              gotoAndPlay(2);
    function BTN2Action(eventObject:MouseEvent) {
              elapsedTime = getTimer() - startTime;
              stream.writeUTFBytes("Tar2,");
              stream.writeUTFBytes(elapsedTime.toString());
              stream.writeUTFBytes("\n");
              gotoAndPlay(3);
    function BTN3Action(eventObject:MouseEvent) {
              elapsedTime = getTimer() - startTime;
              stream.writeUTFBytes("Tar3,");
              stream.writeUTFBytes(elapsedTime.toString());
              stream.writeUTFBytes("\n");
              gotoAndPlay(4);
    BTN1.addEventListener(MouseEvent.CLICK, BTN1Action);
    BTN2.addEventListener(MouseEvent.CLICK, BTN2Action);
    BTN3.addEventListener(MouseEvent.CLICK, BTN3Action);
    Any assistance with this is greatly appriciated. 

    Assuming you want to monitor key press on the button BTN1, you can do following:
    // Add a key up event listener on the button (or on the source where the key press needs to be captured)
    BTN1.addEventListener(KeyPress.KEYUP, BTN1KeyUpAction);
    // BTN1KeyUpAction sample, you can modify this
    function BTN1KeyUpAction(e:KeyboardEvent):void {
        if(e.keyCode == Keyboard.S) {
        gotoAndPlay(2);

  • Applying effects to a specific frequency throughout an audio file in Adobe Audition CC

    I would like to be able to isolate specific frequencies/sounds like a specific voice with background noise surrounding it.  I want to segregate that one sound and locate all frequencies/sounds like that so I can apply clean-up effects to it like increase amplitute, etc.?  Can this be done?

    Well, I have good news and bad news.
    You don't mention what version of Audition you're using but, if you're on the most recent (Audition CC) there's a very effective frequency band splitter (Edit/Frequency Band Splitter) which lets you split any clip into up to 8 adjustable frequency bands that can be worked on separatedly.
    Now, the bad news.  Taking your example of a voice, real world sound doesn't give you a nice, specific frequency that you can work on.  A normal human voice is going to span from well under 200 Hz up to 8 or 10 kHz--there'll be a "fundamental frequency" (or range) that contains most of the information but the voice won't sound natural without the whole range--think "telephone" or even "AM radio".
    Even worse, you're going to find that most noise is also pretty broad band, barring very specific things like 50/60 cycle hum from earthing problems or whatever.
    By all means have a play but it may not work the way you want.

  • Program specific keyboard shortcuts

    There is probably a way to do this...
    I have a program that have preset Function Key shortcuts built into it, however, on my keyboard (the one that came with my iMac) it has those keys assigned to universal functions (e.g. play, brightness, volume. etc). 
    Can I setup my iMac so that the Function Keys have different assignments for a specific program and then go back when I'm not using that program?
    mf

    I am not familiar with 10.6.
    Here is my other most favored application. Of course, I haven't checked these out in newer OS's. I'm a Tiger man myself.
    iKey is a front end program that simulates typing and mouse movements. I use iKey to remap the Function keys.
    "iKey is an automation utility, a program that creates shortcuts to accomplish repetitive tasks. In essence, an iKey shortcut is a little program in its own right, but you don't need to know the first thing about programming to create an iKey shortcut. All you have to do is put together three necessary parts of a shortcut: One or more commands that give the shortcut its functionality, a context in which it runs, and a launcher that defines how the shortcut is activated."
    http://www.scriptsoftware.com/ikey/
    iKey  has a little more function then the previous free version called youpi key. For many years, I used youpi key before switching to iKey.  It works fairly well for me in MAC OS 10.4 although not officially supported.  The youpi key download is hard to find & no longer here.
    http://www.versiontracker.com/dyn/moreinfo/macosx/11485&vid=75326
    ( Send me a message for a copy of youpi  key. )
    *Examples:*
    I have the common programs that I use assigned to function keys. I have F4 assigned to Firefox. When I want to start FireFox, I press F4. When I want to switch to firefox, I press F4! Starting & switching to an application in Mac OS are the same thing in Mac OS.
    Here is an example of to assign volumn control to a function key.
    http://discussions.apple.com/message.jspa?messageID=10361085#10361085
    Here is my script for listing my application folder. I have it assigned to function-key 6.
    tell application "Finder"
       open folder "Applications" of startup disk
       select Finder window 1
       set bounds of Finder window 1 to {-3, 44, 691, 545}
       --set position of Finder window 1 to {33, 44}
       set position of Finder window 1 to {60, 45}
       activate
    end tell
    The second portion of this script was generated in the script editor record mode. After I recorded the script and did some editing, I copy the script to ikey/youpi key.
    Full Key Codes
    http://download.cnet.com/Full-Key-Codes/3000-2094_4-44175.html
    Spark
    "Spark is a powerful, and easy Shortcuts manager. With Spark you can create Hot Keys to launch applications and documents, execute AppleScript, command iTunes, and more... You can also export and import your Hot Keys library, or save it in HTML format to print it. Spark is free, so use it without moderation!"
    http://www.versiontracker.com/dyn/moreinfo/macosx/22675
    Mac OS X remap or rename keyboard keys
    by vivek
    So how do you remap or rename keyboard keys under Mac OS X?
    Simply use DoubleCommand software.  It is a free program
    http://theos.in/apple/download-doublecommand-to-remap-keyboard-keys/
    Keyboard Maestro is a powerful macro program for Mac OS X (including Tiger and Leopard) which has received glowing reviews. Keyboard Maestro will take your Macintosh experience to a new level in “Ease of Use”. With Keyboard Maestro you can design a custom action sequence with your own shortcuts and use them at any time, you can navigate through running applications and open windows with Program Switcher, and you can work with an unlimited number of clipboards - all by pressing simple keystrokes.
    http://www.keyboardmaestro.com/main/
    "Spark is a powerful, and easy Shortcuts manager. With Spark you can create Hot Keys to launch applications and documents, execute AppleScript, command iTunes, and more... You can also export and import your Hot Keys library, or save it in HTML format to print it. Spark is free, so use it without moderation"
    http://www.versiontracker.com/dyn/moreinfo/macosx/22675

  • Language Bar specific keyboard layout selection (ADM)

    I am trying to get specific sub-types of keyboard layouts to deploy with GPO.  
    We have the GPO .adm and it is deploying and calling the correct keyboards, but doesn't seem to be able differentiate between the sub-types for the individual keyboards:
    We can call Chinese (Simplified) PRC, but cant seem to have it specify anything within that keyboard layout - like the Chinese ZhongMa or Pinyin options.
    Perhaps I'm thinking about this incorrectly
    CLASS USER
       CATEGORY "Keyboard Layout"
         POLICY "Keyboard Layout switching"
         KEYNAME "Software\Microsoft\Windows\CurrentVersion\Run"
           VALUENAME "internat.exe"
           VALUEON "internat.exe"
           VALUEOFF DELETE
           END POLICY
         POLICY "Keyboard layout"
         KEYNAME "Keyboard Layout\Preload"
             PART "Enable English" CHECKBOX
               DEFCHECKED
              VALUENAME "1"
               VALUEON "00000409"
               VALUEOFF DELETE
             END PART
               PART "Enable Chinese (Simplified, PRC)" CHECKBOX
               DEFCHECKED
              VALUENAME "2"
               VALUEON "00000804"
               VALUEOFF DELETE
             END PART
    END CATEGORY

    Ok!  So the best thing I've found by reg searching after selecting the subset is the following -
    HKEY_CURRENT_USER\Software\Microsoft\CTF\TIP\
    {81D4E9C9-1D3B-41BC-9E6C-4B40BF79E35E}  <----keys sets like this will populate depending on what you pick
    For Example the following is used to enable the specific Chinese Simplified PRC Pinyin ABC input method keyboard 
    [HKEY_CURRENT_USER\Software\Microsoft\CTF\TIP\{81D4E9C9-1D3B-41BC-9E6C-4B40BF79E35E}\LanguageProfile\0x00000804\{FCA121D2-8C6D-41FB-B2DE-A2AD110D4820}]
    "Enable"=dword:00000001
    This location will populate with keys relative to the layout subset you toggle with the checkbox.  They can be exported and scripted to run at the end of the adm or import through GPO at login.
    I couldnt find this anywhere else on the interwebs.....hopefully its helpful to someone else.

  • [SOLVED] xfce4 application specific keyboard shortcuts

    Hi All,
    I remember being able to directly change a menu shortcut with xfce, although I could be mis-remembering.  I want to bind 'Send Now' in Thunderbird to Ctrl+Shift+d (or just Ctrl+D I guess), because that is what I am used to.  I don't think I can do this in the xfce keyboard global keyboard shortcuts, those just launch apps from the command line, and I don't think I can use the window manager shortcuts either, although I may be wrong.  I remember just highlighting a menu item and choosing a key combination, and that that just worked... but I can't find it anywhere now.  Is it maybe a different window manager?
    I am using xfce4 with xfwm4 4.10.1-1. I have compositing switched on.  Let me know if there is any other info you need about my setup, I am honestly not sure which parts of the desktop environment/window manager/application settings/kernel (probably nothing to do with the kernel) are involved here, so I am not sure what info to give.
    Thanks!
    Last edited by MikeDacre (2014-01-28 03:25:42)

    Yup, that's it: editable menu Appearance->Settings.  Sadly it doesn't work in Thunderbird.  Thanks though!
    The solution in Thunderbird is the keyconfig extension.  I found the help page at http://kb.mozillazine.org/Keyconfig_ext … hunderbird and figured out the solution:
    1. Install keyconfig
    2. Navigate to keyconfig Preferences
    3. Click 'Add a new key' at the bottom left
    4. Name the key anything, I chose 'key_send' as that is the name of the key
    5. Replace /* CODE */ with  goDoCommand("cmd_sendNow") and click 'OK'
    6. Assign a hotkey and click 'Apply'
    7. Restart Thunderbird
    8. You're done!
    That worked for me.  Hopefully this helps someone else one day.

  • How to apply different colors to specific rows in JTable

    hi,
    Anybody could tell me the way of colorising the rows in jtable.. I want to apply different colors to diff rows..
    If i get a piece of code that could help me a lot..
    thanks in advance,
    Sapna

    you'll find the answer at http://www2.gol.com/users/tame/swing/examples/SwingExamples.html

  • How can I turn off a specific keyboard shortcut?

    We use a 3rd party vendor's platform to create/maintain content on our school website. When writing stories, I often use standard editing shortcuts (such as command-B for bold, command-I for italic, etc.). But when I hit command-B in the new FF 4.0 release, the bookmarks window opens - so I now need to use the pulldown menu to make this standard command. And it just slows me down.
    Any idea how I can turn off this feature?

    Hi, thanks for the reply.
    No.
    Please read my post, i'm asking how to turn off the specific shortcut in my original post, not assign actions to the mouse buttons (i know how to do that). I'm aware i can simply turn off the scroll wheel function altogether from the mouse preferences but i don't want to lose that function.
    I want to know how to turn off the SHIFT + SCROLL WHEEL CLICK shortcut that switches the screen to the widget screen.

  • Reports - Find a specific keyboard [hardware] installed via SCCM

    I just manged to find the hardware ID registry by checking details in device manager after I saw it install.
    So I have HardwareID in hklm\system\controlset01\Enum\HID\VID_
    How can I query 1,000s of devices in a collection for this data.

    In a large environment somebody has inadvertently deployed a
    number of unique keyboards that have a keyboard reader attached. There is
    associated software but users have not [cannot] download that.
    I need to be able to run a report or some sort of query to find
    these puppies. I am not SQL savvy I am a canned report guy.
    I can see it being installed as a human interface device but it
    shows just like a regular keyboard.
    I have the manufacturer and model number.
    I dug through the registry with that info and came up blank.
    Any ideas?
       >
    >
    This topic first appeared in the Spiceworks Community

  • Snow leopard specific keyboard language confusion

    Hello. I use 10.6.3 with international english as system language. My keyboard has a german layout, and is set so in System Preferences / Language & Text / Input Sources. In System Preferences / Keyboard / Keyboard Shortcuts / Application Shortcuts / All Applications, the Cycle Through Windows command is cmd< (handy on a german keyboard). However, in fact the working shortcut is cmd-shift-´ (accent égu), or cmd-` (accent grave, obtained by shift-´), which is the shortcut named in <a class="jive-link-external-small" href="http://">http://support.apple.com/kb/ht1343.
    While 10.5 could handle the cohabitation of german keyboard/keyboard layout with an english system (the described problem being absent there), 10.6 apparently can't. Is there a workaround or a solution to this? Or is this a coding error that belongs in the feedback section?
    Thanks a lot.

    I just want to add my problem to the OP, since I think they are related.
    I use English and Greek in my active keyboard input methods. Up until Leopard (10.5) it didn't matter what method was selected in the menulet on the top of the screen. All keyboard shortcuts, system or application, worked regardless.
    Enter Snow Leopard. Now, some shortcuts work, but most require any input method except for English.
    It's not killing me, but it's a big nuisance. I have to keep switching between input methods just to issue a command. Sometimes it's easier to just use the mouse, but then it's like not having the (supposedly faster route of) keyboard.
    Have I ignored some big change in SL? Or should I be entering some feedback, like the OP is suggesting? Many thanks.

  • Keyboard shortcut to pick a specific keyboard from the input menu

    Is it possible to switch to a particular international keyboard layout with a keyboard shortcut? I have a need for a number of layouts, so the built-in ability to cycle through them all is not convenient. I would like to be able to press a key combination and know that I've been taken to, say, Cyrillic, and use another set of keys for, say, Greek, etc.
    In the Keyboard and Mouse preference pane, I am actually able to specify keys for the various keyboards that I use by specifying the program "SystemUIServer" from /System/CoreServices. When I do this, the keyboard shortcuts I have picked appear in the Input Menu as if everything were going nicely. The menu lists various hotkeys as it should -- but they do nothing at all when the keys are actually pressed.
    I would be happy with anything that allows me to do what I want to do -- an automator script, say -- but so far I've had no luck. For the record, I have iKey on my system, but I cannot figure out how to control keyboard layouts there either.
      Mac OS X (10.4.7)  

    ..." In the Keyboard and Mouse preference pane, I am actually able to specify keys for the various keyboards that I use"...
    You're almost there - keyboard shortcuts assigned to menu items displayed on the right side of the screen won't trigger unless they are given keyboard focus. One way to do this is to use the keyboard shortcut for "Move focus to status menus in the menu bar" shortcut (see the "Keyboard & Mouse" pref pane). That key combo will switch focus to the first item on the left, and focus to other items can be gained by using the arrow keys. Once focus is on the "Input" menu, the assigned custom shortcut should work.
    To streamline the process, the "Move focus to status menu..." shortcut can be assigned to something more convenient, and the "Input" menu can be Cmd (⌘)-dragged to the left-most position. That way, it should be possible to switch to the desired input method using a relatively simple two-step keyboard combination.

  • How to install manually the specific drivers o keyboard in windows 7 well?

    After install Windows 7 all work ok, but the some keys os my keyboard do not wor, @, volume + or - the brightness etc etc, onli work the letters. how can i do for install the specific keyboard driver?
    thanq´s all for anwser

    Hi Sir,
    As mentioned earlier it is prompting me the error
    Logon Failed (RFC_ERROR_LOGON_FAILURE)
    Name or Password is incorrect (repeat logon)
    But it is accessing only the production system in windows 7 but not all the 3 systems which are in landscape. I dont know how can it proceed to logon to the production system only with out other systems .
    Thanks in advance
    Regards,
    Easwar

Maybe you are looking for

  • Problem after a system update

    Hello, Last week I've updated my whole system and now I've got a strange problem launching an application which worked well before : $mercury awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or direc

  • Can I change Web Gallery "Key Photos"?

    In the album overview, I have not been able to figure out how the album chooses the "Key Photo" that represents the album. I haven't experimented fully, but it seems that a Key Photo from an Event made into an album follows to the Web Album, but I ha

  • Custom Icon/Marke​r on XY Plot

    Hello,      I have an XY plot in which shows the intended path and current position of a aircraft.  I have drawn up a picture of what it somewhat looks like and I attached it to this post.  I would like to have a custom icon that will point in the di

  • Battery indicator error message on startup

    HP Pavilion p6512uk desktop PC running Windows 7 64-bit Every time I startup I get the following two messages: Battery Indicator - HPID09.  Access violation at address 00401C62 In module 'BATINDICATOR'.exe Read of address 000002DC and Battery Indicat

  • CS - need an official response for my insurer?

    Hi, All my home computers were stollen in a burglary at the beginning of the year, My insurer is willing to replace my copy of CS with a copy of CS6, since I have the receipt for the original purchase. However, they need an email from Adobe to say th