Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 21 Oct 2014, 11:24
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Audio
Volume controls (buttons of my laptop) doesn't work
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message

Joined: 29 Jan 2014
Posts: 23

PostPosted: Mon 13 Oct 2014, 18:32    Post_subject:  Volume controls (buttons of my laptop) doesn't work
Sub_title: on LxPupp 14.02 (precise puppy+LXDE)

Hello everyone

I have this problem only with "LxPup 14.02", because "Precise Puppy" or other "puppy" systems everything works perfectly.

Currently I have sound on my computer, and the speaker icon in the taskbar functions and can properly raise and lower the volume from the taskbar.

The problem is that the hotkeys of my notebook for volume do not work, ie: FN + (arrow) keys +/- and MUTE key.

How I can tell the OS that those keys do what they should do?

I'm sending you a report of my current laptop hardware (generated by the Hardinfo app)

Sorry for my English, I used google translator
Description  Hardware Report

Filename  hardinfo_report.html.tar 
Filesize  110 KB 
Downloaded  4 Time(s) 
Back to top
View user's profile Send_private_message 

Joined: 21 Sep 2008
Posts: 1460
Location: Malvern, Worcs, UK

PostPosted: Tue 14 Oct 2014, 14:31    Post_subject: Openbox key bindings  

LxPup uses Openbox. see http://wiki.lxde.org/en/LXDE:Questions#Modify_mouse.2Fkeyboard_bindings

Key bindings for Openbox are stored in /etc/xdg/openbox/rc.xml

You therefore need to edit that file to add bindings that link the keys on your laptop to the correct sound commands.

The file has an example for the Print Screen key.

The sound commands are:
amixer set Master 10%-
amixer set Master 10%+
amixer set Master toggle

You can use xev in a terminal to obtain the keycodes - run xev then press a key - read the keycode in decimal and convert it to hex.

Example: for my HP laptop the sound keys are Fn+f11 to decrease, Fn+f12 to increase, so the entries to put into rc.xml are:
  <!-- Keybindings for Sound Adjust -->
    <keybind key="0xAE">
      <action name="Execute">
          <name>Decrease sound</name>
        <command>amixer set Master 10%-</command>
    <keybind key="0xB0">
      <action name="Execute">
          <name>Increase sound</name>
        <command>amixer set Master 10%+</command>
Fn+f11 = decrease=174 = 0xAE
Fn+f12 = increase=176 = 0xB0

Restart the window manager after making the changes.

Not tested so will be interested to know if it works for you.


LxPup-14.10 = Puppy + LXDE
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Hardware » Audio
Jump to:  

You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0444s ][ Queries: 12 (0.0032s) ][ GZIP on ]