VectorLinux
April 24, 2014, 11:54:43 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: volume control  (Read 3010 times)
brampieke
Member
*
Posts: 34


« on: June 05, 2010, 04:45:49 am »

Hello,

I use vector 6.0 Light and a Dell Inspiron laptop 1501.
My question is how I can change my volume. Normally I've fn-keys for that, but they don't work.
Maybe I could place an applet in my panel to change the volume, but I don't know how to do that.

Thanks


Greetings..
« Last Edit: June 06, 2010, 12:44:31 am by brampieke » Logged
roarde
Vectorite
***
Posts: 488


move the needle


« Reply #1 on: June 05, 2010, 06:07:16 am »

gslapt, obmixer

add to ~/.icewm/startup:
Code:
sleep 2
obmixer &

If obmixer isn't satisfactory on its own at first, make broad adjustments with alsamixer in a terminal.

I use obmixer and it works. I plan to map those fn keys to do the task. Can be done, but I haven't looked at how yet.
Logged

Robert
VL Light 7.0, icewm/spacefm
brampieke
Member
*
Posts: 34


« Reply #2 on: June 05, 2010, 06:13:07 am »

Great, that's good enough!
Thanks

Let me know when you've done it with your f-keys..

greetz
Logged
roarde
Vectorite
***
Posts: 488


move the needle


« Reply #3 on: June 05, 2010, 06:27:38 am »

Let me know when you've done it with your f-keys..

greetz

Dang. Figured you'd be the guinea pig. Ah, well. It's great to get feedback when something is solved. Many miss doing this. Thx.
Logged

Robert
VL Light 7.0, icewm/spacefm
roarde
Vectorite
***
Posts: 488


move the needle


« Reply #4 on: June 17, 2010, 10:44:05 pm »

I haven't even begun to learn xkb, so a hint is all I have to offer. I open a terminal and issue: xev

I press the appropriate keys for volume up and down. Here's what my machine returns:
Volume up:
KeyPress event, serial 33, synthetic NO, window 0x1e00001,
    root 0x41, subw 0x0, time 11284588, (390,-111), root:(393,583),
    state 0x0, keycode 176 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x1e00001,
    root 0x41, subw 0x0, time 11284718, (390,-111), root:(393,583),
    state 0x0, keycode 176 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

And volume down:
KeyPress event, serial 33, synthetic NO, window 0x1e00001,
    root 0x41, subw 0x0, time 11330512, (157,73), root:(160,767),
    state 0x0, keycode 174 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x1e00001,
    root 0x41, subw 0x0, time 11330623, (157,73), root:(160,767),
    state 0x0, keycode 174 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

Short version: here, it's 176 for up, 174 for down.
Logged

Robert
VL Light 7.0, icewm/spacefm
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!