Sunday, November 29, 2009

Sidux Erweiterungs (Multimedia) Script

Für ältere Rechner installiere ich gerne Sidux mit XFCE oder ab 512MB mit KDE. Um die Installation zu vervollständigen habe ich mir einen kleinen Script geschrieben. Den packe ich einfach auf meinen Webspace und lade ihn dann einfach nach der Sidux-Grundinstallation mit wget in der Konsole herunter und starte ihn. Danach ist der neue Sidux-Rechner komplett. Also Konsole öffnen, dann: wget http://meinwebspace.xy/sidux.sh sux sh sidux.sh ################################################################################## #!/bin/sh # Automatische Multimedia Installation fuer Sidux if [ "$(id -u)" != "0" ]; then echo "Skript muss mit Rootrechten (sh deb) gestartet werden" exit fi # echo "deb http://ftp.de.debian.org/debian unstable main contrib non-free" > /etc/apt/sources.list.d/debian.list echo "# deb-src http://ftp.de.debian.org/debian unstable main contrib non-free" >> /etc/apt/sources.list.d/debian.list echo "deb http://sidux.com/debian/ sid main contrib non-free firmware fix.main fix.contrib fix.non-free" > /etc/apt/sources.list.d/sidux.list echo "#deb-src http://sidux.com/debian/ sid main contrib non-free firmware fix.main fix.contrib fix.non-free" >> /etc/apt/sources.list.d/sidux.list echo "deb http://www.debian-multimedia.org sid main" > /etc/apt/sources.list.d/multimedia.list apt-get -y update apt-get install -y --force-yes debian-multimedia-keyring apt-get -y update echo "########### SIDUX kde oder xfce ??????????????????????? ##################" echo ".................... kde / xfce..........................................." read antwort if [ $antwort == xfce ] ; then # Installation fuer xfce apt-get install -y xfce4-places-plugin gimp apt-get install -y grip gedit file-roller thunar-archive-plugin apt-get install -y pidgin apt-get install -y audacious audacious-plugins audacious-plugins-extra streamtuner streamripper ln -s /usr/bin/audacious2 /usr/bin/xmms apt-get install -y gnome-games xskat frozen-bubble supertux apt-get remove -y elinks-lite apt-get install -y openoffice.org openoffice.org-help-de apt-get install -y network-manager-gnome apt-get install -y tsclient apt-get install -y audacity apt-get install -y filezilla gedit # Thunderbird bzw. IceDove apt-get install -y icedove icedove-l10n-de apt-get install -y iceowl-extension else # Installation fuer KDE apt-get install -y kdegames frozen-bubble supertux apt-get install -y kde-i18n-de apt-get install -y gwenview apt-get install -y digikam kipi-plugins imagemagick showfoto apt-get install -y k3b k3b-i18n libk3b3-extracodecs apt-get install -y kde-style-qtcurve gtk2-engines-qtcurve apt-get install -y kcontrol tango-icon-theme kde-style-qtcurve gtk2-engines-qtcurve fi # Installation Multimedia apt-get install -y sun-java6-plugin apt-get install -y flashplayer-mozilla adblock-plus apt-get install -y vlc apt-get install -y lame apt-get install -y ffmeg apt-get install -y ttf-mscorefonts-installer apt-get install -y mozilla-mplayer apt-get install -y --force-yes w32codecs libdvdc**2 # sonstige Programme und Anwendungen apt-get -y install wine apt-get -y install cups-pdf # System apt-get install -y smartmontools smart-notifier apt-get install -y usplash gdebi echo set nocompatible > .vimrc chmod 666 .vimrc echo set nocompatible > /etc/skel/.vimrc # Aufraeumen apt-get -y autoremove apt-get -y clean # Nochmal Systemupdate vorbereiten apt-get -y dist-upgrade -d #Kleine Gedankenstuetzen #Autologin KDE aktivieren #sux #dbus-launch systemsettings #Systemupdate mit ... #apt-get update && apt-get dist-upgrade -d #init 3 #apt-get dist-upgrade exit ################################################################################## GNOME-Fans welche sich weder mit KDE noch mit XFCE anfreunden können, können auch zuerst mit der XFCE-Version eine Grundinstallation durchführen und dann auf der Konsole folgendes eingeben: sux apt-get install gnome Danach hat man Gnome 2.28.0 auf dem System, welches man nur beim ersten Login einmal auswählen muss.