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 Fri 22 Aug 2014, 06:04
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Precise Pup: keyboard combo for volume up/down
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
gychang

Joined: 29 Nov 2008
Posts: 99

PostPosted: Tue 02 Jul 2013, 20:16    Post subject:  Precise Pup: keyboard combo for volume up/down  

am using the latest PPup, excellent, getting hang of it.

editing /root/.jwm/.jwm-personal, I see the codes to control various functions.

is there a way to control the volume?, (alt+up or alt+down) amixer?

would appreciate help.

gychang
Back to top
View user's profile Send private message 
npierce

Joined: 28 Dec 2009
Posts: 858

PostPosted: Wed 03 Jul 2013, 06:37    Post subject:  

gychang wrote:
(alt+up or alt+down) amixer?

Adding these two lines to /root/.jwm/jwmrc-personal and restarting JWM should do that:
Code:
<Key mask="A" key="Up">exec:amixer sset Master 1+,1+</Key>           
<Key mask="A" key="Down">exec:amixer sset Master 1-,1-</Key>

Master might not be the right control for your sound card. If it isn't, you can find the correct name by looking at the controls in amixer, alsamixer, or retrovol.

Note that if applications also use these key combinations, this may interfere with them. If your keyboard has dedicated keys for audio volume control it is better to use them. For more details see this thread: How to set keyboard shortcuts?

The official JWM documetation is here: joewing.net | JWM Configuration: Key Bindings
Back to top
View user's profile Send private message 
gychang

Joined: 29 Nov 2008
Posts: 99

PostPosted: Wed 03 Jul 2013, 09:25    Post subject:  

thanks for your input, adding the suggestion did not work and with terminal command of amixer I get following.

--
Simple mixer control 'IEC958',0
...
--
replacing Master below with IEC958 does not seem to correct the problem...




[quote="npierce"]
gychang wrote:
(alt+up or alt+down)
Code:
<Key mask="A" key="Up">exec:amixer sset Master 1+,1+</Key>           
<Key mask="A" key="Down">exec:amixer sset Master 1-,1-</Key>

Master might not be the right control for your sound card. If it isn't, you can find the correct name by looking at the controls in amixer, alsamixer, or retrovol.
[/url]
Back to top
View user's profile Send private message 
gychang

Joined: 29 Nov 2008
Posts: 99

PostPosted: Wed 03 Jul 2013, 09:25    Post subject:  

thanks for your input, adding the suggestion did not work and with terminal command of amixer I get following.

--
Simple mixer control 'IEC958',0
...
--
replacing Master below with IEC958 does not seem to correct the problem...




[quote="npierce"]
gychang wrote:
(alt+up or alt+down)
Code:
<Key mask="A" key="Up">exec:amixer sset Master 1+,1+</Key>           
<Key mask="A" key="Down">exec:amixer sset Master 1-,1-</Key>

Master might not be the right control for your sound card. If it isn't, you can find the correct name by looking at the controls in amixer, alsamixer, or retrovol.
[/url]
Back to top
View user's profile Send private message 
npierce

Joined: 28 Dec 2009
Posts: 858

PostPosted: Wed 03 Jul 2013, 10:17    Post subject:  

How do you normally adjust the volume? alasmixer? retrovol? The speaker icon in the tray? Something else?

What is the name of the control you normally use? (If you use the speaker icon in the tray, right-click on the icon and choose Full Window to see the names of the controls.)

By the way, until you find the correct control, it may be easier to test the commands from the terminal, rather than editing jwmrc-personal and restarting JWM each time. For example:
Code:
amixer sset Master 1+,1+

Then after you get the command to work, you can edit jwmrc-personal to get the arrow keys to work.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0553s ][ Queries: 11 (0.0060s) ][ GZIP on ]