Menu Chiudi

Compiz e i Plugin che non avete osato chiedere mai…

Aggiornamento: i plugin “esterni” non hanno il file schema per gconf, quindi sembrerà che non c’è niente da configurare. Per ovviare a questa piccola scocciatura vi mostro i comandi che do io direttamente da terminale per avere un compiz più felipesco :-)

Per state (tutto su una riga!):

gconftool-2 -t list --list-type=string -s /apps/compiz/plugins/state/screen0/options/opacity "[w:Unknown:97,c:Gnome-terminal:95,t:Pannello di bordo espanso superiore:97]"

Per trailfocus (quattro righe):

gconftool-2 -t float -s /apps/compiz/plugins/trailfocus/screen0/options/maximum_trail_count 2
gconftool-2 -t float -s /apps/compiz/plugins/trailfocus/screen0/options/minimum_window_brightness_level 97
gconftool-2 -t float -s /apps/compiz/plugins/trailfocus/screen0/options/minimum_window_opacity_level 98
gconftool-2 -t float -s /apps/compiz/plugins/trailfocus/screen0/options/minimum_window_saturation_level 100

Dopo aver dato questi comandi potrete modificare i valori con gconf-editor, ma ovviamente vi consiglio di tenere i miei valori :)

* * *

Continua l’ascesa del Compiz, “quello vero”.

Adesso sono disponibili praticamente tutti i plugin creati in precedenza per compiz-quinn/beryl. Per intenderci, quei pochi che funzionavano abbastanza bene…

Sono contento che per adesso David Reveman abbia deciso di non includerli nella distribuzione ufficiale di Compiz e apprezzo che li abbia comunque resi disponibili, linkandoli nella pagina wiki di Compiz.

Sconsiglio fermamente di installare i plugin che sono contrassegnati come “Highly experimental + unsupported” e da quella pagina mi limito a consigliare due soli plugin:

  1. State – permette di associare alcuni attributi a specifiche finestre, per esempio potrei avere tutti i menu leggermente traslucidi con un valore tipo
    w:Unknown:97
    nella voce /apps/compiz/plugins/state/screen0/options/opacity
  2. Trailfocus – mette in risalto le finestre in primo piano rispetto a quelle in secondo piano, grazie ad attributi quali: saturazione, opacità, luminosità.

Tutto il resto è ignorabile, in quanto semplici “prove” o esperimenti di varia natura. Continua così David! :-)

