LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 03-12-2012, 01:54 PM   #1
Master_CAPS
Member
 
Registered: Mar 2012
Location: I live at ::1 usually...
Distribution: Yes.
Posts: 55

Rep: Reputation: Disabled
How can I assign commands to special keys (media button, eco mode button)


There is no way to do this with the keyboard settings... Some work becuse the voloume, mutue, next, and back buttons work (on the keyboard).

I have two non working keys (media player, and eco mode) is there some kind of file or command Ican gedit and assign a function to one of these keys?
(im new to this operation system,and dont know my way around it.) Linux mint 12 gnome 3
 
Old 03-12-2012, 10:42 PM   #2
Master_CAPS
Member
 
Registered: Mar 2012
Location: I live at ::1 usually...
Distribution: Yes.
Posts: 55

Original Poster
Rep: Reputation: Disabled
Question

Ahh yes this must be a mystery
 
Old 03-13-2012, 11:41 AM   #3
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 2,971

Rep: Reputation: 769Reputation: 769Reputation: 769Reputation: 769Reputation: 769Reputation: 769Reputation: 769
1. No need to repost. In fact, it's unhelpful to you because it takes your thread off the "zero replies" list, which many busy visitors routinely check.

2. In Gnome 2, if I press the Media button I get Gnome-mplayer. That's presumably because I've set that as the default using the System - Preferences - Preferred applications entry in the menu. If Gnome 3 lacks that, try right-clicking on a Nautilus entry for each type of media file, choose Properties, and set a default under Open with.

3. For the mysterious Eco, find its name by running xev and pressing it. Then run the Gnome configuration tool (you may need to install it) and somewhere in there will be a place where you can assign a name to a command (e.g. I have XF86Favourites attached to openoffice.org)
 
1 members found this post helpful.
Old 03-13-2012, 04:58 PM   #4
Master_CAPS
Member
 
Registered: Mar 2012
Location: I live at ::1 usually...
Distribution: Yes.
Posts: 55

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by DavidMcCann View Post
1. No need to repost. In fact, it's unhelpful to you because it takes your thread off the "zero replies" list, which many busy visitors routinely check.

2. In Gnome 2, if I press the Media button I get Gnome-mplayer. That's presumably because I've set that as the default using the System - Preferences - Preferred applications entry in the menu. If Gnome 3 lacks that, try right-clicking on a Nautilus entry for each type of media file, choose Properties, and set a default under Open with.

3. For the mysterious Eco, find its name by running xev and pressing it. Then run the Gnome configuration tool (you may need to install it) and somewhere in there will be a place where you can assign a name to a command (e.g. I have XF86Favourites attached to openoffice.org)
shhhhhweeeeeeeeeeet!
 
Old 03-18-2012, 01:15 AM   #5
cgtueno
Member
 
Registered: Jul 2003
Posts: 356
Blog Entries: 1

Rep: Reputation: 49
Suggestion:

Using X : xdev
xev | grep -A2 --line-buffered '^KeyRelease'

Using kernel : showkey
showkey
 
Old 03-18-2012, 02:29 PM   #6
Master_CAPS
Member
 
Registered: Mar 2012
Location: I live at ::1 usually...
Distribution: Yes.
Posts: 55

Original Poster
Rep: Reputation: Disabled
Question

Quote:
Originally Posted by cgtueno View Post
Suggestion:

Using X : xdev
xev | grep -A2 --line-buffered '^KeyRelease'

Using kernel : showkey
showkey
Sorry but that looks like alien speak to me...
Is that an example? What function does it assign to the key? I'm lost
 
  


Reply

Tags
button, command, keyboard, keys, special


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to assign a different command to my headphone's button? QueenZ Linux - Newbie 2 01-13-2011 03:26 PM
How to get Linux to use my special WIFI button on my acer sjampoo Linux - Hardware 7 07-21-2010 09:22 PM
Ubuntu - Optical mouse assign backspace to wheel button brizboy Linux - Newbie 3 04-25-2010 11:50 PM
Anyway to assign special actions on my windows F keys or a combination? vangelis General 1 11-04-2006 07:06 PM
How to assign functions to 5 button mice? linuXBOX Linux - Hardware 3 07-29-2003 03:27 PM


All times are GMT -5. The time now is 06:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration