WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: starting chromium-brower on startup  (Read 4340 times)

Offline wander44

  • Newbie
  • *
  • Posts: 2
starting chromium-brower on startup
« on: November 12, 2013, 07:30:34 PM »
Hi all as a newbie to tinycore I am looking to start Chrome on startup  and anyone help.

i have found the bootlocal.sh file and edited

add line
chromiun-browser --ignore-certificate-errors

But all i get is the menu on the screnn

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Re: starting chromium-brower on startup
« Reply #2 on: January 09, 2014, 12:40:49 PM »
#!/bin/sh
exec chromium-browser

copy above code and save with filename.sh than copy this file in /home/tc/.X.D and thats all
filename.sh has execute permission

Malik Awan

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: starting chromium-brower on startup
« Reply #3 on: January 09, 2014, 01:03:00 PM »
Do NOT exec.
If you do, the remaining files in .X.d will not be run.

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Re: starting chromium-brower on startup
« Reply #4 on: January 09, 2014, 01:25:26 PM »
Thanks for correction gerald_clark.
its mean if we use exec cmd in any scrip placed at .X.D then the other script not run
gerald_clark plz if u dont mint plz give few info why it happen

Malik Awan

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: starting chromium-brower on startup
« Reply #5 on: January 09, 2014, 01:41:01 PM »
exec replaces the current program with the new one.
The current program is the program that is sourcing the files in .X.d.
If it replaced by chromium browser, it will never have a chance to process any other files in .X.d.