Tiny Core Linux

Tiny Core Base => TCB Tips & Tricks => Topic started by: jpeters on July 24, 2009, 12:56:02 PM

Title: .jwmrc-tray
Post by: jpeters on July 24, 2009, 12:56:02 PM
Here's an alternative to wbar that I like, using the "popup" feature in JWM.  The taskbar only appears when the mouse pointer is at the top of the screen, and pops up over the browser window.  

[removed due to policy]apps/taskbar.png
[removed due to policy]apps/noicons.png




Code: [Select]
<JWM>
 <Tray autohide="true" insert="right" valign="top" halign="center" height="25" >
  
  <!TrayButton popup="" icon="nothing.png">exec:</TrayButton>
  <!TrayButton popup="" icon="nothing.png">exec:</TrayButton>
  <!TrayButton popup="" icon="nothing.png">exec:</TrayButton>
  
  <TrayButton popup="Aterm - terminal emulator" icon="/usr/share/wbar/aterm.png">exec:aterm</TrayButton>
  <TrayButton popup="Panel - Control Panel" icon="/usr/share/wbar/cpanel.png">exec:cpanel</TrayButton>
  <TrayButton popup="Apps - Appbrowser" icon="/usr/share/wbar/appbrowser.png">exec:appbrowser</TrayButton>

  <TrayButton popup="gnumeric" icon="/usr/local/tce.icons/gnumeric.png">exec:gnumeric</TrayButton>
  <TrayButton popup="gftp" icon="/usr/local/tce.icons/gftp2.png">exec:gftp-gtk</TrayButton>
  <!TrayButton popup="" icon="nothing.png">exec:</TrayButton>
      <Clock format="%a %d %b %k:%M"></Clock>
     <TrayButton label="_">showdesktop</TrayButton>
    <!-- Additional Pager attributes; width, height -->
      <Pager/>
 <!-- Additional TaskList attribute: maxwidth -->
     <TaskList/>
 </Tray>
</JWM>
Title: Re: .jwmrc-tray
Post by: bigpcman on July 24, 2009, 04:10:18 PM
Hey I like it. Nice idea.
Title: Re: .jwmrc-tray
Post by: jpeters on July 24, 2009, 05:06:30 PM
Hey I like it. Nice idea.

I try to come up with one a year, and my birthday's tomorrow...   :)
Title: Re: .jwmrc-tray
Post by: Lee on July 24, 2009, 05:48:54 PM
I like it too, but not as much as I like wbar.  I added a "Tiny" button (ala the "Start" button) to my (autohiding) jwm tray, but I still mainly use wbar - I just stash it in the lower left or lower right, make it tiny and make it almost completely transparent (the icons re-opaquify on mouseover).

One of the options on my "Tiny button" menu is to kill off the standard wbar and start it up with my options.


Happy birthday.
Title: Re: .jwmrc-tray
Post by: jpeters on July 24, 2009, 09:22:27 PM
Happy birthday.
Thanks  :)

Title: Re: .jwmrc-tray
Post by: jpeters on November 21, 2009, 01:09:16 AM
I like it too, but not as much as I like wbar.  I added a "Tiny" button (ala the "Start" button) to my (autohiding) jwm tray, but I still mainly use wbar - I just stash it in the lower left or lower right, make it tiny and make it almost completely transparent (the icons re-opaquify on mouseover).

One of the options on my "Tiny button" menu is to kill off the standard wbar and start it up with my options.


Happy birthday.


Just noted this.  To add  start button to tray in .jwmrc-tray:

<TrayButton label="TC">root:1</TrayButton>