Skip to content

HowTo - Compiz-Fusion on Fedora 7

After putting it off for months, I finally caved in and installed the compiz-fusion eyecandy. Getting compiz-fusion to work on Fedora 7 is really easy. Just follow this step by step guide.

  1. Install the Livna repository.
    rpm -ivh http://rpm.livna.org/livna-release-7.rpm
  2. Install video card drivers. This worked flawlessly for my Nvidia GeForce 7200 GT.
    yum install kmod-nvidia
  3. Install the Kage Senshi repository. Paste this, as root, into a terminal window.
    cd /etc/yum.repos.d/
    cat << EOF > kagesenshi.repo
    [kagesenshi]
    name=KageSenshi Package Repository
    baseurl=http://devel.foss.org.my/~kagesenshi/repo/pub/$basearch/
    enabled=1
    gpgcheck=0
    EOF
  4. Install the Compiz-Fusion packages.
    1. For Gnome:
      yum install compiz-gnome compiz-fusion-plugins-main compiz-fusion-plugins-extra compizconfig-settings-manager fusion-icon-gtk emerald emerald-themes
    2. For KDE:
      yum install compiz-kde compiz-fusion-plugins-main compiz-fusion-plugins-extra compizconfig-settings-manager fusion-icon-qt
  5. Run the program.
    fusion-icon
  6. Reboot.

Now you can read this article to add a sexy embedded terminal to your desktop!

