Inconsistent xev output

I have a few media keys and I set up XF86AudioMedia to start up my music player in .xbindkeysrc
"deadbeeef"
m:0x0 + c:179
XF86AudioMedia
But then after restarting xbindkeys, that button doesnt do anything. So I fired up xev again. and this time xev doesn't return any keycode or keysym at all.
Then after a few days, it returned the key name as XF86Tools. but using that resulted in the same thing. This happens with 4 of my buttons:
XF86AudioMedia /XF86Tools
XF86AudioMute
XF86AudioRaiseVolume
XF86AudioLowerVolume
now xev only gives this for all of the above buttons:
FocusOut event, serial 30, synthetic NO, window 0x1600001,
mode NotifyGrab, detail NotifyAncestor
FocusOut event, serial 30, synthetic NO, window 0x1600001,
mode NotifyUngrab, detail NotifyPointer
FocusIn event, serial 30, synthetic NO, window 0x1600001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 30, synthetic NO, window 0x0,
keys: 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Any tips?
Last edited by Inxsible (2010-07-20 23:51:27)

A customary 24 hours + bump??
I also use the said keys as global shortcuts in deadbeef. Once I start up deadbeef (either through CLI or using dmenu) I can use the keys and they work perfectly well in deadbeef, but xev still doesn't show anything on those keypresses except for what I pasted in my first post.
But I want to be able to use the XF86AudioMedia/XF86Tools key to start deadbeef. GAAAAAH !!!
Anyone?
Last edited by Inxsible (2010-07-22 17:13:39)

