You are not logged in.

#1 2017-01-04 09:58:25

masolski
Member
From: Warsaw
Registered: 2016-06-07
Posts: 12

Arch + i3: media keys works for some time.

Hello!

My setup is simple. Lenovo 700 laptop, Latest Arch + i3. Multimedia keys works well (xbacklight, pulseaudio).

The problem is that those mentioned keys (volume, brightness) stops working after some time. Worked for less than an hour today. I don't even know how to track i or troubleshoot... My first thought was that something is hijacking it (like VMware) but today I started only Firefox and URxvt. I tried to reload i3 (mod+shift+r) but this doesn't help. What helps is to exit i3 and start again (system reboot is not needed). i3status is fine and updating info when I change volume using pamixer command. There's only one thing in journal:

kernel: ideapad_laptop: Unknown event: 1

But actually this confirms my problem but doesn't help much. This line is written only after media keys stops working.

That's annoying. Can someone give me hint where to look for a cause.

Thanks!
Marcin

Last edited by masolski (2017-01-04 10:02:31)

Offline

#2 2017-01-04 11:33:50

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: Arch + i3: media keys works for some time.

How have you configured you multimedia keys? through xbindkeys or through i3/config?

Offline

#3 2017-01-04 12:08:26

masolski
Member
From: Warsaw
Registered: 2016-06-07
Posts: 12

Re: Arch + i3: media keys works for some time.

Through i3.

# bind brightness / audio keys
bindcode 232 exec --no-startup-id xbacklight -dec 5%
bindcode 233 exec --no-startup-id xbacklight -inc 5%

bindcode 121 exec --no-startup-id pamixer -t
bindcode 122 exec --no-startup-id pamixer -d 5
bindcode 123 exec --no-startup-id pamixer -i 5

Edit:

Some more details... I just found out that those media keys doesn't work when NumLock is on. Switching it off makes volume and brightness works again... That's not so annoying any more but still curious what is causing it.

Last edited by masolski (2017-01-04 20:00:00)

Offline

Board footer

Powered by FluxBB