WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to set up TC to autorun an app on startup from boot  (Read 1337 times)

Offline act78723

  • Newbie
  • *
  • Posts: 1
How to set up TC to autorun an app on startup from boot
« on: November 07, 2019, 07:09:52 AM »
A friend of mine is developing cloning software and needs a base OS that can run from a USB. I think TC would be perfect for this. It would need to run without any login and password as he's using "%sudo ALL=NOPASSWD: ALL"  in the sudoers file to run several root terminal commands in the background (think Clonezilla simplified).

Any ideas on how to accomplish this?

TIA,
Larry

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11589
Re: How to set up TC to autorun an app on startup from boot
« Reply #1 on: November 07, 2019, 07:23:35 AM »
Hi act78723
If running a GUI, the  /home/$USER/.X.d  directory is the place for that. Create a file in .X.d (name does not matter) containing
the command for starting the application like this:
Code: [Select]
AppName Arguments &
If you are not running a GUI, place the command at the end of  /home/$USER/.profile.