Page 1 of 1

How to change tray items? [SOLVED]

Posted: Thu 21 Mar 2013, 08:55
by PaulR
I'd like to remove the clipboard manager icon (and maybe CPU monitor) from the 'tray' area but there doesn't seem to be a way to change what appears here in the JWM configuration Manager.

Do I need to edit a file somewhere?

TIA

Paul

Posted: Thu 21 Mar 2013, 09:33
by Tote
Hi PaulR, the way I did it was click File folder on desktop, then Startup, and delete what I didn't need... but there's probably another 'official' way to do it. :shock:

Posted: Thu 21 Mar 2013, 10:06
by PaulR
Of course, why didn't I think of that?! :oops:

Looking at Startup in a terminal I see the symlink for parcellite, so I thought I'd change permissions to make it non-executable rather than deleting it in case I want to restore it later.

It seems I can't change perms (at least in Rox) so after a very quick read up on creating symlinks I decided to delete it anyway :)

Thanks for the help!

Paul

Posted: Thu 21 Mar 2013, 10:23
by Jasper
Hi,

What happens if you right-click on your Parcellite tray icon
and then click Quit.

If it works, you could reinstate it from the Main Menu.

My regards

Posted: Thu 21 Mar 2013, 10:42
by PaulR
Hi Jasper

Sorry, as I mentioned I deleted it so I can't say if it could be exited or not (I will try to re-create it as a learning exercise though and report back).

Out of interest, how would I reinstate it via the Menu?

Cheers

Paul

Posted: Thu 21 Mar 2013, 10:51
by CatDude
Hi

@ PaulR
To get rid of the "CPU monitor" which is actually called "xload",
open up: /root/.jwmrc-tray in your favourite text editor
and change this:

Code: Select all

		<Swallow name="xload" width="32">
			xload -nolabel -bg "#888888" -fg red -hl white
		</Swallow>
to look like this:

Code: Select all

	<!--	<Swallow name="xload" width="32">
			xload -nolabel -bg "#888888" -fg red -hl white
		</Swallow> -->
In other words, comment it out.

After saving the change, restart JWM: Menu > Shutdown > Restart JWM

That should do it.

@ Jasper
Jasper wrote:What happens if you right-click on your Parcellite tray icon
and then click Quit.
That will get rid of it, but only temporarily (until you restart xserver or reboot)
because of the afore mentioned symlink in the Startup directory.

CatDude
.

Posted: Thu 21 Mar 2013, 10:55
by Jasper
If it's under Utilities then click it. Else, look in other likely
categories. If it was already deleted then reinstall it first.

Addendum:

CatDude - my apology - I've just seen your helpful response.

Posted: Thu 21 Mar 2013, 11:21
by tallboy
It also depends which puppy you have, the latest puppys use a newer version of jwm, that has some differences in the setup files compared to earlier versions, and the files have new names as well. Also, some newer puppys use 'Glipper' instead of 'Parcellite'.

If you have the file /root/.jwmrc-tray in your puppy, just follow CatDude's recipe.

I run LupuPlus_5.2.8, and I changed the default 'PupClockset' that pops up when you click the clock, to the little calendar window from earlier puppys. I replaced 'PupClockset' in line 18 in my .jwmrc-tray, with 'minixcal'. You can find it in /usr/X11R7/bin/minixcal, and you can click it there if you like, to see what it does. Just move your mouse away after clicking 'minixcal', and it closes again. I restarted jwm after saving the altered text, and it works just as intended!

tallboy

Posted: Thu 21 Mar 2013, 11:35
by PaulR
Thanks folks.

I recreated the symlink and Quit. As noted, it was only a temporary removal - I expected that although I suppose parcellite could have saved it's status somewhere and remained in /Startup.

With regard to xload, I'm on slacko 5.5 and .jwmrc-tray is there so I can comment out the necessary .... having a thumbnail of Scramble in the tray is too distracting :lol:

Paul

Posted: Sun 25 Aug 2013, 02:34
by xmf-149
ok based on what you wrote to add glipper to .jwmrc-tray

Code: Select all

		<Swallow name="glipper">
			killall glipper
			/usr/local/bin/glipper
		</Swallow>