Results 1 to 10 of 10

Thread: Cairo-Dock session not working

  1. #1
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,928
    Distro
    Ubuntu 14.04 Trusty Tahr

    Cairo-Dock session not working

    I just installed Cairo-Dock, and was thrilled with the improvements since I last used it a few years ago. I especially like how it has its own sessions available at login.

    The Cairo-Dock session worked great the first time, but since then, it has been launching both Cairo-Dock and Unity (a very messy and unsatisfying experience).

    Any thoughts as to why this is happening?

    I'm running vanilla Ubuntu 12.04 with Gnome also installed.

    Thanks!
    Jane, stop this crazy thing!

  2. #2
    Join Date
    Feb 2010
    Location
    WI USA
    Beans
    10,498
    Distro
    Ubuntu 15.04 Vivid Vervet

    Re: Cairo-Dock session not working

    I experimented with the Cairo Dock Session on 11.10 and 12.04 . It is a PPA and subject to problems and while the 11.10 experience was a good one I ended up reinstalling 12.04 when using it. When trying to remove the Cairo Dock Plug-ins from synaptic my entire Ubuntu desktop and all applications were removed in the process. Be careful to purge the PPA properly if you remove it.
    Infinite diversity in infinite combination.

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Manual

  3. #3
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,928
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Cairo-Dock session not working

    Well, I'm not to the point of uninstalling, yet. It isn't working right, but it isn't hurting anything else.

    Okay, I didn't add a ppa to install it. It showed up in Synaptic, so I assumed it came from the main repos, but I have added other repos. Is there a way to determine which repo it installed from?

    Also, I realized it isn't accurate to call my system vanilla Ubuntu. I'm running a patched Unity for Dodge and minimize-on-click. This hasn't caused issues for Gnome sessions, though.
    Jane, stop this crazy thing!

  4. #4
    Join Date
    Feb 2010
    Location
    WI USA
    Beans
    10,498
    Distro
    Ubuntu 15.04 Vivid Vervet

    Re: Cairo-Dock session not working

    This is the PPA I used and the source would be found in software sources.http://www.noobslab.com/2012/04/inst...untulinux.html
    Infinite diversity in infinite combination.

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Manual

  5. #5
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,928
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Cairo-Dock session not working

    According to Synaptic, I got Cairo-Dock from the Universe.
    Jane, stop this crazy thing!

  6. #6
    Join Date
    Feb 2010
    Location
    WI USA
    Beans
    10,498
    Distro
    Ubuntu 15.04 Vivid Vervet

    Re: Cairo-Dock session not working

    The version in the software center is supposed to be compatible with Unity. If you are logged into Ubuntu or Ubuntu 2D and have the dock set to auto start you would see both Unity and Cairo Dock. If you are not logged into a Ubuntu session I don't know why Unity would be starting.
    Infinite diversity in infinite combination.

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Manual

  7. #7
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,928
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Cairo-Dock session not working

    The problem is with the Cairo-Dock (Gnome + Effects) session.

    Here are the contents of the corresponding desktop session file (/usr/share/xsessions/cairo-dock.desktop):
    Code:
    [Desktop Entry]
    Name=Cairo-Dock (Gnome + Effects)
    Comment=This session logs you into GNOME with Cairo-Dock and with graphical effects.
    Exec=gnome-session --session=cairo-dock
    TryExec=cairo-dock-session
    Icon=
    Type=Application
    And the contents of the session file that is called with the gnome-session command (/usr/share/gnome-session/sessions/cairo-dock.session):
    Code:
    [GNOME Session]
    Name=Cairo-Dock Session
    RequiredComponents=gnome-settings-daemon;
    RequiredProviders=windowmanager;panel;
    DefaultProvider-windowmanager=compiz
    DefaultProvider-panel=cairo-dock
    IsRunnableHelper=/usr/lib/nux/unity_support_test
    FallbackSession=cairo-dock-fallback
    DesktopName=GNOME
    Comparing this with ubuntu.session, I notice that there the line is
    Code:
    DefaultProvider-panel=compiz
    instead. (Apparently, calling compiz as the panel provider is supposed to call unity?) Could this possibly have something to do with the fact that compiz is being called as a window manager, even in the C-D session? Or perhaps the line about unity_support_test shouldn't be there?
    Last edited by newb85; August 17th, 2012 at 12:38 PM.
    Jane, stop this crazy thing!

  8. #8
    Join Date
    Feb 2010
    Location
    WI USA
    Beans
    10,498
    Distro
    Ubuntu 15.04 Vivid Vervet

    Re: Cairo-Dock session not working

    Cairo Dock will work with Compiz and Unity 3D is also a Compiz plug-in so disabling the Unity plug-in in the CCSM may be a work around until you wanted to use a Ubuntu session
    Last edited by Frogs Hair; August 17th, 2012 at 02:21 PM.
    Infinite diversity in infinite combination.

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Manual

  9. #9
    Join Date
    Feb 2010
    Location
    WI USA
    Beans
    10,498
    Distro
    Ubuntu 15.04 Vivid Vervet

    Re: Cairo-Dock session not working

    If you have the Compiz icon on the dock it will start Compiz when the dock starts and probably the Unity plug-in as well when open GL is in use.
    Infinite diversity in infinite combination.

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Manual

  10. #10
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,928
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Cairo-Dock session not working

    Quote Originally Posted by Frogs Hair View Post
    Cairo Dock will work with Compiz and Unity 3D is also a Compiz plug-in so disabling the Unity plug-in in the CCSM may be a work around until you wanted to use a Ubuntu session
    Wow, your suggestion came really close to the solution. Actually, I think it came really close the the origin of the problem. I would be leaping for joy right now, if I weren't hanging my head in shame.

    Compiz saves its settings to profiles. Different desktop sessions can run on different profiles. Apparently, a Cairo-Dock session is accomplished by setting up a Compiz profile (called Default) that excludes Unity.

    When I first tried the Cairo-Dock session, I was giddy about the freedom to play with CCSM without fear of interfering with the ever-so-tempermental Unity plugin. (I still have nightmares about the time I wrecked my Natty setup this way.) And apparently, while I was examining the Preferences section of CCSM, I inadvertently switched to the unity profile. Simply switching it back rectified the problem.
    Jane, stop this crazy thing!

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
  •