Will the exec run from the terminal? Did you click on "add to tray" ? It should be writing to /root/.jwmrc-trayxia1498 wrote:My backup tray is empty and there are no icons on the taskbar. I have tried many times to load an icon. The icon will appear on the taskbar, for example-- mini-icons/mini-desktop.xpm, but does nothing when clicked on.
TrayManager For JWM Desktop
Re: Task bar icon
tray icons
I do click on add to tray and it does add it but does nothing when clicked on.
# jwm -p
JWM: warning: no icon or label for TrayButton
# /root/ .jwmrc-tray
bash: /root/.jwmrc-tray: Permission denied
Do you know the exact exec command to type in terminal for (usr/local/lib/X11/mini-icons/mini-desktop.xpm)?
I do appreciate you trying to help?
Sorry if I am not understanding something that should be simple.
# jwm -p
JWM: warning: no icon or label for TrayButton
# /root/ .jwmrc-tray
bash: /root/.jwmrc-tray: Permission denied
Do you know the exact exec command to type in terminal for (usr/local/lib/X11/mini-icons/mini-desktop.xpm)?
I do appreciate you trying to help?
Sorry if I am not understanding something that should be simple.
I'm not clear what you're trying to do.
Open a terminal and type "traymanager"
Traymanager should load.
Now type in the popup and exec name, and load an icon using the file selector.
Now click "add to tray"
In the next window, click OK and then Done. Check your terminal window and let me know what it says.
You can type "geany /root/.jwmrc-tray" in the terminal to manually edit or look at what's written.
What distro version are you running? Traymanager uses gtkdialog4 (now standard in Slacko, Lucid, etc).
You're using jwm window manager, right?
Open a terminal and type "traymanager"
Traymanager should load.
Now type in the popup and exec name, and load an icon using the file selector.
Now click "add to tray"
In the next window, click OK and then Done. Check your terminal window and let me know what it says.
You can type "geany /root/.jwmrc-tray" in the terminal to manually edit or look at what's written.
What distro version are you running? Traymanager uses gtkdialog4 (now standard in Slacko, Lucid, etc).
You're using jwm window manager, right?
Last edited by jpeps on Mon 14 Nov 2011, 02:09, edited 1 time in total.
type "traymanager" --one wordxia1498 wrote:tray manager in terminal did nothing although the icon popped up in the tray but still does nothing. I think i am putting the wrong name in exec maybe.
If your are getting the correct icon on the tray, you know it is correctly writing to .jwmrc-tray. Check the correct program name by typing "which NAME" into a terminal, with NAME being the program name. You should get the path. Also, clicking on the View Tray button will show you the <TrayButton> entry with the icon that showed up.
Re: Tray
should be exec:NAME What's the name? There should already be an icon for Show Desktop in the .jwmrc-tray. "showdesktop" doesn't work directly from the terminal, so won't work as a local traybutton.xia1498 wrote:<TrayButton popup="showdesktop" icon="/usr/local/lib/X11/mini-icons/mini-desktop.xpm">exec:</TrayButton>
This shows up in view tray.
Code: Select all
<TrayButton popup="Show Desktop"icon="minidesktop.xpm">showdesktop</TrayButton>
Actually, it does work...I just tried it. You'll have to edit it manually, however, by removing "exec:" and replacing with "showdesktop". It works from the tray with the icon and popup of your choosing. Don't forget to restart JWM after editing.xia1498 wrote:Ok, after reading your last statement again i see this is not going to work.
Thanks for your help.
Couple of small things: it seems impossible to add a button WITHOUT a popup (my preferred, but then I am odd), if I add a button with a pop-up it adds the entry repeatedly for every button for which I dont have a specified pop-up, and finally, package manager cannot uninstall it. This last is caused by the current requirements of woof where .pets have to have a hyphen and release number, like this: traymanager-4.2.pet (thanks to 01micko for this tip)
Spup Frugal HD and USB
Root forever!
Root forever!
Hi Dave,DaveS wrote:Couple of small things: it seems impossible to add a button WITHOUT a popup (my preferred, but then I am odd), if I add a button with a pop-up it adds the entry repeatedly for every button for which I dont have a specified pop-up, and finally, package manager cannot uninstall it. This last is caused by the current requirements of woof where .pets have to have a hyphen and release number, like this: traymanager-4.2.pet (thanks to 01micko for this tip)
Yeah, it's made to write a complete entry that includes an icon, popup, and exec. The popup is also used as the entry to remove it. It's easy enough to simply edit the /root/.jwmrc-tray file itself for anything unusual.
I didn't know about a required listing format for the package manager to work. I mostly gave up on it a long time ago, and use my own uninstaller..which also gets rid of open directories, lets me know about in use files, etc, etc. I just experimented after renaming to TrayManager-4.1.pet. The package manager said it uninstalled, but the files were still there

I don't know why the package manager can't just read whats there.
Edit. Okay..got it working with the PM. I'll upload Thanks!
Great! Uploaded version 4.5, which includes an edit function for manual editing. I also noticed that after closing the DONE window, traymanager needed to be reloaded before it would install another icon. Now it simply restarts JWM directly without going to another window...and is ready to install another icon.xia1498 wrote:Yes! It worked.
Thanks a lot for persevering.[/b]