The file /etc/default/xdesktops contains one or more lines of the form:
name=scriptWhere name is a unique identifier for a desktop, and script is a single command that invokes that desktop. For example, the default xdesktops file contains these two entries:
Additional desktops can be added to the file as they are installed.
The file /etc/default/X11 is used to select the system-wide default desktop. This file has two possible entries in it:
In addition, the file $HOME/.x11rc allows each user to specify their own default desktop. This file can both define new desktops and select one, as described above. So, for example, a $HOME/.x11rc file that selects KDE as the default desktop could look like this:
kde3=/opt/kde/bin/startkde XDESKTOP=kde3Or, since kde3 is already defined in /etc/default/xdesktops:
Note that the file /etc/default/scologin, used in previous releases to specify the default desktop, is no longer supported.