Re: Fedora 40, Wayland, and ctwm

Manfred_Knick <[email protected]> Thu, 29 Feb 2024 21:44:15 +0100
Newsgroups gmane.comp.window-managers.ctwm
Message-ID <[email protected]>
Servus!

	"Lasciate ogne speranza, voi ch'intrate"

	Dante Alighieri, Inferno

To me, "Wayland Compositor" really seems to be the crux of the matter.

Unfortunately, I very much doubt that anybody will undergo the endurance
to enlarge ctwm into such a full-blown beast.


Anybody who is looking for a really *very* minimalistic compositor
might risk a look at *dwl* which is "dwm for Wayland":

	[ https://codeberg.org/dwl/dwl ]

based on wlroots.

I would by no means call it an "alternative" to ctwm,
and many will deeply miss ctwm's "beauty",
as already stated in a former post.

But it definitely works reliable and solid,
including XWayland and X applications,
the "usual suspects", KDE apps, ... ,
up to non-free SW like VMware Workstation.

At second glance it offers more versatiliy than it's first look promised.


Primarily, I'm running this on an otherwise pretty "stable" Gentoo workstation,
exploiting a 4-Screen ( 2 x 2 ) setup,
DPs driven by current nvidia (you are welcome to blame on me).

Also tested on-the-road_Tumbleweed_Notebook.


Packages involved ( /etc/portage/package.accept_keywords ) :

# ##################################################################################

   dev-util/spirv-llvm-translator                # req. by intel_clc
   dev-util/intel_clc                            # req. by mesa
   media-libs/mesa
   x11-apps/mesa-progs

# ##################################################################################

   dev-libs/wayland                      **
   dev-libs/wayland-protocols            **
# gui-libs/egl-wayland
   dev-util/wayland-scanner              **
   x11-base/xwayland                     **

   gui-apps/wlr-randr                    **      # guru                                  # <--- fetch manually

   gui-libs/wlroots                      **
   media-libs/libdisplay-info                    #                                       # req. by wlroots-9999

   gui-wm/dwl                            **      #      # savedconfig    # ! shiftview   # req. wlroots:0/9999
   x11-libs/libdrm

   dev-libs/bemenu                       **      #

   gui-apps/foot
   dev-libs/tllist                               # req. by foot

# gui-apps/wl-clipboard                 #*      # <-- wl-copy wl-paste

# gui-apps/grim                         #*      # grim -o { HDMI-0 DP-1 DP-2 DP-3 } -t jpeg -q 90
# gui-apps/slurp                        #*      # grim -g "$(slurp)"                -t jpeg -q 90
# app-text/scdoc                        #*      # req. by slurp

# ##################################################################################


Start alias:

alias dwl4='/usr/bin/dwl -s .../w4444'


with

$ cat .../w4444

#!/bin/bash
	wlr-randr --output DP-1		--pos	0,0
	wlr-randr --output DP-2		--pos	0,1440
	wlr-randr --output DP-3		--pos	2560,1440
	wlr-randr --output HDMI-A-1	--pos	2560,0


For me, "shiftview" definitely is a must-have enhancement for efficiency:

	https://codeberg.org/dwl/dwl-patches
	https://codeberg.org/dwl/dwl-patches/src/branch/main/shiftview/shiftview.patch


In the hope that perhaps this might prove useful for somebody

Kind regards

Manfred