You are not logged in.

#1 2008-04-30 03:38:40

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

compiz-fusion

My apologies in advance for the newb question. But I would like to see what compiz-fusion is like. Can I still run startx? When I try to start it by running

fusion-icon

It spits out something and then closes my X server.

I am just a little confused on how this works sorry sad

Could anyone point me in the right direction, thanks in advance!

Last edited by PuppyWhirl (2008-04-30 03:41:29)

Offline

#2 2008-04-30 04:38:03

kishd
Member
Registered: 2006-06-14
Posts: 401

Re: compiz-fusion

I do not quite understand your question. However run startx and then start compiz in the DE by running fusion-icon.


---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare

Offline

#3 2008-04-30 14:37:17

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: compiz-fusion

When I try that, it looks like it tries to start it, and the last thing it says is loading compiz (something like that) And then the screen goes black and then it returns to the original console screen (as if arch just loaded). Does that make any sense?

Offline

#4 2008-04-30 16:24:50

ghostHack
Member
From: Bristol UK
Registered: 2008-02-29
Posts: 261

Re: compiz-fusion

What graphics card do you have and what graphics driver are you using?

Offline

#5 2008-04-30 16:47:21

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: compiz-fusion

I use a Nvidia 8800 GTS  with 169.12

Offline

#6 2008-04-30 17:05:31

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: compiz-fusion

Also if this helps any, when I try and run it (with startx not loaded) it gives me a bunch of errors, but I do not know how to copy them and place them in a file to show you guys, could you help me with that?

I greatly appreciate it!

Offline

#7 2008-04-30 17:33:47

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: compiz-fusion

I guess the real question is, will compiz-fusion work with Xorg?

Offline

#8 2008-04-30 18:06:26

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: compiz-fusion

Ok, so I decided to just try it the other way and download the package with pacman compiz-fusion-git. But when I try to I get these errors:

error: failed to prepare transaction (could not satisfy dependencies)
:: fusion-icon: requires compiz-core>=0.6.0
:: fusion-icon: requires compizconfig-python

I downloaded these with pacman but it still doesn't work

Any suggestions?

Offline

#9 2008-04-30 19:06:03

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: compiz-fusion

And even if I want to just use what I have already and when I just run the command:

compiz

without x running, I get a compiz core fatal error, saying it could not display it.

Haha, as you can tell, I am confused to the high heavens with this, am I missing packages. Sorry, I am still rather new to this.

Offline

#10 2008-04-30 22:34:00

ghostHack
Member
From: Bristol UK
Registered: 2008-02-29
Posts: 261

Re: compiz-fusion

Ok, your graphics card and driver should cope with 3D/compiz fine AFAIK.

Have you enabled compositing in xorg.conf?  if not try running

nvidia-xconfig --composite --add-argb-glx-visuals

as root, then restart X and try to start compiz again.

Compiz runs inside of X so its not surprising that you see errors when you don't run startx first.

I don't understand the pacman errors, have you updated the pacman db or done a system update recently?  If not run "pacman -Syyu".  (The double 'yy' will force pacman to completely recreate its database, just in case its got corrupted somehow).

How did you install compiz in the first place, pacman -Sg compiz-fusion gives:

pacman -Sg compiz-fusion
compiz-fusion
    ccsm  compiz-core  compiz-fusion-plugins-extra  compiz-fusion-plugins-main  compizconfig-backend-gconf  
    compizconfig-backend-kconfig  emerald  emerald-themes  fusion-icon

and pacman -Ss compiz-core gives

community/compiz-core 0.7.4-1 (compiz)
    Composite manager for Aiglx and Xgl

so a simple pacman -S compiz-fusion should have installed everything that was needed.

Offline

#11 2008-05-01 02:44:51

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: compiz-fusion

Odd, I did as you said and when I get out of X and run compiz I get the error

Compiz core fatal error: Couldn't open display.

Do you know what this means?


And I also used the pacman -S compiz-fusion again to make sure it was installed (it was) and I tried again and it still gave me an error. Am I missing something?

I greatly appreciate the help ghostHack!

Offline

#12 2008-05-01 03:06:10

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: compiz-fusion

compiz runs on top of x. x must be running before compiz will work.  try putting something like "exec compiz" in your ~/.xinitrc file, then run startx from the command line.  i do not know what the true command is to start compiz, that was just an example.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#13 2008-05-01 03:18:47

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: compiz-fusion

Still no luck, I did try to comment out the openbox and put these lines in (one at a time):

compiz
exec compiz
exec /usr/bin/compiz -start

My wallpaper shows, but of course openbox doesn't work. How can I test if this is working or not?

Thanks again!

Offline

#14 2008-05-01 08:52:15

ghostHack
Member
From: Bristol UK
Registered: 2008-02-29
Posts: 261

Re: compiz-fusion

PuppyWhirl wrote:

Still no luck, I did try to comment out the openbox and put these lines in (one at a time):