60 commenti

  1. Treviño

    Eh… Giusto così… Alla fine va bene anche una collaborazione del genere…
    Se beryl ha il suo punto di forza nella varietà dei plugin, magari compiz punta più sull’ottimizzazione del core; le due cose non sono incompatibili… :)


    parte  eliminata, per favore niente beryl , grazie

    felipe

  2. felipe

    @Treviño:
    Ti prego di non prenderla male, io stesso uso stabilmente i tuoi repository per altre cose, ma sto eliminando la riga relativa a beryl da te postata.

    Ho deciso di tenere una linea ben ferma: niente beryl da questo sito. Anzi di più: già da tempo sconsiglio apertamente beryl, perché lo ritengo cattivo codice. Sono sicuro che mi capisci, grazie cmq :)

  3. antelope

    Caro felipe, ho usato con successo al primo colpo la tua guida Ubuntu Dapper + XGL + Compiz, e condivido in pieno la linea “niene beryl, col computer vogliamo anche lavorarci” :-)
    Quello che continua a confondermi è quale sia la “versione giusta” di Compiz e come viene distribuita. Stando alla tua guida, si installa compiz-vanilla che è alla versione 0.0.13.57 o giù di lì.
    Nella “pagina wiki di Compiz” che segnali si parla di compiz-0.2.0.
    Sinceramente non ci capisco una fava, che differenza c’è tra quello del repository e quello a versione 0.2.0? O è il repository che non viene aggiornato?

  4. felipe

    @antelope:
    La tua confusione è più che lecita. Sto testando alcuni repository da tempo e sono ancora indeciso se includerli nella guida…

    Per Edgy non ci sono problemi, ma in Dapper possono scombinare tutto, quindi per adesso lascio le cose così come sono. Purtroppo bisogna pazientare un po’ :)

  5. antelope

    Ok, aspetterò, col PC ci devo lavorare :-)
    Ah, cosa succederà a chi ha installato XGL+Compiz (vanilla) al momento di fare il dist-upgrade? :-)

  6. felipe

    @antelope:
    1) Saggia decisione :)
    2) Lo scopriremo solo vivendo :D Mi offrirò da cavia e poi racconterò qual’è il modo più indolore

  7. Treviño

    @felipe… Nessun problema…
    Anche se sono poco concorde con te riguardo Compiz & Beryl, accetto la tua decisione… Figurati…!

    Comunque consiglio a tutti di farsi un giro su beryl-svn/0.1.1 :D :D
    Ehehe…

    Seppur questo sarà un blog de-berylizzato mi sa proprio che ti continuerò a segure… :P

    Ciaooo!

    PS: non voleva essere “spam” ovviamente, sia chiaro…

  8. izzy

    sto provando a compilare state con make ma mi da un errore

    root@localhost:/home/izzy/state# make
    [: 1: ==: unexpected operator
    -e compiling : state.c -> build/libstate.loPackage x11 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `x11.pc’
    to the PKG_CONFIG_PATH environment variable
    No package ‘x11′ found
    Package libpng was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libpng.pc’
    to the PKG_CONFIG_PATH environment variable
    Package ‘libpng’, required by ‘compiz’, not found
    state.c:27:20: error: compiz.h: No such file or directory
    state.c:29:18: error: glib.h: No such file or directory
    state.c:31:22: error: X11/Xlib.h: No such file or directory
    state.c:32:23: error: X11/Xutil.h: No such file or directory
    state.c:33:23: error: X11/Xatom.h: No such file or directory
    state.c:48: error: expected specifier-qualifier-list before ‘HandleEventProc’
    state.c:97: error: expected specifier-qualifier-list before ‘CompOption’
    state.c:187: error: expected ‘)’ before ‘*’ token
    state.c: In function ‘stateScreenInitOptions’:
    state.c:242: error: ‘CompOption’ undeclared (first use in this function)
    state.c:242: error: (Each undeclared identifier is reported only once
    state.c:242: error: for each function it appears in.)
    state.c:242: error: ‘o’ undeclared (first use in this function)
    state.c:244: error: ‘StateScreen’ has no member named ‘opt’
    state.c:248: error: ‘CompOptionTypeList’ undeclared (first use in this function)
    state.c:249: error: ‘CompOptionTypeString’ undeclared (first use in this function)
    state.c:255: error: ‘StateScreen’ has no member named ‘opt’
    state.c:266: error: ‘StateScreen’ has no member named ‘opt’
    state.c:277: error: ‘StateScreen’ has no member named ‘opt’
    state.c:288: error: ‘StateScreen’ has no member named ‘opt’
    state.c:299: error: ‘StateScreen’ has no member named ‘opt’
    state.c:310: error: ‘StateScreen’ has no member named ‘opt’
    state.c: At top level:
    state.c:322: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
    state.c:343: error: expected ‘)’ before ‘*’ token
    state.c:356: error: expected ‘)’ before ‘*’ token
    state.c:366: error: expected ‘)’ before ‘*’ token
    state.c: In function ‘stateWindowTypeMaskFromString’:
    state.c:381: error: ‘CompWindowTypeDesktopMask’ undeclared (first use in this function)
    state.c:383: error: ‘CompWindowTypeDockMask’ undeclared (first use in this function)
    state.c:385: error: ‘CompWindowTypeToolbarMask’ undeclared (first use in this function)
    state.c:387: error: ‘CompWindowTypeMenuMask’ undeclared (first use in this function)
    state.c:389: error: ‘CompWindowTypeUtilMask’ undeclared (first use in this function)
    state.c:391: error: ‘CompWindowTypeSplashMask’ undeclared (first use in this function)
    state.c:393: error: ‘CompWindowTypeDialogMask’ undeclared (first use in this function)
    state.c:395: error: ‘CompWindowTypeModalDialogMask’ undeclared (first use in this function)
    state.c:397: error: ‘CompWindowTypeNormalMask’ undeclared (first use in this function)
    state.c:399: error: ‘CompWindowTypeFullscreenMask’ undeclared (first use in this function)
    state.c:401: error: ‘CompWindowTypeUnknownMask’ undeclared (first use in this function)
    state.c:403: error: ‘CompWindowTypeDropdownMenuMask’ undeclared (first use in this function)
    state.c:405: error: ‘CompWindowTypePopupMenuMask’ undeclared (first use in this function)
    state.c:407: error: ‘CompWindowTypeTooltipMask’ undeclared (first use in this function)
    state.c:409: error: ‘CompWindowTypeNotificationMask’ undeclared (first use in this function)
    state.c:411: error: ‘CompWindowTypeComboMask’ undeclared (first use in this function)
    state.c:413: error: ‘CompWindowTypeDndMask’ undeclared (first use in this function)
    state.c: At top level:
    state.c:439: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘stateGetXPropertyCardinal’
    state.c:472: error: expected ‘)’ before ‘*’ token
    state.c:518: error: expected ‘)’ before ‘*’ token
    state.c:564: error: expected ‘)’ before ‘*’ token
    state.c:572: error: expected ‘)’ before ‘*’ token
    state.c:590: error: expected ‘)’ before ‘*’ token
    state.c:622: error: expected ‘)’ before ‘*’ token
    state.c:717: error: expected ‘)’ before ‘*’ token
    state.c:733: error: expected ‘)’ before ‘*’ token
    state.c:744: error: expected ‘)’ before ‘*’ token
    state.c:771: error: expected ‘)’ before ‘*’ token
    state.c:782: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘stateSetScreenOption’
    state.c:881: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘stateDamageWindowRect’
    state.c:967: error: expected ‘)’ before ‘*’ token
    state.c:1021: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘stateInitDisplay’
    state.c:1051: error: expected ‘)’ before ‘*’ token
    state.c:1063: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘stateInitScreen’
    state.c:1095: error: expected ‘)’ before ‘*’ token
    state.c:1120: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘stateInit’
    state.c:1130: error: expected ‘)’ before ‘*’ token
    state.c:1136: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘stateDeps’
    state.c:1143: error: expected ‘)’ before ‘*’ token
    state.c:1149: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘stateVTable’
    state.c:1170: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
    make: *** [build/libstate.lo] Error 1

    qualcuno sa aiutarmi?

  9. felipe

    continuo a ripetere di non incollare qui dentro il risultato di questo genere di errori o problemi… a quanto pare c’è sempre qualcuno non mi ascolta :/

    vieni in canale per questo genere di cose

  10. Pingback:Compilare con Ubuntu: 1) apt-get build-dep « pollycoke :)

  11. izzy

    scusa ancora per l’output :P

    sono riuscito a compilare tutto(o almeno credo), ma in gconf-editor non mi appaiono i nomi dei nuovi plugin che ho installato… credo che abbia compilato tutto, perchè mi dice compiling e poi linking e non vedo errori(l’output è 3 righe) ma non capisco perchè non riesco a trovare i plugin :o

  12. felipe

    Beh, è normale che non appaiano, mancano gli “schema” da installare.

    Adesso metto le istruzioni su come aggiungere quelli che uso io.

  13. izzy

    ma sei sicuro che i comandi siano giusti? il primo mi dice errore di interpretazione, la lista [w:unknow… deve iniziare con ‘[‘ e gli altri mi dicono chiave o directory errata, deve iniziare con /

  14. felipe

    @izzy:
    uh, no infatti ho dimenticato le virgolette e ho messo qualche backslash di troppo (per migliorare la leggibilità)… ricontrolla adesso, funzionano

  15. izzy

    ok, ora vanno :D

    pero non capisco perchè ma non succede niente quando modifico… cioe ho provato a mettere anche 50 come trasparenza di tutti i menu ma rimangono sempre non trasparenti…
    e fa lo stesso anche con le finestre, è tutto come prima :o

  16. felipe

    la faccenda dei menu è strana… i menu di GNOME restano indifferenti alle impostazioni, quelli di flash e delle app tcl/tk invece cambiano la trasparenza in base ai valori…

    non capisco neanche io

  17. massimiliano

    Allora per tutti quelli come me che non hanno pacchettizzati i plugin state e trailfocus e che quindi devono compilarseli a manina. Scaricate i plugin che vi interessano da qui:
    http://www.anykeysoftware.co.uk/compiz/plugins/
    dopo di che decomprimete il file tar.gz, entrate nella cartella creata (ad esempio cd state) e date un bel make. Se avete tutte le dipendendenze soddisfatte come già spiegato sopra la compilazione va a buon fine. Ora nella cartella del plugin vi trovate la cartella “build” entrate lì con
    cd build
    dentro build c’è una cartella nascosta chiamata .libs ci entrate e lì finalmente trovate il file del plugin compilato, ad esempio state.so.0.0.0 oppure trailfocus.so.0.0.0. Ora copiate questo file rinominandolo togliendoci quei zeri (ad esempio state.so.0.0.0 lo fate diventare state.so) nella directory dove avete gli altri plugin di compiz. Io ho una debian sid e questi si trovano in /usr/lib/compiz
    Per ubuntu sarà qualcosa di simile se non proprio questa.
    Dopo averli copiati date i comandi scritti da felipe all’inizio del post e vi appariranno in gconf-editor…
    E qui sta il trucchetto…infatti tutto questo non basta per farli funzionare…Per farli partire aprite gconf-editor e andate dentro:
    apps>compiz>general>allscreens>options
    cliccate con il tasto destro sulla prima voce a destra “active_plugins” e selezionate “modifica chiave” aggiungete state e trailfocus stando e sistemateli (usando le frecce su e giù) secondo questo ordine:
    gconf, dbus, reflection, blur, miniwin, decoration, state, wobbly, fade, minimize, cube, rotate, zoom, scale, move, resize, place, switcher, trailfocus, water, showdesktop
    Chiudete….e dovrebbe funzionare….a me va, al limite provate a riavviare gnome.
    Spero di essere stato utile:-)

  18. felipe

    uhm, ma non ti complichi la vita?

    io ho messo mano al Makefile, impostando /usr/lib/compiz come path, e poi make e sudo make install… in quel modo sono automaticamente rinominati e installati al punto giusto e funzionano

    e poi ovviamente li ho abilitati con gconf

  19. massimiliano

    Allora ho sistemato tutto…ma c’è una cosa che non capisco… Ho settato sia state che trailfocus come hai detto tu…Ho i menu semitrasparenti come li volevo…solo che sono diventati troppo scuri, tipo grigio scuro. Quando invece state non era attivato erano più chiari. Io su gconf-editor ho provato ad aggiungere al plugin state la chiave brightness con valore sia w:Menu:100 sia w:Unknow:100, ma la situazione non migliora…Come li rendo semitrasparenti ma con lo stesso colore del tema che c’è di gnome?
    E poi, perchè hai messo w:Unknow:97 e non w:Menu:97???

  20. felipe

    1) deve essere un bug temporaneo, prima a me dava la trasparenza ma non il grigiume

    2) “Menu” come nome è riservato per i menu che si possono staccare, vedi Gimp. Una caratteristica storica (e abbastanza inutile) delle GTK

  21. Pingback:GNOME Compiz Preferences: personalizzare Compiz con gusto (e classe) « pollycoke :)

  22. Pingback:Novità (tante) dalla Comunità di Compiz :-) « pollycoke :)

  23. izzy

    siccome non capisco perchè ma il plugin 3d mi da errore mentre che lo compilo, ma l’errore non è di dipendenze perchè sono tutte installate ma proprio tipo di una funzione nel codice sorgente :( mica esistono dei deb per compiz di quello e degli altri plugin?

  24. izzy

    come non detto, ho letto sul sito di gandalf che il plugin 3d è nel pacchetto extra di compiz, anche se ce l’ho installato e non mi sembra sia attivo. boh

  25. Paix

    Consiglio vivamente a tutti di buttare compiz (che mi ha fatto schifo fin dall’inizo per il nn supporto a emerald… che schifo i temi metacity… ma questa è un’altra cosa)… e di riprendere in mano beryl-svn… che configurandolo (se volete vi rendo disponibile il mio profilo) alla perfezione è veloce tanto quanto compiz-freedesktop e poi beh… di plugins ce ne sono a valanghe e nuove idee saltano sempre fuori…

  26. Paix

    Bah invece sarebbe proprio ora di buttare quel compiz-freedesktop… ma va beh nn sono piu nostri problemi big.. XD

  27. kar

    Salve. Ho provato a dare le istruzioni presenti su questo post, ed ora quando apro gl-desktop preferenze ho questo errore :
    Tipo errato: Atteso “int”, ottenuto “float” per la chiave /apps/compiz/plugins/trailfocus/screen0/options/minimum_window_brightness_level
    Tipo errato: Atteso “int”, ottenuto “float” per la chiave /apps/compiz/plugins/trailfocus/screen0/options/minimum_window_opacity_level
    Tipo errato: Atteso “int”, ottenuto “float” per la chiave /apps/compiz/plugins/trailfocus/screen0/options/minimum_window_saturation_level
    Come posso risolvere ?
    E soprattutto come posso ottenere gli effetti del filmato (finestre “staccate” da desktop) ?
    Grazie

  28. Anonimo

    Caio a tutti.

    Nonostante abbia soddisfatto le dipendenze seguendo la guida Compilare con Ubuntu: 1) apt-get build-dep non riesco nella compilazione di state.
    I comandi dati sono: sudo apt-get install build-essential, sudo apt-get update, sudo apt-get build-dep compiz (circa 35MB di pacchetti). Chiaramente sono abilitati universe e multiverse.

    Poi vado nella dir state e lancio un bel make ma l’output è:
    [: 1: ==: unexpected operator
    -e compiling : state.c -> build/libstate.lostate.c: In function ‘get_workarea_of_current_output_device’:
    state.c:122: warning: implicit declaration of function ‘getWorkareaForOutput’
    state.c: In function ‘get_window_width’:
    state.c:128: error: ‘CompWindow’ has no member named ‘serverWidth’
    state.c:128: error: ‘CompWindow’ has no member named ‘serverBorderWidth’
    state.c:129: warning: control reaches end of non-void function
    state.c: In function ‘get_window_height’:
    state.c:134: error: ‘CompWindow’ has no member named ‘serverHeight’
    state.c:134: error: ‘CompWindow’ has no member named ‘serverBorderWidth’
    state.c:135: warning: control reaches end of non-void function
    state.c: At top level:
    state.c:1221: warning: excess elements in struct initializer
    state.c:1221: warning: (near initialization for ‘stateVTable’)
    state.c:1223: warning: excess elements in struct initializer
    state.c:1223: warning: (near initialization for ‘stateVTable’)
    make: *** [build/libstate.lo] Error 1

    Felipe mi puoi dare una mano? Quali altre dipendenze mi mancano? In canale non trovo nessuno disponibile…

  29. auato

    Caio a tutti.

    Nonostante abbia soddisfatto le dipendenze seguendo la guida Compilare con Ubuntu: 1) apt-get build-dep non riesco nella compilazione di state.
    I comandi dati sono: sudo apt-get install build-essential, sudo apt-get update, sudo apt-get build-dep compiz (circa 35MB di pacchetti). Chiaramente sono abilitati universe e multiverse.

    Poi vado nella dir state e lancio un bel make ma l’output è:
    [: 1: ==: unexpected operator
    -e compiling : state.c -> build/libstate.lostate.c: In function ‘get_workarea_of_current_output_device’:
    state.c:122: warning: implicit declaration of function ‘getWorkareaForOutput’
    state.c: In function ‘get_window_width’:
    state.c:128: error: ‘CompWindow’ has no member named ‘serverWidth’
    state.c:128: error: ‘CompWindow’ has no member named ‘serverBorderWidth’
    state.c:129: warning: control reaches end of non-void function
    state.c: In function ‘get_window_height’:
    state.c:134: error: ‘CompWindow’ has no member named ‘serverHeight’
    state.c:134: error: ‘CompWindow’ has no member named ‘serverBorderWidth’
    state.c:135: warning: control reaches end of non-void function
    state.c: At top level:
    state.c:1221: warning: excess elements in struct initializer
    state.c:1221: warning: (near initialization for ‘stateVTable’)
    state.c:1223: warning: excess elements in struct initializer
    state.c:1223: warning: (near initialization for ‘stateVTable’)
    make: *** [build/libstate.lo] Error 1

    Felipe mi puoi dare una mano? Quali altre dipendenze mi mancano? In canale non trovo nessuno disponibile…

  30. auato

    oltretutto sul canale non sono molto simpatici, stanno lì a dormire e aspettano qualche newbie per sparare subito battute pungenti… (alla faccia dell’ospitalità)

    p.s. ho fatto una manovra errata ed ho postato 2 volte cose identiche

  31. izzy

    auato se installi dai repo unstable di gandalfn anche gnome-compiz-manager-extra e compiz-freedesktop-extra te lo installa automaticamente state

  32. ALiEN

    scusate quando provo a installare un plugin e do il make mi da na sfilza di errori quindi nn mi krea il file .schema cosa puo essere?

  33. felipe

    @ALiEN:
    Potresti cominciare col far vedere quali errori ti spuntano. In ogni caso i file schema vengono distribuiti già pronti, non vengono creati da make

  34. ALiEN

    giust però ugualmente se nn va il make non si installano…gli errori sono questi:
    [: 1: ==: unexpected operator
    -e compiling : snow.c -> build/libsnow.loPackage xcomposite was not found in the pkg-config search path.
    Perhaps you should add the directory containing `xcomposite.pc’
    to the PKG_CONFIG_PATH environment variable
    Package ‘xcomposite’, required by ‘compiz’, not found
    snow.c:37:20: error: compiz.h: No such file or directory
    snow.c:112: error: expected specifier-qualifier-list before ‘CompOptionValue’
    snow.c:124: error: expected specifier-qualifier-list before ‘CompTexture’
    snow.c:146: error: expected specifier-qualifier-list before ‘CompScreen’
    snow.c:166: error: expected declaration specifiers or ‘…’ before ‘CompScreen’
    snow.c: In function ‘snowThink’:
    snow.c:174: error: ‘SnowScreen’ has no member named ‘s’
    snow.c:176: error: ‘SnowScreen’ has no member named ‘s’
    snow.c: In function ‘stepSnowPositions’:
    snow.c:197: error: ‘CompScreen’ undeclared (first use in this function)
    snow.c:197: error: (Each undeclared identifier is reported only once
    snow.c:197: error: for each function it appears in.)
    snow.c:197: error: ‘s’ undeclared (first use in this function)
    snow.c:199: error: ‘SnowScreen’ has no member named ‘active’
    snow.c:200: error: ‘TRUE’ undeclared (first use in this function)
    snow.c:203: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:204: error: ‘SnowScreen’ has no member named ‘active’
    snow.c:214: error: ‘CompWindow’ undeclared (first use in this function)
    snow.c:214: error: ‘w’ undeclared (first use in this function)
    snow.c:217: error: ‘CompWindowTypeDesktopMask’ undeclared (first use in this function)
    snow.c:219: warning: implicit declaration of function ‘addWindowDamage’
    snow.c:223: error: ‘SnowScreen’ has no member named ‘active’
    snow.c:224: warning: implicit declaration of function ‘damageScreen’
    snow.c:226: warning: control reaches end of non-void function
    snow.c: At top level:
    snow.c:230: error: expected ‘)’ before ‘*’ token
    snow.c: In function ‘setupDisplayList’:
    snow.c:269: error: ‘SnowScreen’ has no member named ‘displayList’
    snow.c:269: warning: implicit declaration of function ‘glGenLists’
    snow.c:271: warning: implicit declaration of function ‘glNewList’
    snow.c:271: error: ‘SnowScreen’ has no member named ‘displayList’
    snow.c:271: error: ‘GL_COMPILE’ undeclared (first use in this function)
    snow.c:272: warning: implicit declaration of function ‘glBegin’
    snow.c:272: error: ‘GL_QUADS’ undeclared (first use in this function)
    snow.c:274: warning: implicit declaration of function ‘glColor4f’
    snow.c:274: warning: implicit declaration of function ‘glVertex3f’
    snow.c:279: warning: implicit declaration of function ‘glEnd’
    snow.c:280: warning: implicit declaration of function ‘glEndList’
    snow.c: At top level:
    snow.c:285: error: expected declaration specifiers or ‘…’ before ‘CompScreen’
    snow.c: In function ‘beginRendering’:
    snow.c:287: warning: implicit declaration of function ‘glPushMatrix’
    snow.c:288: warning: implicit declaration of function ‘glLoadIdentity’
    snow.c:290: warning: implicit declaration of function ‘prepareXCoords’
    snow.c:290: error: ‘s’ undeclared (first use in this function)
    snow.c:290: error: ‘DEFAULT_Z_CAMERA’ undeclared (first use in this function)
    snow.c:294: warning: implicit declaration of function ‘glEnable’
    snow.c:294: error: ‘GL_BLEND’ undeclared (first use in this function)
    snow.c:295: warning: implicit declaration of function ‘glBlendFunc’
    snow.c:295: error: ‘GL_SRC_ALPHA’ undeclared (first use in this function)
    snow.c:295: error: ‘GL_ONE_MINUS_SRC_ALPHA’ undeclared (first use in this function)
    snow.c:298: warning: implicit declaration of function ‘glTexEnvf’
    snow.c:298: error: ‘GL_TEXTURE_ENV’ undeclared (first use in this function)
    snow.c:298: error: ‘GL_TEXTURE_ENV_MODE’ undeclared (first use in this function)
    snow.c:298: error: ‘GL_MODULATE’ undeclared (first use in this function)
    snow.c:303: error: ‘FALSE’ undeclared (first use in this function)
    snow.c:307: error: ‘SnowScreen’ has no member named ‘snowTexturesLoaded’
    snow.c:311: error: ‘SnowScreen’ has no member named ‘snowTexturesLoaded’
    snow.c:313: warning: implicit declaration of function ‘enableTexture’
    snow.c:313: error: ‘SnowScreen’ has no member named ‘s’
    snow.c:313: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:313: error: ‘COMP_TEXTURE_FILTER_GOOD’ undeclared (first use in this function)
    snow.c:318: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:318: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:320: warning: implicit declaration of function ‘glTranslatef’
    snow.c:320: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:320: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:320: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:321: warning: implicit declaration of function ‘glRotatef’
    snow.c:321: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:322: warning: implicit declaration of function ‘glCallList’
    snow.c:322: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:323: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:325: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:325: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:325: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:328: warning: implicit declaration of function ‘disableTexture’
    snow.c:328: error: ‘SnowScreen’ has no member named ‘s’
    snow.c:328: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:331: error: ‘SnowScreen’ has no member named ‘snowTexturesLoaded’
    snow.c:336: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:336: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:336: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:337: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:338: error: ‘SnowScreen’ has no member named ‘displayList’
    snow.c:339: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:340: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:340: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:340: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:344: error: ‘GL_REPLACE’ undeclared (first use in this function)
    snow.c:347: warning: implicit declaration of function ‘glDisable’
    snow.c:348: error: ‘GL_ONE’ undeclared (first use in this function)
    snow.c:350: warning: implicit declaration of function ‘glPopMatrix’
    snow.c: At top level:
    snow.c:373: error: expected ‘)’ before ‘*’ token
    snow.c:397: error: expected ‘)’ before ‘*’ token
    snow.c: In function ‘InitiateSnowFlake’:
    snow.c:420: error: ‘SnowScreen’ has no member named ‘s’
    snow.c: In function ‘setSnowflakeTexture’:
    snow.c:432: error: ‘SnowScreen’ has no member named ‘snowTexturesLoaded’
    snow.c:433: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:433: error: ‘SnowScreen’ has no member named ‘snowTexturesLoaded’
    snow.c: At top level:
    snow.c:436: error: expected ‘)’ before ‘*’ token
    snow.c:496: error: expected ‘)’ before ‘*’ token
    snow.c:530: error: expected ‘)’ before ‘*’ token
    snow.c:559: error: expected ‘)’ before ‘*’ token
    snow.c: In function ‘snowDisplayInitOptions’:
    snow.c:672: error: ‘CompOption’ undeclared (first use in this function)
    snow.c:672: error: ‘o’ undeclared (first use in this function)
    snow.c:674: error: ‘SnowDisplay’ has no member named ‘opt’
    snow.c:676: warning: implicit declaration of function ‘N_’
    snow.c:678: error: ‘CompOptionTypeFloat’ undeclared (first use in this function)
    snow.c:684: error: ‘SnowDisplay’ has no member named ‘opt’
    snow.c:694: error: ‘SnowDisplay’ has no member named ‘opt’
    snow.c:704: error: ‘SnowDisplay’ has no member named ‘opt’
    snow.c:708: error: ‘CompOptionTypeInt’ undeclared (first use in this function)
    snow.c:713: error: ‘SnowDisplay’ has no member named ‘opt’
    snow.c:723: error: ‘SnowDisplay’ has no member named ‘opt’
    snow.c:733: error: ‘SnowDisplay’ has no member named ‘opt’
    snow.c:737: error: ‘CompOptionTypeList’ undeclared (first use in this function)
    snow.c:738: error: ‘CompOptionTypeString’ undeclared (first use in this function)
    snow.c:741: error: ‘CompOptionValue’ undeclared (first use in this function)
    snow.c:748: error: ‘SnowDisplay’ has no member named ‘opt’
    snow.c:752: error: ‘CompOptionTypeAction’ undeclared (first use in this function)
    snow.c:753: error: ‘snowToggle’ undeclared (first use in this function)
    snow.c:755: error: ‘FALSE’ undeclared (first use in this function)
    snow.c:756: error: ‘CompBindingTypeKey’ undeclared (first use in this function)
    snow.c:757: error: ‘CompActionStateInitKey’ undeclared (first use in this function)
    snow.c:758: error: ‘CompActionStateInitButton’ undeclared (first use in this function)
    snow.c:759: error: ‘CompSuperMask’ undeclared (first use in this function)
    snow.c:763: error: ‘SnowDisplay’ has no member named ‘opt’
    snow.c:767: error: ‘CompOptionTypeBool’ undeclared (first use in this function)
    snow.c:770: error: ‘SnowDisplay’ has no member named ‘opt’
    snow.c:775: error: ‘TRUE’ undeclared (first use in this function)
    snow.c:777: error: ‘SnowDisplay’ has no member named ‘opt’
    snow.c: At top level:
    snow.c:785: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
    snow.c:802: error: expected ‘)’ before ‘*’ token
    snow.c:837: error: expected ‘)’ before ‘*’ token
    snow.c:847: error: expected ‘)’ before ‘*’ token
    snow.c:857: error: expected ‘)’ before ‘*’ token
    snow.c:864: error: expected ‘)’ before ‘*’ token
    snow.c:870: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘snowVTable’
    snow.c:893: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
    make: *** [build/libsnow.lo] Error 1

  35. felipe

    @ALiEN:

    Package ‘xcomposite’, required by ‘compiz’, not found

    Questo è l’errore. La soluzione è installare libxcomposite-dev

    Per saperne di più su quello che ti occorre per compilare Compiz o plugin per Compiz segui questa mia guida, capirai una serie di cose ;-)

    http://pollycoke.wordpress.com/2006/10/26/come-installare-compiz-da-sorgenti/
    e tutte le guide che vengono linkate, specialmente:
    http://pollycoke.wordpress.com/2006/10/22/compilare-con-ubuntu-1-apt-get-build-dep/

    Buona lettura

  36. ALiEN

    se provo a fare kome dice la tua guida mi dice:
    E: Non è stato possibile soddisfare le dipendenze di costruzione per compiz.

  37. ALiEN

    Package ‘libstartup-notification-1.0’, required by ‘compiz’, not found
    nel make questo.
    Nel APT questo:
    alien@linux.it:~/Desktop/snow$ sudo apt-get build-dep compiz
    Lettura della lista dei pacchetti in corso… Fatto
    Generazione dell’albero delle dipendenze in corso
    Reading state information… Fatto
    E: Non è stato possibile soddisfare le dipendenze di costruzione per compiz.

  38. felipe

    @ALiEN:
    Come prima, in questo caso devi installare libstartup-notification0-dev.

    Ma scusa non hai visto che questa guida è nella categoria “Avanzati, per Guru!”? Se non sai installare o risolvere dipendenze, anche dopo le indicazioni, ti avverto che installare quel plugin non sarà facile

  39. ALiEN

    e lo so però volevo provare…cmnq ora da altri errori :|
    /usr/include/compiz/compiz.h:46:19: error: GL/gl.h: No such file or directory
    /usr/include/compiz/compiz.h:47:20: error: GL/glx.h: No such file or directory

  40. ALiEN

    Che percaso avete fatto anche il plugin wallpaper gia compilato? visto che quello che gia c’e nn mi funziona?

  41. Carlo

    Scusate essendo che ho formattato sapete darmi il link del compiz-manager da dove potevi modificare tutte le cose che ci sono anche in gconf-editor? Grazie

  42. oncelot

    ragazzi scusate, sapete dirmi come installare il plugin 3d?? è molto interessante ho la ver. compiz 0.3.4 circa…. cmq potete aiutarmi??grazie

  43. ALiEN

    scusate come posso settare la risoluzione del cubo? cioe quando lo fai ruotare diventa tipo + piccolo cosi si vede meglio…

  44. evrix

    @kar
    ho avuto il tuo stesso problema, basta ridare i comandi per trailfocus per cui si lamenta (gli ultimi tre nel mio dump) sostituendo float con int (dove dice ”-t float” va messo ”-t int”
    ps: io, con kde, ho avuto i problemi

  45. sbrandollo

    Salve a tutti ho installato compiz tutto funziona, ma non ho visto ancora il cubo …. come faccio ad attivarlo ???? Uso ubuntu 6.10 da poco … vi lascio immaginare.

    Grazie

  46. sbrandollo

    Salve a tutti … si nuovo io.

    Sapte come posso fare a diminuire le dimensioni del cubo.
    Mi spiego quando passo da un’area di lavoro a l’atra vedo gli angoli si sposano all’interno o all’esterno del cubo … ma io vorrei un effetto alla “3ddesktop” (non so se lo conoscete, anche se fa ca…), comunque vorrei un cubo + piccolo.

    Altro particolare … quando premo down, mi appare una piccola aniomazione che mi apre il cubo e me lo mette aperto davanti a me?
    Beh il cubo non può rimanere semplicemente un cubo ….

    Insomma dove posso travare informazioni per personalizzare, nei suddetti termini, il cubo?

    Grazie in anticipo
    Christian

  47. felipe

    @sbrandollo:
    1. Leggevo che la questione sarà affrontata a livello di “cuore” di Compiz, dal momento che per adesso non esiste un modo per sincronizzare automaticamente le azioni di più plugin.

    Appena si avrà modo di farlo, sarà possibile definire uno zoom quando si gira il cubo, e in teoria potrebbe essere possibile fare qualisiasi cosa. Beryl in ogni caso ha quella possibilità già adesso, ma è “hardcoded” nel plugin: funziona, ma non è certamente la soluzione più elegante

    2. Non ho capito :D

  48. marcos

    ciao a tutti,
    chissà se c’è una buon’anima che mi aiuta a installare il plugin snow in ubuntu feisty con compiz 0.3.6.1?

Rispondi

Scopri di più da pollycoke :)

Abbonati ora per continuare a leggere e avere accesso all'archivio completo.

Continue reading

Vai alla barra degli strumenti