View previous topic :: View next topic |
Author |
Message |
codedmart l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 18 Nov 2003 Posts: 647 Location: Not Quite Sure
|
Posted: Mon Nov 08, 2004 12:53 am Post subject: Volume buttons on Laptop? |
|
|
Is there a way to get these working. I have a up and down and a mute one. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
count_zero Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/156825843140a94e9a1f577.gif)
Joined: 17 May 2004 Posts: 460 Location: Little Rock, Arkansas, USA
|
Posted: Mon Nov 08, 2004 2:38 am Post subject: |
|
|
Yeah. But sometimes it depends upon which model laptop you're using. Often times, you can just use xev to find out the keycode for the extra buttons and map it to hotkeys or a similar program. Just type "xev" into an xterm, and press some keys--you should see some output, look for the number after "keycode"--this is the key number you need. If you use KDE, you can look in the control center --> Regional & Accessibility for a hotkey program you can map these buttons to do whatever action you want (i.e., alsamixer, aumix, etc.). Else, you can emerge "hotkeys" and do the same thing in this program.
For example, I have my keys set to do these actions:
Volume up: "aumix -v +4"
Volume down: "aumix -v -4"
Mute: "mutoggle"
I'm using OSS, though, with aumix as my mixer. Alsamixer can do the same, but the commands will be different. _________________ "We must all hang together, or assuredly we shall all hang separately."
-Ben Franklin |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Archangel1 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/10640655464313fa93b48a7.png)
Joined: 21 Apr 2004 Posts: 1212 Location: Work
|
Posted: Mon Nov 08, 2004 5:06 am Post subject: |
|
|
Under Alsa I'm using
Code: | amixer set Wave 5- && amixer set "Wave Surround" 5- |
that's with rear speakers hooked up as well though; on a laptop you'd be fine with
Code: | amixer set Master 5- |
and for muting
Code: | amixer set Master toggle |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GenKreton l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/32209115435451019fdb3.jpg)
Joined: 20 Sep 2003 Posts: 828 Location: Cambridge, MA
|
Posted: Mon Nov 08, 2004 6:23 am Post subject: |
|
|
you can use a non-kde dependent app like hotkeys as well. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Cagnulein l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/5525999963f783a78ad59e.gif)
Joined: 18 Sep 2003 Posts: 861 Location: Modena, Italy
|
Posted: Mon Nov 08, 2004 6:47 am Post subject: |
|
|
xev doesn't show anything when i use fn+anykey in my notebook..is that right? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
count_zero Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/156825843140a94e9a1f577.gif)
Joined: 17 May 2004 Posts: 460 Location: Little Rock, Arkansas, USA
|
Posted: Mon Nov 08, 2004 12:23 pm Post subject: |
|
|
Neither does my fn key, but mine requires a special kernel module to work. What model laptop do you use? _________________ "We must all hang together, or assuredly we shall all hang separately."
-Ben Franklin |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GenKreton l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/32209115435451019fdb3.jpg)
Joined: 20 Sep 2003 Posts: 828 Location: Cambridge, MA
|
Posted: Mon Nov 08, 2004 5:54 pm Post subject: |
|
|
My fn+anything doesn't work except a few standard keyboard commands like num lock, but the battery, wifi radio, volume ones, and the non-fn volume controls on my dell 600m do not show anything in xev, but they still work in hotkeys. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Cagnulein l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/5525999963f783a78ad59e.gif)
Joined: 18 Sep 2003 Posts: 861 Location: Modena, Italy
|
Posted: Tue Nov 09, 2004 11:59 am Post subject: |
|
|
count_zero wrote: | Neither does my fn key, but mine requires a special kernel module to work. What model laptop do you use? |
toshiba :I |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
count_zero Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/156825843140a94e9a1f577.gif)
Joined: 17 May 2004 Posts: 460 Location: Little Rock, Arkansas, USA
|
Posted: Tue Nov 09, 2004 4:18 pm Post subject: |
|
|
Cagnulein wrote: | count_zero wrote: | Neither does my fn key, but mine requires a special kernel module to work. What model laptop do you use? |
toshiba :I |
Maybe this is what you want:
http://fnfx.sourceforge.net/ _________________ "We must all hang together, or assuredly we shall all hang separately."
-Ben Franklin |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Cagnulein l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/5525999963f783a78ad59e.gif)
Joined: 18 Sep 2003 Posts: 861 Location: Modena, Italy
|
Posted: Tue Nov 09, 2004 5:46 pm Post subject: |
|
|
perfect!
thanks! ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|