cwm - calm window manager

Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators

Post Reply
user1111

cwm - calm window manager

Post by user1111 »

calm window manager, cwm

Sourced from https://github.com/leahneukirchen/cwm
Builds by simply running 'make'

My ~/.cwmrc file to configure it looks like

Code: Select all

gap 1 1 1 1

unbind-key CM-Return
bind-key CM-Return 'urxvt +sb'

color inactiveborder        gray30
color activeborder          orange 
color groupborder           "#01a252"
color urgencyborder         "#3d9751"
color selfont               "#0034A9"
color font                  "#FFFFFF"
color menufg                "#49F6F6"
color menubg                "#333333"
fontname                    "News10:size=12:antialias=true"

command "chrome" '/opt/google/chrome/chrome --no-sandbox'
command "terminal" urxvt
command "rox" rox
command "geany" geany
command "mtpaint" mtpaint
command "galculator" galculator
command "Libre Calc" 'libreoffice --calc'
command "Libre Writer" 'libreoffice --writer'

To have it run instead of openbox or jwm
echo cwm >/etc/windowmanager
echo "xsetroot -solid navyblue" >~/.fatdog/xdesktop
chmod +x ~/.fatdog/xdesktop

and edit /etc/rc.d/Xstartwm to add cwm alongside the jwm and icewm case options i.e. change

Code: Select all

case "$WINDOW_MANAGER" in                                  
        jwm|icewm|icewm-session)  

to

Code: Select all

case "$WINDOW_MANAGER" in
        cwm|jwm|icewm|icewm-session) 

Then when X is next started it will load cwm. Which is just a blank screen, navyblue background in the above case.

Read the manual for that here https://man.openbsd.org/cwm.1

No window decorations or tray or desktop icons dragging and resizing windows involves key and mouse (or can be just keys alone) actions ... why it that so popular? Well its good for keeping out of the way and for those that log in/use multiple machines its nice not having to deal with window decorations/trays/desktop icons.

alt-shift-/ (alt-?) brings up a exec option, type the first two or three characters of a program name and more often that will have identified the unique program name. Ctrl-alt-enter for a terminal ... and suchlike controls soon become second nature.

Open a terminal,and
ssh -Y 192.168.1.4 libreoffice
and for me that opens up libreoffice on my server (assuming here that ssh is all pre-configured for that) so file, open will open files on that server. That window will look pretty much the same as if alt-? libreoffice ... were run, i.e. libreoffice on the local box. Very transparent. But very much a window manager for the more advanced Linux user who is far more inclined to appreciate its functionality. For the men, not for the "boys", bare minimal ... can be very nice :twisted:

PS to reinstate openbox, echo openbox >/etc/windowmanager;chmod -x ~/.fatdog/xdesktop and then ctrl-alt-backspace to exit X and run startx to restart X again.

Post Reply

Return to “Software”