Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: JWM Tray Icons< Next Oldest | Next Newest >
kerry Offline





Group: Members
Posts: 706
Joined: April 2006
Posted: Mar. 04 2008,12:03 QUOTE

Quote (lucky13 @ Dec. 04 2007,14:06)
This is how it would look with a second icon tray in the top left hand corner (vertical and horizontal shots).
http://lucky13linux.wordpress.com/jwm-tray-layouts/

the tray's are just so versatile. it's one of the main reasons i love jwm now, i even use the tray's for desktop icons. here's what mine looks like.

http://img184.imageshack.us/img184/3791/015147ni5.png

[CODE]<?xml version="1.0"?>

<JWM>
  <RootMenu height="32" onroot="123">
     <Program icon="run.png" label="Command">grun</Program>
     <Separator/>
     <Program icon="home.png" label="Rox">rox</Program>
     <Program icon="xterm.png" label="Terminal">x-terminal-emulator</Program>
     <Program icon="firefox.png" label="Iceweasel">iceweasel</Program>
     <Program icon="ayttm.png" label="Ayttm">ayttm</Program>
     <Program icon="synaptic.png" label="Synaptic">sudo synaptic</Program>
     <Menu icon="plan.png" label="Office">
     <Program icon="xcalc.png" label="Calculator">galculator</Program>
     <Program icon="paint.png" label="MTpaint">mtpaint</Program>
     <Program icon="abiword.png" label="Abiword">abiword</Program>
     </Menu>
     <Separator/>
     <Restart label="Restart" icon="restart.png"/>
     <Menu icon="exit.png" label="Exit">
     <Exit label="Exit" confirm="false" icon="exit.png"/>
     <Program icon="reboot.png" label="Reboot">sudo shutdown -r now</Program>
     <Program icon="shutdown.png" label="Shutdown">sudo shutdown -h now</Program>
     </Menu>
  </RootMenu>

  <Tray  valign="top" halign="center" height="22">
     <TrayButton icon="logo.png" label="JWM">root:1</TrayButton>
     <TrayButton icon="run.png">exec:grun</TrayButton>
     <TrayButton icon="xterm.png" label="Terminal">exec:x-terminal-emulator</TrayButton>
     <TrayButton icon="home.png" label="Rox-filer">exec:rox</TrayButton>
     <TrayButton icon="ayttm.png" label="Ayttm">exec:ayttm</TrayButton>
     <TrayButton icon="firefox.png" label="Iceweasel">exec:iceweasel</TrayButton>
     <Swallow name="space" width="510">space</Swallow>
     <TrayButton icon="stop.png">exec:amixer set PCM toggle</TrayButton>
     <TrayButton icon="low.png">exec:amixer set PCM 3%- unmute</TrayButton>
     <TrayButton icon="high.png">exec:amixer set PCM 3%+ unmute</TrayButton>
     <Clock width="80" format="%l:%M%P">xclock -d</Clock>
  </Tray>

  <Tray  x="5" y="-24" height="64" layer="0">
     <TrayButton icon="xcalc.png">exec:galculator</TrayButton>
     <TrayButton icon="paint.png">exec:mtpaint</TrayButton>
     <TrayButton icon="abiword.png">exec:abiword</TrayButton>
  </Tray>

  <Tray  x="-320" y="-50" height="92" layer="0">
     <TrayButton icon="xterm.png">exec:x-terminal-emulator</TrayButton>
     <TrayButton icon="home.png">exec:rox</TrayButton>
     <TrayButton icon="ayttm.png">exec:ayttm</TrayButton>
     <TrayButton icon="firefox.png">exec:iceweasel</TrayButton>
  </Tray>

  <Tray  x="-5" y="-24" height="64" layer="0">
     <TrayButton icon="off.png">exec:sleep 5;xset dpms force off</TrayButton>
  </Tray>

  <Tray  x="0" y="-1" height="22">
     <TrayButton icon="desktop.png">showdesktop</TrayButton>
     <TaskList/>
     <Dock/>
     <Pager/>
  </Tray>

  <WindowStyle>
     <Font>-*-*-*-*-*-*-12-*-*-*-*-*-*-*</Font>
     <Width>4</Width>
     <Height>15</Height>

     <Active>
        <Text>white</Text>
        <Title>#808488:#303438</Title>
        <Corner>#303438</Corner>
        <Outline>black</Outline>
     </Active>

     <Inactive>
        <Text>black</Text>
        <Title>#70849d:#2e3a67</Title>
        <Corner>#303438</Corner>
        <Outline>black</Outline>
     </Inactive>
  </WindowStyle>

  <TaskListStyle>
     <Font>-*-*-*-*-*-*-12-*-*-*-*-*-*-*</Font>
     <ActiveForeground>white</ActiveForeground>
     <ActiveBackground>#808488:#303438</ActiveBackground>
     <Foreground>black</Foreground>
     <Background>#808488:#303438</Background>
  </TaskListStyle>

  <TrayStyle>
     <Font>-*-*-*-*-*-*-12-*-*-*-*-*-*-*</Font>
     <Background>black</Background>
     <Foreground>white</Foreground>
  </TrayStyle>

  <PagerStyle>
     <Outline>black</Outline>
     <Foreground>white</Foreground>
     <Background>black</Background>
     <ActiveForeground>white</ActiveForeground>
     <ActiveBackground>black</ActiveBackground>
  </PagerStyle>

  <MenuStyle>
     <Font>-*-*-*-*-*-*-12-*-*-*-*-*-*-*</Font>
     <Foreground>black</Foreground>
     <Background>gray90</Background>
     <ActiveForeground>white</ActiveForeground>
     <ActiveBackground>#70849d:#2e3a67</ActiveBackground>
  </MenuStyle>

  <PopupStyle enabled="false">
     <Font>-*-*-*-*-*-*-12-*-*-*-*-*-*-*</Font>
     <Outline>black</Outline>
     <Foreground>black</Foreground>
     <Background>yellow</Background>
  </PopupStyle>

  <IconPath>
     $HOME/.icons
  </IconPath>
  <IconPath>
     $HOME/.backgrounds
  </IconPath>

  <Desktops count="4">
  <Background type="image">1.png</Background>
  </Desktops>

  <DoubleClickSpeed>400</DoubleClickSpeed>
  <DoubleClickDelta>2</DoubleClickDelta>
  <FocusModel>click</FocusModel>
  <SnapMode distance="10">border</SnapMode>
  <MoveMode>outline</MoveMode>
  <ResizeMode>outline</ResizeMode>

  <Key key="Up">up</Key>
  <Key key="Down">down</Key>
  <Key key="Right">right</Key>
  <Key key="Left">left</Key>
  <Key key="h">left</Key>
  <Key key="j">down</Key>
  <Key key="k">up</Key>
  <Key key="l">right</Key>
  <Key key="Return">select</Key>
  <Key key="Escape">escape</Key>

  <Key mask="A" key="Tab">nextstacked</Key>
  <Key mask="A" key="F4">close</Key>
  <Key mask="A" key="#">desktop#</Key>
  <Key mask="A" key="F1">root:1</Key>
  <Key mask="A" key="F2">exec:grun</Key>
  <Key mask="" key="Print">exec:scrot %T.png; xmessage -timeout 2 "Screen Shot Done"</Key>
  <Key mask="A" key="Print">exec:xterm -g 35x0+0+23 -e scrot -cd 5 %T.png</Key>
  <Key mask="C" key="Print">exec:xterm -g 10x0+0+23 -e scrot -sb %T.png</Key>
</JWM>
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: Mar. 04 2008,12:14 QUOTE

Quote
i even use the tray's for desktop icons

Heh, brilliant. No need at all for xtdesk.


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
kerry Offline





Group: Members
Posts: 706
Joined: April 2006
Posted: Mar. 04 2008,13:16 QUOTE

yeap, not needed. i came up with the idea when i was using dsl, that dfm just annoyed the hell out of me. i'm back on debian know though and just took the idea further. i'm not really a icon person, but the kids want icons to click on. i also chose to keep it all in 1 file instead of including other files for convince.

on my other install i had separate setups/styles set up and just did this for commands->

     <Program icon="jwm.png" label="JWM">cp -f ~/.jwm/jwm1 ~/.jwmrc</Program>
     <Program icon="kde.png" label="KDE">cp -f ~/.jwm/jwm2 ~/.jwmrc</Program>
etc...

jwm1 would be for example stock jwm
jwm2 would be a kde style look
jwm3 would be a apple style look
jwm4 would be a gnome style look
etc...

i used names, for the example i'm just using "jwm#"
you get the point, i could change everything with just a click.[CODE]

for you it would be easier in dsl, you just change jwmrc-style, i think it was.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Mar. 04 2008,13:21 QUOTE

That's impressive, kerry.
Icons aren't my thing, but you've done something unique and attractive here.

36 mHz is a really slow processor, though =o)


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
kerry Offline





Group: Members
Posts: 706
Joined: April 2006
Posted: Mar. 04 2008,13:43 QUOTE

Quote (mikshaw @ Mar. 04 2008,08:21)
That's impressive, kerry.
Icons aren't my thing, but you've done something unique and attractive here.

36 mHz is a really slow processor, though =o)

thanks, it still work in progress only installed like 4days ago. i should have put pics of the ones i did wth dsl in ram on 256mb ram.

my cpu is 450mhz, it just throttles nicely. i've got my setup so light it doesn't strain the cpu.
Back to top
Profile PM 
12 replies since Dec. 04 2007,16:43 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: JWM Tray Icons

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code