Trinity

From ArchWiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

From the Trinity Desktop Environment (TDE) project page:

TDE is a complete software desktop environment designed for Unix-like operating systems, intended for computer users preferring a traditional desktop model, and is free/libre software. Born as a fork of KDE 3.5 back in 2010, TDE is now a fully independent project with its own personality and development team, available for various Linux distros, BSD and DilOS.

TDE still depends on an old version of Qt, which they now maintain themselves, since it is deprecated. The Trinity applications and applets should also work with other desktop environments.

Installation

Binary packages

As of September 29, 2021 binary packages for 14.0.10 are now available from Trinity. Only x86_64 is provided since i686 is being depreciated. Install the tde-tdebase package from the trinity repository.

If you have any errors during an upgrade, add the 0x8685AD8B key by following pacman/Package signing#Adding unofficial keys.

Build from source

Trinity Packaging repository contains PKGBUILD files for most Trinity packages in the "arch" folder.

The sources are in a git repo. More info on cloning it is at their GIT information page.

The suggested build order is specified in the How to Build TDE page.

Building with the PKGBUILD files from upstream

Note: See DeveloperWiki:Building in a clean chroot to build the packages in a chroot.

Recommended to run in a clean chroot the build.sh script. This will build the packages in the proper order and create a repo for you to add to pacman.

Building with Michael's PKGBUILD files (older info may not be applicable now)

Tango-edit-clear.pngThis article or section needs language, wiki syntax or style improvements. See Help:Style for reference.Tango-edit-clear.png

Reason: All that matters is the order, the rest is trivial or available from the wiki (Discuss in Talk:Trinity#Trinity Build)
Note: See DeveloperWiki:Building in a clean chroot to build the packages in a chroot.

Build the packages in the following order, for example:

#!/bin/sh
git clone https://github.com/michael-manley/Trinity_ArchLinux_PKGBUILD.git trinity
cd trinity/R14.0.4
dir=$PWD

for pkg in tqt3 tqtinterface arts dbus-tqt dbus-1-tqt tqca-tls libart-lgpl avahi-tqt tdelibs tdebase tdebindings tdeaccessibility tdeutils; do
  cd "$dir"/tde-"$pkg"
  makepkg -Lsci
done

In TDE R14.0.3, the tdebindings package will not build with the current ruby 2.3 package installed on the system, or even with the ruby2.2AUR package, despite the R14.0.3 Release Notes claim to have "Added ruby 2.2 support". In particular tdebindings/qtruby/rubylib/qtruby/Qt.cpp seems to not be compatible with either package. Remove the ruby package while building tdebindings and re-install afterwards.

Then also, consider your preference for path ordering, whether /opt/trinity/bin should come before or after /usr/bin. This will give priority to one or the other of the KDE applications available through both Trinity and KDE/Plasma, if KDE/Plasma is also installed. The PATH environment variable may need to be modified in ~/.bash_profile and/or /etc/profile.d/trinity.sh.

Warning: If Trinity is installed alongside another Qt-based Desktop Environment, such as LXQt or KDE, then move, modify, or in some way disable /etc/profile.d/tqt3.sh and /etc/profile.d/trinity.sh. Otherwise the alternative Desktop will fail horribly when the "QT" and "XDG" environment variables are redefined in these files!

Both these files can be selectively enabled by wrapping their content with:

if ps -C starttde,starttrinity &>/dev/null ;then
...
fi

Starting

Manually

To start Trinity from the Linux console:

$ startx /opt/trinity/bin/starttde

See xinit for more.

Graphically

tde-tdebase comes with TDE Display Manager. To start it at boot, enable the tdm.service.

Tips and tricks

Trinity "Kicker" panel with other desktop environments

To use the Trinity "kicker" Desktop Panel and Applets with another desktop environment, create this script and make it executable. For Plasma5, use System Settings > Startup and Shutdown > Autostart > Add Script.

#!/bin/bash
/opt/trinity/bin/tdeinit
/opt/trinity/bin/kicker
/opt/trinity/bin/tdebuildsycoca --noincremental

Troubleshooting

TDE Display Manager

If you encounter any issues, the default.target may have manually configured. See Display manager#Loading the display manager for resolution.

See also