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

Binding custom actions to custom keybindings

Tags: None
(comma "," separated)
sahko
Registered Member
Posts
16
Karma
0
OS
Is it possible to bind custom keybindings for custom commands?
For example what if i want to use my laptops multimedia keys to move to the next track using an ncurses music player like moc?
Or bind F12 globally to execute xterm -e vim ~/foo no matter which application i have open.
And how?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Assuming those keys trigger the appropriate XEvents, then you should be able to change the global shortcut listened to by it without anything else needing to be done.

For executing "xterm -e..." see System Settings > Input Actions, which has this capability.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
sahko
Registered Member
Posts
16
Karma
0
OS
Thanks i figured it out. It seemed a little cryptic at first.


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]