Slimming OS
Line 9: | Line 9: | ||
* [safe] remove nokia cruft: apt-get remove --purge "nokiamessaging*" | * [safe] remove nokia cruft: apt-get remove --purge "nokiamessaging*" | ||
* [if-not-used] packages that can be removed if user never used/uses them: osso-sketch* osso-notes* osso-rss* | * [if-not-used] packages that can be removed if user never used/uses them: osso-sketch* osso-notes* osso-rss* | ||
+ | * [if-not-used] if you dont use system's default mail or calendar apps you can disable X-Maemo-Prestarted lines in: /usr/share/applications/hildon/{calendar.desktop,modest.desktop} | ||
==apt-magic [http://talk.maemo.org/showpost.php?p=1190876&postcount=6]== | ==apt-magic [http://talk.maemo.org/showpost.php?p=1190876&postcount=6]== |
Revision as of 06:54, 20 July 2015
This page is a work in progress, continue only if you know what you are doing! Never use apt-get autoremove (ie. watch out what apt wants to remove).
- [safe] disabling welcome screen (date/time/language): delete/move /etc/X11/Xsession.d/30osso_startup_wizard
- [safe] nokia hands: delete/move /etc/X11/Xsession.d/10hildon_welcome or: apt-get remove --purge hildon-welcome
- [safe] remove cherry (nokia's sms subscruption): apt-get remove --purge cherry
- [safe] remove osso-tutorial: apt-get remove --purge osso-tutorial*
- [safe] remove *-installers: apt-get remove --purge ap-installer amazon-installer foreca-installer facebook-installer skype-installer dtg-installer
- [safe] remove nokia cruft: apt-get remove --purge "nokiamessaging*"
- [if-not-used] packages that can be removed if user never used/uses them: osso-sketch* osso-notes* osso-rss*
- [if-not-used] if you dont use system's default mail or calendar apps you can disable X-Maemo-Prestarted lines in: /usr/share/applications/hildon/{calendar.desktop,modest.desktop}
apt-magic [1]
#package description: apt-cache show PKGNAME #provides files: dpkg -L PKGNAME #current version: apt-cache policy PKGNAME #reverse dependencies: apt-cache showpkg PKGNAME #remove (on device which can be reflashed) apt-get remove --purge PKGNAME
remove_locales.sh
# remove_locales.sh # removing locales can make apps unreadable, so keep en_US and your language needed="^\.$|en_US|pl_PL" just_a_test="" # comment the next line to really remove the files: just_a_test="echo" cd /usr/share/locale && \ for each in `find . -type d -maxdepth 1`; do if [ `echo "$each"|grep -E "$needed"` ]; then echo "keeping $each" else echo "removing $each" $just_a_test echo rm -rf "$each" fi done