I am trying to get my new Pi to autostart into lets just say google.com whenever its turned on. I am using the following to try and do this and am having no luck getting to work.
I use terminal to open Nano. then type in the text below, do a control O to write file and tell it to write as MS DOS. this doesn't seem to be the right procedure. I have also tried to exit (ctl x) but it doesn't save any file when I do that.
Any thoughts or insights would be appreciated.
Here is text I am using.
sudo nano ~/.config/lxsession/LXDE-pi/autostart
@xset s off
@xset -dpms
@xset s nonblank
@chromium-browser --noerrdialogs --incognito --kiosk www.google.com
write as MS DOS
- but raspbian is Linux, not messy dos? Not saying that's the problem, but I'm not saying it isn't – Jaromanda X Oct 19 '16 at 00:53/r/n
(carriage return, newline) as a line ending; UNIX text files just use/n
. Linux system files are the latter, although the former generally won't matter as the/r
is just regarded as extraneous whitespace. However, to rule it out as the source of your problems, don't save stuff that way unless you have a reason to. – goldilocks Oct 19 '16 at 13:38