You are not logged in.

#1 2012-02-22 17:49:49

Sample
Member
Registered: 2012-02-20
Posts: 11

[ SOLVED ] Volume control icon for Openbox ?

Hello, everybody smile

Can anybody recommend or simply suggest some kind of volume control which can be added to tray ( i.e., clickable icon with a pop-up volume bar ) ?

I have been looking for this all over the net ( Google ) with no success.

Thanks in advance!

Last edited by Sample (2012-02-22 18:11:59)

Offline

#2 2012-02-22 17:55:14

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: [ SOLVED ] Volume control icon for Openbox ?

Hmm, you looked everywhere, but did not think to just type "volume" into the search bar on tha Arch page?

http://www.archlinux.org/packages/commu … olumeicon/

Offline

#3 2012-02-22 18:06:56

Sample
Member
Registered: 2012-02-20
Posts: 11

Re: [ SOLVED ] Volume control icon for Openbox ?

Gusar wrote:

Hmm, you looked everywhere, but did not think to just type "volume" into the search bar on tha Arch page?

http://www.archlinux.org/packages/commu … olumeicon/

Stupid me!  sad big_smile Thanks.

Do you know if it is possible to change the icon style ? It is almost invisible on my black panel.

Offline

#4 2012-02-22 18:09:17

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: [ SOLVED ] Volume control icon for Openbox ?

I'd recommend volwheel

Edit: Changing the icon is almost as simple as changing a bunch of .png pictures or simply selecting different options from the preference menu. You can also set any static image. "Easily" hackable as it's written in perl.

Last edited by Earnestly (2012-02-22 18:11:23)

Offline

#5 2012-02-22 18:11:18

Sample
Member
Registered: 2012-02-20
Posts: 11

Re: [ SOLVED ] Volume control icon for Openbox ?

Kaustic wrote:

I'd recommend volwheel

Edit: Changing the icon is almost as simple as changing a bunch of .png pictures. You can also set any static image. "Easily" hackable as it's written in perl.

Exactly what I was looking for. Thank you smile

Offline

#6 2012-02-22 18:12:11

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: [ SOLVED ] Volume control icon for Openbox ?

No problem, glad to help.

Last edited by Earnestly (2012-02-22 18:13:04)

Offline

#7 2012-02-22 18:16:58

spark666
Member
Registered: 2011-05-23
Posts: 137

Re: [ SOLVED ] Volume control icon for Openbox ?

Try pnmixer from aur,the best in my opinion,u can choose the icon,set special keys for volume control,scrol whit mouse over the icon to change volume,works whit both alsa and pulseaudio.Give it a try,u wont regret it. smile

Offline

#8 2012-02-23 00:35:49

rockin turtle
Member
From: Montana, USA
Registered: 2009-10-22
Posts: 227

Re: [ SOLVED ] Volume control icon for Openbox ?

I use the mouse wheel to adjust volume.  If you have alsa-utils installed, there is no need to install any other packages. Just edit your rc.xml file to include the following:

<mouse>
  ...
  <context name="Desktop">
    <mousebind button="Left" action="Click">
      <action name="Execute">
        <command>amixer sset Master toggle</command>
      </action>
    </mousebind>
    <mousebind button="S-Right" action="Click">
      <action name="Execute">
        <command>amixer sset Master unmute</command>
      </action>
    </mousebind>
    <mousebind button="S-Up" action="Click">
      <action name="Execute">
        <command>amixer sset Master,0 1+</command>
      </action>
    </mousebind>
    <mousebind button="S-Down" action="Click">
      <action name="Execute">
        <command>amixer sset Master,0 1-</command>
      </action>
    </mousebind>
    ...
  </context>
</mouse>

To use this, just move your mouse cursor to the desktop (not on any window), press the shift key and then the mouse wheel will adjust the volume. A left button click on the desktop will toggle mute/unmute and a shift-right click will unmute.

I use the mouse wheel to change workspaces, that is why I use shift-wheel to change volume. You could use the wheel (instead of shift-wheel) to change volume by doing

    <mousebind button="Up" action="Click"> ... </mousebind>
    <mousebind button="Down" action="Click"> ... </mousebind>

Last edited by rockin turtle (2012-02-23 00:37:19)

Offline

#9 2012-02-23 00:45:27

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: [ SOLVED ] Volume control icon for Openbox ?

And this is one of the reasons I love Linux.

Offline

#10 2012-07-25 04:22:20

jaydoc
Member
From: Chennai/Birmingham,AL
Registered: 2008-12-30
Posts: 89

Re: [ SOLVED ] Volume control icon for Openbox ?

rockin turtle wrote:

I use the mouse wheel to adjust volume.  If you have alsa-utils installed, there is no need to install any other packages. Just edit your rc.xml file to include the following

This is so nice and it would be a nice addition to the openbox archwiki page. Just my 0.02$.


It takes a very unusual mind to undertake the analysis of the obvious - A N Whitehead

Offline

#11 2012-07-25 08:39:42

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [ SOLVED ] Volume control icon for Openbox ?

https://wiki.archlinux.org/index.php/Op … me_control

The history page says it was added in September 2011, almost a year ago...


This is what I use in rc.xml (Ctrl+Up/Down) and "> /dev/null" so that it doesn't spam my tty every time I change the volume.

    <keybind key="C-Up">
      <action name="Execute">
        <command>amixer set Master 5%+ > /dev/null</command>
      </action>
    </keybind>
    <keybind key="C-Down">
      <action name="Execute">
        <command>amixer set Master 5%- > /dev/null</command>
      </action>
    </keybind>
  </keyboard>

"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

Board footer

Powered by FluxBB