Difference between revisions of "Console TDM"

From ArchWiki
Jump to: navigation, search
(added link to console-tdm homepage)
(Update page following 1.3.0 release)
 
Line 21: Line 21:
 
or
 
or
 
  tdm
 
  tdm
 +
 +
{{Tip|Since version 1.3.0, {{ic|tdm}} may be forced to start if X is already running by adding the {{ic|--disable-xrunning-check}} flag to the first call of {{ic|tdm}}.}}
  
 
Regardless of which shell is used you should edit {{ic|~/.xinitrc}} by replace your existing {{ic|exec}} line with:
 
Regardless of which shell is used you should edit {{ic|~/.xinitrc}} by replace your existing {{ic|exec}} line with:
Line 27: Line 29:
 
==Configuration==
 
==Configuration==
  
You should copy the links to your WM/DE starter to {{ic|~/.tdm/sessions}}, and links to non-X programs to {{ic|~/.tdm/extra}}. For convenience, you can just run {{ic|tdmctl init}}.
+
{{Note|Since version 1.3.0, {{ic|tdm}} follows the XDG base directory specification. By default, {{ic|$XDG_CONFIG_HOME}} is set to {{ic|$HOME/.config}}.}}
 +
{{Warning|Since support for {{ic|~/.tdm}} will eventually be dropped, consider moving your configuration to {{ic|$XDG_CONFIG_HOME/tdm}}. You can use {{ic|tdmctl migrate}} to automatically migrate your configuration.}}.
 +
 
 +
You should copy the links to your WM/DE starter to {{ic|$XDG_CONFIG_HOME/tdm/sessions}}, and links to non-X programs to {{ic|$XDG_CONFIG_HOME/tdm/extra}}. For convenience, you can just run {{ic|tdmctl init}}.
  
 
The use of the program {{ic|tdmctl}} is much like {{ic|systemctl}}, and it's a powerful tool to configure Console TDM.
 
The use of the program {{ic|tdmctl}} is much like {{ic|systemctl}}, and it's a powerful tool to configure Console TDM.
  
You can customize Console TDM by editing {{ic|~/.tdm/tdminit}}.
+
You can customize Console TDM by editing {{ic|$XDG_CONFIG_HOME/tdm/tdminit}}.
  
 
==See also==
 
==See also==
  
 
* [http://dopsi.github.io/console-tdm/ Homepage]
 
* [http://dopsi.github.io/console-tdm/ Homepage]

Latest revision as of 21:00, 19 December 2017

Console TDM is an extension for xorg-xinit written in pure bash. It is inspired by CDM, which aimed to be a replacement of display managers such as GDM.

Installation

Install the console-tdmAUR package (console-tdm-gitAUR package for the development version).

Now ensure no other display managers get started by disabling their systemd services.

After installing Console TDM, you should modify your ~/.bash_profile, and add a line:

source /usr/bin/tdm

If you use zsh, add to your ~/.zprofile the following line:

bash /usr/bin/tdm

or

tdm
Tip: Since version 1.3.0, tdm may be forced to start if X is already running by adding the --disable-xrunning-check flag to the first call of tdm.

Regardless of which shell is used you should edit ~/.xinitrc by replace your existing exec line with:

exec tdm --xstart

Configuration

Note: Since version 1.3.0, tdm follows the XDG base directory specification. By default, $XDG_CONFIG_HOME is set to $HOME/.config.
Warning: Since support for ~/.tdm will eventually be dropped, consider moving your configuration to $XDG_CONFIG_HOME/tdm. You can use tdmctl migrate to automatically migrate your configuration.
.

You should copy the links to your WM/DE starter to $XDG_CONFIG_HOME/tdm/sessions, and links to non-X programs to $XDG_CONFIG_HOME/tdm/extra. For convenience, you can just run tdmctl init.

The use of the program tdmctl is much like systemctl, and it's a powerful tool to configure Console TDM.

You can customize Console TDM by editing $XDG_CONFIG_HOME/tdm/tdminit.

See also