On 2026-07-17 12:59, Robert B. Carleton wrote:
I've been getting used to using cwm, putting together some basic configuration,
thinking about posting some kind of web article about it. I was curious if
anyone would want to comment on what I've put together so far:
--cut here--
$ cat .xsession
# Start DBUS
if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
eval `dbus-launch --sh-syntax --exit-with-x11`
fi
# Set the screen saver
xset dpms 600 900 1200
# Enable screen lock (xidle needs to be in the background)
xidle -no \
-program "/usr/X11R6/bin/xlock -mode flame -lockdelay 60" \
-timeout 300 &
# Start the compositing manager
xcompmgr -n &
# Launch a few applications
xterm -geometry 160x48+0+0 -ls +sb &
xclock -digital -update 1 -geometry -0+0 &
xload -geometry +0-0 &
# Run the window manager
cwm
$ cat .cwmrc
command firefox firefox
command firefox-esr firefox-esr
command chromium chrome
command seamonkey seamonkey
command keepassxc keepassxc
$
--cut here---
I'm particularly looking for feedback regarding anything that's unnecessary,
or just wrong. Suggested additions would be valuable too.
All I have in my .xsession file related to cwm is:
xclock -render -g 120x120-0+0 &
/usr/X11R6/bin/cwm
My .cwmrc is full of app commands, mostly for apps that I forget that I
have, so I save a link to them for the menu. ;)
I am running xlock, but I cannot for the life of me remember where that
is placed any longer. It has been so long.
Here is a bit of my .cwmrc for the appearance:
borderwidth 3
color activeborder blue
color inactiveborder grey
# taken from online, not sure it changed much
moveamount 10
vtile 100
htile 50
gap 1 1 1 1
snapdist 3
# from man page
color menubg lightblue
color urgencyborder red
Cheers, Aric