Difference between revisions of "MX Linux Trinity Repository Installation Instructions"

From Trinity Desktop Project Wiki
Jump to navigation Jump to search
(Bug fix workaround)
(TDE installs and runs perfectly on MX-21)
 
(6 intermediate revisions by one other user not shown)
Line 21: Line 21:
 
=='''Warnings / Notes'''==
 
=='''Warnings / Notes'''==
   
There are no official TDE packages available for MX Linux. Per MX Linux forums, TDE has been installed sporadically on MX Linux back to ~2015. Michael has been running TDE in MX-18 (since 01/19) and MX-19 (since 07/20).
+
There are no official TDE packages available for MX Linux. Per MX Linux forums, TDE has been installed sporadically on MX Linux back to ~2015. Michael has been running TDE in MX-18 (since 01/19) and MX-19 (since 07/20). Thierry has been running TDE (Preliminary Stable Builds) in MX-21 (since 09/2022).
   
 
MX Linux uses a sources list directory system not a singular /etc/apt/sources.list file. If you are adding TDE manually create a separate file containing the TDE repositories and place it in the directory /etc/apt/sources.list.d .
 
MX Linux uses a sources list directory system not a singular /etc/apt/sources.list file. If you are adding TDE manually create a separate file containing the TDE repositories and place it in the directory /etc/apt/sources.list.d .
Line 33: Line 33:
   
 
='''Available versions and architectures'''=
 
='''Available versions and architectures'''=
  +
  +
=='''R14.1.x series'''==
  +
  +
==='''MX-21 (with PSB)'''===
  +
  +
Install MY from Live USB with Xfce. Update.
  +
Create a file in /etc/apt/sources.list.d (name is free, for example tde.list ) containing the two lines you find in the PSB install page. Install the key. Install from command line. Reboot and choose TDE.
  +
Note than TDM seems not to install by default, but you can add it manually (e.g. by using Synaptic). Some MX-Tools seem to expect (or require) lightdm.
   
 
=='''R14.0.x series'''==
 
=='''R14.0.x series'''==
Line 40: Line 48:
 
We have an installation file for MX Linux 19.
 
We have an installation file for MX Linux 19.
   
Requirements:
+
'''Requirements''':
   
You will need to have installed MX Linux from the MX Live USB, or any other method that results in a full MX install that includes installing the desktop Xfce.
+
You will need to have installed MX Linux from the MX Live USB, or any other method that results in a full MX install that includes installing a Xfce desktop.
   
  +
Note!: Prior to installing TDE, do a full update (and reboot if /boot was modified).
To Install:
 
   
 
<nowiki>
After the MX install, save the file [[Media:Tde.xml]] (Save Link As...) to your computer and rename it to tde.pm .
 
  +
sudo apt-get update
  +
sudo apt-get dist-upgrade
 
</nowiki>
   
'''Bug Fix:'''
+
'''To Install''':
   
  +
Save the file [[Media:Tde.xml]] (Save Link As...) to your computer and rename it to tde.pm . Then copy it into /usr/share/mx-packageinstaller-pkglist . Assuming you've saved it in your ~/Downloads folder:
The printf, even commented out, is stopping the Package Installer from seeing the entire tde.pm. The printf works fine from the root command line. Given that, after downloading the tde.pm:
 
   
 
<nowiki>
 
<nowiki>
  +
cd ~/Downloads
- Make a backup copy of it
 
 
sudo cp tde.pm /usr/share/mx-packageinstaller-pkglist/
- Remove the lines in the <postinstall> section
 
- Continue below, then
 
- After you ‘Login TDE’
 
- - run the two commands (printf, chmod) that you removed from <postinstall> as root (or sudo)
 
 
</nowiki>
 
</nowiki>
   
  +
: (Optional) To verify:
Then place it into /usr/share/mx-packageinstaller-pkglist .
 
   
 
: <code>ls -al --color=always /usr/share/mx-packageinstaller-pkglist/tde.pm</code>
<nowiki>
 
# ll /usr/share/mx-packageinstaller-pkglist/tde.pm
 
-rw-r--r-- 1 root root 4196 Jul 26 21:24 /usr/share/mx-packageinstaller-pkglist/tde.pm
 
