Page 1 of 1

[HOWTO] tweak your boot-up with rc.local

Posted: 20 Jun 2011, 18:59
by Ahau
This article can be found on our main site, here.

Please help contribute to this article by telling us what you put in your rc.local script, and I'll add your suggestions to the article.

Thanks!

Re: [HOWTO] tweak your boot-up with rc.local

Posted: 19 Jan 2014, 13:03
by francois
This question is related to installing script at bootup, but not to rc.local.

After the booting of the X environment. In addition to putting the the scripts to the autostart folder, i.e. in /root/.kde4/autostart for example, what are the other options?

Re: [HOWTO] tweak your boot-up with rc.local

Posted: 21 Jan 2014, 20:42
by tome
Good idea to add inactive (#) tweaks to this. It is easier for end user to delete/destroy something than create good one (like entropy :) )
#update-desktop-database
#update-mime-database /usr/share/mime
#fc-cache -f
#update-gtk-immodules
#glib-compile-schemas /usr/share/glib-2.0/schemas
#gio-querymodules /usr/$lib/gio/modules
#update-ca-certificates --fresh
these above for use more than one DE
#chown guest:guest /sys/class/backlight/nv_backlight/brightness - allow user change brightness (nvidia)
#echo 45 > /sys/class/backlight/nv_backlight/brightness - set brightness to 45% (nvidia)
#chown guest:guest /mnt/live/tmp = allow guest decide about saving changes
#mount -o loop /path...to.../libreoffice-4.xzm /mnt/libreoffice-4 - quicker booting if some modules (browsers etc.) are mounting instead of inserting to aufs and one module/changes for small files or links