Damn Small Linux (DSL) Forums

Damn Small Linux => Other Help Topics => Topic started by: klord on December 15, 2015, 06:19:05 PM



Title: boot from SD straight to browser?
Post by: klord on December 15, 2015, 06:19:05 PM
Hi all,

Great idea, DSL!
I am wondering if DSL can be used to boot off SD card and programmed to go straight to a browser opening a specific website?

TIA!


Title: Re: boot from SD straight to browser?
Post by: CNK on December 15, 2015, 09:15:17 PM
Just lost my nice long post to an accidental "page back", so here's the angry short version:

 SD booting, if your BIOS likes it (http://www.damnsmalllinux.org/wiki/usb_booting.html).

Add "firefox <Website URL> &" to "/home/dsl/.xinitrc".

If you want it maximised, the best that can be done is to work out the pixel size at maximised and use "-width" "-height". for 800x600 screen res., might be "firefox -width 795 -height 550 <website URL> &". Dillo uses "-g", eg. "dillo -g 795x550 <website URL> &".

You'll need a  persistent home directory, if you use a frugal install (http://www.damnsmalllinux.org/wiki/persistence.html).


Powered by SMF 1.1.20 | SMF © 2013, Simple Machines