SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-04-18 02:45:15

bigbenaugust
#! Junkie
From: the 919
Registered: 2009-03-04
Posts: 341

JWM config

Submitted for the community's amusement:

I might be the only guy here who prefers JWM, but for anyone else who is at least curious, I have a first effort at a #!-esque .jwmrc file. I stole the colors from the GTK theme as it appears in Firefox 4. it is based on the Debian .jwmrc and as such is missing a reasonably complete app menu.

http://www.stanford.edu/~baugust/jwmrc-cb

The screenshot is too boring to bother with posting. smile


--Ben
Debian: II   Arch: II   openSUSE: I

Offline

Be excellent to each other!

#2 2011-04-18 02:59:45

mahatman2
#! Die Hard
From: Chattanooga TN
Registered: 2009-09-13
Posts: 550

Re: JWM config

bigbenaugust wrote:

The screenshot is too boring to bother with posting. smile

Nah man, let's see it! I'd like to know what JWM looks like. what's that stand for anyway? isn't it Jim's WM? Or Java?


Punch all your friends.

Offline

#3 2011-04-18 03:09:39

bigbenaugust
#! Junkie
From: the 919
Registered: 2009-03-04
Posts: 341

Re: JWM config

All right, all right. Just let me find some sufficiently-interesting wallpaper. smile


--Ben
Debian: II   Arch: II   openSUSE: I

Offline

#4 2011-04-18 16:45:21

bigbenaugust
#! Junkie
From: the 919
Registered: 2009-03-04
Posts: 341

Re: JWM config

Okay, so I had housework to do instead last night. So instead you will get this applied to my shiny new #! machine at work. Info re: jwm is here: http://joewing.net/programs/jwm/

Please note that the pager, multiple desktops, and load meter in the taskbar are all disabled. This is 3200x1600 across 2 old 20" ViewSonic LCDs.

cb-desktop.png


--Ben
Debian: II   Arch: II   openSUSE: I

Offline

#5 2011-04-18 18:55:06

ElderV.LaCoste
#! Die Hard
From: Equarico
Registered: 2010-07-15
Posts: 816

Re: JWM config

bigbenaugust wrote:

Submitted for the community's amusement:

I might be the only guy here who prefers JWM, but for anyone else who is at least curious, I have a first effort at a #!-esque .jwmrc file. I stole the colors from the GTK theme as it appears in Firefox 4. it is based on the Debian .jwmrc and as such is missing a reasonably complete app menu.

http://www.stanford.edu/~baugust/jwmrc-cb

The screenshot is too boring to bother with posting. smile

I just copied it to my .jwmrc file and it look great!  I want to get volumeicon and a clock working then I will work on making my wallpaper stay.  Since I don't know anything about JWM it should be another adventure lol.  Thanks for posting this at least I have a little start.


Things are not as they seem, nor are they otherwise.
- Lankavatara Sutra

Offline

#6 2011-04-18 19:23:27

bigbenaugust
#! Junkie
From: the 919
Registered: 2009-03-04
Posts: 341

Re: JWM config

ElderV.LaCoste wrote:

I just copied it to my .jwmrc file and it look great!  I want to get volumeicon and a clock working then I will work on making my wallpaper stay.  Since I don't know anything about JWM it should be another adventure lol.  Thanks for posting this at least I have a little start.

You can say

<Background type="command">nitrogen --restore</Background>

in the Desktops section for the background.

I prefer JWM because it uses only one config file for everything and it's pretty much straight XML.


--Ben
Debian: II   Arch: II   openSUSE: I

Offline

#7 2011-04-19 16:20:37

bigbenaugust
#! Junkie
From: the 919
Registered: 2009-03-04
Posts: 341

Re: JWM config

Also, I think I hard-coded the taskbar to be 1920 wide for my monstrous Inspiron XPS.  Just change or remove the width attribute from here:

<Tray  x="0" y="-1" height="20" width="1600">

(yes, it says 1600, this is from my work machine. I think the .jwmrc I put on the net said 1920)

Last edited by bigbenaugust (2011-04-19 16:22:42)


--Ben
Debian: II   Arch: II   openSUSE: I

Offline

#8 2011-04-19 16:52:11

ElderV.LaCoste
#! Die Hard
From: Equarico
Registered: 2010-07-15
Posts: 816

Re: JWM config

Yes, lol I wondered where the ends went.  Actually my attention deficit disorder has taken over and for the first time in over a year (I think), I have wiped my hard drive and installed a different os.  I am currently playing with Salixos/Fluxbox.


Things are not as they seem, nor are they otherwise.
- Lankavatara Sutra

