Was looking for a lightweight window manager and decided to try jwm. Searching for information on customizing jwm led me to the Puppy forums. There's some good information mixed in with several threads and the JWM Themes Exchange has some inspiring examples.

Am not running Puppy Linux, so I'm not too familiar with what tools are available on it. Saw some mentions of configuration tools for jwm in some of the posts. I've been working on a project that uses modified browsers as a user interface for scripts or command line programs instead of programs like dialog or gtkdialog. That way, I can use standard HTML and CSS to create a screen layout. Was thinking this might integrate nicely with jwm for configuration or launching programs. Was also considering creating some scripts to customize the .jwmrc file. Just wondering what's already been done as far as configuration tools or menu handling for jwm. Any further pointers, recommendations or tips on customizing jwm would be greatly appreciated. Thanks.

If anyone's interested in the example environment variable configuration tool I wrote or using browsers as user interfaces, I have some more information on it here:
http://www.distasis.com/cpp/lmbld.htm#lmbldui

I have written a bunch of jwm tools (some of which are very hacky ways to do things using only jwm, but others will generate a jwmrc from a flat config file and /usr/share/applications/*.desktop along with drive icons if you so choose)
http://murga-linux.com/puppy/viewtopic.php?t=70804

everything is now licensed under my own maximally permissive license (public domain where it is allowed, or any OSI approved license or any license meeting their definition of open source)_________________Web Programming - Pet Packaging 100 & 101

Thanks for all the interesting links. Nice to know others have worked on something similar. At least that means there's some niche for this sort of thing.

technosaurus wrote:
>I also started on a similar project(s) to yours using html forms via busybox httpd cgi scripts, but it kinda stalled out:

I thought about using a lightweight web server to handle the code part (as opposed to the user interface), but thought it was a bit heavy to have to run a web server just to run local scripts. I did see an add-on for Firefox that would let it act as its own web server, but don't know if it's supported in newer versions of Firefox.

Nice script library for writing HTML. That would definitely work with what I'm doing. By the way, was reading through the thread on "speeding up scripts" for bash before I posted to the forum. Some really good tips there.

muggins:
>It's no longer being developed, but ByzantineOS might be of interest as it used a mozilla browser as it's user interface

That certainly looks interested. So far, I've just been using lynx and D+ as browsers, because they're easy to build, don't require a lot of dependencies and weren't too hard to modify. I've been thinking about trying to get this to work with some other browsers (especially if they have better HTML5, CSS and JavaScript support), because you could do even more with screen design. However, I'm sticking with lightweight browsers for now. One nice thing about having lynx working with this is that I can run the scripts in console mode outside of X Windows if I want to.

That's very much like part of what I want to do. Running executables with mimetypes is a nice idea. It doesn't quite give you as much control as to what one runs and how it runs as a script or program can though.

>I have written a bunch of jwm tools (some of which are very hacky ways to do things using only jwm, but others will generate a jwmrc from a flat config file and /usr/share/applications/*.desktop along with drive icons if you so choose)
http://murga-linux.com/puppy/viewtopic.php?t=70804

Will definitely check it out and your css for menus too. Thanks.

Another tool I've been experimenting with is gpp:
http://files.nothingisreal.com/software/gpp/gpp.html
It's similar to the standard C preprocessor, but can do a few more powerful things. I've been using it to preprocess some of my bash scripts similar to the way one would preprocess C/C++ scripts. Makes a nice way to customize which tools are available on a system (whether you'd prefer to use sed or perl for replacement and tar, bsdtar or 7za for archiving, etc.). Thought it might make a useful way to conditionally create a .jwmrc file. One could display an HTML file showing different jwm themes/colorschemes and then optionally create the .jwmrc file (or an included file using the Include tag) to create a simple theme switcher program. Also thought it might be interesting to be able to set a program to do the desktop background (and turn the background color off when using an outside program). That way you could run something like xfireworks as a background or use programs like xsetroot, hsetroot, feh, chbg, etc. Would also like to hide the tray/task bar completely in some cases. I really don't like the setting to autohide. Sometimes I just want to turn it completely on or off. Could be useful if you want to run a program that sets the background (like xfireworks) and want it to use the entire screen.

Those were some of the things I was thinking about. Don't know how well it would work in with some of what you've already done, but it might be possible to make the settings tools coexist nicely. I definitely want to check out what you've coded.

So far, I haven't been too thrilled with the jwm menu. I love working with the keyboard over the mouse and I prefer menus that let me jump to an entry with a hotkey or the first letter of the entry. Haven't seen a way to do that with the built in jwm menu. However, it does make a good basic minimal menu (especially for system related functions) and I like the menu for the individual windows. Was thinking of using an outside menu that handles keystrokes better for any serious navigating. Wanted to look at 9menu and the rat poison menu again. It's been a long while since I've tried them. I really like the features in jwm to check the configuration file (-p), restart (-restart) and exit (-exit). Very nice capabilities for scripting. Was thinking about creating my own close window dialog using the -exit option.

If anyone's interested, I can post on whatever I come up with and if anyone would like to discuss some of this further, I'd welcome the opportunity. Thanks.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum