This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Map multimedia keys to custom commands

Tags: None
(comma "," separated)
vikramr
Registered Member
Posts
3
Karma
0
Hi I am using openSuSe Leap 15.3 and the multimedia keys to mute, increase and decrease volumes are working. I would like to get the previous, next and play/pause button to work when I use mocp. This works when I use i3 but I am trying to find a way to do this using KDE.

Commands from my i3 config files to show the keys and mocp commands I would like to bind in KDE

Code: Select all

bindsym XF86AudioPause exec --no-startup-id uxterm -e mocp --toggle-pause
bindsym XF86AudioNext exec --no-startup-id uxterm -e  mocp --next
bindsym XF86AudioPrev exec --no-startup-id uxterm -e mocp --previous

vikramr
Registered Member
Posts
3
Karma
0


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]