Page 1 of 1

JWM Themes and Theme Switcher

Posted: Sun 17 Jul 2005, 03:08
by thoughtjourney
Hi all,

I written a little gui script to switch JWM Themes. It is very easy to use, and I have included 1 theme, with instructions on how to create JWM themes compatible with the switcher.

Coming soon... i just a bug in my dotpup.sh script :(

Posted: Sun 17 Jul 2005, 04:03
by Lobster
:)

Interesting

got the message
The file /root/.jwm/themes/README.html cannot be found. Please check the location and try again
during installing the dotpup . . .
I could I suppose create such a file but . . .

:)

On entering the file (which did not have an icon set?) in dotpup
I could boot up into jwm
(which I was not running)
The theme did not have any menu items BUT Jwm has never been stable on my system until recently
(I used ctrl + alt + bckspace and xwin fvwm95 to get a working menu)

I hope others will test this for you too (probably with better results and news) as it is a great contribution (JWM has been quite ignored so I would like to screen shot of the theme)

Thanks - and good luck

Posted: Sun 17 Jul 2005, 11:14
by Guest
Yeah, I'm really sorry about that, Lobster! This was the bug I referred to... I had hoped that no one downloaded it before I removed the file. It worked fine on my system because I had the necessary directories... I miswrote a command in the dotpup which I didn't pick up until I tried it on a fresh puppy.

Really sorry - hope I haven't screwed up anyone else's window manager. I went out for dinner, so I haven't fixed the install as yet: will do so asap. I shall post a couple of screenshots for you when I boot back into Puppy, so you have something to look forward to :)

Posted: Sun 17 Jul 2005, 11:45
by thoughtjourney
The promised screenshots: Hack_The_Matrix is mine, and Tribal_Widow is from joes_box. The Tribal_Widow shows jwmThemeSwitcher.

Posted: Sun 17 Jul 2005, 13:16
by Lobster
Am I too keen? LOL
JWM used to be a bit peculiar on my machine. Then it was fixed. It uses very low resources so is a good second choice for Puppy. There used to be evilwm (very tiny) that used to just create a blank screen (from what I could tell) and at that time I would not have known what to do . . . it may even still be part of Puppy - I think G2 uses it because it is so minimal . . .

Look forward to the screen shots

Posted: Mon 18 Jul 2005, 10:47
by Guest
Ok, champions, here we go.

jwmThemeSwitcher plus a couple of themes. It basically works by inserting or replacing an Include directive in the /root/.jwmrc file like this:

<Include>/root/.jwm/themes/jwm-theme-name</Include>

but all you need to do is run

jwmThemeSwitcher

from the commandline, or click on jwmThemeSwitcher in

/root/my-roxapps or in /root/my-applications/bin/jwmThemeSwitcher


This is just a beta version - I am waiting on Joe's input on restarting the window manager from the commandline. Currently, you need to manually restart jwm from the menu after running jwmThemeSwitcher. Once this is sorted, and after any bugs are cleaned out, I'll add code into the dotpup.sh script to insert jwmThemeSwitcher into the jwm menu.

Check out the README.html for more details.

*** BE SURE TO RUN THE jwmTheme.pup FIRST!! ***

Posted: Mon 18 Jul 2005, 10:54
by thoughtjourney
sorry, i forgot to log in.

ONE MORE THING:

I THINK THAT THEMES ARE COMPATIBLE WITH JWM ver 0.23 AND GREATER.

I haven't tested jwmThemeSwitcher on versions earlier than 0.23 (or Puppy versions earlier than 1.0.3)

Posted: Mon 18 Jul 2005, 20:57
by GuestToo
thoughtjourney, i added your id to the User Contributed DotPups page (weeks ago, actually), so you should be able to edit the page and add your dotpups to it, if you like

Posted: Mon 18 Jul 2005, 21:36
by thoughtjourney
Thanks, GuestToo :)

Posted: Tue 19 Jul 2005, 01:30
by Lobster
turns JWM into four buttons (black and red) on the scrollbar and a non working
menu on my machine.

:(

How are others getting on?

Not sure why. Your screenshots look good. I will stick with icewm and fluxbox which seem to work for me.

:)

Posted: Tue 19 Jul 2005, 03:22
by thoughtjourney
Thanks for testing this for me, Lobster.

Are you using Puppy 1.0.3 (or an earlier version with JWM 0.23 installed)?

Could you please post your /root/.jwmrc file for me? I haven't come across this problem, as I haven't come across this problem yet, although I did find that some of the backdrops are a bit finnicky: sometimes the ice-blue backdrop doesn't display, which is weird.

Posted: Mon 26 Sep 2005, 03:52
by Lobster
thoughtjourney wrote: Could you please post your /root/.jwmrc file for me?
Sorry only just come across your question - I wanted to enquire about your script and ended up here after a search
:oops:

I was using it in 1.0.4 Am now in 1.0.5RC
Will try and find the requested file - bit late now as I may have changed all manner of things . . . OK sent thatt . . .

Is your program all script and widget? Can you tell a little about it?
Would you have used PuppyBasic if it had been available?

I am asking because I plan some programming next week :)

Posted: Mon 26 Sep 2005, 09:18
by thoughtjourney
Thanks, Lobster :)

Your .jwmrc file looks fine ... I trust all is working in 1.0.5RC?? There were a few bugs in that version, but they have been sorted out for the for the full release.

I just used ash/bash scripts with gtkdialog and Xdialog because that was all I needed. To be honest, I didn't even think of using anything else. I'd never used gtkdialog before, so used your Welcome.pup (I think that is what it was called...) to get me started :)

Posted: Mon 26 Sep 2005, 11:42
by Lobster
thoughtjourney wrote:Thanks, Lobster :)

Your .jwmrc file looks fine ... I trust all is working in 1.0.5RC?? There were a few bugs in that version, but they have been sorted out for the for the full release.

I just used ash/bash scripts with gtkdialog and Xdialog because that was all I needed. To be honest, I didn't even think of using anything else. I'd never used gtkdialog before, so used your Welcome.pup (I think that is what it was called...) to get me started :)
Kewl - yep I was running 1.0.5 RC - no probs with JWM. Ah yes the infamous welcome dotpup - well it has come full circle. Yep that was the simplist bit of code I could find. I may well use your script as the basis and inspiration of another program. Hey are we hackers or are we hackers? If we need a programmer i am sure GuestToo will help - so now I am closer to a few ideas . . .

I wonder if anyone can guess what sort of program we will be writing? Who said a time machine? Oh well maybe later if we have time. . .
:)