</nowiki>
 
   
  +
: Output should be similar to this:
Then from Xfce4
 
 
: -rw-r--r-- 1 root root 4489 Jul 26 21:24 /usr/share/mx-packageinstaller-pkglist/tde.pm
  +
  +
Then from the Xfce desktop
   
 
<nowiki>Menu >> MX Tools >> MX Package Installer
 
<nowiki>Menu >> MX Tools >> MX Package Installer
Line 75: Line 83:
 
{Click} Install</nowiki>
 
{Click} Install</nowiki>
   
  +
* Reboot if /boot was modified during the TDE install process
 
* Logout of Xfce4
 
* Logout of Xfce4
 
* Login
* {set default window manager, etc.}
 
  +
* Login TDE
 
  +
'''tde.pm does''':
  +
  +
* Adds extra code to handle sudo interactive needs.
  +
* Adds wrappers to handle debconf, pkexec, and update-grub.
  +
* Sets the default x-session-manager to trinity-desktop.
  +
  +
A somewhat long winded discussion can be found at: https://forum.mxlinux.org/viewtopic.php?f=100&t=60417
   
 
==='''Manually (all versions)'''===
 
==='''Manually (all versions)'''===
Line 83: Line 99:
 
Use official TDE packages for Debian. Modify the instructions available at this [[DebianInstall|page]] with the below and use the corresponding Debian version as noted here.
 
Use official TDE packages for Debian. Modify the instructions available at this [[DebianInstall|page]] with the below and use the corresponding Debian version as noted here.
   
  +
* MX-21 - Use debian bullseye packages
 
* MX-19 - Use debian buster packages
 
* MX-19 - Use debian buster packages
 
* MX-18 - Use debian stretch packages
 
