tray-mixer-0.1

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

tray-mixer-0.1

#1 Post by disciple »

I was looking for a better tray volume app than absvolume, and found this.
It isn't really "better", but is different, and the guys who have looked/are looking at tray volume apps may be interested.
It is from Mandriva and is new, so there may be improved versions some time.
The .tar.gz is the source.

Run it with

Code: Select all

tray_mixer
Like absvolume:
+It is GTK
-Scroll wheel only works after clicking the icon

Unlike absvolume:
-The slider doesn't close when it loses focus - you have to click the icon again (Earlier versions of Absvolume were like this too).
+It seems more stable (but I haven't tested extensively)
+-It has a checkbox for muting. This makes the slider window too big, so it looks bad. It would be better if it was in the right-click menu.
-It doesn't have a function to bring up a mixer. I think this would be quite easy to add to the right click menu.
+It has a close option in the right click menu.
-It currently pops up in the wrong place with JWM - i.e. the bottom is behind the taskbar.
+We don't need to tell the window manager not to put it in the task list - it does it itself.

EDIT - sorry forgot the source.
BTW I had trouble extracting the rpm and had to use 7-zip in Windows.

HAHA - I just noticed an hilarious bug in the GTK file selector thing - when I'm choosing a file to attach if I double click on a button at the top in the location bar thing, everything in that location gets put in the list twice :)

EDIT - sorry the "file comment" doesn't seem to be working. For the source package I said something like:
"Not everything in here will compile, but the tray_mixer will. `make install` may mess up your system - on Grafpup 2.01 it put all the executables in the GTK theme selector's theme list :shock: - all it does is strip and copy the files to the same place as in the .pet, so you can do it manually"
Attachments
tray-mixer-0.1.pet
(7.5 KiB) Downloaded 508 times
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#2 Post by amigo »

Thanks for that. Funny you mention absvolume -I emailed the abs guy asking where to get the sources for that or anything else included in absolute -no answer. Another open-source 'hero'...

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#3 Post by disciple »

Sorry - I was referring to the version of absvolume that HairyWill hacked into a tray app for Puppy 4.x
http://www.murga-linux.com/puppy/viewto ... 21&t=27356
If you're after the original sources maybe ask HW where he found them.

One thing I missed in my comparison is that tray-mixer-0.1 only has on/off icons, whereas HW's absvolume has different icons to indicate volume levels.

Also, this is the guy that made tray-mixer - but it looks like he posts updates straight to the Mandriva repository, and doesn't mention them on his blog or anything.
http://helllabs.org/
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#4 Post by HairyWill »

@Amigo
Disciple has already linked to where my source is. Paul Shermans source can be found by typing absvolume into google and taking the first hit. If you want to invoke open source rights then you should contact the person that supplied you with the binary software, Barry I presume. I hacked Paul Sherman's work considerably, I probably should have renamed it.

@Disciple
This looks interesting, if it is better at coping with odd soundcards then maybe the features of the two apps could be merged. I have said before that gtk seems quite expensive for an application that is running constantly. I did look for a while at some afterstep controls which are pure xlib.
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#5 Post by 01micko »

@disciple
Thankyou! Needed that one. :D Does exactly what I want. Installed in no time. I dropped a symlink into my /root/Startup/ directory. Do you think that was necessary? Starts fine at bootup.
I will be using it extensively. I'll let you know how it goes.
For the record I'm on an IBM Thinkpad R31, Celeron 1066MHz, 512 Ram, Intel18x0 sound, Puppy 4.1, Icewm, Live CD, save to ntfs.
Puppy Linux Blog - contact me for access

User avatar
droope
Posts: 801
Joined: Fri 01 Aug 2008, 00:17
Location: Uruguay, Mercedes

#6 Post by droope »

Could this work in fluxbox?

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#7 Post by 01micko »

droope said
Could this work in fluxbox?
Why not give it a try?
Puppy Linux Blog - contact me for access

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#8 Post by disciple »

Could this work in fluxbox?
It will if fluxbox has a system tray and you have it turned on.
Thankyou! Needed that one.
Was absvolume not working for you?

HairyWill - this shows up with the bottom below the jwm taskbar. You hacked absvolume to add a blank bit to workaround this, but that means it looks funny with other taskbars (and I guess if a user resizes the jwm taskbar). Do you think it would be easy to add a parameter to specify how high to display it? Or even just check if we are running jwm or something different?
Last edited by disciple on Thu 20 Nov 2008, 10:17, edited 1 time in total.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#9 Post by HairyWill »

Specifying the blank space by parameter should work.
If you wanted to test which windowmanager was running then cat /etc/windowmanager.
There is still a problem if the taskbar is at the top or sides of the screen.
I think that pizzasgood said he wanted to included a trayapp as part of the mixer he is working on.
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#10 Post by disciple »

Yeah he did, although I can imagine it being a long time before that's done :)
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#11 Post by 01micko »

disciple said
Was absvolume not working for you?
In Icewm I was having trouble trying to get absvolume to display in the tray next to blinky. I found tray_mixer worked first go and has been working ever since without a problem. And I do use it extensively.

Post Reply