You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Keyboard media keys

Author (Read 3902 times)

0 Members and 2 Guests are viewing this topic.

Re: Keyboard media keys
« Reply #5 on: May 28, 2015, 04:32:24 PM »
 

kris

  • New to Forums
  • *
  • 3
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: AMD Athlon 2.2 GHz

  • MEMORY: 1Gb

  • VIDEO CARD: Nvidia GEforce 256mb
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: [Select]
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......  :(
 

Re: Keyboard media keys
« Reply #4 on: May 28, 2015, 10:48:02 AM »
 

anon222

  • Muted
  • Gold Level Poster
  • *
  • 688
    Posts
  • Reputation: 192
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Pentium E5700 3GHz

  • MEMORY: 3Gb

  • VIDEO CARD: GeForce GT 430
Press Ctrl+Alt+T and when the terminal opens type in
Code: [Select]
xdotool key XF86AudioLowerVolume
Here is the manual of xdotool
Code: [Select]
man xdotool
I can't remember is it installed by default
if it's not
Code: [Select]
sudo apt-get install xdotool
It's all part of the command.  ;)
 

Re: Keyboard media keys
« Reply #3 on: May 28, 2015, 10:35:48 AM »
 

kris

  • New to Forums
  • *
  • 3
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: AMD Athlon 2.2 GHz

  • MEMORY: 1Gb

  • VIDEO CARD: Nvidia GEforce 256mb
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.
 

Re: Keyboard media keys
« Reply #2 on: May 28, 2015, 10:20:28 AM »
 

anon222

  • Muted
  • Gold Level Poster
  • *
  • 688
    Posts
  • Reputation: 192
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Pentium E5700 3GHz

  • MEMORY: 3Gb

  • VIDEO CARD: GeForce GT 430
Welcome to the forums.

play/pause
Code: [Select]
xdotool key XF86AudioPlay
previous/next

Code: [Select]
xdotool key XF86AudioPrev
Code: [Select]
xdotool key XF86AudioNext
volume down/up
Code: [Select]
xdotool key XF86AudioLowerVolume
Code: [Select]
xdotool key XF86AudioRaiseVolume
mute
Code: [Select]
xdotool key XF86AudioMute
 

Keyboard media keys
« Reply #1 on: May 28, 2015, 08:08:39 AM »
 

kris

  • New to Forums
  • *
  • 3
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: AMD Athlon 2.2 GHz

  • MEMORY: 1Gb

  • VIDEO CARD: Nvidia GEforce 256mb
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... :)
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section