You are not logged in.
Hi there,
I've wrote a little application which lets you control the volume (providing you use ALSA) easily through a tray icon you can scroll on. It is somehow an improvement of gvtray, except that it is written from scratch in perl.
Go get it on AUR : http://aur.archlinux.org/packages.php?d … 1&ID=13764
Please report any bug or wished feature
Offline
Wow!!!
Is this coincidence or what!!!! I was looking for such an app which I could use with my Fluxbox environ. In fact, just today I was beginning to code one for myself (in wxpython).
U saved me a bit of coding!
March Linux : An Arch Linux "distrolet" that I am trying to develop (March = My Arch!)
Please take a look......:)
Offline
Thank you very much, oliwer. This is great!
thayer williams ~ cinderwick.ca
Offline
Not a moment too soon, this was the only thing I missed from gnome that I wasn't able to get in openbox.
Offline
VolWheel v.0.2.1 is available on AUR
The mute bug should be fixed : all channels can now be muted, even thoses that cannot be through ALSA. Here is how it works : when you mute (middle-click) a channel like 'Master' which cannot be muted by amixer, VolWheel will set its volume to 0%. When unmuting it, VolWheel puts back volume to 75% (you can change this at line 70 of the source). I'll look forward later to make a function to remember the volume level before muting, so that it can restore the volume to its previous level when unmuting.
Bonus : an improved menu and some code clean up.
Enjoy
Offline
Thanks again, the new version is working great.
thayer williams ~ cinderwick.ca
Offline
A great and welcomed initiative! Works great, so I hope it'll get a lot of votes.
Thanks!
Offline
Just an FYI that I did a small writeup about VolWheel:
http://www.cinderwick.ca/notebook/volwh … st-desktop
You will become famous now that all 3 of my website visitors will see this article LOL
thayer williams ~ cinderwick.ca
Offline
Thanks a lot for the advertising ! You surely presented VolWheel better than me.
I am completly rebuilding oliwer.net, so VolWheel should soon have its own page. Maybe i'll just c/p your post
Offline
After building volwheel, the following happens when I try to run it:
Can't locate Gtk2.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i686-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) at /usr/bin/volwheel line 22.
BEGIN failed--compilation aborted at /usr/bin/volwheel line 22.
Todays mistakes are tomorrows catastrophes.
Offline
Awesome little app, thanks alot for this one!
| ruskprick @ irc | simple is smart |
Offline
personally i dont need this, cause i like to stick to the terminal as much as possible (screen) and not be dependent on X applications, but it looks like a very nice app! and im sure alot of people will like it keep up the good work m8!
A w e s o m e
r
c
h
Offline
After building volwheel, the following happens when I try to run it:
Can't locate Gtk2.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i686-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) at /usr/bin/volwheel line 22. BEGIN failed--compilation aborted at /usr/bin/volwheel line 22.
Perl module packaging is problematic on Arch. Try uninstalling then reinstalling the gtk2-perl package.
Thanks to all for your support.
@ramoneur : you masochist
Offline
Hello! I'm trying to use volwheel, but after install, when put:
bash-3.2$ volwheel
It shows this error:
amixer: Unable to find simple control 'PCM',0
amixer: Unable to find simple control 'PCM',0
What am I doing wrong? Volwheel works alone or I need to use with a panel (fbpanel,pypanel,etc..)?
Offline
Ok, now I realize that I need a panel to volwheel. I'm using pypanel and it shows a tray icon.
But now I have another problem: my computer has a 5.1 sound system and I want to use something like a Master Channel to control all others channels. I don't want to adjust the channels one by one (front,left,right....etc). Something like "One channel to rule them all", like the volume mixer in gnome-panel.
Is this possible with Volwhell? Because I really like this app.
Offline
I take it that the Master channel doesn't work on your setup? I've never used 5.1 on a computer, so I wouldn't know where to begin. I'm assuming you have checked the VolWheel preferences window and made sure you aren't controlling the PCM volume or something.
Last edited by thayer (2007-12-07 15:34:12)
thayer williams ~ cinderwick.ca
Offline
Hi there,
I never used 5.1 either. Yet, I don't think it changes a lot of things. Try setting VolWheel's channel to "Master" or "Surround". You can also use mixers like gnome-alsamixer or simply alsamixer to test each channel and see (hear) which one is the best for you.
Also : the next version of VolWheel will have an error message when there is no systray manager available
Offline
Volwheel doesn't work with perl package from testing (5.10.0-1). It worked well with perl 5.8.8-9.
This is the error i get:
arqon ~ > volwheel
perl: symbol lookup error: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/auto/Glib/Glib.so: undefined symbol: Perl_Tstack_sp_ptr
edit:
here is the reason: http://bugs.archlinux.org/task/9078
Last edited by darkarchon (2008-01-10 20:39:07)
Offline
@darkarchon - Maybe you should stop using testing packages?
@oliwer - I love it! Runs smoothly, no errors. I do have a request though: Could you and bruenig combine projects? Something that would display a percentage bar when the volume changes as well as parameters that could be called upon for changing the volume via keybindings.
changevol + volwheel = really really good lightweight volume controller! I await the day
Offline
Is it gnome only?
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
@zenix - no, i like when things get broken like this :]
Offline
I guess your right zenix, I'm going to implement some of changevol functionalities. Concerning the splash, I was wondering if someone was interested in using OSD instead of GTK. It would be easy to implement both in VolWheel.
I am also thinking about a trayicon which would change following the volume level, so you can see immediately if the volume is high, low or mute. But that will come later since I don't have much skills in icons design.
Ho, and I contacted Sergej who will soon make perl-gtk2-trayicon work with Perl 5.10.
Last edited by oliwer (2008-01-13 20:27:12)
Offline
Hi!
Love your app, it works great!
But is it a way to set the volume start level. Everytime I reboot the volume jumps up to
90% and that is an accident just waiting to happen.
Offline
Hi!
But is it a way to set the volume start level. Everytime I reboot the volume jumps up to
90% and that is an accident just waiting to happen.
Yeah. I thought the same thing. So I made a highly modified version of Volwheel for my own use that:
- when unmuted (from either real mute or SiMute), the volume is returned to the same volume as set at the moment of muting. This behavior is different (and safer) than the unmodded Volwheel which returns the volume to a preset (high) level of ~75% when in simulated mute mode.
- allows for static (single) icon mode just like the unmodded version
- allows dynamic (multi / animated) icon mode with these icon features:
-- icon indicates volume level @ 0%, 1-20%, 21-40%, 41-60%, 61-80%, 81-100%
-- level indicator changes color @ 81-100% as an additional warning
-- mute indicator for real mute
-- different mute indicator for SiMute (simulated mute using volume level with cards or controls that don't support 'real' mute)
- automatic detection of alsa controls that can have their volume / level changed (these are made available in a GUI drop-down menu for easy selection by user)
- file chooser dialogs for setting mixer, single icon path, and dynamic icons folder
- user-selectable mouse button for launching alsa mixer (left or middle button)
- user-selectable volume increments from 1-10%
- user-selectable mute modes: a) disable level change via scroll when mute is in effect or b) enable scroll while mute is in effect
- all changes made via the GUI preferences are immediate upon saving (including icon mode switching) ... no restart of app required
- other stuff I forgot
Screenshot attached ... the modded Volwheel icon (in dynamic mode) is the one with two music notes and two blue dots (the dots are the level indicator, in this case two dots indicate volume between 21-40%.)
It's mostly ready for prime time (need to complete the help information and I might implement a couple more features), but my biggest concerns are:
1. I still consider my code to be Oliwer's project even though my code hardly has any resemblance to the original anymore
2. I have no time (and likely, no expertise) to provide support if I were to upload it for others to use
3. Though I am comfortable with some other languages, I only learned enough Perl and Gtk2 to get this project to work, so it is likely not a very polished bit of code (aesthetically)
4. I probably will regret even making this post
Last edited by MrWeatherbee (2008-03-14 21:24:17)
Offline