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

Post tutorials, HOWTO's and other useful resources here.
User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

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

Post#1 by Ahau » 20 Jun 2011, 18:59

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!
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

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

Post#2 by francois » 19 Jan 2014, 13:03

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?
Prendre son temps, profiter de celui qui passe.

tome
Contributor
Contributor
Posts: 675
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

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

Post#3 by tome » 21 Jan 2014, 20:42

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
You have mind and feelings. Be wise and clever.

Post Reply