SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2014-11-30 15:04:21

sarbot
New Member
Registered: 2014-06-24
Posts: 7

Who is stealing my keypresses (multimedia keys)?

There are some problems setting up the Volumekeys (vol up,down,mute) on my keyboard.
Pressing the AudioKeys returns a notify about a volume nothing to do with the volume of my pulseaudio master i can hear and see in tint-applet.

I can change the volume from commandline:

amixer -D pulse -sset Master 5%+  (or something like this)

so I try to use this command as keyboard shortcut in my openbox/rc.conf but it doesnt work (other shortcuts do)
If I run xev to check the name of the key it dont return a keypress event, just:

FocusOut event, serial 46, synthetic NO, window 0x3600001,
    mode NotifyGrab, detail NotifyAncestor

FocusOut event, serial 46, synthetic NO, window 0x3600001,
    mode NotifyUngrab, detail NotifyPointer

FocusIn event, serial 46, synthetic NO, window 0x3600001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 46, 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   

If running xev on a new display (xinit /usr/bin/xterm -- :1) it returns me a keypressed everything ok its the default "XF86Audio.."-whatever.

So the problem is (I guess) that some on x running process or x itself is stealing the keypress event for a own keybind.

The question is where i can find this keybind to

a) fix it to use working volume change command
b) delte it and make it usable as openbox-shortcut (rc.conf)

Any Ideas ?

---
Mod Edit: Please use code tags - Sector11

Offline

Help fund CrunchBang, donate to the project!

#2 2014-11-30 15:42:58

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: Who is stealing my keypresses (multimedia keys)?

i think xev would have precedence, so i'm a little confused as to why it doesn't return "XF86Audio.."-whatever.
how are you pressing and which key exactly?

The question is where i can find this keybind

it should be either in ~/.config/openbox/rc.xml, or some utility might be using it, like a systray volume icon.

or maybe you are using some weird, non-standard keyboard?

Offline

#3 2014-11-30 16:09:09

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: Who is stealing my keypresses (multimedia keys)?

Check your firmware (BIOS) options for anything relating to the Function keys.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo