Slimming OS
m (→remove_locales.sh) |
|||
(15 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | This page is a work in progress, continue only if you know what you are doing! | + | {{ambox |
+ | |type=notice | ||
+ | |text=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.}} | ||
+ | |||
+ | {{ambox | ||
+ | |type=warning | ||
+ | |text=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).}} | ||
+ | |||
+ | You will probably need to have any cssu flavor to be able to remove few of those packages. | ||
* [safe] disabling welcome screen (date/time/language): delete/move /etc/X11/Xsession.d/30osso_startup_wizard | * [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] nokia hands: delete/move /etc/X11/Xsession.d/10hildon_welcome or: apt-get remove --purge hildon-welcome | ||
- | * [safe] [[ | + | * [safe] [[PR1.2_compulsory_My_Nokia_subscription|remove cherry (nokia's sms subscruption)]]: apt-get remove --purge cherry |
* [safe] remove osso-tutorial: apt-get remove --purge osso-tutorial* | * [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 *-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 [http://talk.maemo.org/showpost.php?p=1190876&postcount=6]== | ||
+ | #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== | ||
+ | <pre> | ||
+ | # remove_locales.sh | ||
+ | # removing locales can make apps unreadable, so keep en_US and your language | ||
+ | # so it might eat your babies. MAKE A BACKUP of /usr/share/locale before trying this | ||
+ | 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 | ||
+ | </pre> | ||
[[Category:N900]] | [[Category:N900]] |
Latest revision as of 19:37, 3 January 2017
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. |
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). |
You will probably need to have any cssu flavor to be able to remove few of those packages.
- [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
[edit] 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
[edit] remove_locales.sh
# remove_locales.sh # removing locales can make apps unreadable, so keep en_US and your language # so it might eat your babies. MAKE A BACKUP of /usr/share/locale before trying this 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
- This page was last modified on 3 January 2017, at 19:37.
- This page has been accessed 13,115 times.