25 Comments

  1. /tilt/

    Worked like a charm, thanks. :P

    Posted on 02-Sep-07 at 1:13 pm | Permalink
  2. James House

    Thanks for the feedback. Glad I could help.

    Posted on 03-Sep-07 at 2:37 am | Permalink
  3. Valdrith

    I’m almost there, but I keep getting timeouts in yum, trying to download the packages from the Kage Senshi repository. Are there any mirrors that you know of? The worst part is, it gets to about 90% and then times out on the last 2 packages. So close, yet so far away :-/

    Posted on 12-Sep-07 at 8:01 am | Permalink
  4. Ryan Smith

    It’s not working for me.

    I followed the guide step by step and everything installed just fine. However, every time I try to run fusion-icon or I click on Desktop Effect, it just restarts X Window and I have to log back in. In the end I don’t get the 3D desktop.

    Posted on 14-Sep-07 at 6:55 pm | Permalink
  5. James House

    Ryan,
    Do you have the drivers for your video card installed? The same thing happened to me at first, but I removed the drivers from nvidia.com and installed the one from the livna repository.

    Posted on 14-Sep-07 at 9:50 pm | Permalink
  6. Ryan Smith

    Yes I do. I always use kmod-nvidia from the livna repository. I’m trying to find out what is wrong. If I install Beryl and try to run Beryl Manager, it does the exact same thing.

    Same problem if I go to ‘System Tools’ > ‘NVIDIA Display Settings’ and click on ‘OpenGL/GLX Information’

    Or if I simply type the ‘glxinfo’ commant in a terminal. Every time all it does is restarting X and getting me back to the login screen.

    Posted on 15-Sep-07 at 9:08 am | Permalink
  7. James House

    It sounds like you’re having 3d acceleration problems. I assume that you also get an X crash when you run glxgears in a terminal window. One place you can start looking is /var/log/Xorg.0.log
    I would also search fedoraforum.org and create a new post if the search results don’t help.

    Posted on 15-Sep-07 at 10:51 am | Permalink
  8. James House

    Valdrith,
    I don’t know of any mirrors of the repo. Are you still having this issue?

    Posted on 15-Sep-07 at 10:53 am | Permalink
  9. Ryan Smith

    Thanks for the tips James.

    I found the trouble and X stopped crashing. I also managed to get compiz fusion working (sort of) but it was too buggy on my computer so I removed it.

    Posted on 15-Sep-07 at 7:15 pm | Permalink
  10. Ryan Smith

    On second thought, I’ve decided to give it another try and now it’s working! It’s great to finally have 3D effects. Now there’s only one small bug to fix and everything will be perfect.

    It has to do with the cursor. Sometimes it simply disappears and if I minimize or close a window, a small piece of that window lingers on the desktop (a square-shaped piece from where the cursor was after i clicked in the close/minimize icon) it vanishes when I move the cube. I’ll go check at the compiz-fusion forum to find a fix

    Thanks again James!

    Posted on 16-Sep-07 at 2:33 pm | Permalink
  11. James House

    Glad I could help. :-)

    Posted on 17-Sep-07 at 7:24 pm | Permalink
  12. Jos

    Thinks fore this guide James! It was no pain in the ass at all to install!!

    Jos

    Posted on 01-Oct-07 at 3:44 am | Permalink
  13. i no longer have a window manager. It seems everything is working except for the window manager and i have no idea how to fix it.

    I get the following error from the fusion-icon:

    [root@localhost digduality]# fusion-icon
    * Using the Qt4 Interface
    * No module named PyQt4
    … Trying another interface
    * Using the Qt3 Interface
    * Searching for installed applications…
    /usr/bin/ccsm
    /usr/bin/compiz
    /usr/bin/kde-window-decorator
    /usr/bin/emerald
    /usr/bin/metacity
    /usr/bin/kwin
    * kde session
    * Decorator “” is invalid.
    … choosing kde-window-decorator –replace as default decorator
    * Executing: compiz –replace –sm-disable –ignore-desktop-hints ccp
    Traceback (most recent call last):
    File “/usr/bin/fusion-icon”, line 129, in
    choose_interface()
    File “/usr/bin/fusion-icon”, line 101, in choose_interface
    import_interface(interface)
    File “/usr/bin/fusion-icon”, line 73, in import_interface
    choose_interface()
    File “/usr/bin/fusion-icon”, line 101, in choose_interface
    import_interface(interface)
    File “/usr/bin/fusion-icon”, line 66, in import_interface
    exec(’import ‘ + module)
    File “”, line 1, in
    SystemError: NULL result without error in PyObject_Call

    and the /usr/bin/fusion-icon file is as follows:

    import os, sys, time

    def help():
    print ‘Usage: fusion-icon [action|interface]‘
    print
    print ‘ –help Display this text’
    print ‘ –reset Remove fusion-icon configuration file’
    print ‘ –sleep n Sleep for n seconds before launching’
    print
    print ‘Interfaces:’
    print ‘ –gtk Use the pygtk 2.10 interface’
    print ‘ –qt3 Use the PyQt3 interface’
    print ‘ –qt4 Use the PyQt4 interface’
    sys.exit()

    def reset():
    #cut-and-pasted from libfusionicon to avoid a full load for –reset
    if os.environ.has_key(’XDG_CONFIG_HOME’):
    config_folder = os.environ['XDG_CONFIG_HOME']
    else:
    config_folder = os.path.join(os.environ['HOME'], ‘.config’)

    config_file = os.path.join(config_folder, ‘fusion-icon’)

    print ‘* Configuration file (’ + config_file + ‘) being reset’

    try:
    if os.path.exists(config_file):
    config_backup = os.path.join(config_folder, ‘fusion-icon.backup.’ + str(int(time.time())))
    os.rename(config_file, config_backup)
    print ‘… backed up to:’, config_backup
    else:
    print ‘… no configuration found’
    print ‘* Configuration reset’

    except:
    print ‘* Error: configuration reset failed’
    sys.exit(1)

    sys.exit()

    interfaces={’gtk’:(’GTK’, (’pygtk’, ‘interface_gtk’)),
    ‘qt4′:(’Qt4′, (’PyQt4′, ‘interface_qt4′)),
    ‘qt3′:(’Qt3′, (’qt’, ‘ctypes’, ‘interface_qt3′))}

    def import_interface(interface):
    try:
    print ‘* Using the ‘ + interfaces[interface][0] + ‘ Interface’
    for module in interfaces[interface][1]:
    exec(’import ‘ + module)

    except ImportError, e:
    print ‘*’, e
    #doesn’t work so remove it from the dict
    del interfaces[interface]
    print ‘… Trying another interface’
    choose_interface()

    sys.exit()

    def choose_interface():

    def has(interface):
    return interfaces.has_key(interface)

    #handle explicit arguments first:
    if has(’gtk’) and ‘–gtk’ in args: interface = ‘gtk’
    elif has(’qt4′) and ‘–qt4′ in args: interface = ‘qt4′
    elif has(’qt3′) and ‘–qt3′ in args: interface = ‘qt3′

    #use qt* for kde; gtk for everything else:
    elif has(’qt4′) and desktop == ‘kde’: interface = ‘qt4′
    elif has(’qt3′) and desktop == ‘kde’: interface = ‘qt3′
    elif has(’gtk’): interface = ‘gtk’

    #try qt* for non-kde:
    elif has(’qt4′): interface = ‘qt4′
    elif has(’qt3′): interface = ‘qt3′

    #interfaces is empty
    else:
    print ‘* Error: All interfaces failed, aborting!’
    sys.exit(1)

    import_interface(interface)

    #Abbreviate for readability
    args = sys.argv

    ## Detect and run args
    # If we’re running –help or –reset, don’t progress past it
    if ‘–help’ in args or ‘-h’ in args:
    help()

    if ‘–reset’ in args:
    reset()

    #If there is a positive integer following ‘–sleep’ in args, sleep for that time
    try:
    seconds = int(args[args.index('--sleep') + 1])
    if seconds > 0:
    time.sleep(seconds)
    except:
    pass #don’t fail, just move on…

    # Remove the need to import libfusionicon.py
    # We’ll detect kde right here
    if os.environ.has_key(’KDE_FULL_SESSION’): desktop = ‘kde’
    elif os.environ.has_key(’DESKTOP_SESSION’): desktop = os.environ['DESKTOP_SESSION']
    else: desktop = ”

    # Use what’s specified, or use autodetection
    choose_interface()

    as you can see for “chose_interface()” nothing is in the parenthesis. What should be there?

    Posted on 07-Oct-07 at 6:40 pm | Permalink
  14. James House

    Hmm, I’m not sure what could cause that, I’m trying to install it on a new machine right now, but can’t reach the repository.
    I saw that you posted this problem on FedoraForum, so I’ll keep an eye on the thread there, and if I come up with anything to contribute, I’ll add it there. Good luck!

    Posted on 07-Oct-07 at 8:19 pm | Permalink
  15. Mads

    Hi

    I get the following error when I try to run the fusion-icon command:

    * Using the GTK Interface
    * /usr/lib/libcairo.so.2: symbol png_set_expand_gray_1_2_4_to_8, version PNG12_0 not defined in file libpng12.so.0 with link time reference
    … Trying another interface
    * Using the Qt4 Interface
    * No module named PyQt4
    … Trying another interface
    * Using the Qt3 Interface
    * No module named interface_qt3
    … Trying another interface
    * Error: All interfaces failed, aborting!

    I’m quite new in Linux and I’m not sure what graphic card I’m using… can you help me??

    Thanks

    Posted on 19-Oct-07 at 8:32 am | Permalink
  16. Seems like I’m out of luck….. who own’s this repo? Is it ever coming back online?

    # yum install compiz-kde compiz-fusion-plugins-main compiz-fusion-plugins-extra compizconfig-settings-manager fusion-icon-qt
    Loading “installonlyn” plugin
    Setting up Install Process
    Setting up repositories
    http://devel.foss.org.my/%7Ekagesenshi/repo/pub//repodata/repomd.xml: [Errno 14] HTTP Error 404: Date: Sat, 17 Nov 2007 07:32:30 GMT
    Server: Apache/1.3.37 (Unix) PHP/5.2.3
    Transfer-Encoding: chunked
    Content-Type: text/html; charset=iso-8859-1

    Trying other mirror.
    Error: Cannot open/read repomd.xml file for repository: kagesenshi

    Posted on 17-Nov-07 at 2:37 am | Permalink
  17. James House

    The repo is up. Take a look at /etc/yum.repos.d/kagesenshi.repo
    Make sure this line looks right baseurl=http://devel.foss.org.my/~kagesenshi/repo/pub/$basearch/

    Posted on 17-Nov-07 at 10:49 am | Permalink
  18. Anthony Bejarano

    At http://linuxbraindump.org/2007/08/30/howto-compiz-fusion-on-fedora-7/ the two lines:

    yum install compiz-gnome compiz-fusion-plugins-main compiz-fusion-plugins-extra compizconfig-settings-manager fusion-icon-gtk emerald emerald-themes

    yum install compiz-kde compiz-fusion-plugins-main compiz-fusion-plugins-extra compizconfig-settings-manager fusion-icon-qt

    display themselves cut off at the word “settings”, using Firefox on Fedora. It is possible to cut them complete, but I didn’t know that until I tried it.

    Thanks! It looks extremely easy!

    Posted on 20-Nov-07 at 3:09 pm | Permalink
  19. Andrew

    I am having trouble it says I am missing dependency’s I am missing Python 2.5(Which I installed) and it says I am missing metacity(which is what I am using) So I am not missing anything yet it wont install… Any ideas??

    Posted on 24-Nov-07 at 7:22 pm | Permalink
  20. Erick

    Hi, I’ve manage to install compiz fusion succesfully but when I tried to run “fusion-icon” all the windows border and title bar is missing…any idea what is happening?

    Posted on 25-Nov-07 at 10:40 am | Permalink
  21. Erick

    this is the error message:

    [root@localhost yum.repos.d]# fusion-icon
    * Using the GTK Interface
    * Searching for installed applications…
    /usr/bin/ccsm
    /usr/bin/compiz
    /usr/bin/gtk-window-decorator
    /usr/bin/emerald
    /usr/bin/metacity
    /usr/bin/kwin
    * gnome session
    * Decorator “” is invalid.
    … choosing gtk-window-decorator –replace as default decorator
    * Intel found, exporting: INTEL_BATCH=1
    * No GLX_EXT_texture_from_pixmap present with direct rendering context
    … present with indirect rendering, exporting: LIBGL_ALWAYS_INDIRECT=1
    * Executing: compiz –replace –sm-disable –ignore-desktop-hints ccp –indirect-rendering
    compiz (dbus) - Error: dbus_bus_get error: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
    compiz (core) - Error: Couldn’t activate plugin ‘dbus’
    compiz (decoration) - Warn: Property ignored because version is 20061011 and decoration plugin version is 20070319

    compiz (decoration) - Warn: Property ignored because version is 20061011 and decoration plugin version is 20070319

    compiz (decoration) - Warn: Property ignored because version is 20061011 and decoration plugin version is 20070319

    compiz (cube) - Warn: Failed to load slide: freedesktop
    Traceback (most recent call last):
    File “/usr/bin/fusion-icon”, line 129, in
    choose_interface()
    File “/usr/bin/fusion-icon”, line 101, in choose_interface
    import_interface(interface)
    File “/usr/bin/fusion-icon”, line 66, in import_interface
    exec(’import ‘ + module)
    File “”, line 1, in
    File “/usr/share/fusion-icon/interface_gtk.py”, line 238, in
    gtk.main()
    KeyboardInterrupt

    Posted on 25-Nov-07 at 7:03 pm | Permalink
  22. Vassos

    Hey Ryan ,
    i am haveing EXACTLY the same problems as you did with
    compiz.
    So please can u e-mail , or answer me here how did you fixed your problem??

    thanks

    Posted on 29-Nov-07 at 4:39 pm | Permalink
  23. Shahid Hussain

    Hi everyone!,

    Actually I don’t have the Internet connection at my home so I could not download these files (packages) to install compiz-fusion. However, I can download the packages from the repositories while at office and install them later one on my home PC. So can anyone provide links to (single file/package) that I just download and then install without any problem? I tried to download the compiz-fusion files from Fedora repository however, there are a lot of files there to download and the installation process is not clear for installing the downloaded packages from the local machine. I need to have single source installation without tears. Any help??

    Posted on 05-Dec-07 at 5:23 am | Permalink
  24. Chito C. Basubas

    We have the same problem with Mr. Shahid Hussain I do have a Fedora Core 7 at home and I don’t have an internet connection, so my question goes the same. I download necessary files but upon installing it, it generates a series of discrepancies and it’s very frustrating on my part. Hope you guys can help.

    Posted on 21-Dec-07 at 9:39 pm | Permalink
  25. ankur

    Can any one plz guide to get compiz fusion on RHEL 5

    Posted on 02-Apr-08 at 11:14 am | Permalink

One Trackback/Pingback

  1. [...] you’ve used my guide to install compiz-fusion on your Fedora system and want to add a sexy embedded terminal to your [...]

Post a Comment

Your email is never published nor shared.