.. meta::
   :description: Learn how to create custom desktops for ThinLinc users
                 using the ThinLinc Desktop Customizer (TLDC), which
                 tailors application menus and desktop icons based on
                 conditional parameters.

.. _tldc_enabling:

Enabling the custom desktops for users
--------------------------------------

To activate the changes made using TLDC, create a symbolic link in
:file:`/opt/thinlinc/etc/xstartup.d`:

.. code:: console

   $ sudo ln -s /opt/thinlinc/bin/tl-desktop-activate.sh \
      /opt/thinlinc/etc/xstartup.d/35-tl-desktop-activate.sh

The ThinLinc session startup will read this file and write a
:file:`~/.config/menus/applications.menu` (and possibly create symbolic
links under :file:`~/.kde/share/apps/kdesktop/Desktop` if you're using
KDE).

.. note::

   The TLDC activation script only runs TLDC for non-root users. Test
   your TLDC configuration using a normal user.
