LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-31-2006, 07:13 PM   #1
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
sound control in fluxbox


is there anything that I can use to control the sound level in fluxbox? when I was using KDE, I used KMix, and just adjusted the volume that way, is there something similar for fluxbox? I'd like it to sit down in the corner, next to the clock, like gaim and azureus do
 
Old 01-31-2006, 09:23 PM   #2
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
aptitude install mixer.app

Or, if you use ALSA, you can run alsamixer in a terminal window.
 
Old 01-31-2006, 10:12 PM   #3
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
is there something more similar to just a simple vol. up/vol. down program? I don't want something that big either
 
Old 02-01-2006, 07:53 AM   #4
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Quote:
is there something more similar to just a simple vol. up/vol. down program? I don't want something that big either
Mixer.app isn't really that big... Personally I find dockapps very convenient.

Anyway, you could use amixer (that is included in the alsa-utils package) by associating it with some keybindings in fluxbox. This way you don't need to install any extra applications -- just hit the associated keys to increase or decrease sound volume. The file to edit is ~/.fluxbox/keys. Some documentation can be found here: http://fluxbox.sourceforge.net/docbo...html/c289.html

The amixer command to increase sound volume is: amixer set Master 1+
The amixer command to decrease sound volume is: amixer set Master 1-
 
Old 02-01-2006, 10:17 AM   #5
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
will amixer work even if I don't use alsa? The driver for my soundcard is under the OSS section in the kernel, so that's what I used. I'm not sure if I could use alsa or not, I'm not even fully sure what alsa is. By big, I meant is seems really big on the screen, it's a big box(as opposed to disk usage wise).
 
Old 02-01-2006, 11:45 AM   #6
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Amixer comes with ALSA, so it's very unlikely that it works with OSS.

I don't know that many mixer applications, mixer.app is what I use myself.

Quote:
By big, I meant is seems really big on the screen, it's a big box(as opposed to disk usage wise).
Are we talking about the same application? Here's a picture showing Mixer.app: http://www.fukt.bth.se/~per/mixer/

And here's a screenshot that shows what Mixer.app looks like in 1024x768 screen: http://www.lynucs.org/index.php?scre...6d6c0&p=screen

Mixer.app is a "dockapp" that starts in fluxbox's "slit" and, IIRC, you can configure slit applications to automatically hide and only show up when you move the mouse cursor to the edge of the screen.
 
Old 02-01-2006, 03:09 PM   #7
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
yes, it's the same app. Ok granted, it's not big per se, but it's bigger than what I'm looking for. The bar on the botton, where the workspace name is given and where the clock is located is where I'd like this located, down next to gaim. Will kmix do this?
 
Old 02-01-2006, 05:10 PM   #8
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Quote:
The bar on the botton, where the workspace name is given and where the clock is located is where I'd like this located, down next to gaim. Will kmix do this?
No idea. You must try it yourself.

If you use gkrellm, it has a "gkrellm-volume" plugin that does pretty much the same thing as Mixer.app.
 
Old 02-01-2006, 06:26 PM   #9
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
kmix does work like this. I like te idea of keybindings though, can kmix function this way? or is there something for OSS?
 
Old 02-01-2006, 07:18 PM   #10
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
Quote:
Originally Posted by microsoft/linux
yes, it's the same app. Ok granted, it's not big per se, but it's bigger than what I'm looking for. The bar on the botton, where the workspace name is given and where the clock is located is where I'd like this located, down next to gaim. Will kmix do this?

yes it will. it even has the little volume slider so you don't have to open the whole panel all the time.

aumix is another good little mixer, but afaik it doesn't dock anywhere.
 
Old 02-01-2006, 07:48 PM   #11
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
With aumix you can bind these commands to some keys:

raise sound volume: aumix -v +5
lower sound volume: aumix -v -5
 
Old 02-01-2006, 09:27 PM   #12
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
what do I need to put to get the PageUp key recognized by .fluxbox/keys? Alt=Mod1, Control = Ctrl, what's PageUp, and PageDown?
 
Old 02-02-2006, 07:38 AM   #13
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Quote:
what do I need to put to get the PageUp key recognized by .fluxbox/keys? Alt=Mod1, Control = Ctrl, what's PageUp, and PageDown?
I don't have fluxbox installed at the moment, so I cannot test if this works, but you could try the key names that xmodmap uses in its keymap tables:

PageUp --> Prior
PageDown --> Next
 
  


Reply



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
Fluxbox error /usr/share/fluxbox/nls/en_GB/fluxbox.cat humbletech99 Debian 2 12-29-2005 10:16 AM
Control Center In Fluxbox? kimothy Linux - Newbie 8 07-28-2005 02:37 PM
Sound control weirdness - must use Yast to get sound SlowMindThinkin SUSE / openSUSE 4 12-23-2004 02:25 PM
Xandros delux 2.0 When I try to run Sound server Control ,Media Player & Sound Record Jesta Linux - Distributions 0 05-15-2004 09:35 PM
Sound Control?????? jale2ice Linux - Newbie 4 08-17-2002 11:49 PM

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

All times are GMT -5. The time now is 03:37 AM.

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
Open Source Consulting | Domain Registration