Offline

#9 2011-04-21 21:43:42

ElderV.LaCoste
#! Die Hard
From: Equarico
Registered: 2010-07-15
Posts: 816

Re: JWM config

Ok, I'm back.  I still haven't found a satisfactory way to run volumeicon.  It runs if I "swallow" it but then if I restart JWM I have two icons in the tray.  I have another problem, I can run custom Conky's from the menu (news and weather) but I haven't figured out how to start a regular conky.  Here is what I have so far:

tOGRhMQ
tOGRhMA


Things are not as they seem, nor are they otherwise.
- Lankavatara Sutra

Offline

#10 2011-04-21 22:19:52

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,371

Re: JWM config

Have you tried using this in your jwm config file:

<StartupCommand>conky or whatever program you want</StartupCommand>

BTW I don't use JWM myself, so I'm just going based on the Arch wiki tongue

Offline

#11 2011-04-21 23:22:45

ElderV.LaCoste
#! Die Hard
From: Equarico
Registered: 2010-07-15
Posts: 816

Re: JWM config

@anonymous - I don't know how you do it but once again you have solved my problem(s)!  I actually did read that in the Wiki and tried it and it didn't work!  I think maybe because I was clicking on "restart" instead of logging out and back in.  Thank you.  I spent all day on this lol. tongue


Things are not as they seem, nor are they otherwise.
- Lankavatara Sutra

Offline

#12 2011-04-22 20:19:23

ElderV.LaCoste
#! Die Hard
From: Equarico
Registered: 2010-07-15
Posts: 816

Re: JWM config

I am making a lot of progress!  I have set up the menus to be similar to Crunchbang and I am in the process of "populating" them.  I have network manager and volume icon working in the panel nicely.  Here is what I have:

tOGRyYw

I am going to post my .jwmrc here and update it as it grows.  It might save someone some time.  smile  The screenshot section in the menu doesn't work (yet).

<?xml version="1.0"?>

<JWM>

   <!-- The root menu, if this is undefined you will not get a menu. -->
   <!-- Additional RootMenu attributes: onroot, labeled, label -->
   <RootMenu height="15" onroot="123">
      <Program icon="" label="terminator">terminator</Program>
      <Program icon="" label="file manager">thunar</Program>
      <Program icon="" label="firefox4">/home/evl/bin/firefox/firefox</Program>
      <Program icon="" label="calculator">gnome-calculator</Program>
      <Program icon="" label="news">/home/evl/scripts/newsstart.sh</Program>
      <Program icon="" label="weather">/home/evl/scripts/forecaststart.sh</Program>
     <!-- <Program icon="" label="volume control">aterm -fn 6x9 -e alsamixer</Program> -->
      <Separator/>
      <Menu icon="folder.png" label="Applications">
      <Program icon="" label="Applications">
      </Menu>
      <Separator/>
      <Menu icon="folder.png" label="Accessibility">
      <Program icon="" label="Xmag">xmag</Program>
      </Menu>
      <Menu icon="folder.png" label="Data Management">
      <!-- <Program icon="" label="LibreOffice Base">/opt/libreoffice/program/sbase</Program> -->
      <Program icon="" label="OpenOffice Base">/usr/bin/oobase</Program>
      </Menu>
      <Menu icon="folder.png" label="Editors">
      <Program icon="" label="Gedit">/usr/bin/gedit</Program>
      <Program icon="" label="Nano">x-terminal-emulator -T "Nano" -e /bin/nano</Program>
      <Program icon="" label="Xedit">xedit</Program>
      </Menu>
      <Menu icon="folder.png" label="File Management">
      <Program icon="" label="Thunar">/usr/bin/thunar</Program>
      <Program icon="" label="Catfish">catfish</Program>
      <Program icon="" label="File-Roller">/usr/bin/file-roller</Program>
      <Program icon="" label="Gmrun">/usr/bin/gmrun</Program>
      </Menu>
      <Menu icon="folder.png" label="Graphics">
      <Program icon="" label="GIMP">/usr/bin/gimp</Program>
      <Program icon="" label="Shotwell">shotwell</Program>
      <Program icon="" label="Image Magick">/usr/bin/display logo:</Program>
      <!--<Program icon="" label="LibreOffice Draw">/opt/libreoffice/program/sdraw</Program> -->
      <Program icon="" label="OpenOffice Draw">/usr/bin/oodraw</Program>
      <Program icon="" label="Screenshot"></Program>
      <Program icon="" label="Now">scrot '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/images/ &amp; viewnior ~/images/$f'</Program>
      <Program icon="" label="5...">scrot '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/images/ &amp; viewnior ~/images/$f'</Program>
      </Menu>
      <Menu icon="folder.png" label="Network">
      <Program icon="" label="firefox4">/home/evl/bin/firefox/firefox</Program>
      <Program icon="" label="Chromium">chromium-browser</Program>
      <Program icon="" label="TOR/Firefox4">/home/evl/bin/tor-browser_en-US/start-tor-browser</Program>
      <Program icon="" label="Transmission BitTorrent Client">transmission</Program>
      </Menu>
      <Menu icon="folder.png" label="Office">
      <Program icon="" label="Abiword">abiword</Program>
      <Program icon="" label="OpenOffice">openoffice.org</Program>
      </Menu>
      <Menu icon="folder.png" label="Programming">
      </Menu>
      <Menu icon="folder.png" label="Science">
      <Program icon="" label="OpenOffice Math">/usr/bin/oomath</Program>
      </Menu>
      <Menu icon="folder.png" label="Shells">
      </Menu>
      <Menu icon="folder.png" label="Multimedia">
      <Program icon="" label="VLC">vlc</Program>
      <Program icon="" label="Xfburn">xfburn</Program>
      <Program icon="" label="Radiotray">radiotray</Program>
      </Menu>
      <Menu icon="folder.png" label="Sound">
      <Program icon="" label="Xfce Mixer">/usr/bin/xfce4-mixer</Program>
      </Menu>
      <Menu icon="folder.png" label="System">
      </Menu>
      <Menu icon="folder.png" label="Terminal Emulators">
      </Menu>
      <Menu icon="folder.png" label="Text">
      <Program icon="" label="Leafpad">Leafpad</Program>
      </Menu>
      <Menu icon="folder.png" label="Tools">
      </Menu>
      <Menu icon="folder.png" label="Video">
      </Menu>
      <Menu icon="folder.png" label="Viewers">   
      </Menu>      
      <Separator/>
      </Menu> 
      <Menu icon="folder.png" label="System">
      <Program icon="" label="System">
      </Menu>
      <Separator/>
         <Program icon="" label="synaptic">gksudo synaptic</Program>
