Fluxbox Mixer Osd
Being minimalistic, fluxbox is already uber cool. Special key for turning volume up/down or toggle can be mapped in .fluxbox/keys. but there’s no visualization system yet. Don’t wrry be happy, there’re many bash script out there. All we need is a cli-fied osd, and off we go.
None 176 :exec osdctl -b Volume,`amixer set Master 3%+| grep Left: | awk ‘{gsub(/\[/," "); gsub(/%\]/, ” “); print $5}’`None 174 :exec osdctl -b Volume,`amixer set Master 3%-| grep Left: | awk ‘{gsub(/\[/," "); gsub(/%\]/, ” “); print $5}’`!None 174 :exec amixer -q set Master 3%-None 160 :exec osdctl -s “Sound: `amixer set Master toggle| grep Left: | awk ‘{gsub(/\[/," "); gsub(/\]/, ” “); print $7}’`”
You can found osdctl (osdsh package) here. You need to fire up osdsh before you can sue osdctl. I guess we can put it in our startup file.
Powered by ScribeFire.
Sphere: Related Content
2007
29
May
- Posted by Akhmad Fathonih at 02:18 pm
- Permalink for this entry
- Filed under: Dev Hours, Open Source
- RSS comments feed of this entry
- TrackBack URI








No comments
Leave a comment