Am Dienstag, 20. November 2018 schrieb Nicolas Bercher:
On 19/11/2018 09:10, Dr. Nikolaus Klepp wrote:
Oh, I remeber this pain:-) You'll have to
set some environment variables and other stuff. This is from my BSD box running fvwm, but
it sould work on linux as well (just replace the fvwm line with i3):
# TDE Compatibility:-)
export TDE_FULL_SESSION=false
export TDEHOME=$HOME/.trinity
export TDEROOTHOME=/root/.trinity
export TDE_SESSION_UID=$UID
export TDE_MULTIHEAD=false
export TDEDIR=/opt/trinity
export XDG_CONFIG_DIRS=/opt/trinity/etc/xdg
export XDG_DATA_DIRS=/opt/trinity/share:/usr/local/share:/usr/share
tdeinit_shutdown
tdeinit
# terminator --geometry=800x500-0-0 &
fvwm >/tmp/fvwm.log 2>&1
tdeinit_shutdown
Nik
OK, thanks.
If my understanding is correct, it means that this peice of script will
be responsible of launching i3 (replacing line =fvwm >/tmp/fvwm.log
2>&1=), right?
Yes. And it takes care of shutting down tde after your windowmanager session is finished.
And because it starts tdeinit before your windowmanager session, tdeinit does not show up
in list of managed programs of your sessionmanager - if you use any.
In my case, I rely on any "dm* /etc/init.d/
script (like xdm, tdm,
lightdm, tdm, gdm3, etc.) to do so.
I have dig into X11 init sequence, looks like a Hell to me, like the
sourcing (or not) of /etc/profile for X login sessions...
My feeling is that we never know who is responsible for what, you read
cryptic documentation, you configure things, and in the end nothing
works like expected because each *dm* scripts has its own hard-coded
choices...
:-)
$ man xinit
Just put the lines in ~/.xinitrc, restart your X session and look for tdeinit:
$ pidof tdeinit
If it's there, then all is set and done. If not, rename .xinitrc to .xsession and
retry. If again without luck, try renaming it to .xsessionrc . If unlucky again (you run
GDM?), rename it to .xprofile (the guys from you-know-whose-name-we-do-not-speak-out-loud
read the docs and decided to break things again).
Oh, you might have to make your .xinitrc executable ;-)
Nik
Nicolas
---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-users-unsubscribe(a)lists.pearsoncomputing.net
For additional commands, e-mail: trinity-users-help(a)lists.pearsoncomputing.net
Read list messages on the web archive:
http://trinity-users.pearsoncomputing.net/
Please remember not to top-post:
http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
--
Please do not email me anything that you are not comfortable also sharing with the NSA,
CIA ...