
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
With AllTray you can dock any application with no native tray icon (like Evolution, Thunderbird, Terminals) into the system tray. A high-light feature is that a click on the "close" button will minimize back to system tray. It works well with Gnome, KDE, XFCE 4, Fluxbox and WindowMaker.
It is a handy utility to save lot of space and to hide some application window in the sysetem tray applet ;)
To Dock An Application Run:
alltray
e.g.,
alltray kwrite
alltray gedit
alltray kdevelop
alltray ymessenger
15 years ago
Apr, 19, 2005: Jochen Baier
- bug fix release: do not show balloon message if mouse left icon (already)
- set version to 0.51
Apr, 18, 2005: Jochen Baier
- xmms support:
-no window decoration
-minimize to tray
-nice icon
-Play, Pause, Next menu
- add "--title " option. display title change (for example: next song)
- balloon shaped tooltips
- add manpage (written by Carlos C Soto )
- set version to 0.50
Apr, 4, 2005: Jochen Baier
- hide window before it is docked/reparent with use of XMap function preloading
(avoid ugly window appearing for half a second, do not work with all apps)
- removed "--hide_window" option
- aterm support (bug reported by Ciprian Popovici)
- broke xmms and ding support ;) (temporary)
- split code to more files
- set version to 0.43 (dev snap)
Mar, 18, 2005: Jochen Baier
- fixed segfault. could arise if program to dock is not in standard path
(e.g. /usr/local/bin/thunderbird/thunderbird)
bug reported by Kristoffer Järleby
- set version to 0.42
Mar, 1, 2005: Jochen Baier
- added "--menu" option. add own menu entries to popdown menu to
execute commands. example: --menu "Sync:/bin/sync".
- set version to 0.41
Feb, 23, 2005: Jochen Baier
- alltray works now with Fluxbox and WindowMaker
(wmaker with "docker" dockapp)
- added "--borderless" option, requested by Jesus Garcia Crespo,
usefull for borderless Eterm, xmms...
- prevent child moving inside parent
- resize tray icon if system tray/panel change size
- added "--large_icons" option to allow icons greater than 24x24
- suppress "appicon" in WindowMaker
- set input hint on parent to False for correct focus handling
- identify/detect/filter windows like a window manager
- internal tray icon improvements
- detect workspace switch correct
- bug fixes
- set version to 0.40
Jan, 27, 2005: Jochen Baier
- use process group ID to identify windows (usefull for programs
with own child processes like thunderbird,
alltray /home/user/thunderbird/thunderbird works now)
thanks to Kai for the bug report
- remove path and arguments from command before compare with
wm_class
- check if the size of the child window have changed before docking
(usefull for "ding, Dictionary Lookup" program)
thanks to Poly for the bug report
- added "--debug" command line option
- check for unknown/wrong options
- set version to 0.35
15 years ago
Apr, 19, 2005: Jochen Baier
- bug fix release: do not show balloon message if mouse left icon (already)
- set version to 0.51
Apr, 18, 2005: Jochen Baier
- xmms support:
-no window decoration
-minimize to tray
-nice icon
-Play, Pause, Next menu
- add "--title " option. display title change (for example: next song)
- balloon shaped tooltips
- add manpage (written by Carlos C Soto )
- set version to 0.50
Apr, 4, 2005: Jochen Baier
- hide window before it is docked/reparent with use of XMap function preloading
(avoid ugly window appearing for half a second, do not work with all apps)
- removed "--hide_window" option
- aterm support (bug reported by Ciprian Popovici)
- broke xmms and ding support ;) (temporary)
- split code to more files
- set version to 0.43 (dev snap)
Mar, 18, 2005: Jochen Baier
- fixed segfault. could arise if program to dock is not in standard path
(e.g. /usr/local/bin/thunderbird/thunderbird)
bug reported by Kristoffer Järleby
- set version to 0.42
Mar, 1, 2005: Jochen Baier
- added "--menu" option. add own menu entries to popdown menu to
execute commands. example: --menu "Sync:/bin/sync".
- set version to 0.41
Feb, 23, 2005: Jochen Baier
- alltray works now with Fluxbox and WindowMaker
(wmaker with "docker" dockapp)
- added "--borderless" option, requested by Jesus Garcia Crespo,
usefull for borderless Eterm, xmms...
- prevent child moving inside parent
- resize tray icon if system tray/panel change size
- added "--large_icons" option to allow icons greater than 24x24
- suppress "appicon" in WindowMaker
- set input hint on parent to False for correct focus handling
- identify/detect/filter windows like a window manager
- internal tray icon improvements
- detect workspace switch correct
- bug fixes
- set version to 0.40
Jan, 27, 2005: Jochen Baier
- use process group ID to identify windows (usefull for programs
with own child processes like thunderbird,
alltray /home/user/thunderbird/thunderbird works now)
thanks to Kai for the bug report
- remove path and arguments from command before compare with
wm_class
- check if the size of the child window have changed before docking
(usefull for "ding, Dictionary Lookup" program)
thanks to Poly for the bug report
- added "--debug" command line option
- check for unknown/wrong options
- set version to 0.35
gassauer
13 years ago
looks like that the apps in the tray are "preloaded" and start up at now time :-)
testet on SuSE 10.3 which has greatly reduced main memory requirements, so there is more "place" to play around with such things.
Report
cRoMo
13 years ago
Excerpt from debug output:
valid
num: 1
return num is: 1
user_dir: /home/cromo/.alltray
filnename: /home/cromo/.alltray/prefs
Segmentation fault
Report
pulp
15 years ago
kstart/ksystraycmd is: if you click on the "close-button" the window will be minimized back to tray.
with kstart/ksys... the window will be really closed and the app quit.
Report
hagabaka
14 years ago
ksystraycmd --startonshow --keeprunning ...
to make the Close button iconify the program.
However, I have to specify the icon for the program, or ksystray will display an "empty sheet" icon in the tray when the window is not shown, e.g.
ksystraycmd --icon /opt/kde/share/icons/hicolor/scalable/apps/kcalc.svgz --startonshow --keeprunning kcalc
Also, with ksystraycmd, it takes very long for the program to reopen if I have it hidden for a while. That doesn't happen with KDE applications with native systray icons. I haven't been able to test whether alltray improves this, because it just crashes with Segmentation Fault...maybe I could try to troubleshoot it later.
If alltray could merge the advantages of ksystraycmd and improve it, that would be great.
Report
N7DR
14 years ago
For example, I have sunbird in /home/n7dr/programs/sunbird, but if I put the command:
"ksystraycmd --startonshow --keeprunning home/n7dr/programs/sunbird/sunbird" as a menu item on the K menu, the command doesn't run (although it does run if I type it from a console window).
I've tried putting an explicit path in for the working directory, and also trying various combinations of the other checkboxes when creating the K menu item, but none of them seem to work with the ksystraycmd you describe. I don't know why.
Really, KDE should have a "minimize to tray" option on all main application windows. It seems, according to some threads I've seen, that this is being considered for the future.
Report
pip
15 years ago
i want to use evolution with alltray but when i do so, the drag&drop function between the folders doesn't work!!!
when i use ksystraycmd it works...
Report
pulp
15 years ago
(Gnome and KDE)
Report
Enso
15 years ago
Report
testerus
15 years ago
http://beepmp.sf.net/
Report
wismerhill
15 years ago
Report
JabberWokky
15 years ago
With this I can run:
alltray kate
...and it works fine, with the proper icon and easy toggling of visibility. I played around with kstart quite a bit and could not get it to work. The following:
kstart --tosystray kate
Causes a huge garbled box to appear in the system tray as kate tries to run inside it, and the application frame opens up without an editor. I have to killall kate to get it to go away.
I'd certainly like to have this in a Qt/KDE app - the popup menus don't match the rest of the popups on my system tray, but that's a purely asthetic issue and very minor.
(Oh, and to the author: I verified that the deb package runs fine in Kubuntu).
Report