Trinity Desktop Environment

From Gentoo Wiki
Jump to:navigation Jump to:search

The Trinity Desktop Environment (TDE) is a free and open-source desktop environment forked from KDE 3.5. Due to the fact it is forked from an old version of KDE (which is itself a resource-heavy desktop environment) it is considered light-medium weight by today's standards.

Please don't report bugs to the Gentoo bugzilla, instead report issues at the upstream repository.


Installing TDE


It is highly recommended to run a desktop profile when running a Desktop Environment, using amd64 as an example this can be done by running:

root #eselect profile set default/linux/amd64/23.0/desktop
root #emerge -vauDU @world

Enabling the Overlay

TDE is packaged in the trinity-official overlay. To enable this overlay:

root #eselect repository add trinity-official git

To add this overlay manually:

FILE /etc/portage/repos.conf/tde.conf
location = /var/db/repos/trinity-official
sync-type = git
sync-uri =
auto-sync = yes

Sync the overlay with emaint:

root #emaint sync -r trinity-official

The packages on the overlay are keyworded under the unstable ~amd64 keyword, so users on a stable system should unmask the packages on the repository.

FILE /etc/portage/package.accept_keywords/trinity-official
*/*::trinity-official ~amd64


To install the Trinity Desktop Environment meta package run the following command:

root #emerge --ask trinity-base/tdebase-meta

Display Manager


Trinity Desktop Environment has a matching display manager called TDM.


To install the Trinity Display Manager package run the following command:

root #emerge --ask trinity-base/tdm

Change your Display manager to "tdm." An example for display-manager users:

FILE /etc/conf.d/display-manager

Boot Service

To start TDM on boot, add display-manager to the default runlevel:

root #rc-update add display-manager default

To start TDM now:

root #rc-service display-manager start


To start TDM on boot, run the following:

root #systemctl enable tdm.service

And start the service:

root #systemctl start tdm.service


Users not wishing to use TDM may instead install LightDM.

To install LightDM, run the following command:

root #emerge --ask trinity-base/tdebase-meta

Enable the LightDM service.

root #systemctl enable lightdm

To start LightDM now:

root #systemctl start lightdm


Trinity Desktop Environment does not pull in a sound server, so we will have to enable one ourselves.


First, ensure elogind is enabled:

root #rc-update add elogind boot


Enable the pulseaudio USE flag globally:

FILE /etc/portage/make.conf

Then, emerge PipeWire:

root #emerge --ask media-video/pipewire


Add gentoo-pipewire-launcher to your xprofile:

FILE ~/.xprofile
gentoo-pipewire-launcher &


Trinity's default sound server application is unable to use pipewire, so you will want something like pavucontrol:

root #emerge --ask media-sound/pavucontrol

Reboot, and you should have sound.