LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   compiz and Slack 12? (https://www.linuxquestions.org/questions/slackware-14/compiz-and-slack-12-a-566969/)

kholdstayr 07-06-2007 10:11 PM

I added that xorg.conf line and tried to test compiz really quickly while remaining in X (which the forums say you can do).

To test I typed:
compiz --replace &

This obviously won't set up any of the "cool" effects but should enable it just to see if it works.

Anyway, as expected, my window decorations disappeared.

I can't get them to reappear though because as soon as I type the compiz command my console window refuses to accept keyboard input and I can't switch to other windows. So, I can't type the other kde line to get my window decorations back.
I am basically stuck doing a three fingered X salute to get out of X.

I'll try messing around with the xinitrc file method of starting it up later.

raska 07-06-2007 10:23 PM

Quote:

Originally Posted by kholdstayr
........
Anyway, as expected, my window decorations disappeared.

I can't get them to reappear though because as soon as I type the compiz command my console window refuses to accept keyboard input and I can't switch to other windows. So, I can't type the other kde line to get my window decorations back.
I am basically stuck doing a three fingered X salute to get out of X.

I'll try messing around with the xinitrc file method of starting it up later.

That's why you need the kde-window-decorator after the compiz --replace <bunch of plugins as your heart's content> command.

Looks like every now and then the kde-window-decorator crashes without notice and leaves the desktop unusable like you just described it. I have managed to work around this by typing [Alt]+[F2] to bring up the Execute command dialog and I fire again the kde-window-decorator from there, fixing up the windows.

Though, if anyone knows a better method, i.e. to somehow autorespawn the kde-window-decorator, please share the info ;)

kholdstayr 07-07-2007 03:45 PM

Quote:

Originally Posted by raska
That's why you need the kde-window-decorator after the compiz --replace <bunch of plugins as your heart's content> command.

Looks like every now and then the kde-window-decorator crashes without notice and leaves the desktop unusable like you just described it. I have managed to work around this by typing [Alt]+[F2] to bring up the Execute command dialog and I fire again the kde-window-decorator from there, fixing up the windows.

Though, if anyone knows a better method, i.e. to somehow autorespawn the kde-window-decorator, please share the info ;)

The kde-window-decorator doesn't want to work for me at all. I was just doing some tests and it will not start up and give me my window decorations back. If I try your Alt-2 trick the command box pops up but it won't accept keyboard input.

I found out though that if I type into it it will still receive the keyboard commands, it just won't show them. Still, the kde-window-decorator won't bring back the decorations.

janhe 07-07-2007 05:22 PM

I used a script to start compiz.
Guess where I found it?
a thread on the LinuxQuestions Slackware forum

This works fine for me

Caifan_Morriz 07-08-2007 05:02 AM

Quote:

Originally Posted by randomsel
Anyone know how to set up skydome and top image on the cube for Slackware?

I'm also trying to set the top and bottom images to the cube... anyone knows how?

Carpo 07-08-2007 07:15 AM

i have tried everything in this thread and still i cant get it to work - might have something to do with the 32meg onbaord ati card in my laptop ;)

kholdstayr 07-09-2007 09:49 AM

Quote:

Originally Posted by Carpo
i have tried everything in this thread and still i cant get it to work - might have something to do with the 32meg onbaord ati card in my laptop ;)

Yeah, I am using a laptop too with a low end Intel card that uses standard system RAM for its video memory.

ErV 07-09-2007 11:20 AM

Well, thanks a lot for the instructions. I've stumbled upon this thread accidentally, tried compiz, and i must say this thing is amazing (don't think I could run something like that on my machine). :) However, there are some problems:
1) Compiz ignores shortcuts for switching to another desktop. I'm using this funcionality a lot, so it's a pity :(
2) Switching to a text console and then back to a graphical desktop hung my system badly - i had only black screen and mouse cursor (It looks like windows were actually present on the screen but were not visible). I've tried to kill X-server, but that also disabled keyboard so I had to reset computer (because I couldn't do anything) :) No data was lost, though.

Anyway, this thing is great :).

atkfossiili 07-19-2007 07:50 AM

I have Slackware 12, Nvidia GeForce 6200 display card and a working Nvidia proprietary driver installed. I hope I could have Beryl/Compiz effects in Slackware to demonstrate Linux goodies to my friends.

I started applying advice from http://wiki.beryl-project.org/wiki/I...l_on_Slackware
but that did not work for me, although I started a discussion in
http://www.linuxquestions.org/questi...Beryl%2FCompiz
but I got advice to look here.

I have read carefully what is written in this thread. Until recently I have added to /etc/X11/xorg.conf:
Quote:

Section "Extensions"
Option "Composite" "enable"
EndSection
Then I gave the following command in the terminal:
Code:

bash-3.1$ su
Password:
bash-3.1# compiz --replace decoration wobbly fade minimize cube move place resize rotate scale switcher water zoom
No protocol specified
compiz: Couldn't open display :0

I know those fine Compiz/Beryl effects are a "mowing target" i.e. under development. So to find working advice how to install them could be very difficult. Do I have any hope:confused:

SCerovec 07-19-2007 10:42 AM

For Nvidia proprietary driver users:
Quote:

Option "AddARGBGLXVisuals" "true" makes window borders work.
Option "TripleBuffer" "true" gives more fluid graphics
just for the record ;-)

SCerovec 07-20-2007 02:47 AM

Quote:

Originally Posted by atkfossiili
Code:

bash-3.1$ su
Password:
bash-3.1# compiz --replace decoration wobbly fade minimize cube move place resize rotate scale switcher water zoom
No protocol specified
compiz: Couldn't open display :0


Regarding my experience one can't expect to 'su' and to connect to the running X of any user.
to connect to X one has either be the 'X running user' or to disable all security checks of X (which is unwise...)
So either drop that 'su' switching and start compiz as normal user, or just wait for compiz to become mainstream...
:-)

atkfossiili 07-20-2007 10:46 AM

Quote:

Originally Posted by SCerovec
drop that 'su' switching and start compiz as normal user,

Thank you:)
Now
Code:

bash-3.1$ kde-window-decorator &
[1] 4038
bash-3.1$ compiz --replace decoration wobbly fade minimize cube move place resize rotate scale switcher water zoom
compiz: No GLXFBConfig for depth 32
compiz: No GLXFBConfig for depth 32
compiz: No GLXFBConfig for depth 32
compiz: Failed to load slide: freedesktop

And now I have the floting windows and desktop qube:D

Still the KDE-desktop is a bit strange. For ex. the pager squares on the panel and it is not possible to change the size of the windows. But let's see!

atkfossiili 07-20-2007 11:00 AM

Quote:

Originally Posted by SCerovec
For Nvidia proprietary driver users:

In which Section of /etc/xorg.conf should I add:
Quote:

Option "AddARGBGLXVisuals" "true" - makes window borders work.
Option "TripleBuffer" "true" -gives more fluid graphics

SCerovec 07-21-2007 02:54 AM

the clue ;-)
 
Quote:

Originally Posted by atkfossiili
In which Section of /etc/xorg.conf should I add:

In the Device section of the nvidia card: right below the line with "nvidia" driver option

atkfossiili 07-21-2007 08:35 AM

Now I have added to my /etc/X11/xorg.conf
Quote:

Section "Device"
#VideoRam 256
# Insert Clocks lines here if appropriate
Identifier "NVIDIA GeForce 6200"
Driver "nvidia"
Option "AddARGBGLXVisuals" "true"
Option "TripleBuffer" "true"
EndSection

Section "Extensions"
Option "Composite" "enable"
EndSection


All times are GMT -5. The time now is 06:37 AM.