Difference between revisions of "Multimedia Keys"
(→MythTV) |
|||
Line 23: | Line 23: | ||
''"...mythcontrols is a simple plugin that allows you to edit all of your keybindings."'' | ''"...mythcontrols is a simple plugin that allows you to edit all of your keybindings."'' | ||
+ | |||
+ | ''"<nowiki>you should just use xfce keyboard settings (on xfce4-settings-manager) to customise your keymap choices. [...] xfce4's DE/WM should take care of any reason for having to customise .Xmodmap, generally speaking. [...] DE/WM are Desktop-Environment (XFCE4) / Window-Manager (xfwm4), is an example.</nowiki> "'' | ||
Revision as of 16:51, 26 February 2015
Many keyboards include some special keys (also called hotkeys or multimedia keys), which are supposed to execute an application. These keys are known by some different terms such as Multimedia Internet Keyboard Buttons. These keyboards have special keys used to access the Internet, music, and other frequently used programs such as email. A typical example contains buttons that control various computer processes, such as turning on the computer's power, putting the CPU to sleep, and waking it up again.
Multimedia keyboards designed for use with Microsoft Windows typically come already programmed, ready to use right out of the box.
Media Keys Under Linux
In Ubuntu 5.10 (Breezy Badger), Ubuntu 5.04 (Hoary Hedgehog) and later Ubuntu versions, please go to System menu -> Preferences -> Keyboard Shortcuts to find the keyboard shortcut editor. For Kubuntu, see KDEMultimediaKeys. For Xubuntu, see XfceMultimediaKeys.
GNOME directly queries X11 for its media keys support, so you don't need to manually configure it. However, Xfce doesn't, and you'll have to manually get the keycodes and set the symlinks.
showkey -k
detect keys from the multimedia keyboard
Another laternative: Xbindkeys is a program that allows you to launch shell commands with your keyboard or your mouse under X Window. It links commands to keys or mouse buttons, using its configuration file. It does not depend on the window manager and can capture all keyboard keys.
apt-get install xbindkeys
MythTV
To get multimedia keyboards or remotes with media keys to work in MythTV you first have to get them recognized with Xfce under Linux.
"...disabling "Launch Gnome Services at Startup" on the Startup Settings-Advanced Page within Mythbuntu. Now play generates keypress events. I was surprised that disabling xfce4-volumed wasn't enough, but at least its resolved."
"...mythcontrols is a simple plugin that allows you to edit all of your keybindings."
"you should just use xfce keyboard settings (on xfce4-settings-manager) to customise your keymap choices. [...] xfce4's DE/WM should take care of any reason for having to customise .Xmodmap, generally speaking. [...] DE/WM are Desktop-Environment (XFCE4) / Window-Manager (xfwm4), is an example. "