View Full Version : KDE + Kubuntu 6.10 (Edgy Eft) + COMPIZ
Key-21
November 20th, 2006, 05:00 PM
Hello,
Is it possible to install Compiz in a Kubuntu 6.10 (Edgy Eft) system ?
I only can get compiz instalation documentation for Dapper Drake running with gnome... and i never find installation help for Kubuntu 6.10 (Edgy Eft) (running with KDE)
maybe you have it for me ?
I downloaded repositories from the go compiz web site (deb http://gandalfn.club.fr/ubuntu edgy .)... and now i dont realy know what to do... :'(
plz help me
bye, Key-21
RYX
November 20th, 2006, 05:09 PM
Hi, Key-21!
Yes, of course you can use compiz with Kubuntu Edgy. More important for installation is what graphics card you have ... do you have a ATI or NVIDIA graphics-card (or another one)?
:)
Key-21
November 20th, 2006, 05:52 PM
my graphic card is a RADEON 9800 PRO
RYX
November 20th, 2006, 06:34 PM
Hmmm - I don't have an ati card myself. According to what I read on the beryl-forums, you can simply run compiz out-of-the-box with the open-source radeon-driver ... but maybe your card isn't supported - I cannot say for sure.
I don't know about running compiz together with KDE, maybe someone else can give you instructions on how to make that work [*looking at mikedee*] ... you may need another decorator (aquamarine) to have window-decorations.
You can try installing compiz via the repositories and then running the following in a terminal:compiz --replace gconf &
gtk-window-decorator --replace &
Press enter twice after entering the commands to see the output. If there are any errors (or nothing happens), please post them here ...
:)
mikedee
November 20th, 2006, 08:13 PM
To get compiz running with KDE is the same as getting it to run with Gnome, you can just log in and then replace kwin with compiz. Assuming you get that far, you can edit the file /usr/kde/3.5/share/config/kdm/kdmrc (change 3.5 to your kde version) and change the ServerCmd if necessary (I do not think it will be for you).
Mine is this but I use X with Nvidia drivers.
ServerCmd=/usr/bin/X -br
To get KDE to start compiz as the window manager you need to set this environmental variable.
KDEWM=compiz-decorator
compiz-decorator is a script which just loads compiz and gtkwd.
I originally followed the instructions here http://gentoo-wiki.com/Compiz#KDM, these are gentoo specific so the way to set the KDEWM env variable will be different for kubuntu.
Key-21
November 20th, 2006, 08:38 PM
hmmm no... i dont get that far... i tryed to compile and had no error... but i had this message an the end of compiling :
the following optional plugins will be compiled:
gconf: yes
place: yes
dbus: yes
and the following optional features will be compiled:
svg: yes
gtk: yes
metacity: yes
gnome: no
kde: no
after that i tried to make and i had this message :
key-21@RADEON9800:~$ make
make all-recursive
make[1]: entrant dans le répertoire « /home/key-21 »
Making all in include
make[2]: entrant dans le répertoire « /home/key-21/include »
make[2]: Rien à faire pour « all ».
make[2]: quittant le répertoire « /home/key-21/include »
Making all in src
make[2]: entrant dans le répertoire « /home/key-21/src »
if gcc -DHAVE_CONFIG_H -I. -I/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/src
-I.. -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I/home/key
-21/Desktop/compiz-0.3.2/compiz-0.3.2/include -DPLUGINDIR=\"/usr/local/lib/compi
z\" -DIMAGEDIR=\"/usr/local/share/compiz\" -g -O2 -Wall -Wpointer-arith -Wstr
ict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno
-strict-aliasing -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o /home/key-
21/Desktop/compiz-0.3.2/compiz-0.3.2/src/main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"
; exit 1; fi
In file included from /home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/src/main.c:
37:
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:46:19: error: GL
/gl.h: Aucun fichier ou répertoire de ce type
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:47:20: error: GL
/glx.h: Aucun fichier ou répertoire de ce type
In file included from /home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/src/main.c:
37:
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:197: error: expe
cted ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘defaultColor’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:724: error: expe
cted specifier-qualifier-list before ‘GLenum’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:882: error: expe
cted specifier-qualifier-list before ‘GLfloat’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:892: error: expe
cted specifier-qualifier-list before ‘GLushort’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1040: error: exp
ected specifier-qualifier-list before ‘GLuint’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1152: warning: t
ype defaults to ‘int’ in declaration of ‘GLubyte’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1152: error: exp
ected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1155: error: exp
ected declaration specifiers or ‘...’ before ‘GLXDrawable’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1159: error: exp
ected declaration specifiers or ‘...’ before ‘GLXDrawable’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1162: error: exp
ected declaration specifiers or ‘...’ before ‘GLXDrawable’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1167: error: exp
ected declaration specifiers or ‘...’ before ‘GLXDrawable’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1189: error: exp
ected declaration specifiers or ‘...’ before ‘*’ token
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1192: warning: t
ype defaults to ‘int’ in declaration of ‘GLXPixmap’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1192: error: ‘GL
XPixmap’ declared as function returning a function
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1192: warning: f
unction declaration isn’t a prototype
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1194: error: exp
ected ‘)’ before ‘texture’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1195: error: exp
ected ‘)’ before ‘texture’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1197: error: exp
ected ‘)’ before ‘n’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1199: error: exp
ected ‘)’ before ‘n’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1201: error: exp
ected ‘)’ before ‘target’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1203: error: exp
ected ‘)’ before ‘target’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1207: error: exp
ected ‘)’ before ‘target’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1214: error: exp
ected ‘)’ before ‘n’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1216: error: exp
ected ‘)’ before ‘n’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1218: error: exp
ected ‘)’ before ‘target’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1220: error: exp ected declaration specifiers or ‘...’ before ‘*’ token
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1220: error: exp ected ‘)’ before ‘target’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1221: error: exp ected ‘)’ before ‘target’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1226: error: exp ected ‘)’ before ‘target’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1384: error: exp ected specifier-qualifier-list before ‘GLint’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1677: error: exp ected declaration specifiers or ‘...’ before ‘GLenum’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/include/compiz.h:1760: error: exp ected specifier-qualifier-list before ‘GLint’
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/src/main.c:47: error: expected ‘= ’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘defaultColor’
make[2]: *** [main.o] Erreur 1
make[2]: quittant le répertoire « /home/key-21/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/key-21 »
make: *** [all] Erreur 2
key-21@RADEON9800:~$
sorry, its very long...
after that... i dont know what to do, i thought the problem was because of i was using kde instead of gnome...
RYX
November 20th, 2006, 09:46 PM
The problem is that you are missing the gl.h and glx.h files. You can install all needed dependencies with:sudo apt-get build-dep compiz. (You can first try to add "-s" as argument to see what he does before you install the packages)
Key-21
November 20th, 2006, 10:46 PM
i tryed it and got it :
key-21@RADEON9800:~$ sudo apt-get -s build-dep compiz
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Reading state information... Fait
E: Impossible de trouver une source de paquet pour compiz
lecture des listes de packet means : reading packages list,
construction de l'arbre de dependance means : constructing denpendance tree,
fait means "done"
and "impossible de trouver une source de paquets pour compiz" mean "impossible to find a packet source for compiz"
i hope i translated good :p
RYX
November 20th, 2006, 11:50 PM
Thanks for the translation (my french is really bad, but I surprisingly understood what it means) ... :D
I should have added that earlier - you need to enable the source-repsitories for that to work. Add the following line to your /etc/apt/sources.list (or uncomment, if it exists):deb-src http://de.archive.ubuntu.com/ubuntu/ edgy universe
(Maybe it is "fr" instead of "de" for you? Simply use your existing line for the universe and add "deb-src" instead of "deb" in front of it).
Then do a "sudo apt-get update" and try again.
:)
Key-21
November 21st, 2006, 04:15 PM
hello ryx !
i ve done all u asked me to do ! the update worked... i tried to configure and i saw something different. See :
the following optional plugins will be compiled:
gconf: yes
place: yes
dbus: yes
and the following optional features will be compiled:
svg: no
gtk: yes
metacity: yes
gnome: yes
kde: no
INSTEAD OF :
the following optional plugins will be compiled:
gconf: yes
place: yes
dbus: yes
and the following optional features will be compiled:
svg: yes
gtk: yes
metacity: yes
gnome: no
kde: no
gnome is now compiled(befor our conversation it wasnt the case) (i dunno if its normal or not... dont forget that i use KDE , not gnome)
after configuring... i do :
make
... it seems to be working(no error message)... after that a do
sudo make install
and it doesnt work :'(:'(
here is the consol message :
Making install in po
make[1]: entrant dans le répertoire « /home/key-21/po »
if test -r "/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2//home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/config/mkinstalldirs"; then \
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2//home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/config/mkinstalldirs /usr/local/share; \
else \
/bin/sh /home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/mkinstalldirs /usr/local/share; \
fi
/bin/sh: Can't open /home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/mkinstalldirs
make[1]: *** [install-data-yes] Erreur 2
make[1]: quittant le répertoire « /home/key-21/po »
make: *** [install-recursive] Erreur 1
"quittant le répertoire" means "leaving the directory"
Key-21
RYX
November 21st, 2006, 04:24 PM
The additional gnome-option is there because you installed the compiz build-deps, maybe he installed some more as he should - its no problem (but you're right, as KDE-user you don't need it). The svg-option is missing because you maybe forgot to "./configure --enable-librsvg" and only called configure ...
Now to the strange part - it looks like he only can't access some directory. But if you ran "sudo make install" he should be able to ...
Try to clean up first:sudo make clean
Then configure again:./configure --enable-librsvg
Then compile and install:sudo make install
Or maybe it is better to extract the file (compiz-0.3.2.tar.gz) again and start from a "fresh" source ... the folders look somehow messed up but I cannot say for sure.
Key-21
November 21st, 2006, 04:59 PM
yeah ! you're right, i only typed "configure"
so i tried
configure --enable-librsvg
and it worked and shown me :
the following optional plugins will be compiled:
gconf: yes
place: yes
dbus: yes
and the following optional features will be compiled:
svg: yes
gtk: yes
metacity: yes
gnome: yes
kde: no
after that a typed:
sudo make install
and i had this message :
Making install in po
make[1]: entrant dans le répertoire « /home/key-21/po »
if test -r "/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2//home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/config/mkinstalldirs"; then \
/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2//home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/config/mkinstalldirs /usr/local/share; \
else \
/bin/sh /home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/mkinstalldirs /usr/local/share; \
fi
/bin/sh: Can't open /home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/mkinstalldirs
make[1]: *** [install-data-yes] Erreur 2
make[1]: quittant le répertoire « /home/key-21/po »
make: *** [install-recursive] Erreur 1
befor doing all that, i re-extracted compiz to work on a fresh source. And i typed "sudo make clean" too.
:'( i think im damned :lol:
Key-21
November 21st, 2006, 05:39 PM
..hmm i tried to log in as root to be sure to have all authorisations while installing compiz... and it failed (i tried to log in in consol mode... usually, logging in as root in consol mode is possible, not like in graphic mode)...
atfer that, in my Key-21 (standart user) session i typed su
the consol asked me to type the root password, after doing that, the authetification fails
but when i type, for example sudo make install
the consol askes me to type my password... and after doing that, the insalling starts (so the authentification worked)... i dont realy undertand why sudo work and su and loggin in as root doing work... maybe i have authorisatiosn problem on my system and its the reason why the installing fails every time ? :evil:
bouhhhuuuuuuu
mikedee
November 21st, 2006, 05:51 PM
If you are using Ubuntu then that is how they have designed it. Security n that :)
I use Gentoo and by default sudo doesnt work, but su does (but I have a different root password, yours are the same - probably)
Key-21
November 21st, 2006, 06:11 PM
ok... now we know that the problem is not that... (i would have prefered to know what the problem is instead of what the problem isnt...:-p)
thank u mikedee
mikedee
November 21st, 2006, 06:20 PM
BTW
sudo dash
is the same as su
RYX
November 21st, 2006, 06:25 PM
On ubuntu there is no real root-user by default. Maybe there is one but he has a secret password that needs to be set. If you want to permanently get root-permissions (which you almost never should do) it is better to use:sudo -s -H
You really only need to perform "make install" "make uninstall" and "make clean" with root-permissions. And clean only if you executed make with root-permissions ...
But - I have no idea why your compilation does not work, does it output more than only that error message? Did you check if the directory he can not find really exists?
Key-21
November 21st, 2006, 06:42 PM
ok... i configured and installed compiz in a root consol (i never saw it befor, sorry im so new in linux)... i still have the same error.
i tryed to find, after having shown hidden files, the "/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2/mkinstalldirs " file... and i dindt find it... it doens exist in the "/home/key-21/Desktop/compiz-0.3.2/compiz-0.3.2" directory
hmm ! maybe i downloaded a wrong compiz file or something like that ? :-s
:cry:
RYX
November 21st, 2006, 07:39 PM
Within the next few days there should be a 0.3.4 release, maybe it works better for you. I will try to find an answer to your problem, but at the moment I am pretty much out of ideas ... sorry.
:(
Key-21
November 21st, 2006, 09:44 PM
ok thank u very much for your help guyz ! ill try everything i tink about to fix the problem... if i succeed ill keep u on minde.
Key-21
Key-21
November 21st, 2006, 10:09 PM
hewh ... i looked for the file "mkinstalldirs"... it was in the compiz folder ... but in a folder of the compiz folder so the path was wrong... i just moved mkinstalldirs where the compilator expected it to be... and after that i tryed again to "make install" and it worked :s... i installed compiz without any errors (i think its very strange)... now im asking myself how to launch compiz (if its realy installed...)
I tried to laucnh comiz manually :
LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ \
compiz --replace gconf &
gtk-window-decorator &
and the consol told me :
root@RADEON9800:~# LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ \
> compiz --replace gconf &
[1] 26994
root@RADEON9800:~# gtk-window-decorator &compiz: Couldn't open display
[2] 26995
[1] Exit 1 LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ compiz --replace gconf
root@RADEON9800:~#
(gtk-window-decorator:26995): Gtk-WARNING **: cannot open display:
[2]+ Exit 1 gtk-window-decorator
is it because compiz is not well installed or i have to things befor typing this code in the consol ?
Key-21
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.