Mini-volume icon gone from tray after installing IceWM
Mini-volume icon gone from tray after installing IceWM
Everything was well until I decided to install Icewm into puppy linux. After the installation my mini-volume and freememory applet were gone from the tray.
I installed latest version of freememaplet and used startup script to recover it to tray. So that went well.
But I still have this nagging problem that I can't get my mini-volume back in the tray where it belongs.
I added something to the startup script so the mini-volume appears in the left corner above when linux starts up but that is very annoying, and I just can't seem to get it back to the tray.
Please HELP!
Here's my startup script:
#!/bin/sh
# this script is executed by starticewm when IceWM starts
killall icesound
icesound &
killall icewmtray
icewmtray &
# dockapps, we must kill each to
# avoid multiple starts when switching a theme
killall icedock
icedock &
# icedock needs a moment to start, so delay the apps
sleep 2
killall mini-volume.tcl
mini-volume.tcl &
killall volume.app
#volume.app &
killall wmfishtime
#wmfishtime &
killall wmix
#wmix &
killall wmpower
#wmpower &
killall wmsm
#wmsm &
killall wmtop
#wmtop &
killall wmweather
#wmweather-starter &
killall wmxmms
#wmxmms &
###################################################################
# you can choose to use the tray of icewm, or the external xystray
#
# uncomment what you like
#
#killall xystray
#sleep 2 && /usr/local/xystray-trayicons/run-xystray &
killall freememapplet-tray
sleep 2 && iu_nice -n 19 /root/my-applications/freememapplet_tray_puppy215ce/freememapplet-tray &
killall blinky
sleep 2 && /root/my-applications/blinky-0.8-icewm/src/blinky -bg "" &
killall mini-volume
sleep 2 && /usr/sbin/mini-volume.tcl -bg gray90 -mixer /usr/sbin/pvolume-mixer.tcl &
I installed latest version of freememaplet and used startup script to recover it to tray. So that went well.
But I still have this nagging problem that I can't get my mini-volume back in the tray where it belongs.
I added something to the startup script so the mini-volume appears in the left corner above when linux starts up but that is very annoying, and I just can't seem to get it back to the tray.
Please HELP!
Here's my startup script:
#!/bin/sh
# this script is executed by starticewm when IceWM starts
killall icesound
icesound &
killall icewmtray
icewmtray &
# dockapps, we must kill each to
# avoid multiple starts when switching a theme
killall icedock
icedock &
# icedock needs a moment to start, so delay the apps
sleep 2
killall mini-volume.tcl
mini-volume.tcl &
killall volume.app
#volume.app &
killall wmfishtime
#wmfishtime &
killall wmix
#wmix &
killall wmpower
#wmpower &
killall wmsm
#wmsm &
killall wmtop
#wmtop &
killall wmweather
#wmweather-starter &
killall wmxmms
#wmxmms &
###################################################################
# you can choose to use the tray of icewm, or the external xystray
#
# uncomment what you like
#
#killall xystray
#sleep 2 && /usr/local/xystray-trayicons/run-xystray &
killall freememapplet-tray
sleep 2 && iu_nice -n 19 /root/my-applications/freememapplet_tray_puppy215ce/freememapplet-tray &
killall blinky
sleep 2 && /root/my-applications/blinky-0.8-icewm/src/blinky -bg "" &
killall mini-volume
sleep 2 && /usr/sbin/mini-volume.tcl -bg gray90 -mixer /usr/sbin/pvolume-mixer.tcl &
Re: Mini-volume icon gone from tray after installing IceWM
In IceWM, the mini-volume doesn't go in the tray in the same way as it did under JWM. There are a number of ways to do it, but IMHO the best way is to add the following to your /root/.icewm/toolbar filecomic wrote:I can't get my mini-volume back in the tray where it belongs.
Code: Select all
prog "Volume" mixer pvolume-mixer.tcl
Hope that helps.
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
If you put it outside the Quick Launch Menu folder you will get the icon on your taskbar, all the time, just like in JWM. Place the subject line right at the very end of the file, and restart X. Here is a screenshot of my taskbar to show what I mean.comic wrote:I would like however to have that icon in the tray all the time just like with the default puppy JWM.
Not disabled, just not ported or not ported properly. Someone with more programming ability and time than me has to use the eggtrayicon support in IceWM to port mini-volume so it can be started in the system tray.comic wrote:Does this mean that with the IceWM this is disabled. Doesn't anyone have a solution for this?
You might also consider looking at the second option outlined in the EZpup Help page on the wiki. It's flaky, but it will give you what you want ... maybe.
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
pvolume-mixer.tcl in Icewm tray
I also had the same problem and solved it by using the alltray utility. Alltray will let you choose an icon and let you put any application you want in the system tray area, including pvolume-mixer.tcl Attached is alltray0.66.tar.gz that works in Puppy 2.xx. You can run gunzip on a copy of the downloaded file in, for instance, your /tmp dir and then copy the /tmp/usr dir to /usr with rox. There is documentation in the archive that should get you started.
With kind regards,
vovchik
With kind regards,
vovchik
- Attachments
-
- alltray0.66.tar.gz
- (67.38 KiB) Downloaded 891 times
A less CPU-intensive solution
I just replaced pvolume-mixer-tcl with gaumix since I noticed that pvolume-mixer was consuming an inordinate number of CPU clock cycles. You may wish to do the same, or give pvolume-mixer a very low priority - something that I will now try.
With kind regards,
vovchik
With kind regards,
vovchik
Re: pvolume-mixer.tcl in Icewm tray
Hmmmm....seems to require the Gnome libraries, vovchik. I downloaded and installed as per instructions and I get a missing glibconf error when attempting to run.vovchik wrote:Alltray will let you choose an icon and let you put any application you want in the system tray area, including pvolume-mixer.tcl Attached is alltray0.66.tar.gz that works in Puppy 2.xx. You can run gunzip on a copy of the downloaded file in, for instance, your /tmp dir and then copy the /tmp/usr dir to /usr with rox. There is documentation in the archive that should get you started.
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
i have alltray 0.69 installed, which does not seem to have any gnome dependencies
- Attachments
-
- alltray69.tar.gz
- alltray 0.69 executable
- (33.71 KiB) Downloaded 881 times
WhoDo, you're right
Dear WhoDo,
Sorry, you're right. The required gnome libs are:
Sorry, you're right. The required gnome libs are:
- libgconf-2.so.4
libORBit-2.so.0- I had installed MU's 8MB Gnome dotpup long ago and did not run into dependency problems as a result. Yesterday evening I tried to run alltray on another machine with Puppy 1.07 - and without MU's gnome package - and ran into the dependency problem you have described. I'll now try to install only those two libs on the 1.07 Puppy and will report the results. Otherwise, alltray is a very nice and useful little program. Shall I upload the libs and appropriate symlinks?
With kind regards,
vovchik
PS. The two required libs take up about 500k unpacked, which is quite a bit of overhead if HD space is at a premium (not so in my case).
- I had installed MU's 8MB Gnome dotpup long ago and did not run into dependency problems as a result. Yesterday evening I tried to run alltray on another machine with Puppy 1.07 - and without MU's gnome package - and ran into the dependency problem you have described. I'll now try to install only those two libs on the 1.07 Puppy and will report the results. Otherwise, alltray is a very nice and useful little program. Shall I upload the libs and appropriate symlinks?
Re: WhoDo, you're right
Not on my account, thanks, vovchik. I downloaded GuestToo's 0.69 version and it works without any dependencies. Thanks for your efforts anyway.vovchik wrote:Otherwise, alltray is a very nice and useful little program. Shall I upload the libs and appropriate symlinks?
@GuestToo: I downloaded your later version of alltray and it works as you said it would. I'm not sure how that will help with the Pvolume issue, but we'll see. Thanks again.
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
No CPU problems with this
Dear WhoDo,
I have discovered that, by making a menu entry in alltray and running absvolume, you can avoid excessive CPU use. The mixer item appears when you right-click the speaker icon. Just an idea...
With kind regards,
vovchik
I have discovered that, by making a menu entry in alltray and running absvolume, you can avoid excessive CPU use. The mixer item appears when you right-click the speaker icon. Just an idea...
With kind regards,
vovchik
Code: Select all
alltray --skip-taskbar --geometry 100x100+830+30 --menu "mixer:pvolume-mixer.tcl" --icon /root/my-documents/icons/mini-speaker.xpm absvolume&
Hi WhoDo,
I put the code: prog "Volume" mixer pvolume-mixer.tcl, in the end of the Quick launch config file. Now i have a large icon that says "Volume", from it i can launch the mixer, but i want to change the large "Volume" button for a small icon, like the screenshot of your taskbar. How i do it?.
I would'like to put the shotdown button too....
I put the code: prog "Volume" mixer pvolume-mixer.tcl, in the end of the Quick launch config file. Now i have a large icon that says "Volume", from it i can launch the mixer, but i want to change the large "Volume" button for a small icon, like the screenshot of your taskbar. How i do it?.
I would'like to put the shotdown button too....
You need to resize the actual icon to 24x24. The icons live either in /usr/shared/mini-icons or /usr/shared/midi-icons. The ones in the latter are usually 48x48. Rename the old icon to mixer48.xpm and then resize the original using mtPaint or GIMP.clarf wrote:Hi WhoDo,
I put the code: prog "Volume" mixer pvolume-mixer.tcl, in the end of the Quick launch config file. Now i have a large icon that says "Volume", from it i can launch the mixer, but i want to change the large "Volume" button for a small icon, like the screenshot of your taskbar. How i do it?.
I would'like to put the shotdown button too....
To get the shutdown button you need to add the following code:
Code: Select all
prog "Shutdown" exit wmpoweroff
Hope that helps.
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
Hi WhoDo thank you for the suggestion, but my problem was not related to the icons size.
After some research i found that the word "Volume" appear in the taskbar, because my Icewm didn't found a icon called mixer. In the code: [prog "Volume" mixer pvolume-mixer.tcl], the third word "mixer" is the icon name, if not found then the word "Volume" will be show. Then i fixed it, just making a copy of a related icon called mixer in /root/icewm/icons.
The same thing for the Shotdown button, now i need some good looking icons like yours...
After some research i found that the word "Volume" appear in the taskbar, because my Icewm didn't found a icon called mixer. In the code: [prog "Volume" mixer pvolume-mixer.tcl], the third word "mixer" is the icon name, if not found then the word "Volume" will be show. Then i fixed it, just making a copy of a related icon called mixer in /root/icewm/icons.
The same thing for the Shotdown button, now i need some good looking icons like yours...