<!--         
         <Program icon="xfontsel.png">xfontsel</Program>
         <Program icon="xmag.png">xmag</Program>
         <Program icon="xprop.png" label="xprop">
            xprop | xmessage -file -
         </Program>
-->         
      </Menu>
      <Separator/>
      <Menu icon="folder.png" label="Appearance">
      <Program icon="" label="Appearance">
      </Menu>
      <Separator/>
         <Program icon="" label="wallpaper">nitrogen</Program>
         <Program icon="" label="theme">lxappearance</Program>
      </Menu>
      <Separator/>
      <Restart label="Restart" icon="restart.png"/>
      <Program icon="" label="Lock">xtrlock</Program>
      <Exit label="Exit" confirm="true" icon="exit.png"/>
   </RootMenu>

   <Group>
      <Class>Pidgin</Class>
      <Option>sticky</Option>
   </Group>

   <Group>
      <Name>gkrellm2</Name>
      <Option>nolist</Option>
   </Group>

   <Group>
      <Name>rxvt</Name>
      <Option>vmax</Option>
   </Group>
   
   <!-- Additional tray attributes: autohide, width, border, layer, layout -->
   <Tray  x="0" y="-1" height="20" width="1023">

      <!-- Additional TrayButton attribute: label -->
      <TrayButton label="JWM">root:1</TrayButton>

      <!-- <TrayButton label="_">showdesktop</TrayButton> -->

      <!-- Additional Pager attributes; width, height -->
      <!-- <Pager/> -->
      
      <!-- Additional TaskList attribute: maxwidth -->
      <TaskList/>

      <Dock/>
      
      <!-- Additional Swallow attribute: height --> 
      <Swallow name="xload" width="64">
         xload -nolabel -bg black -fg green -hl blue -update 3
      </Swallow>  

      <Clock format="%a %b %d %R">xclock</Clock>

   </Tray>

   <!-- Visual Styles -->

   <WindowStyle>

      <Font>liberation.sans-8</Font>
      <Width>3</Width>
      <Height>16</Height>

      <Active>
         <Text>white</Text>
         <Title>#4b4b4b:#3c3c3c</Title>
         <Corner>#3c3c3c</Corner>
         <Outline>#3c3c3c</Outline>
      </Active>

      <Inactive>
         <Text>#9c9c9c</Text>
         <Title>#4b4b4b:#3c3c3c</Title>
         <Corner>#3c3c3c</Corner>
         <Outline>#3c3c3c</Outline>
      </Inactive>

   </WindowStyle>

   <TaskListStyle>
      <Font>liberation.sans-8</Font>
      <ActiveForeground>white</ActiveForeground>
      <ActiveBackground>#4b4b4b:#3c3c3c</ActiveBackground>
      <Foreground>#808080</Foreground>
      <Background>#3c3c3c:#4b4b4b</Background>
   </TaskListStyle>

   <!-- Additional TrayStyle attribute: insert -->
   <TrayStyle>
      <Font>liberation.sans-8</Font>
      <Foreground>white</Foreground>
      <Background>#3c3c3c</Background>
   </TrayStyle>

   <PagerStyle>
      <Outline>#4b4b4b</Outline>
      <Foreground>#3c3c3c</Foreground>
      <Background>black</Background>
      <ActiveForeground>white</ActiveForeground>
      <ActiveBackground>#3c3c3c</ActiveBackground>
   </PagerStyle>

   <MenuStyle>
      <Font>liberation.sans-8</Font>
      <Foreground>white</Foreground>
      <Background>#3c3c3c</Background>
      <ActiveForeground>white</ActiveForeground>
      <ActiveBackground>#747474:#656565</ActiveBackground>
   </MenuStyle>

   <PopupStyle>
      <Font>liberation.sans-8:weight=bold</Font>
      <Outline>#3c3c3c</Outline>
      <Foreground>white</Foreground>
      <Background>#3c3c3c</Background>
   </PopupStyle>

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

   <!-- Virtual Desktops -->
   <!-- Desktop tags can be contained within Desktops for desktop names. -->
   <Desktops count="1">

      <!-- Default background. Note that a Background tag can be
           contained within a Desktop tag to give a specific background
           for that desktop.
       -->
      <Background type="command">nitrogen --restore</Background>
     <!-- <Background type="solid">black</Background> -->

   </Desktops>

   <!-- Double click speed (in milliseconds) -->
   <DoubleClickSpeed>400</DoubleClickSpeed>

   <!-- Double click delta (in pixels) -->
   <DoubleClickDelta>2</DoubleClickDelta>

   <!-- The focus model (sloppy or click) -->
   <FocusModel>click</FocusModel>

   <!-- The snap mode (none, screen, or border) -->
   <SnapMode distance="10">border</SnapMode>

   <!-- The move mode (outline or opaque) -->
   <MoveMode>opaque</MoveMode>

   <!-- The resize mode (outline or opaque) -->
   <ResizeMode>opaque</ResizeMode>

   <!-- Key bindings -->
   <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">window</Key>

   <Key mask="A" key="n">exec:aterm -fn terminus-12 -fg black -bg white -sb</Key>
   <Key mask="A" key="v">exec:aterm -fn 6x9 -e alsamixer</Key>
   
   <!-- Startup Commands -->
