Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: mbertrand on September 10, 2012, 02:03:43 PM

Title: X Applications at start up
Post by: mbertrand on September 10, 2012, 02:03:43 PM
I was putting my app at the end of .xsession for auto start and was told that it should go in '.x.d' So I moved it there.
I have 'xvtouch' starting in .xsession (this is for our touch screen). I was wondering is all of my .xsession is processed before
.x.d  ?
Title: Re: X Applications at start up
Post by: tinypoodle on September 10, 2012, 02:09:14 PM
You were told "~/.X.d/"
Not the same!
Title: Re: X Applications at start up
Post by: gerald_clark on September 10, 2012, 02:22:54 PM
Please cat .xsession.
You will see how the scripts are run, and the proper directory name.
The reason for putting them in .X.d is so you don;t lose them if .xsession is updated.
Title: Re: X Applications at start up
Post by: mbertrand on September 10, 2012, 02:47:14 PM
Oops I did a typo I meant "~/.X.d/".
Thanks for the advice.
Title: Re: X Applications at start up
Post by: Pseudoman on September 10, 2012, 04:31:44 PM
Did you place a script there in ~/.X.d/ to launch the application?
For example, if we had an X program named foo:
~/.X.d/foo
Code: [Select]
# !/bin/sh
# script to launch foo
foo &

Something like that, but it depends on what you need to do. I launch flit on start-up this way.
Title: Re: X Applications at start up
Post by: hiro on September 10, 2012, 04:33:24 PM
Way to go sure noone will ever understand .xsession
why can't you guys simply delete .X.d again?
Title: Re: X Applications at start up
Post by: gerald_clark on September 10, 2012, 04:42:57 PM
Hiro, mbertrand stated that he was editing.xsession.
I therefor believe he can read it and follow the simple script.

This is a tool kit. Don't assume it is too difficult for everyone else to understand.
Title: Re: X Applications at start up
Post by: coreplayer2 on September 10, 2012, 08:47:25 PM
The reason for putting them in .X.d is so you don't lose them if .xsession is updated.

Thanks for this, I often wondered the reason why..

Title: Re: X Applications at start up
Post by: hiro on September 11, 2012, 05:44:33 AM
I never lose my .xsession. If there is an important change I can merge manually. But I can't argue agains power users who have to change their .xsession every week...