Instalar AUTOMATICAMENTE AIGLX + Beryl con Intel en Kubuntu/Ubuntu

Problemi riscontrati nella Feisty (Ubuntu 7.04) in fase di sviluppo.
Avatar utente
yves
Rampante Reduce
Rampante Reduce
Messaggi: 5422
Iscrizione: domenica 25 dicembre 2005, 2:23
Località: Argentina - BsAs
Contatti:

Instalar AUTOMATICAMENTE AIGLX + Beryl con Intel en Kubuntu/Ubuntu

Messaggio da yves »

Premetto che era rivolto a Edgy, però visto che ogni tanto mi vengono idee pazzerelle ci ho provato con Feisty, risultato: ha funzionato alla grande  (b2b)

Riporto qui i passaggi, questo script esegue le operazioni in automatico (..tutte).

in primo luogo creare lo script, per Kubuntu Feisty:

Codice: Seleziona tutto

#!/bin/bash
if [ `whoami` != "root" ]; then
echo "Debes ejecutar este script como root.";
else
cp /etc/apt/sources.list /etc/apt/sources.list.backup.beryl-script
cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup.beryl-script
echo "deb http://ubuntu.beryl-project.org/ feisty main" >> /etc/apt/sources.list
wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | apt-key add -
aptitude -y update && aptitude -y dist-upgrade
aptitude -y install beryl emerald emerald-themes aquamarine
ln -s /usr/bin/beryl-manager ~/.kde/Autostart/beryl-manager
echo -e "\n\nBeryl ahora esta instalado; porfavor, reinicia.\n\nLos Backups de /etc/apt/sources.list y /etc/X11/xorg.conf son:\n /etc/apt/sources.list.backup.beryl-script\n /etc/X11/xorg.conf.backup"
fi;
salvare con il nome:

Codice: Seleziona tutto

instalar-beryl-kubuntu
ora date questi due comandi:

Codice: Seleziona tutto

sudo chmod +x ./instalar-beryl-kubuntu
e

Codice: Seleziona tutto

sudo ./instalar-beryl-kubuntu
*****************************

Per Ubuntu Feisty

Codice: Seleziona tutto

#!/bin/bash
if [ $UID -gt 0 ]; then
 echo "Debes iniciar este script como root.";
else
 cp /etc/apt/sources.list /etc/apt/sources.list.backup.beryl-script
 cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup.beryl-script
 echo "deb http://ubuntu.beryl-project.org/ feisty main" >> /etc/apt/sources.list
 wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | apt-key add -
 aptitude -y update && aptitude -y dist-upgrade
 aptitude -y install beryl emerald emerald-themes
 echo "[Desktop Entry]
 Encoding=UTF-8
 Name=Beryl Manager
 GenericName=3D Window Manager
 Comment=Beryl Manager daemon
 Icon=/usr/share/icons/hicolor/scalable/apps/beryl-manager.svg
 Exec=beryl-manager
 Terminal=false
 Type=Application
 Categories=GTK;GNOME;Application;Utility;
 StartupNotify=true
 X-Ubuntu-Gettext-Domain=beryl-manager" > /etc/xdg/autostart/beryl-manager.desktop
 cp /etc/xdg/autostart/beryl-manager.desktop /usr/share/applications/beryl-manager.desktop
 cp /etc/xdg/autostart/beryl-manager.desktop ~/Desktop/beryl-manager.desktop
 echo -e "\n\nBeryl ahora esta instalado.\n\nPara ejecutar Beryl al comienzo en Ubuntu, porfavor agrega beryl-manager a tus\nProgramas de inicio (Sistema > Preferencias > Sesiones, y haz click en\nLa pestana \"startup programs\"). Despues de eso, porfavor reinicia.\n\nLos Backups de /etc/apt/sources.list y /etc/X11/xorg.conf son:\n    /etc/apt/sources.list.backup.beryl-script\n    /etc/X11/xorg.conf.backup"
fi;
salvare con il nome:

Codice: Seleziona tutto

instalar-beryl-ubuntu
ora date questi due comandi:

Codice: Seleziona tutto

sudo chmod +x ./instalar-beryl-ubuntu
e

Codice: Seleziona tutto

sudo ./instalar-beryl-ubuntu
quando ha terminato riavviare il PC e buona fortuna (cioè, incrociate le dita..)..

