Slimming OS

m
Line 17: Line 17:
* [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,modest}.desktop
* [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,modest}.desktop
* [hint] if you add any contacts to desktop there will be osso-abook-home-applet running all the time. same story if you add other widgets (shortcuts are ok)
* [hint] if you add any contacts to desktop there will be osso-abook-home-applet running all the time. same story if you add other widgets (shortcuts are ok)
 +
* [hint] install tracker-cfg and exclude unnecesary directories/tune it
==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 19:32, 15 April 2016

Image:Ambox_notice.png
This is a wiki! So the title of this page represents the personal notion of one or a few editors. It's not "officially supported" info or advice.
Image:Ambox_notice.png
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,modest}.desktop
  • [hint] if you add any contacts to desktop there will be osso-abook-home-applet running all the time. same story if you add other widgets (shortcuts are ok)
  • [hint] install tracker-cfg and exclude unnecesary directories/tune it

apt-magic [1]

#package description:
apt-cache show PKGNAME
#provides files:
dpkg -L PKGNAME
#which package file belongs to:
dpkg -S /path/to/file
#or:
apt-file search /path/to/file
#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