If you're a Racketeer on a GNU/Linux, BSD, Solaris, etc., and like to do cool nerdy things like try a custom tiling window manager... you might want to join me in using Laurent Orseau's RWind window manager, which is written in Racket.

You can install RWind from the Racket package repository, or do a `git clone` and `raco pkg install`.  Documentation is here:
https://github.com/Metaxal/rwind/blob/master/README.md

Out of the box, it's a good foundation, but it needs your personal customizations, at least to "~/.config/rwind/config.rkt", and possibly also to your Git checkout.

I initially started looking at adapting RWind for a handheld Racket GUI for PostmarketOS ("https://www.neilvandyke.org/postmarketos/";), and decided to also use RWind atop my workstation, to speed up development.

To use RWind on your workstation, you might craft your own "~/.xsession" or "~/.xinitrc" file, and include a loop that keeps swapping between RWind and a stable other window manager while keeping your X session running (in case you break RWind while hacking on it), something like this:

# Loop between X window managers, infinitely.
# Note that there's neither `exec` nor `&` here.
# The X startup script is waiting on the window manager to exit
# and then starts the other window manager.
while true ; do
    xmonad
    racket -l rwind
done

If you have a window manager development setup like this, remember that, if all else fails, you can always `kill -HUP` and `killall -HUP` (your window manager process, script process, X server process, individual X clients, etc.).  If you can't type that shell command from within the X session at the moment, Ctrl-Alt-F2 will probably get you a text mode console login from which you can type that command, and/or start other X clients -- then switch back with Ctrl-Alt-F1 or Ctrl-Alt-F7 or one of the others.  You might not ever have to do this, but you can.

Please consider sharing your customization to RWind, whether it's posting small config tweaks on "racket-users", making a Racket package to supplement the `rwind` Racket package, or making a Git pull request to `rwind` if you discover a bug.

BTW, if you've already worked on a Matchbox-like layout and subtleties for RWind (one "app" visible at a time, plus a static bar across the bottom, and permitting a popup screen keyboard tiled window), please let me know.  For the Racket handheld, I want to do that, plus a combination app launcher and app switcher (that makes both functions look the same to the user, and might also let us sleep/wake busy non-handheld-friendly legacy programs we haven't yet replaced with ones written in Racket).

--
You received this message because you are subscribed to the Google Groups "Racket 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to