From 1b4c0c44b348fba99b9baa60bc6786b491d9ecf3 Mon Sep 17 00:00:00 2001 From: gobo72 Date: Fri, 10 Sep 2010 04:11:23 +0000 Subject: [PATCH] =?utf8?q?N'installe=20le=20fichier=20autostart=20de=20Win?= =?utf8?q?dow=20Maker=20que=20si=20le=20r=C3=A9pertoire=20existe?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- ubuntu/ubuntu-cfg.sh | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/ubuntu/ubuntu-cfg.sh b/ubuntu/ubuntu-cfg.sh index 66ee9a0..c191305 100755 --- a/ubuntu/ubuntu-cfg.sh +++ b/ubuntu/ubuntu-cfg.sh @@ -30,6 +30,14 @@ if dpkg --list | grep bluez-gstreamer 1> /dev/null 2>&1; then ${APT} remove --purge bluetooth bluez bluez-gstreamer bluez-alsa bluez-cups fi +if dpkg --list | grep openoffice 1> /dev/null 2>&1; then + ${APT} remove --purge openoffice* +fi + +#if dpkg --list | grep evolution-exchange 1> /dev/null 2>&1; then +# ${APT} remove --purge evolution +#fi + # Configuration SSH if [ ! -f ${HOME}/.ssh/id_dsa.pub ]; then ssh-keygen -t dsa @@ -48,6 +56,7 @@ 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 # Démarrage de Rhythmbox non minimisé gconftool-2 --set /apps/rhythmbox/plugins/status-icon/window-visible --type boolean true @@ -56,11 +65,17 @@ ${APT} update ${APT} upgrade ${APT} dist-upgrade ${APT} autoremove +${APT} clean +${APT} autoclean # localepurge is a simple script to recover diskspace wasted for unneeded locale files and localized man pages. # It will automagically be invoked upon completion of any apt installation run. ${AGI} localepurge +if lspci | grep "BCM43" 1> /dev/null 2>&1; then + ${AGI} b43-fwcutter +fi + ${AGI} emacs23 # Correction bug avec emacs: # murrine_style_draw_box: assertion `height >= -1' failed @@ -88,6 +103,8 @@ ${AGI} abiword gnumeric gnumeric-plugins-extra ${AGI} texlive texlive-latex-recommended texlive-latex-extra texlive-humanities # Multimedia +${AGI} linux-rt linux-headers-rt +${AGI} jackd ${AGI} libdvdread4 sudo /usr/share/doc/libdvdread4/install-css.sh ${AGI} ${GST}-ffmpeg ${GST}-plugins-bad ${GST}-plugins-ugly @@ -108,11 +125,13 @@ ${AGI} sylpheed gconftool -s /desktop/gnome/url-handlers/mailto/command -t string "sylpheed --compose %s" ${AGI} wmaker -cat > ${HOME}/GNUstep/Library/WindowMaker/autostart << "EOF" +if [ -d ${HOME}/GNUstep/Library/WindowMaker ]; then + cat > ${HOME}/GNUstep/Library/WindowMaker/autostart << "EOF" #!/bin/sh gnome-settings-daemon EOF -chmod 755 ${HOME}/GNUstep/Library/WindowMaker/autostart + chmod 755 ${HOME}/GNUstep/Library/WindowMaker/autostart +fi ${AGI} pcmanfm cat > ${HOME}/.gtkrc-2.0 << "EOF" @@ -125,7 +144,7 @@ ${AGI} epdfview ${AGI} psutils ${AGI} gimp -if lspci | grep "nVidia" 1> /dev/null 2>&1; then +if lspci | grep "nVidia" 1> /dev/null 2>&1; then ${AGI} nvidia-settings nvidia-current fi -- 2.20.1