Keyboard Shortcut for Changing Volume

Erik Harrison erikharrison at gmail.com
Fri Feb 2 06:26:29 CET 2007


On 2/2/07, shadowkernel <shadowkernel at gmail.com> wrote:
>
>
> Erik Harrison wrote:
> > On 2/1/07, Auke Kok <sofar at foo-projects.org> wrote:
> >
> >> shadowkernel wrote:
> >>
> >>> Hi everyone,
> >>>
> >>> I want to use CTRL+ALT+UP or DOWN to increase or decrease the sound card
> >>> volume. I have looked alsa-utils and xfce4-mixer but did not find useful
> >>> interfaces for doing so. Would anyone please tell how to finish this
> >>> task? When playing a movie under full screen, this is very useful to me.
> >>>
> >> just create a new shortcut in the keyboard shortcuts settings panel. You can
> >> bind ctrl-alt-up and down to any shell command. You just have to figure out
> >> which ones that are for alsa, cos I have no clue :)
> >>
> >
> > $ man amixer
> >
> >
> Thanks. I have tried alsamixer and it seems not to provide interfaces.
> amixer provides interfaces.
>
> amixer  sset Master VOLUME
>
> So the next step is to write a simple script to run amixer in some way
> when key pressed.
>
> Please allow me to another question. I want a volume bar to be displayed
> in the center of the screen when adjusting volumes, but not in the panel
> because it is too small. What should I do?

Not quite sure, really. If anyone knows of a tool to script OSD stuff,
I would appreciate knowing, but that's outside the scope of Xfce.

>
> Thanks in advance.
> >> Cheers,
> >>
> >> Auke
> >> _______________________________________________
> >> Xfce mailing list
> >> Xfce at xfce.org
> >> http://foo-projects.org/mailman/listinfo/xfce
> >> http://www.xfce.org
> >>
> >>
> >
> >
> >
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce
> http://www.xfce.org
>


-- 
Erik

<@kazin> why does php have 'echo' and 'print'?  Do they do different things?
<Bluefoxicy> kazin:  echo prints in a big empty room



More information about the Xfce mailing list