Similar Messages

  • Inconsistent Date Output

    In my textbook the following statement was made:
    Quote
    The compiler will interpret an incorrect date, such as March 32 as
    being April 1.
    Unquote
    I then attempted to verify this fact.
    The code I used was:
    Date toDay = new Date();
    ToDay.setDate(toDay.getDate()+2);
    Result = Date returned was April 2
    According to the book I should have seen the date of 1 April in the
    output. Thinking that the problem could be related to the Date class as
    during compiling I was informed by that the Date class was depreciated,
    I then converted all code to use the Calendar Class, but for some
    reason that I am unable to determine when I supply a valid date I get
    back a wrong date, this is before any calculations are done.
    Now with the Calendar class the date 31 March - Month 03 - returns the
    date 1 April.
    Code:
    import java.util.*;
    public class DatePlay
    public static void main (String[] args)
    Calendar test = Calendar.getInstance();
    System.out.println("Before \n");
    test.set (Calendar.MONTH, 03);
    test.set (Calendar.DATE, 31);
    System.out.println("Current Day: " + test);
    System.out.println("\n");
    System.out.println("Current Day: " +test.get(Calendar.DAY_OF_MONTH));
    System.out.println("Current Day: " + test.get(Calendar.DATE));
    System.out.println("Current Month: " +  test.get(Calendar.MONTH));
    System.out.println("Current Year: " + test.get(Calendar.YEAR));
    }Output:
    Before
    Current Day: java.util.GregorianCalendar[time=?,areFieldsSet=false,areAllFieldsSet=true,lenient=true,zone=sun.ut
    il.calendar.ZoneInfo[id="Africa/Harare",offset=7200000,dstSavings=0,useDaylight=false,transi
    tions=3,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,Y
    EAR=2003,MONTH=3,WEEK_OF_YEAR=17,WEEK_OF_MONTH=4,DAY_OF_MONTH=31,DAY_OF_
    YEAR=115,DAY_OF_WEEK=6,DAY_OF_WEEK_IN_MONTH=4,AM_PM=1,HOUR=4,HOUR_OF_DAY
    =16,MINUTE=46,SECOND=49,MILLISECOND=321,ZONE_OFFSET=7200000,DST_OFFSET=0
    Current Day: 1
    Current Day: 1
    Current Month: 4
    Current Year: 2003
    Any assistance to resolve this situation will be greatly appreciated

    Month numbers start at 0, not 1, so the Calendar thinks you're trying to specify the 31st of April, and is converting it to the 1st of May.
    Sylvia.

  • [Solved] Xorg + fluxbox first keystroke lost

    Hi,
    Recently I've noticed a pretty strange thing. I'm running Arch with fluxbox on it and when I change workspaces my first key press after change is lost (ex. in doesn't show in urxvt). I'm using xorg-server 1.12.1-2, fluxbox 1.3.2-1, vanilla kernel 3.4.0-rc4 (64bit). It's an asus k52j laptop if it helps. The only thing I've noticed is the xev output after the workspace change.
    That's the first keystroke
    KeymapNotify event, serial 36, synthetic NO, window 0x0,
    keys: 68 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    And shortly after the second
    KeyPress event, serial 36, synthetic NO, window 0x2400001,
    root 0x150, subw 0x0, time 1611281, (60,-19), root:(573,4),
    state 0x10, keycode 52 (keysym 0x7a, z), same_screen YES,
    XLookupString gives 1 bytes: (7a) "z"
    XmbLookupString gives 1 bytes: (7a) "z"
    XFilterEvent returns: False
    I've pressed the same key twice 'z'.
    Thanks for any help in advance,
    xartii
    Last edited by xartii (2012-05-15 21:48:16)

    Changing driver from evdev (the one with the missing first key stroke) to kbd, results in completly useless keyboard outputing strange characters. In console (runlevel 3), not a terminal in X ,everything works fine so I suppose it's not my kernel misconfiguration. Any other ideas?

  • The border of a table in a BI Report not renderd properly with Firefox3.6.x

    Hi,
    I am using an RTF template that has a table to show up the data pulled using sql query. I am using BI Publisher Release 10.1.3.4
    It is observed that the table bordering is not rendered properly when the same page is revisited by means of any button click like "view button" in BIPublisher. However, the place/position where the bordering is not rendered properly aries with each try.
    Clicking browser refresh btn or F5 renders everything fine.
    This issue is occuring only in 3.6.x version of Firefox. Tested with 3.5.x and saw that this issue is not occuring. It works fine on IE7 also.
    I believe the way the BI-publisher represents the html of the RTF template might have a gap w.r.t compatiblity with Firefox 3.6.x versions. We use BI-Publisher along with out product and we certified firefox 3.6.x as one of the supported browser for our product. Can anyone let me know if there is anyway we can resolve this with the 3.6.x version of firefox?
    Thanks in Advance,
    -Vijay-
    Edited by: nagavijay on Jan 19, 2011 11:07 PM

    Hey Paul,
    you did not "trying to narrow the scope down to our specific needs".
    but you got the result exactly of what you wanted.
    I sent your rtf and output , after adjusting the table you had in your template.
    check out that.
    I do not know, what do you mean by "inconsistent results "
    Be more specific or do you have that inconsistent results output with you ?
    send me that if you find :).
    Thanks.

  • Mice buttons not working during playing Borderlands2

    Hi
    I have a logitech Anywhere MX mouse, and the two buttons that on the side of the mouse, aren't working during a game (borderlands 2). They do work generally, this is xev output (part of it)
    ButtonPress event, serial 36, synthetic NO, window 0x2000001,
    root 0xad, subw 0x2000002, time 14960128, (42,51), root:(90,164),
    state 0x0, button 9, same_screen YES
    EnterNotify event, serial 36, synthetic NO, window 0x2000001,
    root 0xad, subw 0x0, time 14960044, (42,51), root:(90,164),
    mode NotifyGrab, detail NotifyInferior, same_screen YES,
    focus YES, state 0
    KeymapNotify event, serial 36, synthetic NO, window 0x0,
    keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    ButtonRelease event, serial 36, synthetic NO, window 0x2000001,
    root 0xad, subw 0x2000002, time 14960352, (42,51), root:(90,164),
    state 0x0, button 9, same_screen YES
    and
    ButtonPress event, serial 36, synthetic NO, window 0x2000001,
    root 0xad, subw 0x2000002, time 15207644, (27,50), root:(75,163),
    state 0x0, button 8, same_screen YES
    EnterNotify event, serial 36, synthetic NO, window 0x2000001,
    root 0xad, subw 0x0, time 15207044, (27,50), root:(75,163),
    mode NotifyGrab, detail NotifyInferior, same_screen YES,
    focus YES, state 0
    KeymapNotify event, serial 36, synthetic NO, window 0x0,
    keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    ButtonRelease event, serial 36, synthetic NO, window 0x2000001,
    root 0xad, subw 0x2000002, time 15208300, (27,50), root:(75,163),
    state 0x0, button 8, same_screen YES
    the buttons are working fine outside of the game also. Pushing one of them takes you back and the other one forward in the browser.
    How can it be fixed?
    Thanks for the time

    How are you playing Borderlands 2?  Through WINE, through the native Steam client?  Have you tried a different mouse?  What is your graphics hardware and what driver are you using with it?

  • Gnome shell, media keys and strange X11 cursor bihaviour

    Hi guys,
    I'm new in this forum, but old arch-user. This time I'm experimenting a really strange issue.
    I have a lot of packages installed (pacman, but AUR too), and I tried some beta packet, so I don't know if this issues is caused by me, or is a sort of out-of-the-box, but this is what happens:
    During Gnome-Shell session (3.16.2 actually), if I press any media keys (my keyboard has prev-next song, play/pause, stop, vol up-down) my cursor goes hidden (all works, but I can't see pointer). If I'm in empty desktop (no opened window), after 20~50pixel in any direction I can meet again my mouse. Instead, if I have some windows open...random behavior...cursor could reappear after 50pixel mouse movement, or it could stay hidden after 4-5Kpixel. The only way to get cursor again in short time is go to gnome overview (the function linked with super key or upper-left corner, by default).
    Additional strange facts:
    - mouse is working all the time (link is focused, button is pressed, focus follow mouse event, and so on...)
    - seems gnome top bar get same effect as empty desktop (20~50pixel and cursor is visible again)
    - if I link key combination with media function (Ctrl + Up/Down for volume, for example), everything goes well
    - I have a secondary bluetooth keyboard with same media keys, but this peripheral is not affected by this issue
    Any additional informations will be provided, but first, I did my homework:
    - main keyboard: Thermaltake Tt eSPORTS Challenger Ultimate
    - secondary keyboard: Logitech diNovo Mini
    - main mouse: Kensington Expert Mouse
    - secondary mouse (secondary keyboard has build-in touchpad): Logitech diNovo Mini
    - tertiary mouse: Logitech G9x
    - Gnome shell: 3.16.2
    - X.Org: 1.17.1
    - Kernel: 4.0.4-2-ARCH
    - Nvidia-driver (beta from AUR): 352.09  --- GPU: GeForce GTX 780
    - xinput output:
    ⎡ Virtual core pointer id=2 [master pointer (3)]
    ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
    ⎜ ↳ Kensington Kensington Expert Mouse id=10 [slave pointer (2)]
    ⎜ ↳ Thermaltake Tt eSPORTS Challenger Ultimate gaming keyboard id=9 [slave pointer (2)]
    ⎜ ↳ Logitech diNovo Mini id=13 [slave pointer (2)]
    ⎜ ↳ Logitech G9x Laser Mouse id=14 [slave pointer (2)]
    ⎜ ↳ Logitech G9x Laser Mouse id=15 [slave pointer (2)]
    ⎣ Virtual core keyboard id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
    ↳ Power Button id=6 [slave keyboard (3)]
    ↳ Power Button id=7 [slave keyboard (3)]
    ↳ Thermaltake Tt eSPORTS Challenger Ultimate gaming keyboard id=8 [slave keyboard (3)]
    ↳ UVC Camera (046d:09a4) id=11 [slave keyboard (3)]
    ↳ Eee PC WMI hotkeys id=12 [slave keyboard (3)]
    From this output I noticed some strange association: main keyboard apper as pointer too. Moreover if I kill id=9
    xinput set-prop 9 "Device Enabled" 0
    all keyboard still works, but media keys.
    - xev output for volume key:
    FocusOut event, serial 37, synthetic NO, window 0x3600001,
    mode NotifyGrab, detail NotifyAncestor
    FocusIn event, serial 37, synthetic NO, window 0x3600001,
    mode NotifyUngrab, detail NotifyAncestor
    KeymapNotify event, serial 37, synthetic NO, window 0x0,
    keys: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    randomly last 3 row become
    KeymapNotify event, serial 38, synthetic NO, window 0x0,
    keys: 4294967207 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    I already tried to use xmodmap (remapping), xdotool (scripting mouse movement), dconf ([...].gnome cursor active false), sddm (instead of gdm), and a ton of other trick found somewhere, but no luck.
    Any idea? :-]
    Thanks in advance

    Got is sorted myself.
    I installed KDE which worked perfectly. Then went about trying to install chromium. After installing and trying to launch chromium I noticed it would just hand unless launched by root (terminal).
    Which led me to check permissions under /home.
    Turns out that somehow my /home/{me}/.config directory was owned by root:root  . A simple chown -R ~/.config  and a reinstall of gnome got everything working fine 
    NB: maybe someone with more insight can figure how/why ~/.config was owned by root from a fresh install and setup of systemd ??

  • [solved] XF86AudioRaiseVolume Key not working in XFCE with Toshiba Z30

    Symptoms:
    It is possible to assign an action to XF86AudioRaiseVolume (or XF86AudioLowerVolume) in xfce4-keyboard-settings, but when XF86AudioRaiseVolume is pressed, nothing happens. (Not even failsafe test commands.)
    With xfce4-volumed, the mute-key works, but not XF86AudioRaiseVolume and XF86AudioLowerVolume.
    With volumeicon, the following terminal output is send:
    $ volumeicon
    ** (volumeicon:13084): WARNING **: Binding 'XF86AudioRaiseVolume' failed!
    Failed to bind XF86AudioRaiseVolume
    ** (volumeicon:13084): WARNING **: Binding 'XF86AudioLowerVolume' failed!
    Failed to bind XF86AudioLowerVolume
    ** (volumeicon:13084): WARNING **: Binding 'XF86AudioMute' failed!
    Failed to bind XF86AudioMute
    xev outputs:
    for lower:
    KeymapNotify event, serial 40, synthetic NO, window 0x0,
    keys: 20 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    for raise:
    KeymapNotify event, serial 40, synthetic NO, window 0x0,
    keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    Any ideas how to make them work?
    (In Gnome-Shell, they work out of the box.)
    I put this in the Laptop subforum, because with my netbook, all this works. I know, the Desktop Environments Subforum would also been an option.
    Last edited by Carl Karl (2014-10-08 18:26:15)

    OK OK, of course pacman -R xfce4-volumed is not enough, a killall xfce4-volumed is also neccesarry! volumeicon works now, solved.

  • XF86AudioPlay button not working

    I'm using Xfce 4.8 and a Windows Media Center remote. I'm able to assign media buttons via settings -> keyboard and keybindings.
    Most of the keys are recognized out of the box so I didn't install LIRC.
    The keybinding control panel recognizes the play button as "XF86AudioPlay" and I can assign a command to it (i.e. "banshee --play")
    However this is the only button which is recognized but will not work no matter what command I assign to it (even simple launch commands like "firefox" or "terminal").
    When I assign the commands to other buttons (i.e. "XF86AudioMute" or "XF86AudioLowerVolume") they work though.
    The button is recognized but is not working.
    Here's the xev output of the button if needed:
    KeyPress event, serial 35, synthetic NO, window 0x4000001,
    root 0x15d, subw 0x0, time 2040333, (365,-102), root:(1116,328),
    state 0x10, keycode 215 (keysym 0x1008ff14, XF86AudioPlay), same_screen YES,
    XKeysymToKeycode returns keycode: 172
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False
    Any ideas?
    EDIT: I noticed my keyboard has a "Play/Pause" button as well that is also recognized as "XF86AudioPlay".
    So if I press the keyboard button, the action assigned to "XF86AudioPlay" works but not if I press the remote button.
    Last edited by M4he (2011-08-11 16:04:19)

    It seems to have something to do with the keycode:
    The (working) keyboard 'Play' button says:
    root 0x15d, subw 0x0, time 1682134, (39,125), root:(790,555),
    state 0x10, keycode 172 (keysym 0x1008ff14, XF86AudioPlay), same_screen YES,
    but the remote button has a different keycode and an additional line:
    root 0x15d, subw 0x0, time 1678286, (39,125), root:(790,555),
    state 0x10, keycode 215 (keysym 0x1008ff14, XF86AudioPlay), same_screen YES,
    XKeysymToKeycode returns keycode: 172
    it's the only remote button that has the 'XKeysymToKeycode' line. It's also the only button which doesn't work.
    Any clues?

  • Microphone stuck on "hardware" mute, not muted in alsa

    Hey everyone,
    I've installed Arch Linux on my ThinkPad t440p. I use ALSA for sound. On the computer the function keys double as various controls. Increase/decrease volume/brightness, mute/unmute microphone/speakers.
    The speaker mute button works perfectly. When toggled on the sound is muted, even if alsa is not. The microphone button however is stuck on mute. I'm almost entirely certain that the issue is related to this
    button on a "hardware" (acpi?) level, and unrelated to ALSA.
    I've tried to run the acpid service and use acpi_listen to see if it catches an event but it doesn't in the case of the microphone mute button. It does however on the speaker mute button (which works), resulting in the following output:
    button/mute MUTE 00000080 00000000 K
    As I said I'm pretty sure ALSA is not the issue because:
    - All capture devices are turned up.
    - The "Mic" control is unmuted and turned up (though I wonder if this is the control that simply plays back the microphone, as it is among the playback controls), along with the "Mic Boost" control.
    I've tried to search for help on the forum and on google to no avail, so I hope someone with more knowledge than me can help me debug this problem!

    Try: https://wiki.archlinux.org/index.php/Ex … board_Keys
    You may need to remap the keycode for your WM/DE to understand, most laptops have different bindings/keycodes. Check "xev" output to make sure the keycode is right. You can then (in most WM) bind that XF86 signal to a script if you need to hack around it.
    Hope this helps.

  • Acer 5920G media touch buttons

    Hello there,
    I am using Acer Aspire 5920G notebook. There are touch sensitive media (play, pause, etc) buttons on my keyboard [0]. However, on linux, they behave as if they are mouse buttons. I am using a usb mouse with 9 buttons. And I want to use these touch sensitive buttons as multimedia buttons. To configure them with xbindkeys or something similar, I need to set these buttons' button numbers as different from my default mouse buttons. Input device block of these buttons is /dev/input/event4, is it possible to configure this device's buttons numbers? Here is these buttons' xev outputs:
    ButtonPress event, serial 36, synthetic NO, window 0x3400001,
    root 0x13c, subw 0x0, time 1397192, (160,8), root:(1229,313),
    state 0x0, button 4, same_screen YES
    ButtonRelease event, serial 36, synthetic NO, window 0x3400001,
    root 0x13c, subw 0x0, time 1397252, (160,8), root:(1229,313),
    state 0x800, button 4, same_screen YES
    ButtonPress event, serial 36, synthetic NO, window 0x3400001,
    root 0x13c, subw 0x0, time 1397484, (160,8), root:(1229,313),
    state 0x0, button 5, same_screen YES
    ButtonRelease event, serial 36, synthetic NO, window 0x3400001,
    root 0x13c, subw 0x0, time 1397569, (160,8), root:(1229,313),
    state 0x1000, button 5, same_screen YES
    ButtonPress event, serial 36, synthetic NO, window 0x3400001,
    root 0x13c, subw 0x0, time 1397807, (160,8), root:(1229,313),
    state 0x0, button 6, same_screen YES
    ButtonRelease event, serial 36, synthetic NO, window 0x3400001,
    root 0x13c, subw 0x0, time 1397897, (160,8), root:(1229,313),
    state 0x0, button 6, same_screen YES
    ButtonPress event, serial 36, synthetic NO, window 0x3400001,
    root 0x13c, subw 0x0, time 1398105, (160,8), root:(1229,313),
    state 0x0, button 7, same_screen YES
    ButtonRelease event, serial 36, synthetic NO, window 0x3400001,
    root 0x13c, subw 0x0, time 1398185, (160,8), root:(1229,313),
    state 0x0, button 7, same_screen YES
    [0]: http://tech2.in.com/media/images/2008/F … 5920_7.jpg

    Hi there, I solved this problem long time ago, but I didn't post anything because I'm a little bit lazy xD
    I basically reached the same place as you, getting a different mapping with xinput. The difference is that I'm using xbindkeys to map the "buttons" as mediaKeys. My solution was working fine, but unfortunately in recent changes (kernel version? udev??) it seems the mediakeys has a different id on each start. So I decided to do a very nice script I'm going to share with you
    Here is the multimedia.sh script:
    #!/bin/bash
    # Get the ids for touchpad devices
    ids=`xinput --list | sed -ne 's/^.*Synaptics TouchPad.*id=\(.*\)\t.*$/\1/p'`
    for id in `echo $ids`
    do
    res=`xinput --list-props $id | sed -ne 's/^.*Resolution.*:\t\(.*\)/\1/p'`
    # Resolution property for media touchpad is "1, 1"
    if [ "$res" = "1, 1" ]; then
    id_mm=$id
    fi
    done
    # Switch off Repeat mode for multimedia keyboard
    prop_id=`xinput --list-props $id_mm | sed -ne 's/^.*Repeat (\(.*\)).*$/\1/p'`
    xinput --set-prop $id_mm $prop_id 0 0
    # set a different mapping
    xinput --set-button-map $id_mm 0 0 0 9 10 11 12
    # activate xbindkeys
    xbindkeys
    Paste it in a .sh, give it chmod +x and place it in ~/.kde4/Autostart to start it every boot.
    You must install xbindkeys (and xte if it's not installed, for the next step)
    Next code are the bindings for xbindkeys, in ~/.xbindkeysrc
    "xte 'key XF86AudioPlay'"
    b:9
    "xte 'key XF86AudioStop'"
    b:10
    "xte 'key XF86AudioPrev'"
    b:11
    "xte 'key XF86AudioNext'"
    b:12
    This way, the multimedia keys are mapped as real multimedia keys, I think amarok is configured to work with multimedia keys by default
    Hope this helps And sorry for not having it shared before... enjoy!

  • Dwm: Remapping Shift+Insert to Mod4+p

    I'm looking for a way to globally map Shift+Insert to Super_L+p for easier finger access to primary buffer pasting across terminal and gtk apps.
    I'm trying to do this with xdotool.
    Relevant lines from my config.h:
    #define MODKEY Mod4Mask
    static const char *pastecmd[] = { "xdotool", "key", "--clearmodifiers", "Shift+Insert", NULL };
    { MODKEY, XK_p, spawn, {.v = pastecmd } },
    After compiling and restarting, Mod4+p doesn't work as I'd expect (i.e. nothing happens when super+p is pressed).
    Running "xdotool key --clearmodifiers Shift+Insert" from shell and dmenu works (primary buffer is pasted).
    Running "sleep 5 && xdotool key --clearmodifiers Shift+Insert" from shell and dmenu, then focussing a text box in a gtk app such as Firefox within 5 seconds also works.
    Looking for info on why this isn't working?
    Perhaps theres another tool or way of mapping key combos that would do this job. Suggestions?

    Doesn't work with xbindkeys.
    ~/.xbindkeysrc
    "xdotool key --delay 0 --clearmodifiers Shift+Insert"
    m:0x40 + c:33
    Mod4 + p
    xev output after the mapping:
    KeyPress event, serial 29, synthetic NO, window 0xe00001,
    root 0x157, subw 0x0, time 11820231, (486,597), root:(488,613),
    state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XKeysymToKeycode returns keycode: 108
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False
    FocusOut event, serial 32, synthetic NO, window 0xe00001,
    mode NotifyGrab, detail NotifyAncestor
    MappingNotify event, serial 32, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 8, count 248
    MappingNotify event, serial 33, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 8, count 248
    FocusIn event, serial 33, synthetic NO, window 0xe00001,
    mode NotifyUngrab, detail NotifyAncestor
    KeymapNotify event, serial 33, synthetic NO, window 0x0,
    keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    32 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    KeyRelease event, serial 34, synthetic NO, window 0xe00001,
    root 0x157, subw 0x0, time 11821150, (486,597), root:(488,613),
    state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XKeysymToKeycode returns keycode: 108
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    xbindkeys -k after mapping:
    Press combination of keys or/and click under the window.
    You can use one of the two lines after "NoCommand"
    in $HOME/.xbindkeysrc to bind a key.
    "NoCommand"
    m:0x40 + c:133
    Mod4 + Super_L
    (the same xev and xbindkeys -k output occurs when doing the mapping in dwm's config.h)

  • Openbox keybindings: Use both Super_L and W- modifier?

    Just an "Is this possible?" sort of question:
    I am used to binding a short script to the Windows key to spawn a terminal window. (It's slightly more complicated, using wmctrl to look on the current desktop for existing terminals with certain properties and a few other things, but that's largely irrelevant.) However, I've discovered that on this cheap HP laptop I have, the "switch display" key is really just a macro for W-l (I'm guessing that this is the Windows shortcut for switching displays). In particular, the key is hard-coded to be equivalent to W-l, with the Windows key being released about half a second after the key press. I'd like to bind a script to this key to switch displays.
    Openbox (I'm using it under LXDE) doesn't seem to handle both Super_L and W- keys being bound at the same time; if I try it, then hitting "switch display" or W-l will invoke the terminal script and not trigger the display-switching script. I haven't been able to think of a way for openbox's more advanced keybinding features (e.g. chroot) to work either. So my question is, is there any way to cause these two keys to produce the correct effects, either by getting Super_L and W- keybindings to coexist, or by other means?
    (Note: Of course I'm aware that I could just give up and bind either of these two scripts to some other key combination. I really just want to know whether the ideal behavior is even possible short of modifying the openbox source, which I'm not really dedicated enough to do for just this.)

    Ah, I should have posted the xev output in the first post, because it's precisely what stumped me when I thought to use xmodmap. From the Windows key:
    KeyPress event, serial 41, synthetic NO, window 0x2200001,
    root 0x15a, subw 0x0, time 349672, (207,-29), root:(432,445),
    state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False
    KeyRelease event, serial 41, synthetic NO, window 0x2200001,
    root 0x15a, subw 0x0, time 349747, (207,-29), root:(432,445),
    state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    And from the display switch:
    KeyPress event, serial 41, synthetic NO, window 0x2200001,
    root 0x15a, subw 0x0, time 350269, (207,-29), root:(432,445),
    state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False
    KeyPress event, serial 41, synthetic NO, window 0x2200001,
    root 0x15a, subw 0x0, time 350270, (207,-29), root:(432,445),
    state 0x40, keycode 33 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XmbLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False
    KeyRelease event, serial 41, synthetic NO, window 0x2200001,
    root 0x15a, subw 0x0, time 350272, (207,-29), root:(432,445),
    state 0x40, keycode 33 (keysym 0x6c, l), same_screen YES,
    XLookupString gives 1 bytes: (6c) "l"
    XFilterEvent returns: False
    KeyRelease event, serial 41, synthetic NO, window 0x2200001,
    root 0x15a, subw 0x0, time 351786, (207,-29), root:(432,445),
    state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    As you can see, the macro looks like it's applied at the hardware level. (What a strange design, especially since all the other device buttons, such as brightness/volume, are implemented in the usual way!) In particular, the KeyRelease event always shows up 1.5 seconds after the display switch button is pressed, regardless of how long I actually hold it down. This makes things rather more complicated; the display switch is indistinguishable from me physically pressing Windows+l, which is what made me wonder if this was possible at all.
    Edit: On the other hand, there is an "fn" key, and pressing that plus the display switch yields F4; using F4 is an acceptable workaround to me, but I'd still be curious if there's a solution to the original problem. It's looking harder and harder to take advantage of Openbox bindings without giving up my nostalgic attachment to Windows=terminal.
    Last edited by quantheory (2012-02-22 17:02:19)

  • Laptop touchpad button scrolling problem

    I have an Acer Aspire 5715z, and i am useing the latest updates with LXDE. My problem is that there is a third button below my touchpad for scrolling. If i press it, it scrolls one "unit" down, but if i keep it pushing, no more scroll. I just want to make the scrolling continuos, while i keep the button pushed.
    xbindkeys output:
    Up:
    "NoCommand"
        m:0x2800 + b:4   (mouse)
    Down:
    "NoCommand"
        m:0x3000 + b:5   (mouse)
    xev output
    Up:
    ButtonPress event, serial 43, synthetic NO, window 0x2e00001,
        root 0xac, subw 0x0, time 1399791, (119,81), root:(184,390),
        state 0x2000, button 4, same_screen YES
    ButtonRelease event, serial 43, synthetic NO, window 0x2e00001,
        root 0xac, subw 0x0, time 1399951, (119,81), root:(184,390),
        state 0x2800, button 4, same_screen YES
    Down:
    ButtonPress event, serial 43, synthetic NO, window 0x2e00001,
        root 0xac, subw 0x0, time 1455033, (126,103), root:(191,412),
        state 0x2000, button 5, same_screen YES
    ButtonRelease event, serial 43, synthetic NO, window 0x2e00001,
        root 0xac, subw 0x0, time 1455183, (126,103), root:(191,412),
        state 0x3000, button 5, same_screen YES
    Thanks for the help!

    Perhaps using xinput would work as it does with the ThinkPad TrackPoint { xorg-xinput needs to be installed }.
    http://www.thinkwiki.org/wiki/How_to_co … ing_xinput

  • Xmodmap: remap num lock?

    Hi,
    Since i quite frequently need to enter numbers in a 1e5 format I want to remap the numlock key to e (so that i can type one-handedly).
    However, i somehow need to activate the number block, so i decided to map Num_Lock on the Scroll_Lock key.
    with
    xmodmap -e "keysym Scroll_Lock = Num_Lock"
    xev gives Num_Lock as correct event, however i miss the following (quoted from xev before changing the original Num_Lock key)
    PropertyNotify event, serial 35, synthetic NO, window 0x2400001,
    atom 0x178 (XKLAVIER_STATE), time 10891125, state PropertyNewValue
    For comparison, i posted the original numlock xev output and the one of the remapped scroll lock:
    http://pastebin.com/f3558ea1c
    Any ideas how i can fix this? Would be brilliant if i could get this to work -though actually I consider it a hardware issue that producers should fix by just adding an e key to the numlock. Screw those multimedia keys, get practical...
    MC

    perhaps you have to set the key to a modifier too (I'm guessing that the lock modifier is numlock:
    xmodmap -e "add lock = Num_Lock"

  • [SOLVED] horizontal scrolling openbox

    Hi, I would like to use horizontal scroll to change desktop, I enabled it in 50-synaptics and I know how to change rc.conf to add hotkeys to openbox, but I can't find what to type for horizontal scrolling in keybind.
    i.e. :
    <keybind key="C-A-Left"> <--- what to type for horizontal scroll?
    <action name="GoToDesktop">
    <to>left</to>
    <wrap>no</wrap>
    </action>
    </keybind>
    I've looked in the rc.conf wiki and couldn't find anything...anyone knows?
    thank you
    Last edited by trixrabbit (2013-07-05 23:58:15)

    @2manydogs, you're right it's .xml, I made a typo and yes it's in the mousebind section, I just wanted to explain what line I had wrong and copy-pasted the wrong thing, thx.
    so this is what I have in my rc.xml :
    <mousebind button="Left" action="Click">
    <action name="GoToDesktop">
    <to>previous</to>
    </action>
    </mousebind>
    <mousebind button="Right" action="Click">
    <action name="GoToDesktop">
    <to>next</to>
    </action>
    </mousebind>
    this is the xev output :
    ButtonPress event, serial 46, synthetic NO, window 0x1a00001,
    root 0x83, subw 0x0, time 351370, (61,90), root:(167,345),
    state 0x0, button 7, same_screen YES
    ButtonRelease event, serial 46, synthetic NO, window 0x1a00001,
    root 0x83, subw 0x0, time 351370, (61,90), root:(167,345),
    state 0x0, button 7, same_screen YES
    ButtonPress event, serial 46, synthetic NO, window 0x1a00001,
    root 0x83, subw 0x0, time 353702, (61,90), root:(167,345),
    state 0x0, button 6, same_screen YES
    ButtonRelease event, serial 46, synthetic NO, window 0x1a00001,
    root 0x83, subw 0x0, time 353702, (61,90), root:(167,345),
    state 0x0, button 6, same_screen YES
    Also before I changed it to Left and Right, I couldn't scroll up/down to change desktop, I don't remember if I changed it one day because it was very annoying but it wasn't doing it anymore. I would like this mousebind to be global too if it's possible.

Maybe you are looking for

  • Why can't I open a link from my e-mail

    '''''bold text'''''This problem only started recently. I am running Firefox 3.6.17 and whenever I click on a link I get an error sound with the message: Windows cannot find (whatever the address is that I clicked on) please check your spelling and tr

  • Regarding my payment information made extra

    i buy a song from itunes store ,the song cost is 15 rs the thing is it deducted 60+15 total 75

  • Can I get webroot toolbar in my ff5 browser?

    I would like added security in my ff5 toolbar. I like webroot toolbar. Can I get this on my desktop? My pc has been hacked into twice, so I just feel, I need a little extra security!! Can you help me with this? Many Thanks... Sherry2895

  • Calc Function in Essbase

    Can some on explain the below expression what exactly it returns as a result.i don't know this function "@JNthMbr" and "@Name". I know that @Member function returns with the name of the member. (@ISMBR(@Member(@JNthMbr(@Name(@Descendants("Year")), 1)

  • Don't start Oarcle9 ./runInstaller on Redhat4

    Hi I have a problem with runinstaller on Redhat4. When i run runinstaller, it don't start - no systems errors, no messages in log files... nothink. When i checked /tmp directory, i noted that in /tmp/Orainstall temp directory was missing some files.