From: gobo72 Date: Tue, 9 Nov 2010 23:03:47 +0000 (+0000) Subject: Enlevé packages superflus (ubuntu one, erlang, apparmor) X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=17238bc2a0f3c9a58e7372f3d72ccf45a4df6f4e;p=hvlinux.git Enlevé packages superflus (ubuntu one, erlang, apparmor) --- diff --git a/ubuntu/ubuntu-cfg.sh b/ubuntu/ubuntu-cfg.sh index f8ab490..1dce21b 100755 --- a/ubuntu/ubuntu-cfg.sh +++ b/ubuntu/ubuntu-cfg.sh @@ -63,6 +63,21 @@ if dpkg --list | grep "vinagre" 1> /dev/null 2>&1; then ${APT} remove --purge vinagre fi +# Braille +if dpkg --list | grep "brltty" 1> /dev/null 2>&1; then + ${APT} remove --purge brltty +fi + +# CouchDB and erlang +if dpkg --list | grep "erlang-base" 1> /dev/null 2>&1; then + ${APT} remove --purge erlang* +fi + +# Ubuntu One +if dpkg --list | grep "libubuntuone" 1> /dev/null 2>&1; then + ${APT} remove --purge ubuntuone* +fi + if dpkg --list | grep "apparmor-utils" 1> /dev/null 2>&1; then sudo /etc/init.d/apparmor stop sudo update-rc.d -f apparmor remove @@ -74,31 +89,29 @@ if dpkg --list | grep "nvidia" 1> /dev/null 2>&1; then ${APT} remove --purge nvidia-* fi -# Configuration SSH -if [ ! -f ${HOME}/.ssh/id_dsa.pub ]; then - ssh-keygen -t dsa - # Append the contents of your public key (~/.ssh/id_dsa.pub) to the - # ~/.ssh/authorized_keys file on the remote server -fi - # Désactivation du son à l'écran de login -sudo -u gdm gconftool-2 --set /desktop/gnome/sound/event_sounds --type bool false +sudo -u gdm gconftool --set /desktop/gnome/sound/event_sounds --type bool false + +# Désactive le sound theme +gconftool --set /desktop/gnome/sound/event_sounds --type bool false # Ramener les boutons à droite dans les fenêtres Gtk+: -gconftool-2 --set /apps/metacity/general/button_layout --type string menu:minimize,maximize,close +gconftool --set /apps/metacity/general/button_layout --type string menu:minimize,maximize,close # Format horloge 24 heures -gconftool-2 --set /apps/panel/applets/clock_screen0/prefs/format --type string 24-hour +gconftool --set /apps/panel/applets/clock_screen0/prefs/format --type string 24-hour # Configuration de Nautilus - pas de preview pour ne pas ralentir -gconftool-2 --set /apps/nautilus/preferences/preview_sound --type string never -gconftool-2 --set /apps/nautilus/preferences/show_directory_item_counts --type string never -gconftool-2 --set /apps/nautilus/preferences/show_icon_text --type string never -gconftool-2 --set /apps/nautilus/preferences/show_image_thumbnails --type string never -gconftool-2 --set /apps/nautilus/preferences/media_automount_open --type bool false +gconftool --set /apps/nautilus/preferences/preview_sound --type string never +gconftool --set /apps/nautilus/preferences/show_directory_item_counts --type string never +gconftool --set /apps/nautilus/preferences/show_icon_text --type string never +gconftool --set /apps/nautilus/preferences/show_image_thumbnails --type string never +gconftool --set /apps/nautilus/preferences/media_automount_open --type bool false +# Affiche le path complet +gconftool --set /apps/nautilus/preferences/always_use_location_entry --type bool true # Démarrage de Rhythmbox non minimisé -gconftool-2 --set /apps/rhythmbox/plugins/status-icon/window-visible --type boolean true +gconftool --set /apps/rhythmbox/plugins/status-icon/window-visible --type boolean true # Désactivation demande du mot de passe en mode hibernation gconftool --type Boolean --set /apps/gnome-power-manager/lock/suspend false @@ -110,6 +123,13 @@ for dir in Public Templates ; do fi done +# Configuration SSH +if [ ! -f ${HOME}/.ssh/id_dsa.pub ]; then + ssh-keygen -t dsa + # Append the contents of your public key (~/.ssh/id_dsa.pub) to the + # ~/.ssh/authorized_keys file on the remote server +fi + # localepurge recovers diskspace wasted for unneeded locale files and localized man pages. # It will automagically be invoked upon completion of any apt installation run. ${AGI} localepurge