LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Keyboard media keys
#1
So i have this keyboard which I use for a while now, and all around the standard keys which you (should) have on any keyboard, there are 12 media keys. Those are supposed to be shortcuts to calculator, home folder, mail etc. And they all work fine in windows, but not in linux.
So i searched a bit, and found installed-by-default editor for keyboard, called "keyboard" in whisker menu. It is just about perfect, but I just can't seem to find which commands to use for play/pause media button, and next/previous also.
Anybody any ideas?
Thanks in advance... Smile
Reply
#2
Welcome to the forums.

play/pause
Code:
xdotool key XF86AudioPlay

previous/next

Code:
xdotool key XF86AudioPrev
Code:
xdotool key XF86AudioNext

volume down/up
Code:
xdotool key XF86AudioLowerVolume

Code:
xdotool key XF86AudioRaiseVolume

mute
Code:
xdotool key XF86AudioMute
Reply
#3
Which part is the actual command? I'm sorry if it's a stupid question, but it seems that whatever I type in, only the first word is considered command, unless you put -- or something, I don't know.
Reply
#4
Press Ctrl+Alt+T and when the terminal opens type in
Code:
xdotool key XF86AudioLowerVolume

Here is the manual of xdotool
Code:
man xdotool

I can't remember is it installed by default
if it's not
Code:
sudo apt-get install xdotool

It's all part of the command.  Wink
Reply
#5
Awww, s*it, it just doesn't work... It does nothing... I type it in, as you said, in terminal, and hit Enter, and it just proceeds to next line to type in, so I go on... But it doesn't take efect on Audacious... Should i have some other music player or something?
And, it confuses me, how the hell does it know what
Code:
xdotool key XF86BlaBla
is supposed to bind it with which button? Should I press the certain button instead of "key", or what?
I'm totally confused... I'm new to linux, especially Linux Lite, so you'll have to excuse me for my ignorance and boringness......  Sad
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)