A nifty little trick for Openbox Arch

Since Arch requires you to set up alsa as a separate daemon, I generally don’t. Really, a daemon that just writes the volume levels on startup and shutdown? Mmm … nah.

Instead, I run without alsad — the downside being that my volume levels are muted and set to zero each time I boot. In a way that’s a good thing, since I don’t accidentally start up Audacious at a terribly loud setting at 1 a.m., infuriating my fellow apartment-dwellers.

On the other hand, opening alsamixer all the time to set the volume is a pain. Solution: Openbox’s right-click menu and a two-line script.

Put this into a small text file, and call it anything — volumes.sh is what I use.

amixer sset Master 80% unmute
amixer sset PCM 30% unmute

Now set your Openbox menu to run the script, either with an sh prefix or by making the file executable. Reconfigure Openbox, and now you can spike your volume levels to a preset level after each boot, from the right-click menu. ;)

About these ads

0 Responses to “A nifty little trick for Openbox Arch”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Visit the Wiki!

Some recent desktops

May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF

May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games

Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers


This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,963,431 hits



Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: