Difference between revisions of "Trinity"

From ArchWiki
Jump to: navigation, search
(update Pkg/AUR templates to reflect new package status)
(Install binary packages: Version Typo)
 
(137 intermediate revisions by 13 users not shown)
Line 1: Line 1:
 
[[Category:Desktop environments]]
 
[[Category:Desktop environments]]
{{Article summary start}}
+
[[ja:Trinity]]
{{Article summary text|Trinity is a fork of KDE3 that has been updated to work with current software and libraries. The stable release is 3.5.13. The development release is 14.0.0.}}
+
{{Related articles start}}
{{Article summary heading|Trinity unofficial repositories}}
+
{{Related|Creating packages}}
{{Article summary text|Visit http://archlinux.us.to}}
+
{{Related|pacman tips}}
{{Article summary heading|Related}}
+
{{Related articles end}}
{{Article summary wiki|Creating Packages}}
 
{{Article summary wiki|Custom local repository}}
 
{{Article summary wiki|pacman Tips}}
 
{{Article summary end}}
 
  
The [http://trinitydesktop.org/ Trinity Desktop Environment] (TDE) project is a computer desktop environment for Unix-like operating systems with a primary goal of retaining the overall KDE 3.5 computing style. The project was founded by and is still led by Timothy Pearson. Timothy is an experienced and skilled software developer and was the KDE 3.x coordinator of previous Kubuntu releases.  
+
The [http://trinitydesktop.org/ Trinity Desktop Environment] (TDE) project is a fork of [[KDE]] 3.5 aiming to retain the traditional desktop style.
  
The goal of this project is to keep the KDE3.5 computing style alive, as well as polish off any rough edges that were present as of KDE 3.5.10. Along the way, new useful features have be added to keep the environment up-to-date.  
+
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.
  
The current stable release of TDE (3.5.13) was released Nov 1st 2011. A software release update (SRU) for 3.5.13 is planned in late 2012. Current development is on 14.0.0. Both 3.5.13(sru) and 14.0.0 build on Arch with all current libraries. The old stable 3.5.12 release was packaged as an updated kdemod3.
+
== Install binary packages ==
{{Note|Backwards compatibility with 3.5.X was dropped in 14.0.0 to allow install of TDE/TQt without conflict with KDE4/Qt4.}}
+
As of June 29, 2017 binary packages for 14.0.4 are on the NasuTek Contrib Repos. Only x86_64 is provided since i686 is being depreciated. See [[Unofficial user repositories#trinity]] on how to connect to this repo.
  
==The difference between 3.5.13 and 14.0.0==
+
== Build from source ==
 +
[https://github.com/michael-manley/Trinity_ArchLinux_PKGBUILD Michael's PKGBUILD repository] contains PKGBUILD files for most Trinity packages.
  
The versioning change between 3.5.13 and 14.0.0 signifies that backwards compatibility with 3.5.X has been dropped to allow TDE/TQt to install along side KDE4/Qt4 without conflict. 14.0.0 will continue to rely on HAL, but subsequent releases will do away with that dependency. 14.0.0 contains the first prototype of media:/ kioslave as a replacement for HAL. 3.5.13 continues backwards compatibility with KDE 3.5.10 code and provides an alternative choice for those that prefer. The 3.5 13 branch will be maintained for the forseeable future.
+
The sources are in a git repo. More info on cloning it is at their [https://wiki.trinitydesktop.org/Project_GIT_Information#Using_GIT GIT information] page.
  
Currently the remaining TQt name changes are being implemented after which a tentative code 'freeze' is anticipated to allow user testing and bug identification. 14.0.0 will be a true TDE release with all branding, artwork, and graphics changed and updated for this project rather than using the holdover KDE3 stock images. All in all, the desktop functions beautifully on current graphics libs, systemd-tools, libusbx, udisk2 and other newly implemented hardware paradigms.
+
The suggested build order is specified in the [https://wiki.trinitydesktop.org/How_to_Build_TDE How to Build TDE] page.
  
==Installation==
+
== Building with Michael's PKGBUILD files ==
  
Currently development packages for Arch Linux are available for both 3.5.13-sru and 14.0.0. Server space has been graciously provided by [https://wiki.archlinux.org/index.php/User:Maevius maevius].
+
{{Style|All that matters is the order, the rest is trivial or available from the wiki|section=Trinity Build}}
  
For stable 3.5.13-sru snapshots add to your {{ic|/etc/pacman.conf}}:
+
{{Note|See [[DeveloperWiki:Building in a Clean Chroot]] to build the packages in a chroot.}}
  
[tde3513]
+
[[makepkg|Build]] the packages in the following order, for example:
Server = http://archlinux.us.to/3.5.13/$arch
 
  
{{Note|If you have installed packages before 8/18/12, tde-tdeartwork was misssing. Please install that package to insure your selection of screensavers are complete.}}
+
{{bc|1=#!/bin/sh
 +
git clone <nowiki>https://github.com/michael-manley/Trinity_ArchLinux_PKGBUILD.git</nowiki> trinity
 +
cd trinity/R14.0.3
 +
dir=$PWD
  
For development 14.0.0 snapshots (expected by 9/1), add to your {{ic|/etc/pacman.conf}}:
+
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"
[tde1400]
+
  makepkg -Lsci
Server = http://archlinux.us.to/14.0.0/$arch
+
done
 
 
Meta package installation for tde is provided under the name {{ic|tde-base}}. Simply install with:
 
 
 
pacman -Syu tde-base
 
 
 
{{Note|On install, you should expect conflicts with tde-sip and tde-sip4-tqt. The TDE packages {{ic|tde-sip}} and {{ic|tde-sip4-tqt}} are direct replacements for the {{ic|sip}} and {{ic|python2-sip}} packages. They simply contain additional extensions for TDE. If you encounter these conflicts, the recommended install is:
 
 
 
pacman -Rdd sip python2-sip
 
pacman -Syu tde-base
 
 
}}
 
}}
  
{{Warning|If attempting to install 3.5.13 along side KDE4 you will experience conflicts with {{ic|libart-lgpl}} and {{ic|kdebase-workspace}}. The {{ic|libart-lgpl}} packages are equivalent. The {{ic|kdebase-workspace}} conflict is with {{ic|/etc/ksysguarddrc}}. Both are in the process of being eliminated.}}
+
In TDE R14.0.3, the tdebindings package will not build with the current {{Pkg|ruby}} 2.3 package installed on the system, or even with the {{AUR|ruby2.2}} package, despite the [https://wiki.trinitydesktop.org/Release_Notes_For_R14.0.3 R14.0.3 Release Notes] claim to have "Added ruby 2.2 support". In particular {{ic|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.
  
==Start and configuration==
+
Then also, consider your preference for path ordering, whether {{ic|/opt/trinity/bin}} should come before or after {{ic|/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 {{ic|~/.bash_profile}} and/or {{ic|/etc/profile.d/trinity.sh}}.
After a successful install of TDE, starting TDE from the command line or configuring {{ic|/etc/inittab}} to launch tdm is straightforward. The init script for the display manager has been renamed from {{ic|kdm}} to {{ic|tdm}} to avoid conflicts.
 
  
===Configure to work with startx===
+
{{Warning|If Trinity is installed alongside another Qt-based Desktop Environment, such as [[LXQt]] or [[KDE]], then move, modify, or in some way disable {{ic|/etc/profile.d/tqt3.sh}} and {{ic|/etc/profile.d/trinity.sh}}. Otherwise the alternative Desktop will fail horribly when the "QT" and "XDG" environment variables are redefined in these files!}}
Trinity provides a normal {{ic|starttde}} in {{ic|/opt/trinity/bin}} (symlink provided in 3.5.13). The easiest way to start Trinity is to simply add {{ic|/opt/trinity/starttde}} entry at the end of {{ic|~/.xinitrc}}. If you do not presently have {{ic|~/.xinitrc}}, then simply create it with the following entry:
 
  
{{hc|~/.xinitrc|exec /opt/trinity/bin/starttde}}
+
Both these files can be selectively enabled by wrapping their content with:
  
Then from the command line, just type {{ic|startx}}.
+
{{bc|1=
 
+
if ps -C starttde,starttrinity &>/dev/null ;then
===Configure with kdm greeter===
+
...
Trinity provides a great looking tdm graphical interface. The {{ic|tde-tdebase}} PKGBUILD has been updated to install the {{ic|trinity.desktop}} file in {{ic|/etc/X11/sessions}}. In order to automatically lauch {{ic|tdm}} on boot, edit {{ic|/etc/inittab}} and change the runlevel 5 x startup to:
+
fi
 
 
x:5:respawn:/opt/trinity/bin/tdm -nodaemon
 
 
 
If you modified inittab in runlevel 3, you can use {{ic|telinit}} to initialize the runlevel 5 services from the command line.
 
 
 
If you experiment with other display managers ([[slim]], etc..) please drop a quick howto here.
 
 
 
==Build from source==
 
 
 
=== PKGBUILDs - current git code ===
 
 
 
For a snapshot of PKGBUILD sources for building against the current GIT tree, see [http://www.3111skyline.com/dl/dt/tde/src R14] and [http://www.3111skyline.com/dl/dt/tde/src3513 3.5.13-sru]. Be sure to read  the [http://www.3111skyline.com/dl/dt/tde/src/README-building.txt README-building.txt].
 
 
 
{{Note|Final PKGBUILD source files will be moved to the tdepackaging GIT tree after 14.0.0 is released.}}
 
 
 
===Build order===
 
The required build order is specified in the [http://www.trinitydesktop.org/wiki/bin/view/Developers/HowToBuild Trinity-HowToBuild]. After building {{ic|tdebase}}, you can start the desktop.
 
{{Warning|Trinity on Arch must be built in a clean environment without [[KDE|KDE4]] present. }}
 
Set up your chroot for building by referencing [[DeveloperWiki:Building in a Clean Chroot]]. Make sure you configure your {{ic|local}} repository in {{ic|$CHROOT/root/repo}} and add each package built to the repository as outlined in the [[DeveloperWiki]].
 
 
 
{{hc|Example|
 
# mkarchroot -u $CHROOT/root
 
# makechrootpkg -c -r $CHROOT
 
# makechrootpkg -r $CHROOT   
 
 
}}
 
}}
Which means respectively:
 
# update the chroot
 
# build first package with the -c option
 
# build remaining packages without update }}
 
 
==Development 14.0.0 status==
 
 
The following packages have been successfully built from the TDE GIT tree for the upcoming release.
 
 
===Required AUR packages===
 
 
  {{AUR|hal}}
 
  {{AUR|hal-info}}
 
  {{Pkg|libutempter}}
 
  {{AUR|wv2}}
 
 
===Complete packages - 14.0.0 and 3.5.13-sru===
 
 
  tde-abakus
 
  tde-amarok
 
  tde-arts
 
  tde-avahi-tqt
 
  tde-basket
 
  tde-dbus-1-tqt
 
  tde-dbus-tqt
 
  tde-digikam
 
  tde-dolphin
 
  tde-filelight
 
  tde-gtk-qt-engine
 
  tde-gwenview
 
  tde-k3b
 
  tde-k9copy
 
  tde-katapult
 
  tde-kaffeine
 
  tde-kbarcode
 
  tde-kbookreader
 
  tde-kdiff3
 
  tde-kdirstat
 
  tde-kgtk-qt3
 
  tde-kima
 
  tde-kio-locate
 
  tde-kipi-plugins
 
  tde-kmplayer
 
  tde-knemo
 
  tde-knetload
 
  tde-knetstats
 
  tde-knutclient
 
  tde-koffice
 
  tde-konversation
 
  tde-kpowersave
 
  tde-krename
 
  tde-krusader
 
  tde-ksplash-engine-moodin
 
  tde-libart-lgpl
 
  tde-libcaldav
 
  tde-libcarddav
 
  tde-libkdcraw
 
  tde-libkexiv2
 
  tde-libkipi
 
  tde-libksquirrel
 
  tde-python-tqt
 
  tde-rosegarden
 
  tde-sip
 
  tde-sip4-tqt
 
  tde-soundkonverter
 
  tde-tde-style-qtcurve
 
  tde-tdeaccessibility
 
  tde-tdeaddons
 
  tde-tdeadmin
 
  tde-tdeartwork
 
  tde-tdebase
 
  tde-tdeedu
 
  tde-tdegames
 
  tde-tdegraphics
 
  tde-tdelibs
 
  tde-tdemultimedia
 
  tde-tdenetwork
 
  tde-tdepim
 
  tde-tdesdk
 
  tde-tdesvn
 
  tde-tdetoys
 
  tde-tdeutils
 
  tde-tdevelop
 
  tde-tdewebdev
 
  tde-tqca-tls
 
  tde-tqt3
 
  tde-tqtinterface
 
  tde-twin-style-crystal
 
  tde-wlassistant
 
  tde-yakuake
 
 
===TDE GIT application in need of packaging/updating===
 
 
The following is a list of packages that need PKGBUILDs create and/or code fixes to build with current libraries. If you can help with the project and code updates then please join us on the trinity-devel list (trinity-devel@lists.pearsoncomputing.net). Visit http://www.trinitydesktop.org/mailinglist.php for more information.
 
 
  adept
 
  bibletime
 
  compizconfig-backend-kconfig
 
  desktop-effects-tde
 
  filelight-l10n
 
  fusion-icon
 
  kaffeine-mozilla
 
  kbfx
 
  kchmviewer
 
  kcmautostart
 
  kcpuload
 
  kdbusnotification
 
  kdpkg
 
  keep
 
  kerry
 
  kile
 
  kio-apt
 
  kio-umountwrapper
 
  kiosktool
 
  kmyfirewall
 
  kmymoney
 
  knetworkmanager8
 
  knetworkmanager9
 
  knights
 
  knowit
 
  kopete-otr
 
  kpicosim
 
  kpilot
 
  kpowersave-nohal
 
  kradio
 
  kstreamripper
 
  ksystemlog
 
  ktechlab
 
  ktorrent
 
  kvirc
 
  kvkbd
 
  kvpnc
 
  piklab
 
  potracegui
 
  qt4-tqt-theme-engine
 
  smartcardauth
 
  smb4k
 
  soundkonverter
 
  tde-guidance
 
  tde-style-lipstik
 
  tde-systemsettings
 
  tdesudo
 
  tdesvn
 
  tellico
 
  libtqt-perl
 
  pytdeextensions
 
  python-trinity
 
  tdebindings
 
  tdesdk
 
 
==Known issues==
 
  
===Issues for 3.5.13-sru===
+
== Start and configuration ==
  
The following are issues that are specific to the 3.5.13-sru release:
+
After a successful install of TDE, the tdm desktop manager can be used to start TDE (and all other desktops) in the same manner kdm is used to start KDE Plasma. The init script for the display manager has been renamed from {{ic|kdm}} to {{ic|tdm}} to avoid conflicts. TDE includes a tdm.service file allowing systemd to start tdm at boot. TDE can also be started from the command line by including the path to starttde in your ~/.xinitrc. Either way launching tdm or TDE is straightforward.  
  
KHelpCenter documentation from packages built with autotools are installed in {{ic|/opt/trinity/share/doc/HTML}} while documentation from CMake packages are installed in {{ic|/opt/trinity/share/doc/kde/HTML}}. This means roughly one-half of the help files are missing from the khelpcenter browser. This is currently being fixed in the GIT tree and the next set of packages will have all help documentation in the chosen standard location of {{ic|/opt/trinity/share/doc/tde/HTML}}. This also insures a future {{ic|/usr}} install will not conflict with any [[KDE]] help files. As a workaround in the mean time, after installing 3.5.13-sru:
+
=== Enable tdm.service in systemd to start tdm at boot ===
  
cd /opt/trinity/share/doc/kde/HTML/en
+
If systemd is configured to boot the default {{ic|multi-user.target}} (default), all that is required is to configure tdm to start at boot is to [[enable]] {{ic|tdm.service}}.
for i in ../../../HTML/en/*/; do ln -s $i; done
 
  
{{Note|Substitute your language for {{ic|en}}}}
+
If you encounter any problem, the {{ic|default.target}} may have manually configured. See [[Display manager#Loading the display manager]] for resolution.
  
Package {{ic|tde-tdesvn}} for x86_64 had been built with libpath {{ic|/opt/trinity/lib64}} and {{ic|/opt/trinity/lib64/trinity}} , but there was no any records in libpath about them. Then, starting {{ic|kdesvn}} you get error ''{{ic|libkdesvnpart.la not found in paths}}''. As a workaround you may copy/symlink libraries from {{ic|/opt/trinity/lib64}} and {{ic|/opt/trinity/lib64/trinity}} into {{ic|/opt/trinity/lib}} and {{ic|/opt/trinity/lib/trinity}} respectively or try to create libpath record and {{ic|ldconfig}} after it.
+
=== Configure to work with startx ===
  
===Issues for 14.0.0===
+
Trinity provides a normal {{ic|starttde}}. If you've followed the Arch packaging guidelines, it will be in {{ic|/usr/bin}}. The easiest way to start Trinity is to simply add {{ic|starttde}} at the end of {{ic|~/.xinitrc}}. If you do not presently have {{ic|~/.xinitrc}}, then simply copy it from {{ic|/etc/skel}} or create it with the following entry:
  
None known
+
{{hc|~/.xinitrc|exec starttde}}
  
==Contributors==
+
Then from the command line, just type {{ic|startx}}. More about [[xinitrc]].
At present, the Trinity project for Arch Linux is just beginning. Interest in the project and [http://trinitydesktop.org/contributors.php the list of contributors] is growing. Anyone wanting to help can simply join in. Please email Calvin Morrison.
 
  
===Archlinux===
+
== Trinity "Kicker" panel with other desktop environments ==
* Calvin Morrison: Trinity and Arch a/k/a "mutantturkey", PKGBUILD development and collaboration.
 
* Kaiting Chen: Arch Linux - server space for testing Trinity binaries in the past.
 
* Albert Vaca: kdemod3 updated based on Trinity Stable codebase.
 
* David C. Rankin: 14.0.0 (3.5.13-sru) Development and Packaging
 
  
===Developers===
+
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''.
* Timothy Pearson: Project administrator, primary developer, build farm administrator, Debian/Ubuntu packaging maintainer.
 
* Darrell Anderson: 3.5.13 -> 14.0.0 Lead coordinator for development and rebranding. Build system preprocessor improvements.
 
* Sl&aacute;vek Banko: 3.5.13-sru developer, GIT maintainer, R14 backport selection and integration.
 
* Serghei Amelian: General functionality enhancements, CMake build system developer/maintainer.
 
* "Woodsman": Vanilla build testing, Slackware packaging maintainer.
 
* Francois Andriot: Developer, Redhat/Fedora packaging maintainer.
 
* David Rankin: 3.5.13-sru and R14 development, upstream library change implementation, graphics, Arch Packaging.
 
  
===Content Distribution===
+
#!/bin/bash
* University of Idaho: Mirror 1 [United States]
+
/opt/trinity/bin/tdeinit
* Jens Dunzweiler: Mirror 2 [Germany]
+
/opt/trinity/bin/kicker
* Inga Muste: Kubuntu LiveCD mirror
+
/opt/trinity/bin/tdebuildsycoca --noincremental
  
===Web Team===
+
== See also ==
*Calvin Morrison: Website design.
 
*Inga Muste: Website design.
 
  
==See also==
+
* [http://git.trinitydesktop.org/cgit/ TDE Git repositories]
The Trinity site has a number of good resources available. As with any rapidly developing project, the documentation is somewhat sparse, but it does provide a good basic road-map to follow here. The mailing list has approximately the same volume as the arch-user list, so it will not overwhelm your inbox. If you want to help with this project, it is strongly recommended that you also join the trinity-devel mailing list. All of the following links are available from the Trinity project site. A quick list of helpful links to the project follows:
+
* [http://bugs.trinitydesktop.org/ TDE Bugzilla]
* Main Project Site: [http://trinitydesktop.org/ http://trinitydesktop.org]
+
* [http://trinitydesktop.org/mailinglist.php Mailing Lists]
* TDE GIT Repository: [http://git.trinitydesktop.org/cgit/ http://git.trinitydesktop.org/cgit/]
+
* [https://wiki.trinitydesktop.org/Category:Developers Developers Web]
* TDE GIT SCM Manager: [http://scm.trinitydesktop.org/scm/ http://scm.trinitydesktop.org/scm/]
+
* [https://wiki.trinitydesktop.org/Category:Developers#Tutorials_and_Documentation_for_QT_and_TQT QT and TQT Tutorials and Documentation]
* Bug Reporting: [http://bugs.trinitydesktop.org/ http://bugs.trinitydesktop.org]
+
* [https://wiki.trinitydesktop.org/Category:Developers#Building_and_Distributing_Trinity How To Build]
* Mailing Lists: [http://trinitydesktop.org/mailinglist.php http://trinitydesktop.org/mailinglist.php]
 
* Developers Web: [http://trinitydesktop.org/wiki/bin/view/Developers/WebHome http://trinitydesktop.org/wiki/bin/view/Developers/WebHome]
 
* Trinity Qt4 Conversion: [http://trinitydesktop.org/wiki/bin/view/Developers/TrinityTQtforQt4Conversion http://trinitydesktop.org/wiki/bin/view/Developers/TrinityTQtforQt4Conversion]
 
* How To Build: [http://trinitydesktop.org/wiki/bin/view/Developers/HowToBuild http://trinitydesktop.org/wiki/bin/view/Developers/HowToBuild]
 

Latest revision as of 20:14, 29 June 2017

Related articles

The Trinity Desktop Environment (TDE) project is a fork of KDE 3.5 aiming to retain the traditional desktop style.

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.

Install binary packages

As of June 29, 2017 binary packages for 14.0.4 are on the NasuTek Contrib Repos. Only x86_64 is provided since i686 is being depreciated. See Unofficial user repositories#trinity on how to connect to this repo.

Build from source

Michael's PKGBUILD repository contains PKGBUILD files for most Trinity packages.

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 Michael's PKGBUILD files

Tango-edit-clear.pngThis article or section needs language, wiki syntax or style improvements.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.3
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

Start and configuration

After a successful install of TDE, the tdm desktop manager can be used to start TDE (and all other desktops) in the same manner kdm is used to start KDE Plasma. The init script for the display manager has been renamed from kdm to tdm to avoid conflicts. TDE includes a tdm.service file allowing systemd to start tdm at boot. TDE can also be started from the command line by including the path to starttde in your ~/.xinitrc. Either way launching tdm or TDE is straightforward.

Enable tdm.service in systemd to start tdm at boot

If systemd is configured to boot the default multi-user.target (default), all that is required is to configure tdm to start at boot is to enable tdm.service.

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

Configure to work with startx

Trinity provides a normal starttde. If you've followed the Arch packaging guidelines, it will be in /usr/bin. The easiest way to start Trinity is to simply add starttde at the end of ~/.xinitrc. If you do not presently have ~/.xinitrc, then simply copy it from /etc/skel or create it with the following entry:

~/.xinitrc
exec starttde

Then from the command line, just type startx. More about xinitrc.

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

See also