Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: After 8.10, compiz not working.

  1. #1
    Join Date
    Oct 2007
    Beans
    110

    After 8.10, compiz not working.

    I meant... 8.04 --- doh... sorry.


    Well... I upgraded to 8.04 and although it did work fine at first, all of a sudden my effects that were controlled by compiz are simply dead.

    I still have compiz installed and all the effects are there and selected and configured, but there are no effects being produced (for example wobbly windows, or minimize effects, etc).

    Another thing that completely stopped working is my Avant Window Navigator. I used to have the 3D Leopard style bar at the bottom of the screen but now it's gone.

    Any advice on how to get these 2 issues resolved?

  2. #2
    Join Date
    Apr 2007
    Location
    /dev/random
    Beans
    3,052

    Re: After 8.10, compiz not working.

    Upgraders get this sometimes. The problem usually lies in there being incompatible remnants of your old compiz/emerald/awn/app-in-question left in your system. So let's get rid of those and then reinstall.

    1. First, make sure you don't have any foreign third-party repositories enabled in Software Sources, alternatively as lines in /etc/apt/sources.list or *.list files in /etc/apt/sources.list.d/.
    2. Then open up Synaptic, search for packages which match "compiz" somehow, and mark them for complete removal. Apply, then reinstall them. Terminal command as follows (after repository removal).
      Code:
      $ sudo aptitude purge ~ncompiz ~nberyl ~nemerald ~nlibdeco
      $ sudo aptitude update
      $ sudo aptitude clean
      $ sudo aptitude install compiz compizconfig-settings-manager emerald
    3. If you're running KDE (Kubuntu), do this as well to get all relevant packages (and remove irrelevant ones.)
      Code:
      $ sudo aptitude purge compiz-gnome compiz-kde+


    You may need to do the same with avant-window-manager packages.
    Last edited by Zorael; May 3rd, 2008 at 10:54 AM. Reason: missed code end tag
    ...

  3. #3
    Join Date
    Nov 2007
    Beans
    10

    Cool Re: After 8.10, compiz not working.

    I have performed the above steps but I cant get any of the "themes" in Emerald to work. No matter what theme I pick, it does not change the window look!

    Is there a config file that I must manually change?

    Thanks,
    Mac

  4. #4
    Join Date
    Apr 2007
    Location
    /dev/random
    Beans
    3,052

    Re: After 8.10, compiz not working.

    Quote Originally Posted by macpeteo View Post
    I have performed the above steps but I cant get any of the "themes" in Emerald to work. No matter what theme I pick, it does not change the window look!

    Is there a config file that I must manually change?

    Thanks,
    Mac
    The Emerald theme manager does enable the theme you pick, but the changes don't apply if Emerald isn't running (as the current window decorator) in the first place.

    To begin with, you must make sure you're running Compiz, since Emerald needs a window compositioner to work. I'm not too familiar to the Gnome-integrated way of enabling it as the default window manager, but I hear you need to seek out Visual Effects and pick your setting there.

    Alternatively, to enable it until next login, enter this in a terminal.
    Code:
    $ compiz --replace &
    If it outputs error commands, paste them here.


    I suggest you install the fusion-icon package and have it run upon boot to more easily manage which manager and decorator is running at any given time.
    ...

  5. #5
    Join Date
    Nov 2007
    Beans
    10

    Re: After 8.10, compiz not working.

    This what I get when I execute "compiz --replace &"

    root@petes-linux-box:/home/Mac# compiz --replace &
    Checking for Xgl: [1] 15749
    root@petes-linux-box:/home/porzech# not present.
    Detected PCI ID for VGA: 01:00.0 0300: 10de:0343 (rev a1) (prog-if 00 [VGA controller])
    Checking for texture_from_pixmap: present.
    Checking for non power of two support: present.
    Checking for Composite extension: present.
    Comparing resolution (1280x1024) to maximum 3D texture size (4096): Passed.
    Checking for nVidia: present.
    Checking for FBConfig: present.
    Checking for Xgl: not present.
    /usr/bin/compiz.real (dbus) - Error: dbus_bus_get error: Failed to execute dbus-launch to autolaunch D-Bus session
    /usr/bin/compiz.real (dbus) - Error: InitObject failed
    /usr/bin/compiz.real (core) - Error: Couldn't activate plugin 'dbus'
    /usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format

    Thanks,
    Mac

  6. #6
    Join Date
    Apr 2007
    Location
    /dev/random
    Beans
    3,052

    Re: After 8.10, compiz not working.

    Minor thing: you don't want to run stuff like this as root. :>

    Compiz seems to have started there. If you're still seeing your Gnome themes, chances are it's running the gtk-window-decorator decorator instead of Emerald. If you enable the Window Decorations plugin in ccsm (compizconfig-settings-manager), you should be able to enter 'emerald --replace' in the Command field of that plugin's settings.

    Regardless; enter that command in a terminal for now to see if it's working.
    Code:
    $ emerald --replace &
    ...

  7. #7
    Join Date
    Nov 2007
    Beans
    10

    Re: After 8.10, compiz not working.

    "emerald --replace &" seems to have done it, its working.

    Now in 7.10 I recall creating a small file to get emerald started and running, is there a config file that I need to create or tweak in order for emerald to be my desk top decorator?

    And why isn't this part of the system, I should not be having to do all this manually



    Thanks,
    Mac

  8. #8
    Join Date
    Nov 2007
    Beans
    10

    Re: After 8.10, compiz not working.

    "If you enable the Window Decorations plugin in ccsm (compizconfig-settings-manager), you should be able to enter 'emerald --replace' in the Command field of that plugin's settings."

    Sorry, I'm a bit of a Linux novice, where is it that I can find this config file, if thats what it is?


    Thanks,
    Mac

  9. #9
    Join Date
    Apr 2007
    Location
    /dev/random
    Beans
    3,052

    Re: After 8.10, compiz not working.

    It usually does work, but as an upgrader, you're sadly bound to experience some kinks here and there. Mind, with the Window Decorations plugin enabled in ccsm (compizconfig-settings-manager), it should launch Emerald (or perhaps gtk-window-decorator) by default, in the compiz startup procedure. And again, check the settings for said plugin, notably the command line.

    I'd suggest you grab the fusion-icon package and add an entry in Sessions to start it upon login. It'll put an icon in your systray with which you can manipulate compiz.

    To answer your question, such a script you're talking about could look like this, though needlessly elaborate, but I like it that way.
    Code:
    #!/bin/bash
    
    compiz --replace &
    
    # sleep for 7 seconds to let Compiz load properly, modify figure as you please
    sleep 7
    
    if [ "$(pidof emerald)" ]
    then
    	# compiz started emerald, do nothing
    else
    	# not running, start emerald
    	emerald --replace &
    fi
    ...

  10. #10
    Join Date
    Apr 2007
    Location
    /dev/random
    Beans
    3,052

    Re: After 8.10, compiz not working.

    Quote Originally Posted by macpeteo View Post
    "If you enable the Window Decorations plugin in ccsm (compizconfig-settings-manager), you should be able to enter 'emerald --replace' in the Command field of that plugin's settings."

    Sorry, I'm a bit of a Linux novice, where is it that I can find this config file, if thats what it is?


    Thanks,
    Mac
    If you have the compizconfig-settings-manager package installed, you should have a Compiz Settings Manager entry in your Applications menu. Else just hit Alt+F2 to spawn a run box and enter ccsm. The commands I listed earlier should've installed it for you:
    Code:
    $ sudo aptitude install compiz compizconfig-settings-manager emerald
    ...

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •