WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: X window on-startup script  (Read 2111 times)

Offline asi_ka

  • Newbie
  • *
  • Posts: 10
X window on-startup script
« on: March 01, 2015, 03:10:17 PM »
I was wondering what is the best practice of running a custom x-application on X window startup. thanks.
« Last Edit: March 01, 2015, 03:19:35 PM by asi_ka »

Offline asi_ka

  • Newbie
  • *
  • Posts: 10
Re: X window on-startup script
« Reply #1 on: March 01, 2015, 03:48:51 PM »
well looks like it's as easy as putting any executable script in ~/.X.d directory.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: X window on-startup script
« Reply #2 on: March 01, 2015, 04:50:23 PM »
Hi asi_ka
The files that go into  ~/.X.d  are not scripts, just files that contain commands. The command should be followed by a space and &
to background the task. If you don't do this and the command hangs, it will block the remaining commands.