You are not logged in.

#1 2014-12-09 20:08:19

erkexzcx
Banned
From: Kaunas
Registered: 2014-09-28
Posts: 77

[Solved] Help me to bind a "special" key

Hi everyone. On asus N550JV laptop we have this keyboard and there is a button circled by a red colour (don't worry, I have US keyboard, not this one):
csm_N550_Tastatur_3170b270f4.jpg


Originally this button opens windows media player (on windows OS), but on linux - nothing.

And the thing is that this button produces only this output:

[erikas@CUNTDESTROYER ~]$ xev

KeyRelease event, serial 38, synthetic NO, window 0x4400001,
    root 0x9e, subw 0x0, time 3374616, (392,350), root:(1263,810),
    state 0x0, keycode 248 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

And it seems it only has release event. After you type xev the small window appears, and it seems to be a event listener. when it is focused, on the terminal I can see the output pasted above after click (on release), but when I focus on terminal and not on the little white window - this button produces no output at all.

I wonder, how can I bind it if it only produces release event...? Maybe somehow with UDEV rules? Please give me some ideas.

P.S. I am currently hardly working on this laptop's wiki page and I want to find out every possible solution to every bug/bad configuration and get the maximum out of this laptop^^ If you check history of it - you will see a lot of my work smile



-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
-- my edit: cmon dude, is it okay now? --

EDIT: check the bottom of comments.

Last edited by erkexzcx (2014-12-09 21:47:36)


Allergic to admins&moderators. They scare me.

Offline

#2 2014-12-09 20:24:13

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [Solved] Help me to bind a "special" key

Look at xbindkeys and xdotool.

See if "xbindkeys -k" produces anything.

Offline

#3 2014-12-09 20:28:45

erkexzcx
Banned
From: Kaunas
Registered: 2014-09-28
Posts: 77

Re: [Solved] Help me to bind a "special" key

lucke wrote:

Look at xbindkeys and xdotool.

See if "xbindkeys -k" produces anything.

This is what it does produce:

"(Scheme function)"
    m:0x0 + c:248
    NoSymbol

But for example, I don't want to use xbindkeys, I would like to use XFCE4 keyboard shortcuts and this is why I asked for something related to DEV if I can set some value or something, because m:0x0 means something really non-symbol hmm

Anyway, if there is no possible way to create some rules for this button to produce something different - I will upload xbindkeys solution to wiki page.

EDIT: xfce4 keyboard listener doesn't get any input when I click this button so I cannot bind it.

Last edited by erkexzcx (2014-12-09 20:29:24)


Allergic to admins&moderators. They scare me.

Offline

#4 2014-12-09 20:32:04

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [Solved] Help me to bind a "special" key

Try xmodmap.

Offline

#5 2014-12-09 20:39:39

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,564
Website

Re: [Solved] Help me to bind a "special" key


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#6 2014-12-09 20:57:11

erkexzcx
Banned
From: Kaunas
Registered: 2014-09-28
Posts: 77

Re: [Solved] Help me to bind a "special" key

All info moved here:

https://wiki.archlinux.org/index.php/AS … dia_button

Last edited by erkexzcx (2014-12-09 22:40:16)


Allergic to admins&moderators. They scare me.

Offline

#7 2014-12-09 21:42:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,564
Website

Re: [Solved] Help me to bind a "special" key

erkexzcx wrote:

wiki gave me headache...

Then I guess you are out of luck.  If you are unable to read a short article and run one or two suggest  commands then you probably shouldn't be using archlinux.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#8 2014-12-09 21:46:47

erkexzcx
Banned
From: Kaunas
Registered: 2014-09-28
Posts: 77

Re: [Solved] Help me to bind a "special" key

Trilby wrote:
erkexzcx wrote:

wiki gave me headache...

Then I guess you are out of luck.  If you are unable to read a short article and run one or two suggest  commands then you probably shouldn't be using archlinux.

Will mark as solved. check comment above smile

P.S. tell me, how can you master Arch Linux (or in general - Linux) if you won't go deep in details etc? Well, it might not so deep for you, but for me it is. I am using Linux just for 1 year and arch linux for... mhm... registered on 2014-09-28 when I managed to successfully install desktop environment.

Last edited by erkexzcx (2014-12-09 21:50:53)


Allergic to admins&moderators. They scare me.

Offline

Board footer

Powered by FluxBB