Beryl sem ATI e Nvidia!
Publicado por Ivan Rocha 20/06/2007
[ Hits: 4.770 ]
Homepage: http://homes.dcc.ufba.br/~ivan062/bahia
Galera, aqui está um script perfeito para quem quer instalar o Beryl, sem ter placas ATI ou Nvidia!!!
É só executá-lo (só testei no Debian e no Ubuntu) como root, e logo após ele ter terminado tudo, você mexe no xorg.conf de acordo com as instruções do próprio script, ou não.
No meu, por exemplo, eu não precisei mexer no xorg.
No final, é só atualizar o beryl via apt-get e tudo resolvido!!!
#!/bin/bash i386="wget http://mathajder.free.fr/xgl/debian/i386/aquamarine_0.1.5~0beryl1~svn2644_i386.deb wget http://mathajder.free.fr/xgl/debian/i386/aquamarine-dbg_0.1.5~0beryl1~svn2644_i386.deb wget http://mathajder.free.fr/xgl/debian/i386/aquamarine-dev_0.1.5~0beryl1~svn2644_i386.deb wget http://mathajder.free.fr/xgl/debian/i386/beryl_0.1.5~0beryl1~svn2644_i386.deb wget http://mathajder.free.fr/xgl/debian/i386/beryl-core_0.1.5~0beryl1~svn2644_i386.deb wget http://mathajder.free.fr/xgl/debian/i386/beryl-core-dbg_0.1.5~0beryl1~svn2644_i386.deb wget http://mathajder.free.fr/xgl/debian/i386/beryl-dbus_0.1.5~0beryl1~svn2644_i386.deb wget http://mathajder.free.fr/xgl/debian/i386/beryl-dev_0.1.5~0beryl1~svn2644_i386.deb wget http://mathajder.free.fr/xgl/debian/i386/beryl-manager_0.1.5~0beryl1~svn2644_i386.deb wget http://mathajder.free.fr/xgl/debian/i386/beryl-plugins_0.1.5~0beryl1~svn2644_i386.deb wget http://mathajder.free.fr/xgl/debian/i386/beryl-plugins-data_0.1.5~0beryl1~svn2644_all.deb wget http://mathajder.free.fr/xgl/debian/i386/beryl-plugins-dbg_0.1.5~0beryl1~svn2644_i386.deb wget http://mathajder.free.fr/xgl/debian/i386/beryl-settings_0.1.5~0beryl1~svn2644_i386.deb wget http://mathajder.free.fr/xgl/debian/i386/beryl-settings-bindings_0.1.5~0beryl1~svn2644_i386.deb wget http://mathajder.free.fr/xgl/debian/i386/emerald_0.1.5~0beryl1~svn2644_i386.deb wget http://mathajder.free.fr/xgl/debian/i386/emerald-dbg_0.1.5~0beryl1~svn2644_i386.deb wget http://mathajder.free.fr/xgl/debian/i386/emerald-themes_0.1.5~0beryl1~svn2644_all.deb wget http://mathajder.free.fr/xgl/debian/i386/libberyldecoration0_0.1.5~0beryl1~svn2644_i386.deb wget http://mathajder.free.fr/xgl/debian/i386/libberyldecoration-dev_0.1.5~0beryl1~svn2644_i386.deb wget http://mathajder.free.fr/xgl/debian/i386/libberylsettings0_0.1.5~0beryl1~svn2644_i386.deb wget http://mathajder.free.fr/xgl/debian/i386/libberylsettings0-dbg_0.1.5~0beryl1~svn2644_i386.deb wget http://mathajder.free.fr/xgl/debian/i386/libberylsettings-dev_0.1.5~0beryl1~svn2644_i386.deb wget http://mathajder.free.fr/xgl/debian/i386/libemeraldengine0_0.1.5~0beryl1~svn2644_i386.deb wget http://mathajder.free.fr/xgl/debian/i386/libemeraldengine0-dbg_0.1.5~0beryl1~svn2644_i386.deb wget http://mathajder.free.fr/xgl/debian/i386/libemeraldengine-dev_0.1.5~0beryl1~svn2644_i386" amd="wget http://mathajder.free.fr/xgl/debian/amd64/beryl_0.1.2-0_amd64.deb wget http://mathajder.free.fr/xgl/debian/amd64/beryl-core_0.1.2-0_amd64.deb wget http://mathajder.free.fr/xgl/debian/amd64/beryl-dbus_0.1.2-0_amd64.deb wget http://mathajder.free.fr/xgl/debian/amd64/beryl-dev_0.1.2-0_amd64.deb wget http://mathajder.free.fr/xgl/debian/amd64/beryl-manager_0.1.2-0_amd64.deb wget http://mathajder.free.fr/xgl/debian/amd64/beryl-plugins_0.1.2-0_amd64.deb wget http://mathajder.free.fr/xgl/debian/amd64/beryl-plugins-data_0.1.2-0_all.deb wget http://mathajder.free.fr/xgl/debian/amd64/beryl-settings_0.1.2-0_amd64.deb wget http://mathajder.free.fr/xgl/debian/amd64/emerald_0.1.2-0_amd64.deb wget http://mathajder.free.fr/xgl/debian/amd64/emerald-themes_0.1.2-0_all.deb wget http://mathajder.free.fr/xgl/debian/amd64/libberylsettings0_0.1.2-0_amd64.deb wget http://mathajder.free.fr/xgl/debian/amd64/libberylsettings-dev_0.1.2-0_amd64.deb wget http://mathajder.free.fr/xgl/debian/amd64/libemeraldengine0_0.1.2-0_amd64.deb wget http://mathajder.free.fr/xgl/debian/amd64/libemeraldengine-dev_0.1.2-0_amd64.deb" ppc="wget http://mathajder.free.fr/xgl/debian/ppc/aquamarine_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/aquamarine-dbg_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/aquamarine-dev_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/bdock_0.1.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/beryl_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/beryl-core_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/beryl-core-dbg_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/beryl-dev_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/beryl-manager_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/beryl-plugins_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/beryl-plugins-data_0.2.0_all.deb wget http://mathajder.free.fr/xgl/debian/ppc/beryl-plugins-dbg_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/beryl-plugins-extra_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/beryl-plugins-extra-dbg_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/beryl-plugins-unsupported_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/beryl-plugins-unsupported-dbg_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/beryl-settings_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/beryl-settings-bindings_0.1.5_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/beryl-settings-simple_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/emerald_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/emerald-dbg_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/emerald-themes_0.2.0_all.deb wget http://mathajder.free.fr/xgl/debian/ppc/heliodor_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/heliodor-dbg_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/heliodor-dev_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/libberyldecoration0_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/libberyldecoration-dev_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/libberylsettings0_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/libberylsettings0-dbg_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/libberylsettings-dev_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/libemeraldengine0_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/libemeraldengine0-dbg_0.2.0_powerpc.deb wget http://mathajder.free.fr/xgl/debian/ppc/libemeraldengine-dev_0.2.0_powerpc.deb" lib="apt-get install libdrm2 libpng3 libpng12-0 libpng12-dev libxdamage1 libxcomposite1 x11proto-core-dev x11proto-composite-dev x11proto-damage-dev x11proto-fixes-dev x11proto-gl-dev x11proto-render-dev x11proto-randr-dev libcairo2 libcairo2-dev libcairomm-1.0-0 libcairo-perl libmono-cairo1.0-cil python-cairo libgl1-mesa-dev libgl1-mesa libgl1-mesa-dri libgl1-mesa-glx libglu1-mesa libwxgtk2.4-1 libwxgtk2.6-0 mesa-common-dev mesa-utils libsvn1 libglitz1 libglitz-glx1 libxfont1 libfontenc1 libwnck-common libwnck18 libsvn1 libqt3-headers libqt3-mt-dev libqt3-mt libstartup-notification0-dev libxcomposite-dev libxdamage-dev" echo "Please select your favorite language:" echo "1 [francais] ; 2 [english] ; 3 [polski]" read REPLYLANG if [ $REPLYLANG = "1" ]; then echo "####################################################" echo "## Bienvenue dans le programme ##" echo "## d'installation de XGL avec Beryl pour Debian ##" echo "## v.1.1.0 ##" echo "## ##" echo "## par Mathieu Hajder, http://mathajder.free.fr ##" echo "####################################################" echo "" echo "Ce petit script va automatiser l'installation de XGL," echo "de Beryl, et des pilotes de votre carte graphique" echo "nVidia ou ATI pour votre systeme" echo "Debian GNU/Linux Testing." echo "Tout ce que vous aurez a faire, c'est configurer" echo "manuellement votre serveur graphique X.org." echo "Tout sera indique le moment venu, vers la fin" echo "de l'installation" echo "" echo "NOTE: Si vous avez les pilotes graphiques propietaires" echo "c'est a dire telecharge du site nVidia ou ATI, veuillez les" echo "desinstaller avant d'executer ce script, pour eviter" echo "des conflits de pilotes" echo "" if [ `whoami` != "root" ]; then echo "Vous devez etre en root pour utiliser ce script" echo "Taper su en console, puis votre mot de passe" echo "et relancer ce script" echo "Le script va s'arreter maintenant" exit fi echo "Appuyer sur CTRL-C pour quiiter l'installation (10secondes)" sleep 10 echo " **Demarrage de l'installation**" here=`pwd` echo "Creation d'un dossier temporaire..." mkdir /tmp/xgl cd /tmp/xgl/ echo "Voulez vous mettre a jour votre systeme? (o/n)" read REPLYUPDATE if [ $REPLYUPDATE = "o" ]; then echo "Mise a jour du systeme..." apt-get update && apt-get dist-upgrade fi if [ $REPLYUPDATE = "n" ]; then echo "" fi echo "Installation des programmes nécessaires pour la suite..." wget http://mathajder.free.fr/xgl/sources.list apt-get install module-assistant cp /etc/apt/sources.list /etc/apt/sources.list.backup cp sources.list /etc/apt/sources.list apt-get update echo "Quel type de carte graphique avez vous?" echo "tapez n pour nVidia ou a pour ATI" read replygraphcard if [ $replygraphcard = "n" ]; then echo "Telechargement des pilotes nVidia..." apt-get install nvidia-kernel-source echo "Installation des pilotes nVidia" m-a a-i nvidia-kernel-source echo "Telechargement de nVidia-glx" apt-get install nvidia-glx fi if [ $replygraphcard = "a"]; then echo "Telechargement des pilotes ATI..." apt-get install fglrx-driver fglrx-kernel-src fglrx-kernel fglrx-control echo "Installation des pilotes ATI" module-assistant auto-install fglrx-kernel modconf --load-only fglrx fi echo "Telechargement des librairies..." $lib apt-get install -t libwnck18 libwnck-common libwnck-dev echo "Quel type de processeur avez-vous?" echo "Taper "a" pour amd64, "i" pour i386, "p" pour ppc" read REPLY if [ $REPLY = "i" ]; then echo "Telechargement de Beryl..." $i386 echo "Installation de Beryl..." dpkg -i *.deb fi if [ $REPLY = "a" ]; then echo "Telechargement de Beryl..." $amd echo "Installation de Beryl..." dpkg -i *.deb fi if [ $REPLY = "p" ]; then echo "Telechargement de Beryl..." $ppc echo "Installation de Beryl..." dpkg -i *.deb fi echo "Supression des fichiers d'installation..." cp /etc/apt/sources.list.backup /etc/apt/sources.list rm * rmdir /tmp/xgl apt-get update echo "Configuration manuelle du serveur graphique X.org" echo "" echo "Ajouter ceci a la fin du fichier:" echo "Section "Extensions" " echo " Option "Composite" "Enable" " echo " EndSection" echo "" echo " dans la section "Device" remplacer" echo " nv par nvidia (ou ati par fglrx) et rajouter" echo " Option "RenderAccel" "true" " echo " Option "AllowGLXWithComposite" "true" " echo "" echo " dans la section Screen, rajouter:" echo " Option "AddARGBGLXVisuals" "True" " echo "" echo "Verifier que vous etes en 24 bits:" echo "DefaultDepth 24" echo "" echo "Sauvegarder et quitter" gedit /etc/X11/xorg.conf || kwrite /etc/X11/xorg.conf echo "" echo "" echo "L'installation de XGL est terminee" echo "" echo "Pour lancer XGL, taper dans une console en simple utilisateur" echo "beryl-manager puis beryl" echo "" echo "Pour configurer XGL, tapez" echo "LANG= beryl-settings" echo "" echo "NOTE: redemmarez X pour prendre en compte le nouveau pilote" echo "Voila, vous avez desormais un magnifique bureau sur votre Debian Testing" exit fi if [ $REPLYLANG = "2" ]; then echo "####################################################" echo "## Welcome in the installation ##" echo "## program of XGL and Beryl for Debian GNU/Linux ##" echo "## v.1.1.0 ##" echo "## ##" echo "## by Mathieu Hajder, http://mathajder.free.fr ##" echo "####################################################" echo "" echo "This little script will automatically install XGL," echo "Beryl, and nVidia or ATI driver on your Debian Testing system" echo "However, you will have to configure manually " echo "your Xorg server." echo "All indications will be indicated at the end of" echo "the installation" echo "" echo "NOTE: If you have got the nVidia or ATI drivers from" echo "the officials websites installed on your system, please" echo "uninstall them before executing this scipt" echo "" if [ `whoami` != "root" ]; then echo "You must be as root to execute this script" echo "Do su in a terminal, and give your password" echo "and then restart script" echo "The script will stop now!" exit fi echo " push CTRL-C to cancel setup (10secondes)" sleep 10 echo " **Installation is starting**" here=`pwd` echo "Creating a temporary folder" mkdir /tmp/xgl cd /tmp/xgl/ echo "Do you want to update your system? (y/n)" read REPLYUPDATE if [ $REPLYUPDATE = "y" ]; then echo "Updating system..." apt-get update && apt-get dist-upgrade fi if [ $REPLYUPDATE = "n" ]; then echo "" fi echo "Installing necessering programs for the installation..." wget http://mathajder.free.fr/xgl/sources.list apt-get install module-assistant cp /etc/apt/sources.list /etc/apt/sources.list.backup cp sources.list /etc/apt/sources.list apt-get update echo "Which graphic card have you got?" echo "press n for nVidia or a for ATI" read replygraphcard if [ $replygraphcard = "n" ]; then echo "Downloading nVidia driver..." apt-get install nvidia-kernel-source echo "Instaling nVidia driver" m-a a-i nvidia-kernel-source echo "Downloading nVidia-glx" apt-get install nvidia-glx fi if [ $replygraphcard = "a"]; then echo "Downloading ATI driver..." apt-get install fglrx-driver fglrx-kernel-src fglrx-kernel fglrx-control echo "Instaling ATI driver" module-assistant auto-install fglrx-kernel modconf --load-only fglrx fi echo "Downloading librairies..." $lib apt-get install -t libwnck18 libwnck-common libwnck-dev echo "What type of processor have you got?" echo "Press "a" for amd64, "i" for i386, "p" for ppc" read REPLY if [ $REPLY = "i" ]; then echo "Downloading Beryl..." $i386 echo "Installing Beryl..." dpkg -i *.deb fi if [ $REPLY = "a" ]; then echo "Downloading Beryl..." $amd echo "Installing Beryl..." dpkg -i *.deb fi if [ $REPLY = "p" ]; then echo "Downloading Beryl..." $ppc echo "Installing Beryl..." dpkg -i *.deb fi echo "Deleting temporary files..." cp /etc/apt/sources.list.backup /etc/apt/sources.list rm * rmdir /tmp/xgl apt-get update echo "Please configure X.org like this:" echo "" echo "Add these lines at the end of the file:" echo "Section "Extensions" " echo " Option "Composite" "Enable" " echo " EndSection" echo "" echo " In section "Device" replace" echo " nvidia instead of nv (or ati inst. of fglrx)" echo "and add:" echo " Option "RenderAccel" "true" " echo " Option "AllowGLXWithComposite" "true" " echo "" echo " In section Screen, add:" echo " Option "AddARGBGLXVisuals" "True" " echo "" echo " Please verify that you're in 24 Bits:" echo " DefaultDepth 24" echo "" echo "Save and Quit" gedit /etc/X11/xorg.conf || kwrite /etc/X11/xorg.conf echo "" echo "" echo "Installation of XGL is now finished!!" echo "" echo "To launch XGL, do as user in a terminal" echo "beryl-manager and next: beryl" echo "" echo "to configure XGL, do" echo "LANG= beryl-settings" echo "" echo "NOTE: Restart X to start the new driver" echo "" echo "Now, You've got a great Debian Testing Desktop" echo "Have fun" exit fi if [ $REPLYLANG = "3" ]; then echo "####################################################" echo "## Witaj w programie instalacyjnym ##" echo "## XGL i Beryl dla systemow Debian GNU/Linux ##" echo "## v.1.1.0 ##" echo "## ##" echo "## Mateusz Hajder, http://mathajder.free.fr ##" echo "####################################################" echo "" echo "Ten maly program zainstaluje automatycznie XGL" echo "Beryl, i sterowniki nVidia lub ATI na waszym systemie" echo "Debian Testing." echo "Przy koncu instalacji, Uzytkownik bedzie musial" echo "z konfigurowac swoj wlasny plik xorg.conf." echo "Wszystko co bedzie trzeba robic bedzie zaznaczone" echo "w tym momencie" echo "" echo "UWAGA: Jezeli na systemie sa zainstalowane oficialny sterowniki" echo "czyli ze strony nVidii lub ATI, uzytkonwnik musi najpierw je zkasowac" echo "przed uzyciem tego programu" echo "" if [ `whoami` != "root" ]; then echo "Musicie byc jako "root" aby zaczac instalacje" echo "W konsoli trzeba zrobic su i dac haslo root" echo "i wtedy wlaczyc ponownie program." exit fi echo "Nacijnij na CTRL-C aby zaanulowac instalacje (10secondes)" sleep 10 echo " **Instalacja sie zaczyna**" here=`pwd` echo "Tworzenie foldera" mkdir /tmp/xgl cd /tmp/xgl/ echo "Czy chcesz uaktualnic twoj system? (t/n)" read REPLYUPDATE if [ $REPLYUPDATE = "t" ]; then echo "Uaktualnienie systemu..." apt-get update && apt-get dist-upgrade fi if [ $REPLYUPDATE = "n" ]; then echo "" fi echo "Instalowanie potrzybnych plikow do instalacji..." wget http://mathajder.free.fr/xgl/sources.list apt-get install module-assistant cp /etc/apt/sources.list /etc/apt/sources.list.backup cp sources.list /etc/apt/sources.list apt-get update echo "Jaka karte graficzna posiadacie?" echo "nacisnij n dla nVidia lub a dla ati" read replygraphcard if [ $replygraphcard = "n" ]; then echo "Sciaganie sterownikow nVidia..." apt-get install nvidia-kernel-source echo "Instalowanie sterownikow nVidia" m-a a-i nvidia-kernel-source echo "Sciaganie nVidia-glx" apt-get install nvidia-glx fi if [ $replygraphcard = "a"]; then echo "Sciaganie sterownikow ATI..." apt-get install fglrx-driver fglrx-kernel-src fglrx-kernel fglrx-control echo "Instalowanie sterownikow ATI" module-assistant auto-install fglrx-kernel modconf --load-only fglrx fi echo "Sciaganie bibliotek..." $lib apt-get install -t libwnck18 libwnck-common libwnck-dev echo "Jaki pakiety chcecie sciagnac?" echo "Nacisnac na "a" dla amd64, "i" dla i386, "p" dla ppc" read REPLY if [ $REPLY = "i" ]; then echo "sciaganie Beryl..." $i386 echo "Instalowanie Beryl..." dpkg -i *.deb fi if [ $REPLY = "a" ]; then echo "sciaganie Beryl..." $amd echo "Instalowanie Beryl..." dpkg -i *.deb fi if [ $REPLY = "p" ]; then echo "sciaganie Beryl..." $ppc echo "Instalowanie Beryl..." dpkg -i *.deb fi echo "Kasowanie niepotrzebnych plikow..." cp /etc/apt/sources.list.backup /etc/apt/sources.list rm * rmdir /tmp/xgl apt-get update echo "Prosze zkonfigurowac plika xorg.conf tak:" echo "" echo "Dodac te linijki na koncu plika...:" echo "Section "Extensions" " echo " Option "Composite" "Enable" " echo " EndSection" echo "" echo " W sekcji "Device" zmienic" echo " nv na nvidia (lub ati na fglrx) i dodac:" echo " Option "RenderAccel" "true" " echo " Option "AllowGLXWithComposite" "true" " echo "" echo " W sekcji "Screen", dodac:" echo " Option "AddARGBGLXVisuals" "True" " echo "" echo " Zprawdzic czy jestesmy w 24 bits:" echo " DefaultDepth 24" echo "" echo "Zapisac i zamknac" gedit /etc/X11/xorg.conf || kwrite /etc/X11/xorg.conf echo "" echo "" echo "Instalacja zakonczona!!" echo "" echo "Aby wlaczyc XGL, w konsoli zrobic jako normalny uzytkownik" echo "beryl-manager i potem beryl" echo "" echo "Aby z konfigurowac" echo "LANG= beryl-settings" echo "" echo "NOTE: Uruchom ponownie X aby wlaczyc nowestarowniki" echo "" echo "Teraz macie ladnego Debiana Testing" echo "Have fun" exit fi
Envia mensagens para o serviço mensageiro do windows facilmente
Transforme seu Slackware em Current
Script para montar dispositivo Android
Compartilhando a tela do Computador no Celular via Deskreen
Como Configurar um Túnel SSH Reverso para Acessar Sua Máquina Local a Partir de uma Máquina Remota
Configuração para desligamento automatizado de Computadores em um Ambiente Comercial
Como renomear arquivos de letras maiúsculas para minúsculas
Imprimindo no formato livreto no Linux
Vim - incrementando números em substituição
Efeito "livro" em arquivos PDF
Como resolver o erro no CUPS: Unable to get list of printer drivers
É cada coisa que me aparece! - não é só 3% (3)
Melhorando a precisão de valores flutuantes em python[AJUDA] (5)
[Python] Automação de scan de vulnerabilidades
[Python] Script para analise de superficie de ataque
[Shell Script] Novo script para redimensionar, rotacionar, converter e espelhar arquivos de imagem
[Shell Script] Iniciador de DOOM (DSDA-DOOM, Doom Retro ou Woof!)
[Shell Script] Script para adicionar bordas às imagens de uma pasta