You are not logged in.
Hey guys,
While setting up my new BL laptop I ran into a few snags. I'm trying to document what worked for me along the way. Hope this helps someone else!
Ok, first off, my laptop is a Razer Blade and it doesn't have typical multimedia keys. I have to use the Fn key with F1/F2/F3/etc. I am using sid, but I had this same problem with Jessie. Just something to keep in mind!
First off, for me, mute was working (fn + f1). My volume down and volume up keys were not.
You'll notice in the default BL ~/.config/openbox/rc.xml there is an entry for XF86AudioMute but nothing for XF86AudioRaiseVolume or XF86AudioLowerVolume. Let's add those now. Open up rc.xml and just below the entry to XF86AudioMute, we'll add two more entries. I'll paste the contents that worked for me here, including the XF86AudioMute portion just for some added clarity.
<keybind key="XF86AudioMute">
<action name="Execute">
<command>amixer set -D pulse Master toggle</command>
</action>
</keybind>
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<command>amixer -q sset Master 2%+ unmute</command>
</action>
</keybind>
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
<command>amixer -q sset Master 2%- unmute</command>
</action>
</keybind>
You'll notice we're changing the volume with amixer. If you try running either of the commands associated with raising or lowering the volume in a terminal window, you should see a change in system volume. If not, investigate that problem before moving on.
After setting up your rc.xml file, run
openbox --reconfigure
and double check for any errors or issues you need to fix now.
Ok, great, does it change the volume? It didn't for me. I noodled around with 'xev' and all kinds of troubleshooting, however, the final fix was simple:
sudo apt-get install acpid
sudo systemctl enable acpid
Follow that up with a reboot and (if you're lucky) your keys will work.
Offline
Thanks a thousand times for sharing this! This helped me out as I had the exact same issues as you described.
I'm using an ASUS UX32L and it now works perfectly.
May I ask if you had similar issue with brightness up/down? It doesn't work for me and I have tried adding XF86MonBrightnessUp/XF86MonBrightnessDown with xbacklight +10/xbacklight -10 but no success so far
Last edited by nikkop (2016-08-02 19:12:29)
Offline
You're welcome!
I'm not sure about the brightness - I think those worked "out of the box" for me but I no longer have that laptop
Offline
Please see here for the "official" solution to volume issues:
https://forums.bunsenlabs.org/viewtopic.php?id=2266
That should make editing of rc.xml unnecessary and fix the "sticky mute" issue and other annoyances people have been reporting.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
^ Unless, of course, someone is using an old-skool keyboard that doesn't have volume keys. I'd be happy to repost the snippet from my rc.xml to work around this, as I'm sure I'm not the only user with a 104 keyboard...unless someone knows of an easier workaround?
Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009
Offline
...unless someone knows of an easier workaround?
You can change volumeicon's key bindings to taste, via the GUI (click the key name) or in ~/config/volumeicon/volumeicon.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
^ That's just too coool. Finally trying BL again for the first time since before the first update images; looking really good.
Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009
Offline