compiz not working in 3.4

Compiz, KDE, Gnome, Fluxbox, etc...

Moderator: Moderators

Postby xadawa » Thu Jul 26, 2007 17:50

same card and same problem... please help us...
xadawa
Baby Hen
 
Posts: 4
Joined: Wed Jul 25, 2007 19:17

Postby phlo » Thu Jul 26, 2007 22:14

phlo
Growing Hen
 
Posts: 103
Joined: Tue Feb 06, 2007 11:59
Location: Munich

ATI 200M Again

Postby fieldyweb » Fri Jul 27, 2007 0:55

Im 99.9% of the way there, I have a DELL 1501 with an ATI 200M card, and as i posed earlier, when Sabayon starts, the windows decoration bars wouldn't display (no minimize maxamize etc)

Having spent the last 2 hrs, i could run compiz-start which would bring up compiz-fusion but it kept bringing up the kwin windows decorators, and wouldn't use emerald, when it did swap, as soon as you moved the windows, it would revert back to emerald..

so i've edited the /usr/bin/compiz-start from this:

selected_windeco="gtk-window-manager"
if [ ! -z $KDE_FULL_SESSION ] && [ -x /usr/bin/kde-window-decorator ]; then
echo Using KDE decorator
selected_windeco="kde-window-decorator"
nice -15 kde-window-decorator --replace &
else
echo Using GTK decorator
nice -15 kde-window-decorator --replace &



to this:

selected_windeco="emerald"
if [ ! -z $KDE_FULL_SESSION ] && [ -x /usr/bin/kde-window-decorator ]; then
echo Using KDE decorator
selected_windeco="emerald"
nice -15 emerald --replace &
else
echo Using GTK decorator
nice -15 kde-window-decorator --replace &


now when i restart, and do ALT-F2 and type compiz-start & i get the emerald window manager, and all is great..

so i thought i could go to .kde3.5/Autostart and create a simple script called compiz.sh with the lines

#!/bin/sh
compiz-start &


however, when i do this, sabayon starts up, and i can run apps such as firefox, or terminals, but if i try and open the home folder it wont, it just hangs..

So right now i have an icon in the toolbar, which has the above script in it, and it works just fine, but i need to have the above compiz.sh script be the last thing which loads when kde starts up.. once done, i'll update the above referred to page, with these instructions.. so ANY help on this last bit would be REALLY appreciated.
fieldyweb
Young Hen
 
Posts: 39
Joined: Tue Jun 26, 2007 22:37
Location: London

Re: ATI 200M Again

Postby Tails » Fri Jul 27, 2007 1:13

fieldyweb wrote:
#!/bin/sh
compiz-start &


however, when i do this, sabayon starts up, and i can run apps such as firefox, or terminals, but if i try and open the home folder it wont, it just hangs..

So right now i have an icon in the toolbar, which has the above script in it, and it works just fine, but i need to have the above compiz.sh script be the last thing which loads when kde starts up.. once done, i'll update the above referred to page, with these instructions.. so ANY help on this last bit would be REALLY appreciated.


well, it is similar problem i am facing... the KDE menu seems failed to work every time I start the comp with that script auto-start.... and i am also finding a way round it atm....
Tails
Young Hen
 
Posts: 21
Joined: Wed Dec 13, 2006 19:58

Postby fieldyweb » Fri Jul 27, 2007 10:03

OK, well i'm working on this, as i said, currently i have an icon, which i click on when KDE starts.. however will see if i can find a way round the issue.. would be good to get it cracked, Sabayons desktop layout is still the sweetest looking one.. and i'm looking forward to using it. fully.

guess if i had the time, i could have helped with the beta testing, but busy life and all.
fieldyweb
Young Hen
 
Posts: 39
Joined: Tue Jun 26, 2007 22:37
Location: London

Postby fieldyweb » Fri Jul 27, 2007 22:30

Sussed it, well on my pc anyway, the sh script doesn't work.. but this does..

Open the home folder, and navigate to the .kde3.5 folder (Open the home folder, and click on View -> Show Hidden files to see this folder)

Double Click on Autostart

right click on the Window and choose Create new -> Link to Application

In general tab call it compiz, then choose the Application tab. and in command enter

compiz-start &


In name call it compiz

Click on OK

It may come back with an error saying something like

Could not save properties, You do not have sufficient access rights


don't worry about that, click on ok..

there should now be an icon called compiz.desktop

Open up a terminal window

hopefully your terminal opens in your home folder, if so type

cd ./kde3.5/Autostart


nano compiz.desktop


you will see this

[Desktop Entry]
Encoding=UTF-8
Exec=
Icon=exec
Path=
Terminal=false
Type=Application


Edit the Exec= line so you have

[Desktop Entry]
Encoding=UTF-8
Exec=compiz-start &
Icon=exec
Path=
Terminal=false
Type=Application


Ctrl X will exit, and ask do you want to save, say yes

Reboot, and you should now have a working compiz-fusion system
fieldyweb
Young Hen
 
Posts: 39
Joined: Tue Jun 26, 2007 22:37
Location: London

Postby Tails » Fri Jul 27, 2007 22:52

mmm, will try that tmr.. so i will tell u tmr is it works or not.. ;)
Tails
Young Hen
 
Posts: 21
Joined: Wed Dec 13, 2006 19:58

Postby fieldyweb » Sat Jul 28, 2007 0:08

Would like to know, looking at some other posts, there seem to be a myriad of fixes.. Good luck.
fieldyweb
Young Hen
 
Posts: 39
Joined: Tue Jun 26, 2007 22:37
Location: London

Postby Tails » Sat Jul 28, 2007 10:28

the menu still doesnt work for some odd reason... :oops:
Tails
Young Hen
 
Posts: 21
Joined: Wed Dec 13, 2006 19:58

Postby Tails » Sat Jul 28, 2007 10:53

ok, I think i got it working... need a few more testing b4 i post the solution for the 200M card..... ;)

Edit: for 200M card or probably other card also??...... at least it works for me....

in the terminal:

type:
Code: Select all
cd ~/.kde/Autostart


then

Code: Select all
nano -w compiz



In there type in the following:

Code: Select all
#!/bin/bash
sleep 5
compiz-start &


then Ctrl + O to save and Ctril + X to exit

OK, what this script does is to delay the start of compiz, for some odd reason, KDE need to load everything first and then load compiz at last....

and finally

Code: Select all
chmod a+x compiz


reboot your computer and it should have the compiz working....


Depending on the speed of your computer, you may need to have a higher value of sleep if you have a slower computer, if it happens it doesn't work... change the "sleep 5" to "sleep 10" in the above script and so on.....
Tails
Young Hen
 
Posts: 21
Joined: Wed Dec 13, 2006 19:58

PreviousNext

Return to 3D Desktops and Window Managers

Who is online

Users browsing this forum: No registered users and 1 guest