From 2a2c412e2eee59159672e8d72541b7f10dd3d875 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Sat, 8 Feb 2020 16:12:31 -0700 Subject: [PATCH] Revert "Add a new contrib/desktopentry-setlang/ mechanism" This reverts commit 08b6281f60ab543510d9b4c74c81d1d8c9391906. The Login manager is reponsible for setting the correct language (LANG, etc) information before starting a CDE session. --- .../desktopentry-setlang/README-cde-alt | 18 ------------------ .../desktopentry-setlang/cde-alt.desktop | 7 ------- .../desktopentry-setlang/startxsession.sh | 6 ------ 3 files changed, 31 deletions(-) delete mode 100644 cde/contrib/desktopentry-setlang/README-cde-alt delete mode 100644 cde/contrib/desktopentry-setlang/cde-alt.desktop delete mode 100644 cde/contrib/desktopentry-setlang/startxsession.sh diff --git a/cde/contrib/desktopentry-setlang/README-cde-alt b/cde/contrib/desktopentry-setlang/README-cde-alt deleted file mode 100644 index 9d613346..00000000 --- a/cde/contrib/desktopentry-setlang/README-cde-alt +++ /dev/null @@ -1,18 +0,0 @@ -This is another method to setup an xsession which allows you to execute -commads before the CDE Xsession gets executed. -This alternate method is useful when for example you need to -set a different language. - -In this example we -1. have the login manager execute /usr/dt/bin/startxsession.sh script -2. The /usr/dt/bin/startxsession.sh first sets properly the LANG variable - (or you can add whatever you want to execute before CDE Xsession starts) - and then executes /usr/dt/bin/Xsession which will start CDE. - -To install, after you edit the startxsession.sh to your liking, do as root: - -cp /path/to/cdesktopenv-code/cde/contrib/desktopentry/cde-alt.desktop /usr/share/xsessions/ -cp /path/to/cdesktopenv-code/cde/contrib/desktopentry/startxsession.sh /usr/dt/bin/ -chmod ugo+rx /usr/dt/bin/startxsession.sh - - diff --git a/cde/contrib/desktopentry-setlang/cde-alt.desktop b/cde/contrib/desktopentry-setlang/cde-alt.desktop deleted file mode 100644 index 41c71b57..00000000 --- a/cde/contrib/desktopentry-setlang/cde-alt.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Name=CDE -Comment=Use this session to boot into the Common Desktop Environment -Keywords=Common Desktop Environment -Exec=/usr/dt/bin/startxsession.sh -Icon=Dtlogo.pm -Type=Application diff --git a/cde/contrib/desktopentry-setlang/startxsession.sh b/cde/contrib/desktopentry-setlang/startxsession.sh deleted file mode 100644 index 34608c47..00000000 --- a/cde/contrib/desktopentry-setlang/startxsession.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -export PATH=$PATH:/usr/dt/bin -export LANG=el_GR.UTF-8 -/usr/dt/bin/Xsession - -- 2.25.1