You are not logged in.
Hi guys,
under KDE 4 the volume-up, volume-down and mute buttons work fine with the Mixer, but as I'm playing with IceWM a bit now, I'm wondering how to control sound volume there. My buttons are dead and there's no volume widget or anything similar sitting in IceWM's bar.
Any suggestions?
TIA,
Blackhole
Last edited by blackhole (2009-03-11 08:04:00)
Coming closer and closer to the ultimate goal: replacing boring old Windows XP desktop with shiny new Arch KDE 4 desktop. ^^
Already registered? Your vote counts!
Offline
I didn't bother up to now. But you may try aur/icesndcfg (it is i686 only, however, and depends on qt).
These articles might help a bit further
http://www.ofb.biz/article.pl?sid=284
http://www.phrozensmoke.com/projects/ic … /index.php
Nevertheless, I would be interested if you achived any positive results.
To know or not to know ...
... the questions remain forever.
Offline
I didn't bother up to now.
Erm, so you're not using sound???!!! How about watching videos, DVDs etc.?
Coming closer and closer to the ultimate goal: replacing boring old Windows XP desktop with shiny new Arch KDE 4 desktop. ^^
Already registered? Your vote counts!
Offline
icewm has a config file for the key bindings (/home/userename/.icewm/keys)
here is mine as an example
# This is an example for IceWM's hotkey definition file.
#
# Place your variants in /etc/icewm or in $HOME/.icewm
# since modifications to this file will be discarded when you
# (re)install icewm.
#
# A list of all valid keyboard symbols can be found in
# /usr/include/X11/keysym.h, keysymdefs.h, XF86keysym.h, ...
# You'll have to omit XK_ prefixs and to replace XF86XK_ prefixes by
# XF86. Valid modifiers are Alt, Ctrl, Shift, Meta, Super and Hyper.
#
# key "Alt+Ctrl+t" xterm
# key "Alt+Ctrl+f" fte
# key "Alt+Ctrl+e" nedit
# key "Alt+Ctrl+g" gimp
# key "Alt+Ctrl+n" netscape -noraise -remote openBrowser
# key "Alt+Ctrl+b" netscape -noraise -remote openBookmarks
# key "Alt+Ctrl+m" netscape -noraise -remote openURL(mailto:,new-window)
# key "Alt+Ctrl+KP_Divide" aumix -v -5 # lower volume
# key "Alt+Ctrl+KP_Multiply" aumix -v +5 # raise volume
# "Multimedia key" bindings for XFree86. Gather the keycodes of your
# advanced function keys by watching the output of the xev command whilest
# pressing those keys and map those symbols by using xmodmap.
key "XF86AudioLowerVolume" amixer -c 0 set Master 1%-
key "XF86AudioRaiseVolume" amixer -c 0 set Master 1%+
key "XF86AudioMute" amixer -c 0 set Master toggle
key "XF86AudioPlay" mpc toggle
key "XF86AudioStop" mpc stop
key "XF86AudioNext" mpc next
key "XF86AudioPrev" mpc prev
notice how the XF86Audio keys are set to run amixer commands
(for that to work you might need to install amixer, i cant remember if it is something that i installed or if it came with gnome packages)
also i use mpd/sonata for my music player, thats why i use the mpc commands to control my music keys (if you use some other program for music you would probably want to change the commands to correspond with that program)
Last edited by tjwoosta (2009-03-08 17:03:33)
Offline
bernarcher wrote:I didn't bother up to now.
Erm, so you're not using sound???!!! How about watching videos, DVDs etc.?
Nah, I only didn't bother about IceWM specific controls.
Just using alse and pulseaudio in the DAEMONS array which work quite well here.
Sound levels are set to maximum in alsamixer, because I adjust the volumes on external hardware. If ever I need software control I simply fire up alsmixer in an Xterm.
Yet the key bindings solution by tjwoosta looks very promising. If there was a way to bind them to the keyboard function keys (Volume, Mute, etc.) I would probably do so myself. But, as said, I don't really bother.
To know or not to know ...
... the questions remain forever.
Offline
I also use icewm key bindings as tjwoosta pointed up.
On top of that I installed volwheel from community and it does the job very well.
I start it in .icewm/startup as:
/usr/bin/volwheel &
Mektub
Last edited by Mektub (2009-03-08 22:31:30)
Follow me on twitter: https://twitter.com/johnbina
Offline
OK, thanks to all of you guys. I'm gonna try all this in a couple of days, as I'm very busy right now. Exams coming up...
Just one more thing: Quite a few people pointed me towards the IceWM Control Panel http://www.phrozensmoke.com/projects/icewmcp/ now. However I can't find it in AUR. Did I just miss it or did you guys compile it yourself? Who's using this little magic tool?
Coming closer and closer to the ultimate goal: replacing boring old Windows XP desktop with shiny new Arch KDE 4 desktop. ^^
Already registered? Your vote counts!
Offline
I haven't tried it yet as I recently replaced lightweight IceWM by slighty less lightweight Xfce, but the problem stays the same, so I suppose the solution should be the same in IceWM if anyone is interested.
It basically comes down to tjwoosta's solution and manually creating shortcuts for the volume function keys binding them to amixer commands. Check this thread for details on how to do it in Xfce: http://bbs.archlinux.org/viewtopic.php?id=67197
Thanks a lot once more guys. Especially to tjwoosta.
Coming closer and closer to the ultimate goal: replacing boring old Windows XP desktop with shiny new Arch KDE 4 desktop. ^^
Already registered? Your vote counts!
Offline
Changing the volume from within audio/video players is all i need. 'alsamixer' once in a blue moon when i need to change system volume or any of the scripts mentioned but i find no use for them.
Offline