Skip to main content

Trisquel .ctwmrc

(This is the basic configuration file used for menus and functionality in ctwm, this version differs slightly from the online version to add extra functionality via features to connect to networks ( nm-connection-manager) and a few modifications to the basic scripts to enable working with Trisquel. This text file is placed in the users home folder so that on login the window manager ( lxdm) loads this rather than the default configuration which sits in /etc/X11/system.ctwmrc)

1)Install ctwm

sudo apt install ctwm on Trisquel

2) Setup session to boot into ctwm properly

- add a text file called ctwm.desktop as root
sudo touch /usr/share/xsessions/ctwm.desktop

- edit the file
sudo mousepad /usr/share/xsessions/ctwm.desktop

/usr/share/xsessions/ctwm.desktop content

[Desktop Entry]
Version=1.0
Type=Application
Name=CTWM
Comment=Claude's Tab Window Manager for the X Window System
Exec=ctwm
Icon=ctwm
Terminal=false
StartupNotify=false
Categories=Application;

- save the file and exit

3) add the configuration file below into the users home folder
'nano /home/username/.ctwmrc'

The configuration file does not include modifications to suda-xdotool-test-2.sh to the version which seeks for vim and gains focus, though this could be added by changing the menu items in a text editor as the configuration file is fully and simply editable using any text editor like nano, mousepad or geany (though avoid ones which can alter the character encoding of the file on saving).

Attached file: .ctwmrc