1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 19:52:20 +00:00

Revert "Add a new contrib/desktopentry-setlang/ mechanism"

This reverts commit 08b6281f60.

The Login manager is reponsible for setting the correct language
(LANG, etc) information before starting a CDE session.
This commit is contained in:
Jon Trulson 2020-02-08 16:12:31 -07:00
parent 08b6281f60
commit 2a2c412e2e
3 changed files with 0 additions and 31 deletions

View file

@ -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

View file

@ -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

View file

@ -1,6 +0,0 @@
#!/bin/sh
export PATH=$PATH:/usr/dt/bin
export LANG=el_GR.UTF-8
/usr/dt/bin/Xsession