____

Monday, April 30, 2007

Force programs to minimize in tray on hitting close button

I always wished to force some programs to be minimized in tray when I hit close button (instead of being closed), for example Rhythmbox ,BitTorrent ,SSH terminal, RealPlayer , Thunderbird , it was painful you were listening to a music and you had to have big Rhythmbox on your screen and on your panel , (I used to move it to another desktop but still I had to switch to another desktop if I needed it) or sometimes you hit close button on a bitTorrent program and it would be closed....

I found a program named , AllTray , (I wonder why digg users never introduced it to people) , after installing this program you can put the programs you want in tray , by running AllTray and then clicking on the window of the program you to minimize to tray, so after that when you hit the close button , it will be minimized to tray , instead of being closed !

In Ubuntu (Fesity Fawn) you can install this program using Synaptic package manager , for other Distros you can download it here

Enjoy too !

+ Update : just a tip on using this program , do not put all your programs in tray , putting a program in tray means , you want that program to be in the Resident Memory (Ram) and you want it to be ready all the time ! (so do not put unnecessary programs in tray or it will take your ram and your computer speed)

+Update2: another tip, to make a program to be loaded by AllTray on default, you can do this :
for example for Thunderbird , go to System / Preferences / Main Menu / Choose Internet in left column / (then right click on Thunderbird Mail and change the properties
change the command :

mozilla-thunderbird

to
alltray mozilla-thunderbird
you can play with it and do some other things , like you can add that above command to System/ Preferences / Seasons (so it run thunderbird in automaticly at startup using AllTray)


alltray itself has some options which you can use them to see the full list of options type this :
alltray --help

+For poor Windows users , I found a similar program for them so they have some fun too (wink) it is not as cool as AllTray but still....

4 comments:

Tom said...

works beautifully , thanks !

nogamal said...

I don't get it - I have it installed but when I open the program I get a little + as a cursor and it says that I should click on the window I want to minimize, but nothing happens when I do! Why??

Cristopher said...

Had the same problem initially, nogamal. Worked fine after a restart.

FlAb0Y said...

thx nice program!!!

Related Posts: