compiz problem

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
ciopper
Linux 0.x
Linux 0.x
Messaggi: 40
Iscritto il: mer 2 gen 2008, 14:49

Re: compiz problem

Messaggio da ciopper »

boh ha scritto:Ti mancano le pygtk. Nel repository di slacky ci sono :thumbright:
ho provato ad installare pygtk ma ho qualche problemino.... :D
ho scaricato il pacchetto pygtk-2.12.1-i486-1sl.tgz nella mia root ed ho dato da shell:

Codice: Seleziona tutto

installpkg pygtk-2.12.1-i486-1sl.tgz

mi sono comparse le due directory:

Codice: Seleziona tutto

/usr/share/pygtk
/usr/lib/pygtk
però se digito da shell ccsm mi da ancora:

Codice: Seleziona tutto

root@FISSO:~# ccsm
Traceback (most recent call last):
  File "/usr/bin/ccsm", line 22, in <module>
    import pygtk
ImportError: No module named pygtk
root@FISSO:~#
perchè non si sono installate le pygtk?

grazie ciao

sbabaro
Packager
Packager
Messaggi: 388
Iscritto il: ven 9 set 2005, 0:00
Slackware: slack 12.1
Kernel: 2.6.26 ricompilato
Desktop: gslacky

Re: compiz problem

Messaggio da sbabaro »

provato con un ldconfig da root?

Avatar utente
lucif3r0
Linux 3.x
Linux 3.x
Messaggi: 617
Iscritto il: mer 11 mag 2005, 0:00
Slackware: 13.1
Kernel: 2.6.33.4
Desktop: KDE 4.3

Re: compiz problem

Messaggio da lucif3r0 »

@ciopper posteresti cosa dice il file /usr/bin/ccsm?

ciopper
Linux 0.x
Linux 0.x
Messaggi: 40
Iscritto il: mer 2 gen 2008, 14:49

Re: compiz problem

Messaggio da ciopper »

lucif3r0 ha scritto:@ciopper posteresti cosa dice il file /usr/bin/ccsm?

Codice: Seleziona tutto

#!/usr/bin/python
# -*- coding: UTF-8 -*-

# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
#
# Authors: Quinn Storm (quinn@beryl-project.org)
#          Patrick Niklaus (marex@opencompositing.org)
# Copyright (C) 2007 Quinn Storm

import pygtk
pygtk.require('2.0')
import gtk

try:
	import sexy
	has_sexy = True
except ImportError:
	print "Info: No sexy-python package found, don't worry it's optional."
	has_sexy = False

if gtk.pygtk_version < (2,10,0):
    print "PyGtk 2.10.0 or later required"
    raise SystemExit

import compizconfig
ccs = compizconfig
import ccm

screens = ccm.getScreens()
context = ccs.Context(screens)
mainWin = ccm.MainWin(context)
mainWin.show_all()

gtk.main()

Ultima modifica di ciopper il lun 25 feb 2008, 20:44, modificato 1 volta in totale.

ciopper
Linux 0.x
Linux 0.x
Messaggi: 40
Iscritto il: mer 2 gen 2008, 14:49

Re: compiz problem

Messaggio da ciopper »

sbabaro ha scritto:provato con un ldconfig da root?
non cambia niente...

Avatar utente
lucif3r0
Linux 3.x
Linux 3.x
Messaggi: 617
Iscritto il: mer 11 mag 2005, 0:00
Slackware: 13.1
Kernel: 2.6.33.4
Desktop: KDE 4.3

Re: compiz problem

Messaggio da lucif3r0 »

prova a mettere ste 3 righe sopra import pygtk

Codice: Seleziona tutto

import sys
sys.path.insert(-1,"/usr/lib/python2.4/site-packages/gtk-2.0/")
sys.path.insert(-1,"/usr/local/lib/python2.5/site-packages")

ciopper
Linux 0.x
Linux 0.x
Messaggi: 40
Iscritto il: mer 2 gen 2008, 14:49

Re: compiz problem

Messaggio da ciopper »

lucif3r0 ha scritto:prova a mettere ste 3 righe sopra import pygtk

Codice: Seleziona tutto

import sys
sys.path.insert(-1,"/usr/lib/python2.4/site-packages/gtk-2.0/")
sys.path.insert(-1,"/usr/local/lib/python2.5/site-packages")
Purtroppo non cambia niente....

Codice: Seleziona tutto

#!/usr/bin/python
# -*- coding: UTF-8 -*-

# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
#
# Authors: Quinn Storm (quinn@beryl-project.org)
#          Patrick Niklaus (marex@opencompositing.org)
# Copyright (C) 2007 Quinn Storm
import sys
sys.path.insert(-1,"/usr/lib/python2.4/site-packages/gtk-2.0/")
sys.path.insert(-1,"/usr/local/lib/python2.5/site-packages")
import pygtk
pygtk.require('2.0')
import gtk

try:
	import sexy
	has_sexy = True
except ImportError:
	print "Info: No sexy-python package found, don't worry it's optional."
	has_sexy = False

if gtk.pygtk_version < (2,10,0):
    print "PyGtk 2.10.0 or later required"
    raise SystemExit

import compizconfig
ccs = compizconfig
import ccm

screens = ccm.getScreens()
context = ccs.Context(screens)
mainWin = ccm.MainWin(context)
mainWin.show_all()

gtk.main()


Avatar utente
lucif3r0
Linux 3.x
Linux 3.x
Messaggi: 617
Iscritto il: mer 11 mag 2005, 0:00
Slackware: 13.1
Kernel: 2.6.33.4
Desktop: KDE 4.3

Re: compiz problem

Messaggio da lucif3r0 »

prova con quest'altra variante

Codice: Seleziona tutto

import sys
sys.path.insert(-1,"/usr/lib/python2.4/site-packages/gtk-2.0/") 
sys.path.insert(-1,"/usr/lib/python2.5")
poi se non riesce mi posti il risultato di questo

Codice: Seleziona tutto

find / -name pygtk*
dato ovviamente da root

ciopper
Linux 0.x
Linux 0.x
Messaggi: 40
Iscritto il: mer 2 gen 2008, 14:49

Re: compiz problem

Messaggio da ciopper »

lucif3r0 ha scritto:poi se non riesce mi posti il risultato di questo

Codice: Seleziona tutto

find / -name pygtk*
dato ovviamente da root

Codice: Seleziona tutto

root@FISSO:~# find / -name pygtk*
/root/pygtk-2.12.1-i486-1sl.tgz
root@FISSO:~#

Codice: Seleziona tutto

root@FISSO:~# whereis pygtk
pygtk: /usr/lib/pygtk /usr/share/pygtk
root@FISSO:~#

Avatar utente
boh
Linux 4.x
Linux 4.x
Messaggi: 1027
Iscritto il: ven 16 set 2005, 0:00
Slackware: 14.2 (x64)
Kernel: 4.4.111
Desktop: KDE 4.14.32
Località: Milano
Contatta:

Re: compiz problem

Messaggio da boh »

Ma hai installato tutti i pacchetti presenti qui?

http://repository.slacky.eu/slackware-1 ... ion/0.6.0/

E tutte le dipendenze, ossia: pycairo, pygobject, pygtk, libsexy, sexy-python, pyrex, libwnck
"Be yourself. Everyone else is already taken." ~ Oscar Wilde

Avatar utente
lucif3r0
Linux 3.x
Linux 3.x
Messaggi: 617
Iscritto il: mer 11 mag 2005, 0:00
Slackware: 13.1
Kernel: 2.6.33.4
Desktop: KDE 4.3

Re: compiz problem

Messaggio da lucif3r0 »

credo che ti manchino dei pacchetti... avrebbe dovuto trovare
un bel po' di roba... ;)

Avatar utente
Vito
Staff
Staff
Messaggi: 4182
Iscritto il: mar 5 dic 2006, 17:28
Nome Cognome: Vito
Desktop: MacOS
Località: Monaco (DE)
Contatta:

Re: compiz problem

Messaggio da Vito »

Confermo...Mancano dei pacchetti...ho avuto anche io ,a mio tempo, questo problema... 8)
"Stat rosa pristina nomina, nomina nuda tenemus." [ Umberto Eco - Il nome della rosa]

"Faber est suae quisque fortunae ." [ Appio Claudio Cieco]

ciopper
Linux 0.x
Linux 0.x
Messaggi: 40
Iscritto il: mer 2 gen 2008, 14:49

Re: compiz problem

Messaggio da ciopper »

boh ha scritto:Ma hai installato tutti i pacchetti presenti qui?

http://repository.slacky.eu/slackware-1 ... ion/0.6.0/

E tutte le dipendenze, ossia: pycairo, pygobject, pygtk, libsexy, sexy-python, pyrex, libwnck
ho scaricato nuovamente tutti i file tgz nel link che mi hai suggerito ed ho dato
installpkg *.tgz
ho riprovato e non è cambiatyo niente.
le dipendenze non le ho installate...

ciopper
Linux 0.x
Linux 0.x
Messaggi: 40
Iscritto il: mer 2 gen 2008, 14:49

Re: compiz problem

Messaggio da ciopper »

ho installato le dipendenze ed ora sembra che funzioni....
però lo devfo provare bene! :D

grazie a tutti!!! =D> =D> =D>

ciopper
Linux 0.x
Linux 0.x
Messaggi: 40
Iscritto il: mer 2 gen 2008, 14:49

Re: compiz problem

Messaggio da ciopper »

ma come si fa a far comparire il cubo in 3d???
Le altre animazioni funzionano.... se clicco sui desktop il cubo ruota ma in 2d.... se vado col mouse tutto in alto a destra tutte le finestre aperte vengono visualizzate in una unica pagina e tu scegli quella che vuoi... se sposto le finestre hanno l'effetto gomma :D
Ho provato a cambiare i flag in compiz manager ma non noto differenze.... bhò!

grazie ciao

piccolo O.T. dove trovo dal menù kde il bottone per ridurre tutte le finestra ad icona in un unico click?

Rispondi