You are not logged in.
Pages: 1
I've been using Arch for about a week. Worked through most issues with the GREAT WIKI !!!
I have my volume up down and mute buttons working. However, I would like a pop up meter showing the changes in volume as I increment the volume. I'm using XFCE as my DE.
Thanks In Advance for any replies
Ronnie
Last edited by triumphguy (2010-12-27 00:01:52)
Offline
Xfce-mixer provides a panel plugin. It might display the volume as you change it via keys. The package is in [extra] so you can install it with "pacman -S xfce4-mixer".
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Yes, xfce-mixer provides a volume icon meter, but for some reason I can not get a pop-up-notification when I change the volume via keys on my Xfce setup as well. Brightness or music player notifications are working just fine. It is not a big deal, but if it can be enabled it would be great.
Respect
Their Momma Made Em, Their Momma Gave em & now she can`t even SAVE`em | My WebLog
Offline
@ViruSzZ
I didn't know. I just thought it was worth a shot. Others must have requested such a pop-up for Xfce-mixer so maybe there's a (hidden) option or a patch somewhere.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I wonder if this https://bugs.archlinux.org/task/21752 is somehow related to this. As I can remember, I downgraded to ver 0.4.5-1.1 in order to get the notifications working back. As for the option, I really did not find any but any thoughts are always welcome and appreciated ..
Respect, take care ....
Their Momma Made Em, Their Momma Gave em & now she can`t even SAVE`em | My WebLog
Offline
I don't think the notify-send problem causes Xfce-mixer not to show volume changes in a popup... Because it never did here.
I change volume using the mouse wheel on top of Xfce-mixer's icon in the panel... The icon represents the current volume (in a rather imprecise way), and there also is a popup with the percentage value when the pointer is left on top of it, which is enough for me.
I'm assuming that by "volume up down and mute buttons" the OP means multimedia keys on his keyboard. If so, maybe changing the Keyboard shortcuts in Xfce settings to launch a self-made script that changes volume and displays the new value would work. (Unfortunately, with notify-send not working, some other way of showing the value would be needed.)
Offline
What about using "Keytouch"?
I used it in the past and it had a volume pop-up notification.
Offline
I've been using the volume script vol.sh since it was posted somewhere in the code section of this forum. Can't find the post so I'll just dump the script here:
$less ~/bin/vol.sh
#!/bin/sh
usage="usage: $0 -c {up|down|mute} [-i increment] [-m mixer]"
command=
increment=5%
mixer=Master
while getopts i:m:h o
do case "$o" in
i) increment=$OPTARG;;
m) mixer=$OPTARG;;
h) echo "$usage"; exit 0;;
?) echo "$usage"; exit 0;;
esac
done
shift $(($OPTIND - 1))
command=$1
if [ "$command" = "" ]; then
echo "usage: $0 {up|down|mute} [increment]"
exit 0;
fi
display_volume=0
if [ "$command" = "up" ]; then
display_volume=$(amixer set $mixer $increment+ unmute | grep -m 1 "%]" | cut -d "[" -f2|cut -d "%" -f1)
fi
if [ "$command" = "down" ]; then
display_volume=$(amixer set $mixer $increment- unmute | grep -m 1 "%]" | cut -d "[" -f2|cut -d "%" -f1)
fi
icon_name=""
if [ "$command" = "mute" ]; then
if amixer get Master | grep "\[on\]"; then
display_volume=0
icon_name="notification-audio-volume-muted"
amixer set $mixer mute
else
display_volume=$(amixer set $mixer unmute | grep -m 1 "%]" | cut -d "[" -f2|cut -d "%" -f1)
fi
fi
if [ "$icon_name" = "" ]; then
if [ "$display_volume" = "0" ]; then
icon_name="notification-audio-volume-off"
else
if [ "$display_volume" -lt "33" ]; then
icon_name="notification-audio-volume-low"
else
if [ "$display_volume" -lt "67" ]; then
icon_name="notification-audio-volume-medium"
else
icon_name="notification-audio-volume-high"
fi
fi
fi
fi
notify-send " " -i $icon_name -h int:value:$display_volume -h string:synchronous:volumeIt uses notify-send, so make sure that's working first.
Last edited by BaconPie (2010-12-26 13:01:49)
Offline
Thanks for that ... I'm at work now so can't see if that works ... I'll be home in less than 2 hours and will check this ... Respect
Their Momma Made Em, Their Momma Gave em & now she can`t even SAVE`em | My WebLog
Offline
Everything is running smooth now (:
@triumphguy, did you manage to get it working? If yes, then we can mark this as SOLVED ....
Peace & Respect Archers
Their Momma Made Em, Their Momma Gave em & now she can`t even SAVE`em | My WebLog
Offline
Thanks for the feedback. I'll mark it SOLVED now.
Offline
I wonder why no-one mentioned xfce4-volumed which is avail in AUR.
No need to hassle with scripts.
Last edited by kwevej (2012-02-11 13:32:52)
Offline
I hate to resurrect old threads, but this shows up for every search for this problem.
The reason to not use xfce4-volumed is that it has stopped all development in 2011. It also did not appear to work for me. (could be that I'm using pulseaudio? I have no intentions of using pure alsa and did not test it)
The script provided requires notify-osd and won't work with other notification daemons. I've rewritten it to work with pulseaudio and to just require the id-patched version of libnotify (libnotify-id or libnotify-id-git on the AUR) so that it works with things like xfce4-notifyd or your notification daemon of choice.
It's available here:
https://github.com/justin8/dotfiles/blo … bin/volume
Offline
Pages: 1