You are not logged in.

#1 2012-10-17 23:05:27

jamtat
Member
Registered: 2008-03-13
Posts: 229

Looking for some JWM pointers

I've run gnome2.x (Ubuntu look) in the past on my apartment computer, partly because it was the most tolerable of the kitchen-sink-type GUI's, but mostly because it didn't intimidate the wife out of using the computer. Then gnome went all wacky with the shell and compiz crap and I had to find an alternative. I've used XFCE and know it can be made to look like gnome, but for some reason I just don't like it. Having fiddled a bit with JWM in the past, I had a go at making a gnome mock-up with it, but did not have much success. I've gone with LXDE for awhile, all the time wishing I could get something leaner like JWM to do what I need.

Well, I had another go at it last night and this time it's been more successful. I ran across a .jwmrc that formed a good basis for a gnome2.x mock-up--the link is http://delicate-linux.net/forum/showthread.php?tid=210 . I've been tweaking away at that and have things pretty close to where I'd like them--though not quite. I'd like to ask for further advice here.

One thing I'd like to do is get a volume control applet thingy in the dock. The wiki claims volumeicon, if put in the <StartupCommand> section of .jwmrc, will do it, but it hasn't worked for me. If I run volumeicon from within a terminal once JWM is started, it does put the applet in the dock as expected. But I'd rather have it there when the system starts. Any tips on how to get that to work?

Another thing concerns the top tray: I had a hard time getting it to stretch the entire width of the screen: instead it wanted to assume a size that would accommodate the items that were included within it--which ends up being some fraction of screen width. The .jwmrc I linked to above has a really kludgy way of accomplishing that--namely, it just creates an TrayButton whose label gets filled in with however many blank spacings it takes to go across the width of the screen. I didn't like that, so I came up with a slightly less ugly kludge: I created a Swallow item named "empty space" that has a width of 638. But I'm guessing there should be a better way. Can anyone offer more sane suggestions as to how to get the top tray to stretch the width of the screen?

I'm also hoping I can automate menu creation, since putting that together manually would be quite a task. Of course the .jwmrc I found has a menu that corresponds to about 50% of the binaries/icons on my system. But I'd still have quite a bit of work ahead of me if I were to recreate the menu system I had under LXDE. Any tips on automating menu creation for a JWM system?

I'll have some other queries as well but I think I've posed enough questions to kick off this thread. I will appreciate further input.

James

Offline

#2 2012-10-17 23:31:01

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: Looking for some JWM pointers

You could just switch off the jwm panel and run lxpanel (or fbpanel) from .jwmrc startup. That would give you an auto-updating menu, a dock for volumeicon, plus configurable panel size. You could run a second instance of lxpanel across the top.

I can make lxpanel work with volumeicon in .jwmrc startup (screenshot). If you decide to try this and still have problems making volumeicon work, please post just the startup section of your .jwmrc.

Last edited by 2ManyDogs (2012-10-17 23:55:51)

Offline

#3 2012-10-18 03:47:21

jamtat
Member
Registered: 2008-03-13
Posts: 229

Re: Looking for some JWM pointers

Yeah, it's true I could do that in order to get a more auto-completed menu and volumeicon in the dock, 2manydogs. I actually spoke a bit inaccurately when I said I am currently using LXDE: I should have said that I was using it but that I switched a few months ago to openbox with lxpanel. So I do know how to implement what you're describing. But I think I'm going to stick with straight-up JWM. Like I said, it's quite close to what I want and seems to need just a couple of additional tweaks. I can sort of fill in the menu to suit my system without too much  trouble as I go along. I just thought there might be some more automated way to do that--like maybe getting a list of the content of /usr/bin and then searching the system for corresponding icons/pixmaps. Or maybe something even more automated than that.

I just can't quite get why volumeicon works fine once the WM is started but does not run under StartupCommand. Seems like that should be something relatively easy to fix.

Thanks,
James

Offline

#4 2012-10-18 05:11:59

jamtat
Member
Registered: 2008-03-13
Posts: 229

Re: Looking for some JWM pointers

Um, I was wrong: volumeicon is now appearing in the dock. I'd been relying on the "restart JWM" button to bring the <StartupCommand> into effect, which seems to have been a mistake. When I had occasion to actually kill, then restart, JWM, the volumeicon applet suddenly appeared in the dock like it was supposed to. So, apparently <StartupCommand> statements are only processed when the WM starts fresh, not when you simply restart it.

Now that that's solved, on to other issues . . .

James

Offline

#5 2012-10-18 10:49:32

mythus
Member
From: MS Gulf Coast
Registered: 2008-05-15
Posts: 509
Website

Re: Looking for some JWM pointers

Greetings,

I haven't used JWM in a while, but when I did I always found this to be a good resource:
http://www.joewing.net/programs/jwm/config.shtml

Maybe the puppylinux forums will also be of service? I remember studying some config files for JWM there as well.


Legends of Nor'Ova - role playing community devoted to quality forum-based and table-top role play, home of the Legends of Nor'Ova Core Rule Book and Legends of Nor'Ova: Saga of Ablution steam punk like forum based RPG

Offline

#6 2012-10-18 22:42:37

jamtat
Member
Registered: 2008-03-13
Posts: 229

Re: Looking for some JWM pointers

Yeah, I've looked over that JWM documentation more than once, mythus. Problem is, for someone as technically-challenged as I am, it is not at all transparent. As a case in point, there is a "width" option that's supposed to apply to trays and that would seem, on the surface, to be what I need in order to make the top tray stretch the entire width of the screen. But my attempted modifications using that option have so far come up short. I've discovered that my kludge using an "empty-space" swallow item does not work well if I put the dock in the top bar: since the swallow item has a static width, as more items land in the dock, the start menu and clock start getting pushed of the edges of either side of the screen. I guess that's why the guy whose gnome-2ish .jwmrc I copied (see above) put the dock in the lower tray where the tasklist--whose size is variable--is located.

I gather from the documentation that 0 is a valid option for width, but I haven't yet figured out what other valid options might be. 100% is what I'm looking for, but that didn't work for me. It apparently requires some other integer(s): width in pixels? just a 1, as a boolean thing? something else? I assume someone will be able to understand the documentation, but so far I've been unable to penetrate a lot of it.

James

Offline

#7 2012-10-19 04:11:55

jamtat
Member
Registered: 2008-03-13
Posts: 229

Re: Looking for some JWM pointers

I've found a better kludge for making the tray take up the entire width of the screen and, usr enough, it comes from the Puppy forums. It involves inserting a tasklist into the tray where the space needs to be taken up, but specifying a such a width that the tasklist can't display any content. It is <TaskList maxwidth="1"/> and I found that at http://www.murga-linux.com/puppy/viewto … 35c08dd24c

Now, on to other issues. I guess the only one still nagging is that the pseudo quicklaunch icons I put in the tray look pretty crappy for some reason. Perhaps O need to specify a size that matches the tray height or something? Any pointers on that from fellow JWM users?

Offline

Board footer

Powered by FluxBB