WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: X Applications at start up  (Read 2601 times)

Offline mbertrand

  • Full Member
  • ***
  • Posts: 225
X Applications at start up
« on: September 10, 2012, 11:03:43 AM »
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  ?

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: X Applications at start up
« Reply #1 on: September 10, 2012, 11:09:14 AM »
You were told "~/.X.d/"
Not the same!
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: X Applications at start up
« Reply #2 on: September 10, 2012, 11:22:54 AM »
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.

Offline mbertrand

  • Full Member
  • ***
  • Posts: 225
Re: X Applications at start up
« Reply #3 on: September 10, 2012, 11:47:14 AM »
Oops I did a typo I meant "~/.X.d/".
Thanks for the advice.

Pseudoman

  • Guest
Re: X Applications at start up
« Reply #4 on: September 10, 2012, 01: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.
« Last Edit: September 10, 2012, 03:04:26 PM by Pseudoman »

Offline hiro

  • Hero Member
  • *****
  • Posts: 1228
Re: X Applications at start up
« Reply #5 on: September 10, 2012, 01:33:24 PM »
Way to go sure noone will ever understand .xsession
why can't you guys simply delete .X.d again?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: X Applications at start up
« Reply #6 on: September 10, 2012, 01: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.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: X Applications at start up
« Reply #7 on: September 10, 2012, 05: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..


Offline hiro

  • Hero Member
  • *****
  • Posts: 1228
Re: X Applications at start up
« Reply #8 on: September 11, 2012, 02: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...