This CLI WMswitcher can be launched from the WM's menu.

Core libraries and systems
Post Reply
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

This CLI WMswitcher can be launched from the WM's menu.

#1 Post by musher0 »

Hello all.

Please find attached a simple, if irreverent ;), window manager switcher. This is
answering a couple of requests from forum members on the waimea and xenial64
threads. (Not to name them ;), bigpup and mikesLr!) Just for me, I would not
have bothered writing this script, since I am totally comfortable with the procedure
of typing < Ctrl-Alt-BackSpace > and < xwin Window_Manager >.

The technique I used to create this script creates a CLI app in its own window, a
"quasi-GUI app", as I like to call them. The only hindrance, for some people, will
be that they have to type in their choice -- they won't be able to click it. For once,
they will have to give their fingers some exercise -- instead of always using their
wrist and thumb! :lol:

Required: file WM.lst2 (included) and a sense of humor (not included). ;) I hope
this has piqued your curiosity!

As you can see in the illustrations, I have four WMs installed on this Puppy.
I have tested switching back and forth from each of them and it went fine.

The provided list of WMs mentions*:
echinus fluxbox icewm jwm kde
openbox pekwm waimea xfwm4 xmx
If you have a WM that I do not have on this Pup, especially kde, fluxbox or xfwm4,
could you kindly test this script with it? Thanks.

Enjoy!
~~~~~~~~~~~~~~~~~~
* Please note that this list of WMs can be added to. If you know how they
are launched at the /root/.xinit level, you could add, for example, blackbox, mate,
etc., and adapt the script a little if need be.
Attachments
WMswitcher-CLI-0.1a.pet.hashes.zip
As the filename implies.
(361 Bytes) Downloaded 348 times
WMswitcher-CLI-0.1a.pet
(1.98 KiB) Downloaded 357 times
Trying-to-rerun-WM.jpg
If you absentmindedly try to switch to your current WM, you get this message.
(60.93 KiB) Downloaded 351 times
Switching-to-non-existent-WM.jpg
If you try to switch to a WM that is not in the list, or if the name of the WM has a typo in
it, you get this message.
(64.08 KiB) Downloaded 339 times
Opinionated-WMswitcher!.jpg
Does the job with all other WMs... Really!
(64.69 KiB) Downloaded 365 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#2 Post by musher0 »

Hello again.

I subtantially edited my OP. If you care to re-read it. Also I gave my script a little
polish. Thanks for re-testing.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Post Reply