Tiny Core Extensions > TCE Q&A Forum

Multiple identical Icons Generated on JWM Tray

(1/1)

SamK:
A fresh inastall of TC3.1 using JWM-Snapshot.

Downloading an extension to the OnDemand list or installing an app (e.g. from OnDemand) refreshes the window manager.  Each refresh generates a further icon for volumeicon.tcz which has been swallowed with this line in ~/.jwmrc-tray:
<Swallow name="volumeicon" width="0"> volumeicon </Swallow>

A similar line is used to swallow watcher.tcz which does not generate multiple instances upon refresh.

ps -A shows the multiples of volumeicon which can then be manually killed but this is an unsatisfactory way of dealing with the issue.  Is the entry in ~/.jwmrc-tray malformed or missing a switch?
 

SamK:
The answer to this is quite simple.  Volumeicon does not need to be swallowed to the JWM tray to make it display there.  To automate its loading create a file ~/.X.d to issue the command volumeicon &.  All then works as expected.  The icon is displayed in the tray at boot-up and no multiple icons on refresh of JWM.
 

Navigation

[0] Message Index

Go to full version