Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how do you keymap the keyboards extra "media" keys
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
josh
Guru
Guru


Joined: 05 Feb 2003
Posts: 473
Location: Milky Way: Solar System: Earth: North America: USA: NY: Buffalo

PostPosted: Fri Mar 25, 2005 4:25 pm    Post subject: how do you keymap the keyboards extra "media" keys Reply with quote

How can I use my extra keys that are on my keyboard? Such as: volume, mute, standby, internet... and such. I figure there is a way to map them to a command so say, the internet key would open up mozilla? I've looked through xmodmap and xev but I can't figure it out. I basically need to know how to identify these keys and then put them in a relevant file. Like ~/.fluxbox/keys or something. Thanks!
_________________
-Josh
Back to top
View user's profile Send private message
Veto
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jul 2003
Posts: 83

PostPosted: Fri Mar 25, 2005 5:27 pm    Post subject: Reply with quote

This is what I have found and compiled:

http://rob.thesnows.org/?p=30
Back to top
View user's profile Send private message
mascanho
Veteran
Veteran


Joined: 21 Dec 2004
Posts: 1241
Location: On my Bmx Bike on a Concrete Park Flatlanding ...

PostPosted: Fri Mar 25, 2005 7:37 pm    Post subject: Reply with quote

you can run either
Code:
xorgcfg
or
Code:
xorgconfig
i dont remember wich one is grapgical but it allows you to select media keys, depending of course on your keyboard type
_________________
Flatland Life is a Choice !
emerge avatar
Back to top
View user's profile Send private message
josh
Guru
Guru


Joined: 05 Feb 2003
Posts: 473
Location: Milky Way: Solar System: Earth: North America: USA: NY: Buffalo

PostPosted: Fri Mar 25, 2005 10:02 pm    Post subject: Reply with quote

Thanks guys! I did some tinkering around and royally screwed up my keyboard a few times. But I've got it working now. I just need to figure out what the commands are to increase and decrease and mute my volume using alsa. You guys dont' know off-hand do you?
_________________
-Josh
Back to top
View user's profile Send private message
mascanho
Veteran
Veteran


Joined: 21 Dec 2004
Posts: 1241
Location: On my Bmx Bike on a Concrete Park Flatlanding ...

PostPosted: Fri Mar 25, 2005 10:17 pm    Post subject: Reply with quote

that would be sweet to, if someone know how to set the master volume on alsa please post the command it would be very sweat :lol:
_________________
Flatland Life is a Choice !
emerge avatar
Back to top
View user's profile Send private message
beandog
Bodhisattva
Bodhisattva


Joined: 04 May 2003
Posts: 2072
Location: /usa/utah

PostPosted: Fri Mar 25, 2005 10:48 pm    Post subject: Reply with quote

josh wrote:
Thanks guys! I did some tinkering around and royally screwed up my keyboard a few times. But I've got it working now. I just need to figure out what the commands are to increase and decrease and mute my volume using alsa. You guys dont' know off-hand do you?


Code:
$ man amixer

_________________
If it ain't broke, tweak it. dvds | blurays | blog | wiki
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Fri Mar 25, 2005 10:49 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-290419-highlight-sset.html :)
Back to top
View user's profile Send private message
josh
Guru
Guru


Joined: 05 Feb 2003
Posts: 473
Location: Milky Way: Solar System: Earth: North America: USA: NY: Buffalo

PostPosted: Fri Mar 25, 2005 10:52 pm    Post subject: Reply with quote

geez. got it. man pages are cool. Ok, check it out, this is great. You can increment, decrement, and set the volume, respectively, like this:

Code:
amixer set 'Master' 1+
amixer set 'Master' 1-
amixer set 'Master' 40


keep in mind that 65 is the highest it goes. I about blew out my eardrums. At least, 65 is how it is with my setup. Maybe it is different for some people.

And of course, you can change other channels besides 'Master'. For a list for your card, do:

Code:
amixer scontrols


Good luck.
_________________
-Josh
Back to top
View user's profile Send private message
mascanho
Veteran
Veteran


Joined: 21 Dec 2004
Posts: 1241
Location: On my Bmx Bike on a Concrete Park Flatlanding ...

PostPosted: Sat Mar 26, 2005 12:17 am    Post subject: Reply with quote

Cool , thats what i was needing, but man really helps a lot (not for those who dony like reading) but i sure does its job tks guys
_________________
Flatland Life is a Choice !
emerge avatar
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum