Author |
Message |
jpeps
Joined: 31 May 2008 Posts: 3217
|
Posted: Fri 20 Aug 2010, 04:05 Post subject:
TrayManager For JWM Desktop Subject description: Adds, Removes apps; displays TrayButton items. |
|
Adds, Removes apps to/from .jwmrc-tray; displays TrayButton items.
Version 5.2 Allows for on-the-fly tray switching, from top hidden to bottom visible icon tray
Version 5.0 Allows selection of icon placement on tray
Version 4.5 Added an edit button; made it better able to handle multiple operations without reloading (Got rid of "DONE" window); smaller/faster. Uninstalls with the PM (thanks DaveS)
Version 4.1 Uses gtkdialog4
Version 4.0 Uses gtkdialog =>0.7.21 fileselect filters; Saves backup path, opens to alternative file, or creates new file; Add closewindow buttons.
Version 2.4 Add tooltips
notes: for removing/popup: enter single searchword
Version 2.3 Fix write to /root with "remove" and empty Popup box
Version 2.2.1 Remove comment to delete /tmp/add in cleanup
Version 2.2 Bug Fixes
Version 2.1 Notes:
Added jwm -restart option
Version 2.1.1 Removed bug that prevented loading icons with same name as directory.
Version 2.0 Notes:
For Icons:
1 .Add name without path for typical mini or pixmap location (see viewer)
OR
2. Use file directory (or enter manually with path) for atypical location.
Version 1.0 Notes:
1. Enter only names; paths are automatically inserted to standard locations for mini-icons and pixmaps (none are needed for exec file, as long as it is in PATH).
2. "popup" refers to the NAME that shows up when you place the cursor over the icon on the tray. For removing, all that is needed is the popup name.
3. Restart JWM to see changes (menu/leave/restart JWM).
 |
Description |
|
Filesize |
108.26 KB |
Viewed |
1857 Time(s) |

|
Description |
Version 5.2
|

Download |
Filename |
TrayManager-5.2.pet |
Filesize |
4.74 KB |
Downloaded |
1249 Time(s) |
Last edited by jpeps on Mon 19 Mar 2012, 00:08; edited 30 times in total
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2572 Location: UK
|
Posted: Fri 20 Aug 2010, 04:16 Post subject:
Re: TrayManager Subject description: For JWM Desktop |
|
jpeps wrote: | Adds, Removes apps to/from .jwmrc-tray; displays TrayButton items. |
Awesome.. Testing now.. EDIT.. It works After I realised you only need to enter the filename of the icon, not the whole path!
Good stuff. Thanks.
EDIT: I remade an alternative GUI, which was less confusing for me.
A suggestion: Could it be possible to move the delete tray stuff to the GTK TREE that pops up? Maybe a delete button next to each listed TrayButton would be lovely!
Description |
slighlty alternative gui, hope you dont mind!
|

Download |
Filename |
traymanager.gz |
Filesize |
10 KB |
Downloaded |
748 Time(s) |
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 3217
|
Posted: Fri 20 Aug 2010, 06:00 Post subject:
Re: TrayManager Subject description: For JWM Desktop |
|
sc0ttman wrote: |
A suggestion: Could it be possible to move the delete tray stuff to the GTK TREE that pops up? Maybe a delete button next to each listed TrayButton would be lovely! |
You just enter the popup name and push Remove. The popup names show up when you place the mouse over the icon on the tray.
The paths are entered by the radiobuttons. (I posted another picture to make it clearer). Thanks for testing.
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 3217
|
Posted: Sun 22 Aug 2010, 01:39 Post subject:
|
|
Version 2.0
Added:
1. File Directory for choosing icons in atypical location.
2. Ability to manually enter paths to any location, although simply entering
name of icon works with typical mini or pixmap location.
3.Viewer for mini-icons and pixmaps directories
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 3217
|
Posted: Tue 24 Aug 2010, 15:06 Post subject:
|
|
While initially a curiosity, this app has actually changed the way I use the desktop, by quickly adding/removing projects I'm working on to the tray, where they are out of the way of the often cluttered desktop...a real timesaver. (generally I add a wrapper to /bin (ex. rxvt -e myscript).
|
Back to top
|
|
 |
esmourguit

Joined: 17 Nov 2006 Posts: 1393 Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie
|
Posted: Thu 26 Aug 2010, 04:34 Post subject:
|
|
Bonjour,
Very nice tool.
I translated in french and i made a slight modification to launch JWM when it is done.
Here is the mod script.
Cordialement
Description |
|

Download |
Filename |
traymanager_MOD.tar.gz |
Filesize |
1.84 KB |
Downloaded |
700 Time(s) |
_________________ Toutou Linux - Pets francisés
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 3217
|
Posted: Fri 27 Aug 2010, 04:57 Post subject:
|
|
esmourguit wrote: | Bonjour,
Very nice tool.
I translated in french and i made a slight modification to launch JWM when it is done.
Here is the mod script.
Cordialement  |
Good idea. I'll add it is an option.
|
Back to top
|
|
 |
esmourguit

Joined: 17 Nov 2006 Posts: 1393 Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie
|
Posted: Mon 30 Aug 2010, 13:57 Post subject:
|
|
Bonjour à tous,
To remove a popup, traymanager creates a sed* file in the /root directory. Is it possible to delete this file, or does this file matter?
Cordialement
_________________ Toutou Linux - Pets francisés
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 3217
|
Posted: Mon 30 Aug 2010, 16:40 Post subject:
|
|
esmourguit wrote: | Bonjour à tous,
To remove a popup, traymanager creates a sed* file in the /root directory. Is it possible to delete this file, or does this file matter?
Cordialement  |
remove the "#" from line 66: "rm /tmp/add" under "cleanup." I neglected to un-comment after testing. Thanks for catching this. I'll upload the fix.
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4786 Location: Kingwood, TX
|
Posted: Mon 30 Aug 2010, 17:47 Post subject:
|
|
Excellent coding again:
If you are looking for some code to reuse or just some ideas:
zigbert's ptrays has a lot of similar, good features that you could borrow
The autohiding, swallowed apps like xkeyboard & notes features are cool.
pup'ngo's drive trays (I don't know if there is a pet for it but the whole distro is only about 8mb anyways)
there are a couple of other scripts on the pupn'go thread - one parses
/usr/share/applications/*.desktop and builds jwm stuff
I like the ability to have a floating tray similar to wbar by using halign="center" y="+/-integer"
for light weight systems I dump Rox and use jwm to set the background and fake the "icons" using trays:
use x="+/-int" y="+/-int" layout="vertical" and use 2 traybuttons to make an opaque icon button (one for the icon and the other for text)
(unfortunately the opacity setting also makes the icon and text translucent,... too early kde4-ish for me)
(Note: if you dump Rox - you will probably want to update the defaulthandler script)
joe sure did give us a lot to work with
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 3217
|
Posted: Mon 30 Aug 2010, 20:35 Post subject:
|
|
technosaurus wrote: | Excellent coding again:
If you are looking for some code to reuse or just some ideas:
zigbert's ptrays has a lot of similar, good features that you could borrow
The autohiding, swallowed apps like xkeyboard & notes features are cool. |
I am using DUDE on several computers. Ptray is great, but had set programs for adding to tray. I wanted a bit more flexibility to add my own projects, icons, etc. Zigbert's work is brilliant (I have a folder of his projects to study).
I'll keep exploring other ideas. Puppy is full of talent to learn from. I'll look into some of the ideas you presented. Thanks!
Quote: | joe sure did give us a lot to work with |
Amen!
|
Back to top
|
|
 |
esmourguit

Joined: 17 Nov 2006 Posts: 1393 Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie
|
Posted: Tue 31 Aug 2010, 02:41 Post subject:
|
|
Bonjour à tous,
I made your fix, Quote: | remove the "#" from line 66: "rm /tmp/add" under "cleanup." I neglected to un-comment after testing. |
unfortunately, this is not enough. Not only the file /tmp/add is not removed (i had not noticed me until now) but also sed*** files in /root.
Cordialement
_________________ Toutou Linux - Pets francisés
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 3217
|
Posted: Tue 31 Aug 2010, 03:46 Post subject:
|
|
esmourguit wrote: | Bonjour à tous,
I made your fix, Quote: | remove the "#" from line 66: "rm /tmp/add" under "cleanup." I neglected to un-comment after testing. |
unfortunately, this is not enough. Not only the file /tmp/add is not removed (i had not noticed me until now) but also sed*** files in /root.
Cordialement  |
sed should be working with .jwmrc-tray and /tmp/add. What other files are showing up in root?
edit: you can PM me your adapted script.
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 3217
|
Posted: Wed 01 Sep 2010, 04:21 Post subject:
|
|
esmourguit wrote: | (i had not noticed me until now) but also sed*** files in /root.
Cordialement  |
Fixed. Thanks esmourguit
|
Back to top
|
|
 |
esmourguit

Joined: 17 Nov 2006 Posts: 1393 Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie
|
Posted: Tue 21 Sep 2010, 04:31 Post subject:
|
|
Bonjour à tous,
Is it possible that the search directory is / usr/local/lib/X11 when searching for icons: "Select Icon from Directory"?
Or maybe i am wrong, because i use traymanager in 4.3.1.
Cordialement
_________________ Toutou Linux - Pets francisés
|
Back to top
|
|
 |
|