LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-14-2008, 02:06 AM   #1
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
change volume in fluxbox


Hey

I started using fluxbox just now .... its all working fine for me . The only problem for me is that I can't change volume using any keyboard shortcuts .. I have to alt-tab to audacious and then change volume

Is there any command line command to increase / decrease volume ? So that I can set up a shortcut key for it ?

A simple script can do this if audacious is running ... but I was hoping to setup something that doesn't require audacious.
 
Old 04-14-2008, 02:39 AM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,594

Rep: Reputation: 125Reputation: 125
"aumix -v-5" or "aumix -v+5" change the volume up and down five percent for me.
 
Old 04-14-2008, 09:22 AM   #3
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
Hey

That doesn't work for me .. it says mixer not found .. maybe it only work thru OSS ? I have removed OSS from my kernel and use only alsa. .. are you aware of anything for alsa ?

Its kinda weird that alsamixer doesn't allow me to do this , imho.

Last edited by duryodhan; 04-14-2008 at 09:23 AM.
 
Old 04-14-2008, 10:40 AM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
You can probably do this for changing ALSA volumes on the command line:

Code:
amixer set Master 2dB+
That increases Master volume by 2dB.

Read 'man amixer' for more.
 
Old 04-14-2008, 03:23 PM   #5
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,594

Rep: Reputation: 125Reputation: 125
Quote:
Originally Posted by duryodhan View Post
Hey

That doesn't work for me .. it says mixer not found .. maybe it only work thru OSS ? I have removed OSS from my kernel and use only alsa. .. are you aware of anything for alsa ?

Its kinda weird that alsamixer doesn't allow me to do this , imho.
I'm not sure how it works. I have not removed OSS, so it is possible that aumix uses alsa's OSS compatibility mode
 
Old 04-15-2008, 07:54 AM   #6
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
Thanks a lot H_TEXMEX_H , it worked.

titopoquito : I think it uses OSS ... even the XFCE vol control doesn't work on my current kernel .. I need to use ALSA

Last edited by duryodhan; 04-15-2008 at 08:01 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyboard volume knob configuration-cannot change volume. Ariox Ubuntu 1 03-22-2007 02:06 PM
change volume using console welery Linux - Software 5 02-05-2005 05:37 PM
How to change volume with mplayer WindowsBurner Linux - Software 1 12-10-2003 12:38 PM
system volume w/ fluxbox infamous41md Linux - Newbie 1 06-06-2003 03:14 PM
how do i change system volume? ShawnD Linux - General 3 09-01-2002 12:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration