Hi,

On 16.11.2012 23:17, Manuel Kasser wrote:
> I wondered how I could use the thumb buttons of my mouse. They are
> working as forward/backward-buttons in the programs that have that
> function, e.g. data browser, web browser, but simply do nothing with
> other programs. So I thougt about configuring them additionally, but is
> it possible to adress them in the config? At least I didn't manage to do
> so, what shouldn't mean anything. ;) Or do I have to configure them
> somewhere else than in awesome?

I'd suggest running xev in a terminal. That opens a window and prints
information about X11 events that it receives. You then press your "weird
button" and should see something like this (Assuming that the button really
generates a key event, I tested with my non-functional audio-lower key):

KeyRelease event, serial 33, synthetic NO, window 0x1800001,
    root 0xc7, subw 0x0, time 29575552, (893,281), root:(895,1385),
    state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume),
same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

A keybinding for this key could be done via "XF86AudioLowerVolume", e.g.:

  awful.key({ }, "Xf86AudioLowerVolumne, function() print("magic here") end)

Good night,
Uli
-- 
my $key = "\x49\x03\x93\x08\x19\x94\x96\x94\x28\x93\x83\x04\x68\x28\xa8\xf5".
          "\x0a\xb9\x94\x02\x45\x81\x93\x1f\xbc\xd7\xf3\xad\x93\xf5\x32\x93";
my $cipher = Crypt::Rijndael->new( $key, Crypt::Rijndael::MODE_ECB() );
my $plain = $ciper->decrypt($daten);

-- 
To unsubscribe, send mail to [email protected].

Reply via email to