PS: Io ho usato la versione per Kubuntu, non so se per Ubuntu Feysty funziona, necessitasi "cavia" ;D

Il link di origine è questo:

http://strk.wordpress.com/2007/03/07/in ... untu-edgy/

Ciao a tutti.
Ultima modifica di yves il lunedì 16 aprile 2007, 3:13, modificato 1 volta in totale.
Al giorno d'oggi i cani di razza muovono la coda solo per interesse. Ma io sono un bastardo... Tuxliberty
Riscopri il PC, installa ed usa Linux ;-) - Linux != Windows Linux User # 16486 - Jabber: yvesBsAs@jabber.org
8solo5
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 715
Iscrizione: giovedì 8 febbraio 2007, 16:14

Re: Instalar AUTOMATICAMENTE AIGLX + Beryl con Intel en Kubuntu/Ubuntu

Messaggio da 8solo5 »

a me beryl si installa e funziona anche il beryl manager ma poi nonostante avvii il beryl manager e selezioni beryl come gestore delle finestre non cambia nulla..

ora ho feisty e su edgy andava alla perfezione!!

cosa posso fare??
Avatar utente
yves
Rampante Reduce
Rampante Reduce
Messaggi: 5422
Iscrizione: domenica 25 dicembre 2005, 2:23
Località: Argentina - BsAs
Contatti:

Re: Instalar AUTOMATICAMENTE AIGLX + Beryl con Intel en Kubuntu/Ubuntu

Messaggio da yves »

Da cosa ho capito dipende da moltissimi fattori, a parte il 3D attivo bisogna modificare il "xorg.conf", vedi se trovi una guida pel la tua scheda video, ti posto qui sotto il mio, sul mio è una Intel:

Codice: Seleziona tutto

lspci
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)

Codice: Seleziona tutto

xorg.conf
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
        Load    "dbe"    # linea aggiunta
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"it"
	Option		"XkbOptions"	"lv3:ralt_switch"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizScrollDelta"	"0"
EndSection

#Section "InputDevice"
#	Driver		"wacom"
#	Identifier	"stylus"
#	Option		"Device"	"/dev/input/wacom"
#	Option		"Type"		"stylus"
#	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
#EndSection

#Section "InputDevice"
#	Driver		"wacom"
#	Identifier	"eraser"
#	Option		"Device"	"/dev/input/wacom"
#	Option		"Type"		"eraser"
#	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
#EndSection

#Section "InputDevice"
#	Driver		"wacom"
#	Identifier	"cursor"
#	Option		"Device"	"/dev/input/wacom"
#	Option		"Type"		"cursor"
#	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
#EndSection

Section "Device"
	Identifier	"Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
	Driver		"i810"
	BusID		"PCI:0:2:0"
	Option		"UseFBDev"		"true"
##      Option          "XAANoOffscreenPixmaps"    # linea aggiunta
EndSection

Section "Monitor"
	Identifier	"Monitor Generico"
	Option		"DPMS"
	HorizSync	28-64
	VertRefresh	43-60
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
	Monitor		"Monitor Generico"
	DefaultDepth	16
	SubSection "Display"
		Depth		1
		Modes		"1280x768"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x768"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x768"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x768"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x768"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x768"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
#	InputDevice     "stylus"	"SendCoreEvents"
#	InputDevice     "cursor"	"SendCoreEvents"
#	InputDevice     "eraser"	"SendCoreEvents"
	InputDevice	"Synaptics Touchpad"
EndSection

Section "DRI"
	Mode	0666
EndSection

## Section "Extensions"
##         Option "Composite" "Enable"
## EndSection
Ciao.
Al giorno d'oggi i cani di razza muovono la coda solo per interesse. Ma io sono un bastardo... Tuxliberty
Riscopri il PC, installa ed usa Linux ;-) - Linux != Windows Linux User # 16486 - Jabber: yvesBsAs@jabber.org
8solo5
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 715
Iscrizione: giovedì 8 febbraio 2007, 16:14

Re: Instalar AUTOMATICAMENTE AIGLX + Beryl con Intel en Kubuntu/Ubuntu

Messaggio da 8solo5 »

ho risolto scaricando i deb di telperion
grazie ;)
Scrivi risposta

Ritorna a “Feisty 7.04”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 1 ospite