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: (5) </ 1 2 3 [4] 5 >/

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

reply to topic new topic new poll
Topic: JWM Themes, themes to add a little spice to jwm< Next Oldest | Next Newest >
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: May 20 2008,12:02 QUOTE

I just want to cover a few basics of jwm aesthetics here that are BEYOND the .jwmrc-theme and the .thm files you may have in /opt/jwmThemes. Some users may not be aware how easy it is to change the look of jwm to suit their tastes or needs. Or even to make it behave more like other window managers.

This is based on something posted by meo:
Quote
The jwm menu has like a space between every item that the fluxbox menu doesn't have and that helps out a lot when you don't have a perfect eye-vision.

The basic file controlling the appearance of jwm is .jwmrc. This contains the menu as well as other customizable features of jwm. DSL factors out several files, including the theme part of .jwmrc, and uses "include" tags so the whole thing can be easily managed.

The .jwmrc-theme is "included" from within .jwmrc. Though it contains color and font information, it doesn't contain two settings found in other files:
1. The size of the menu is still in .jwmrc, and
2. The size of the tray is factored out in .jwmrc-tray.

ADDITIONAL MENU SETTINGS NOT IN THE THEME FILE
Up near the top of .jwmrc are lines about the root menu. The user can add to or change some of the settings to suit tastes. The "height" tag can be made larger or smaller depending how much space the user wants between entries. The "onroot" tag can also be changed but be careful -- if you mess up that tag, you'll be without any menu until you fix the setting.

The DSL default has onroot="123". This is perfectly fine for most people, but it can be changed. Why would you change it? You can assign various menus to different mouse keys or to keystrokes (see .jwmrc-keys to see the keyboard shortcut for the menu -- more such menus can be added). My .jwmrc rootmenu entry looks like this:
<RootMenu height="12" onroot="3">

I wanted my menu tighter together so I reduced the height (I'm using a 10px font so I have a pixel space above and below that).

One thing you'll notice in jwm is how pressing any mouse key on the desktop results in the same menu. By changing the onroot to three, I've un-assigned the other two mouse clicks. Now my menu pops up on the desktop only with a right click -- similar to the way fluxbox operates. As I noted, other root menus can be assigned (added to .jwmrc or factored out separately as the mydsl part of the menu is). See my thread on jwm anti-WIMP modifications for more about this.

(Note: jwm will notify you of errors if you don't assign onroot="1" but will continue to function as long as it has an assigned root menu.)

ADDITIONAL TRAY SETTINGS NOT IN THE THEME FILE
The jwm tray in DSL has been factored out and is "included" in .jwmrc. There's a line at the top of the tray that can be changed to suit your needs and tastes as well. Here's mine:

<Tray halign="center" valign="top" height="21">

Compared to the DSL default, mine is shorter (giving me a little more screen real estate) and I've located it to the top of the screen. If the default is too small for you, you can make it bigger.

There are other things that can be changed in it, including its width. Anyone wanting it to have a less-wide appearance like the fluxbox tray could simply add a width="N" (where N is the desired width) setting in that same tag. You can set it on autohide. You can use it to swallow more apps. You can do pretty much whatever you want with it. You can also "include" more trays if you want them.

Or you can exclude things or move them around.

For example, I generally access my menus via keystroke (which is why the space in my menus is trivial -- no clumsy mouse pointing). That means I have no need for a menu button on my tray, so it's gone. I moved the pager to the right of the screen. I set maxwidth="100" on my tasklist ( <TaskList maxwidth="100"/>) tag so the entries on it are always fixed width instead of a percentage of the total depending how many things are open. I've also removed the dock tag from the tray because I don't want the few applications I use that are actually compliant and work with it to set up additional icons in my tray. I just have task list, pager, clock.

There are plenty of other aesthetic variables that can be changed, such as setting the clock up as desired with date, etc. Look at the jwm site for all the possible configuration variables and make jwm work for you the way you want it.

And if you screw up, remember there are copies of the DSL defaults in /etc/skel.


--------------
"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 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: May 30 2008,14:34 QUOTE

This is my most recent jwm theme. It's not fancy. It's not targeted at those who want pretty desktops with shiny gradients all over the place. It started as an attempt at "mock transparency" and ended up as something no reviewer will ever like, let alone appreciate.

It's flat, basic, plain, inspired by console use (not by reggae), and for the most part uses a simple and sensible color scheme: green is active, red is inactive, with some yellow thrown in. Period. Just about everything is on black. Period.

Enjoy. Or not.
http://lucky13linux.wordpress.com/2008/05/30/jwm-theme-eye-insulin/


--------------
"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 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: May 30 2008,14:49 QUOTE

Reminds me of SithWM.

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: May 30 2008,15:04 QUOTE

Kind of does in a way, but sithwm lacks window decorations (one pixel?) and a tray, etc. I updated and included another screenshot (link) with the same kind of color scheme in dwm, fwiw. It also matches my .screenrc.

--------------
"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 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: June 05 2008,16:26 QUOTE

This is kind of off topic for this thread as well as the one for 4.4RC2 (which is where I was going to post this comment), but I addressed several points about aesthetics and function in the context of DSL's philosophy earlier this morning. It also fits in with the "five small distro" review thread elsewhere because of the many "beauty contest" reviews. I'm adding it here because this thread is specifically about theming jwm and/or DSL.
http://lucky13linux.wordpress.com/2008....-of-dsl


--------------
"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 
24 replies since Dec. 06 2007,19:39 < Next Oldest | Next Newest >

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

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

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