How to change tray items? [SOLVED]

Booting, installing, newbie
Post Reply
Message
Author
PaulR
Posts: 249
Joined: Wed 04 May 2005, 18:45
Location: UK

How to change tray items? [SOLVED]

#1 Post 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
Last edited by PaulR on Thu 21 Mar 2013, 11:46, edited 1 time in total.

User avatar
Tote
Posts: 237
Joined: Thu 19 Jan 2012, 07:53
Location: South Wales

#2 Post 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:

PaulR
Posts: 249
Joined: Wed 04 May 2005, 18:45
Location: UK

#3 Post 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

Jasper

#4 Post 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

PaulR
Posts: 249
Joined: Wed 04 May 2005, 18:45
Location: UK

#5 Post 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

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#6 Post 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
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

Jasper

#7 Post 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.

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#8 Post 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
True freedom is a live Puppy on a multisession CD/DVD.

PaulR
Posts: 249
Joined: Wed 04 May 2005, 18:45
Location: UK

#9 Post 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

xmf-149
Posts: 23
Joined: Fri 02 Aug 2013, 04:00

#10 Post 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>
:!: :!: :!:

Post Reply