WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Multiple identical Icons Generated on JWM Tray  (Read 1643 times)

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Multiple identical Icons Generated on JWM Tray
« on: September 16, 2010, 07:43:53 AM »
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?
 

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Multiple identical Icons Generated on JWM Tray
« Reply #1 on: September 20, 2010, 02:22:54 AM »
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.