compiz
exec compiz
exec /usr/bin/compiz -start

My wallpaper shows, but of course openbox doesn't work. How can I test if this is working or not?

Thanks again!

Ahh, you can't run compiz with openbox since they are both window managers, if you want to use compiz you'll need to use a DE (gnome/KDE/xfce).  If you still want to use openbox you could look into xcompmgr to get compositing/drop shadows etc.  Also, only the first 'exec' statement in .xinitrc will have any effect, anything after that will not get run.

Offline

#15 2008-05-01 10:08:29

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Re: compiz-fusion

ghostHack wrote:
PuppyWhirl wrote:

Still no luck, I did try to comment out the openbox and put these lines in (one at a time):

compiz
exec compiz
exec /usr/bin/compiz -start

My wallpaper shows, but of course openbox doesn't work. How can I test if this is working or not?

Thanks again!

Ahh, you can't run compiz with openbox since they are both window managers, if you want to use compiz you'll need to use a DE (gnome/KDE/xfce).  If you still want to use openbox you could look into xcompmgr to get compositing/drop shadows etc.  Also, only the first 'exec' statement in .xinitrc will have any effect, anything after that will not get run.

uhm.. this is a little offtopic but I think a DE is not needed to use compiz ...
(I think I saw a screenshot too somewhere)
http://wiki.archlinux.org/index.php/Ber … nager_only
bye!

Offline

#16 2008-05-01 10:52:56

ghostHack
Member
From: Bristol UK
Registered: 2008-02-29
Posts: 261

Re: compiz-fusion

Yes, you can run compiz on its own since it is a window manager, just like you could run metacity on its own outside of gnome, but since you can only run one window manager at a time the OP could not run openbox with compiz.

Offline

#17 2008-05-01 11:53:07

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Re: compiz-fusion

ah sorry, I misunderstood your post, mea culpa smile

Offline

#18 2008-05-01 16:13:55

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: compiz-fusion

Haha ahh, this all makes sense now. Thanks for clearing this up! ghostHack, so can you run compiz without using a DE and if so, could you point me in the right direction on how to do that.

Thanks again, you guys have been a great help!

Offline

#19 2008-05-01 16:51:41

ghostHack
Member
From: Bristol UK
Registered: 2008-02-29
Posts: 261

Re: compiz-fusion

Well, using the link that _Marco_ posted as a base you could try:

if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
    eval `dbus-launch --sh-syntax --exit-with-session`
fi

emerald &

# Start other applications here
# 
# Example: set wallpaper + open a terminal
#
# feh --bg-scale ~/Wallpapers/wallpaper.jpg &
# urxvt -depth 32 -fg grey80 -bg rgba:0000/0000/0000/dddd &

# Now start something you need all the time, like a panel

(sleep 3 && pypanel)&

xterm &
exec fusion-icon

in .xinitrc.  You will NEED the xterm since you don't get a right-click menu like you do in openbox, if you don't have it you wont be able to run anything.
I'm not too familiar with compiz so there may be a way to set key-bindings though.

Having tried it, personally I'm going to stick with openbox and xcomppmgr.

Offline

#20 2008-05-01 17:20:46

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: compiz-fusion

Yea, I believe I might just stick with openbox and xcomppmgr. Thanks a lot!

Also, since that you use xcomppmgr perhaps you can help me with something. Sometimes when I startx everything loads but sometimes pypanal will not load. I will have xcomppmgr loaded and it works, but sometimes pypanal doesn't want to show. When I comment it out, then pypanal shows. Does listing where xcomppmgr is in the .xinitrc file matter. Have you had this issue at any time?

Thanks!

Offline

#21 2008-05-01 17:30:50

ghostHack
Member
From: Bristol UK
Registered: 2008-02-29
Posts: 261

Re: compiz-fusion

I don't use .xinitrc to do the startup programs, my .xinitrc has "exec openbox-session" and then I put my extas into the ./config/openbox/autostart.sh file.  If you are using .xinitrc you might want to try using the 'sleep' command (if you don't already) since pypanel has to start up after openbox, e.g. "( sleep 2 && pypanel ) &" and put that immediately before the exec openbox call.

Offline

#22 2008-05-02 01:15:34

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: compiz-fusion

Thanks that helped out a lot. Instead of adding the 2 second sleep, I just played pypanel before exec openbox and now it runs perfect. Thanks, I appreciate the help!

Offline

#23 2008-06-11 11:06:12

Rokixz
Member
From: Šiauliai, Lithuania
Registered: 2007-04-21
Posts: 251
Website

Re: compiz-fusion

Ok, your graphics card and driver should cope with 3D/compiz fine AFAIK.

Have you enabled compositing in xorg.conf?  if not try running

nvidia-xconfig --composite --add-argb-glx-visuals

as root, then restart X and try to start compiz again.

Man, you must drink some beer with me! smile


http://ispconfig.lt - ISPConfig 3 based hosting. Coming Soon!

Offline

Board footer

Powered by FluxBB