* MX-18 - Use debian stretch packages
Line 88: Line 105:
   
 
Add the package manager lines as shown on the [[Debian_Trinity_Repository_Installation_Instructions#Configure_the_package_manager|Configure the package manager]] section to a file and place it in the directory /etc/apt/sources.list.d
 
Add the package manager lines as shown on the [[Debian_Trinity_Repository_Installation_Instructions#Configure_the_package_manager|Configure the package manager]] section to a file and place it in the directory /etc/apt/sources.list.d
  +
  +
Example MX-21:
  +
  +
<nowiki>root@local [/etc/apt/sources.list.d]# cat tde.list
  +
  +
## Trinity Desktop Environment - TDE R14.1.x
  +
# stable
  +
#deb http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-r14.0.x bullseye main
  +
#deb http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-builddeps-r14.0.x bullseye>
  +
#deb-src http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-r14.0.x bullseye main
  +
#deb-src http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-builddeps-r14.0.x bull>
  +
# Preliminary stable
  +
deb http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-sb/ bullseye deps-r14 main->
  +
deb-src http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-sb/ bullseye deps-r14 m>
  +
  +
# if you need the key
  +
# wget http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-keyring.deb
  +
# sudo dpkg -i trinity-keyring.deb
  +
   
 
Example MX-18:
 
Example MX-18:
Line 99: Line 135:
 
deb-src http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-builddeps-r14.0.x stretch main</nowiki>
 
deb-src http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-builddeps-r14.0.x stretch main</nowiki>
   
=='''v3.5.13.2'''==
+
=='''v3.5.x'''==
   
 
There is no support for this TDE version in MX Linux.
 
There is no support for this TDE version in MX Linux.

Latest revision as of 05:13, 25 July 2023


On this page you can read the instructions to install Trinity Desktop Environment on your MX Linux system.


MX Linux Summary

MX Linux uses a combination of official Debian stable and antiX repositories in addition to their own repositories for keeping components current. MX Linux releases once per year and its versions are named based upon the year (MX-18 was released December 20, 2018).


Systemd is included by default but not enabled. No official support will be provided for users who choose to run MX Linux using systemd (see MX Users Manual for additional information).


Links:
https://mxlinux.org/
https://mxlinux.org/manuals
https://forum.mxlinux.org/


Warnings / Notes

There are no official TDE packages available for MX Linux. Per MX Linux forums, TDE has been installed sporadically on MX Linux back to ~2015. Michael has been running TDE in MX-18 (since 01/19) and MX-19 (since 07/20). Thierry has been running TDE (Preliminary Stable Builds) in MX-21 (since 09/2022).

MX Linux uses a sources list directory system not a singular /etc/apt/sources.list file. If you are adding TDE manually create a separate file containing the TDE repositories and place it in the directory /etc/apt/sources.list.d .

# ll /etc/apt/sources.list.d/trinitydesktop.org.list
-rw-r--r-- 1 root root 427 Jul 26 21:29 /etc/apt/sources.list.d/trinitydesktop.org.list
 

You can install TDE in your computer in one of the following ways.

Available versions and architectures

R14.1.x series

MX-21 (with PSB)

Install MY from Live USB with Xfce. Update. Create a file in /etc/apt/sources.list.d (name is free, for example tde.list ) containing the two lines you find in the PSB install page. Install the key. Install from command line. Reboot and choose TDE. Note than TDM seems not to install by default, but you can add it manually (e.g. by using Synaptic). Some MX-Tools seem to expect (or require) lightdm.

R14.0.x series

MX-19 Automagically (mostly)

We have an installation file for MX Linux 19.

Requirements:

You will need to have installed MX Linux from the MX Live USB, or any other method that results in a full MX install that includes installing a Xfce desktop.

Note!: Prior to installing TDE, do a full update (and reboot if /boot was modified).

 
sudo apt-get update
sudo apt-get dist-upgrade
  

To Install:

Save the file Media:Tde.xml (Save Link As...) to your computer and rename it to tde.pm . Then copy it into /usr/share/mx-packageinstaller-pkglist . Assuming you've saved it in your ~/Downloads folder:

 
cd ~/Downloads
sudo cp tde.pm /usr/share/mx-packageinstaller-pkglist/
  
(Optional) To verify:
ls -al --color=always /usr/share/mx-packageinstaller-pkglist/tde.pm
Output should be similar to this:
-rw-r--r-- 1 root root 4489 Jul 26 21:24 /usr/share/mx-packageinstaller-pkglist/tde.pm

Then from the Xfce desktop

Menu >> MX Tools >> MX Package Installer
{Tab} Popular Applications
{Expand} Desktop Environments
{Check} Trinity Desktop Environment
{Click} Install
  • Reboot if /boot was modified during the TDE install process
  • Logout of Xfce4
  • Login

tde.pm does:

  • Adds extra code to handle sudo interactive needs.
  • Adds wrappers to handle debconf, pkexec, and update-grub.
  • Sets the default x-session-manager to trinity-desktop.

A somewhat long winded discussion can be found at: https://forum.mxlinux.org/viewtopic.php?f=100&t=60417

Manually (all versions)

Use official TDE packages for Debian. Modify the instructions available at this page with the below and use the corresponding Debian version as noted here.

  • MX-21 - Use debian bullseye packages
  • MX-19 - Use debian buster packages
  • MX-18 - Use debian stretch packages
  • MX-17 - Use debian stretch packages

Add the package manager lines as shown on the Configure the package manager section to a file and place it in the directory /etc/apt/sources.list.d

Example MX-21:

root@local [/etc/apt/sources.list.d]# cat tde.list

## Trinity Desktop Environment - TDE R14.1.x
# stable
#deb http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-r14.0.x bullseye main
#deb http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-builddeps-r14.0.x bullseye>
#deb-src http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-r14.0.x bullseye main
#deb-src http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-builddeps-r14.0.x bull>
# Preliminary stable
deb http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-sb/ bullseye deps-r14 main->
deb-src http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-sb/ bullseye deps-r14 m>

# if you need the key
# wget http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-keyring.deb
# sudo dpkg -i trinity-keyring.deb


Example MX-18:

 <nowiki>root@local [/etc/apt/sources.list.d]# cat trinity-desktop-environment.list

## Trinity Desktop Environment - TDE R14.0.x
deb http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-r14.0.x stretch main
deb http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-builddeps-r14.0.x stretch main
deb-src http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-r14.0.x stretch main
deb-src http://mirror.ppa.trinitydesktop.org/trinity/deb/trinity-builddeps-r14.0.x stretch main

v3.5.x

There is no support for this TDE version in MX Linux.