From: gobo72 Date: Thu, 9 Sep 2010 04:28:02 +0000 (+0000) Subject: Ajout configuration WindowMaker X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;ds=sidebyside;h=62de7a9c5ba85f600dc8991c616b490de1e58cc9;p=hvlinux.git Ajout configuration WindowMaker --- diff --git a/ubuntu/ubuntu-cfg.sh b/ubuntu/ubuntu-cfg.sh index bd1c9d3..66ee9a0 100755 --- a/ubuntu/ubuntu-cfg.sh +++ b/ubuntu/ubuntu-cfg.sh @@ -15,7 +15,20 @@ if [ "`id -u`" -eq 0 ]; then exit 1 fi -${APT} update +# On enlève les packages superflus + +# Purge Mono from my system! +if dpkg --list | grep "libmono" 1> /dev/null 2>&1; then + ${APT} purge libmono* libgdiplus cli-common libglitz-glx1 libglitz1 +fi + +if dpkg --list | grep pulseaudio 1> /dev/null 2>&1; then + ${APT} remove --purge pulseaudio* +fi + +if dpkg --list | grep bluez-gstreamer 1> /dev/null 2>&1; then + ${APT} remove --purge bluetooth bluez bluez-gstreamer bluez-alsa bluez-cups +fi # Configuration SSH if [ ! -f ${HOME}/.ssh/id_dsa.pub ]; then @@ -39,21 +52,7 @@ gconftool-2 --set /apps/nautilus/preferences/show_image_thumbnails --type string # Démarrage de Rhythmbox non minimisé gconftool-2 --set /apps/rhythmbox/plugins/status-icon/window-visible --type boolean true -# On enlève les packages superflus - -# Purge Mono from my system! -if dpkg --list | grep "libmono" 1> /dev/null 2>&1; then - ${APT} purge libmono* libgdiplus cli-common libglitz-glx1 libglitz1 -fi - -if dpkg --list | grep pulseaudio 1> /dev/null 2>&1; then - ${APT} remove --purge pulseaudio* -fi - -if dpkg --list | grep bluez-gstreamer 1> /dev/null 2>&1; then - ${APT} remove --purge bluetooth bluez bluez-gstreamer bluez-alsa bluez-cups -fi - +${APT} update ${APT} upgrade ${APT} dist-upgrade ${APT} autoremove @@ -75,22 +74,16 @@ ${AGI} autoconf autoconf-doc autotools-dev libtool ${AGI} manpages manpages-dev manpages-posix manpages-posix-dev # dockapp development -${AGI} libX11-dev libxpm-dev libxext-dev +${AGI} libx11-dev libxpm-dev libxext-dev ${AGI} libgtk2.0-dev libglib2.0-dev +# wmnotify uses SSL +${AGI} libssl-dev -# Vibro-Meter development -#${AGI} libncurses5-dev zlib1g-dev -# Pour opkg -#${AGI} libcurl4-gnutls-dev libgpgme11-dev -#${AGI} uncrustify -#sudo cpan XML::Parser +# Debian packaging +${AGI} dh-make ${AGI} subversion -# Servers -${AGI} nfs-common -#${AGI} ssh - ${AGI} abiword gnumeric gnumeric-plugins-extra ${AGI} texlive texlive-latex-recommended texlive-latex-extra texlive-humanities @@ -114,9 +107,19 @@ ${AGI} rosegarden ${AGI} sylpheed gconftool -s /desktop/gnome/url-handlers/mailto/command -t string "sylpheed --compose %s" -# Desktop only -#${AGI} wmaker -#${AGI} pcmanfm +${AGI} wmaker +cat > ${HOME}/GNUstep/Library/WindowMaker/autostart << "EOF" +#!/bin/sh +gnome-settings-daemon +EOF +chmod 755 ${HOME}/GNUstep/Library/WindowMaker/autostart + +${AGI} pcmanfm +cat > ${HOME}/.gtkrc-2.0 << "EOF" +gtk-icon-theme-name="Tango" +gtk-enable-event-sounds=0 +gtk-enable-input-feedback-sounds=0 +EOF ${AGI} epdfview ${AGI} psutils