<StartupCommand>conky -c ~/.conky/Orange/conkyrc_orange</StartupCommand>
<StartupCommand>conky -c ~/.conky/moc/conkyrc_obmoc</StartupCommand>
<StartupCommand>volumeicon</StartupCommand>
<StartupCommand>nm-applet</StartupCommand>

</JWM>

Last edited by ElderV.LaCoste (2011-04-25 17:36:46)


Things are not as they seem, nor are they otherwise.
- Lankavatara Sutra

Offline

#13 2011-05-10 00:34:29

tranche
#! CrunchBanger
Registered: 2011-02-04
Posts: 111
Website

Re: JWM config

JWM memory use by comparison with Openbox after a couple of hours running

WM / SZ / RSS

OB   /  25 MB  / 6 MB
JWM /  12 MB  / 3 MB

Edited:  This is a 64-bit installation, btw.

Last edited by tranche (2011-05-10 14:32:33)

Offline

#14 2011-05-10 00:56:20

ElderV.LaCoste
#! Die Hard
From: Equarico
Registered: 2010-07-15
Posts: 816

Re: JWM config

tranche wrote:

JWM memory use by comparison with Openbox after a couple of hours running

WM / SZ / RSS

OB   /  25 MB  / 6 MB
JWM /  12 MB  / 3 MB


Interesting, cut in half.


Things are not as they seem, nor are they otherwise.
- Lankavatara Sutra

Offline

#15 2011-05-13 11:51:55

tranche
#! CrunchBanger
Registered: 2011-02-04
Posts: 111
Website

Re: JWM config

I'm having some trouble with conky under jwm, described here:
http://crunchbanglinux.org/forums/post/122235/#p122235

At the moment I'm using ElderV.LaCoste's .jwmrc with one minor tweak.  (terminator -> sakura).

Does any of the jwm crew have any ideas?

Edited:  Solved by sector11.  Link repaired.

Last edited by tranche (2011-05-15 11:56:12)

Offline

#16 2011-05-14 02:39:37

tranche
#! CrunchBanger
Registered: 2011-02-04
Posts: 111
Website

Re: JWM config

Good thread!  Nice little window manager.

Got jwm going in a minimal debian system with X, conky, wicd/wicd-gtk and volumeicon running in less than 50 MB RSS at idle after a fresh boot.  I've never been able to touch that with openbox.

Offline

#17 2011-05-15 03:26:02

ElderV.LaCoste
#! Die Hard
From: Equarico
Registered: 2010-07-15
Posts: 816

Re: JWM config

@Tranche - Sorry I just saw this.  Now I'm curious what you were having trouble with and the link doesn't work.  Glad S11 was on the job!  smile


Things are not as they seem, nor are they otherwise.
- Lankavatara Sutra

Offline

#18 2011-05-15 11:57:07

tranche
#! CrunchBanger
Registered: 2011-02-04
Posts: 111
Website

Re: JWM config

@ElderVLaCoste - Thanks for the reply.  I repaired the link in the post above.

Offline

#19 2011-05-21 04:16:13

bigbenaugust
#! Junkie
From: the 919
Registered: 2009-03-04
Posts: 341

Re: JWM config

Wow, I figured this thread had fallen off the face of the earth. smile

I don't use conky, so I would have been pretty useless.


--Ben
Debian: II   Arch: II   openSUSE: I

Offline

#20 2011-08-22 23:51:34

ElderV.LaCoste
#! Die Hard
From: Equarico
Registered: 2010-07-15
Posts: 816

Re: JWM config

No, it's still here.  JWM might just be the most under appreciated WM of them all unless you use Puppy.  I'm just setting it up again on my new Crunchbang install.


Things are not as they seem, nor are they otherwise.
- Lankavatara Sutra

Offline

#21 2011-08-22 23:55:40

jeffreyC
#! Junkie
Registered: 2010-09-02
Posts: 420

Re: JWM config

If it wasn't for Puppy i would not have known about JWM.
It also is another WM with a ugly default config/theme.

Offline

#22 2011-08-23 12:31:04

ElderV.LaCoste
#! Die Hard
From: Equarico
Registered: 2010-07-15
Posts: 816

Re: JWM config

jeffreyC wrote:

It also is another WM with a ugly default config/theme.

Yeah, hideous.  Big Ben has done a real nice job with this configuration though.


Things are not as they seem, nor are they otherwise.
- Lankavatara Sutra

Offline

#23 2011-09-02 18:40:10

bigbenaugust
#! Junkie
From: the 919
Registered: 2009-03-04
Posts: 341

Re: JWM config

Which is funny, I thought the #! theme I made was way too dark and quit using it. smile

I also tried cribbing the colors from the Windows XP Rainy Day scheme and also my wife's Mac OS X 10.5 machine and came up with a few different schemes. I think I also came up with an all-gray flwm-esque theme, but I didn't save it. The Mac scheme seems to make me happiest.

But yes, the default JWM colors are pretty corporate, which is awful to many.

VectorLinux Light uses JWM as an option next to IceWM, that's how I found out about it. I borked that install by installing a bunch of Slackware updates on top of it... oops. So much for slackware compatibility. Next time, I'll use Salix instead when I dare to stray from Debian. That repository is just soo... addictive. smile

I am having vague thoughts of rolling a JWM-based Debian distro. Not that I have the time, with a real job, a family, and a raging addiction to cycling.


--Ben
Debian: II   Arch: II   openSUSE: I

Offline

#24 2011-09-03 02:58:57

ElderV.LaCoste
#! Die Hard
From: Equarico
Registered: 2010-07-15
Posts: 816

Re: JWM config

I have been bouncing back and forth with Salix.  I just don't care for the defaults and it takes too much time to get it right.  The way to make a great distro is to simply copy Crunchbang and that's it.


Things are not as they seem, nor are they otherwise.
- Lankavatara Sutra

Offline

Be excellent to each other!

#25 2011-09-30 20:09:04

bigbenaugust
#! Junkie
From: the 919
Registered: 2009-03-04
Posts: 341

Re: JWM config

Holy cow, there is a new version of JWM out after 4 years. It came up in the list os updates for my archbang box today.

Not that there are any gigantic changes, but it is an update.


--Ben
Debian: II   Arch: II   openSUSE: I

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo