Results 1 to 6 of 6

Thread: Autostart cairo-dock

  1. #1

    Default Autostart cairo-dock

    I'm running SUSE 11 (Gnome) and I'm trying to figure out how to setup Cairo Dock to startup automatically. I just edited System > Sessions and added Cairo Dock as a startup program however it still wont start on login and I have to start it manually using

    Code:
    su 
    cairo-dock &
    Not sure if I did something wrong or if there is a better way but any help is appreciated!

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,488
    Blog Entries
    15

    Default Re: Autostart cairo-dock

    Quote Originally Posted by sdibias
    I'm running SUSE 11 (Gnome) and I'm trying to figure out how to setup
    Cairo Dock to startup automatically. I just edited System > Sessions and
    added Cairo Dock as a startup program however it still wont start on
    login and I have to start it manually using


    Code:
    --------------------

    su
    cairo-dock &

    --------------------


    Not sure if I did something wrong or if there is a better way but any
    help is appreciated!
    Hi
    Why are you starting it with su? I start it as my user and it along
    with applications start fine? Which may be your issue in an earlier
    post?

    I also tested it to autostart during login using the full
    path /usr/bin/cairo-dock and it started up fine.

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.0 x86 Kernel 2.6.25.18-0.1-default
    up 8:33, 2 users, load average: 0.27, 0.56, 0.68
    GPU GeForce 6600 TE/6200 TE - Driver Version: 177.80


  3. #3

    Default Re: Autostart cairo-dock

    I have been running it as root because I can't get it to start under my login. If I open a terminal and attempt to run it I get the following error

    Code:
    steve@linux-or59:~> cairo-dock &
    [1] 6507
    steve@linux-or59:~> cairo_dock_create_surface_from_image: assertion `rsvg_handle != NULL' failed
    warning :  (cairo-dock-load.c:cairo_dock_load_task_indicator:786)  
      couldn't load image '/home/pico/.cairo-dock/Indicateur cairo dock/1208712452.svg' for indicators
    warning :  (cairo-dock-application-factory.c:cairo_dock_create_surface_from_xpixmap:123)  
      This pixmap is undefined. It can happen for exemple for a window that is in a minimized state when the dock is launching.
    However I think you are right, this is the reason I'm having problems with Cairo Dock in general. Any ideas?

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,488
    Blog Entries
    15

    Default Re: Autostart cairo-dock

    Quote Originally Posted by sdibias
    I have been running it as root because I can't get it to start under my
    login. If I open a terminal and attempt to run it I get the following
    error


    Code:
    --------------------

    steve@linux-or59:~> cairo-dock &
    [1] 6507
    steve@linux-or59:~> cairo_dock_create_surface_from_image: assertion
    `rsvg_handle != NULL' failed warning :
    (cairo-dock-load.c:cairo_dock_load_task_indicator:786) couldn't load
    image '/home/pico/.cairo-dock/Indicateur cairo dock/1208712452.svg' for
    indicators warning :
    (cairo-dock-application-factory.c:cairo_dock_create_surface_from_xpixmap:123)
    This pixmap is undefined. It can happen for exemple for a window that
    is in a minimized state when the dock is launching. --------------------


    However I think you are right, this is the reason I'm having problems
    with Cairo Dock in general. Any ideas?

    Hi
    I think you will find the .cario-dock directory is owned by root user
    since you ran the su command (probably in you home directory). To check
    run the following;
    Code:
    ls -la .cairo-dock/
    If the owner is root, then at this point I would just move it as root,
    then run cairo-dock as your user;
    Code:
    sudo mv mv .cairo-dock/ orig_cairo-dock
    cairo-dock &
    exit
    Note, you will need to reconfigure

    If it all runs ok then remove the orig one;
    Code:
    sudo rm -Rf orig_cairo-dock
    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.0 x86 Kernel 2.6.25.18-0.1-default
    up 9:12, 1 user, load average: 0.27, 0.12, 0.21
    GPU GeForce 6600 TE/6200 TE - Driver Version: 177.80


  5. #5

    Default Re: Autostart cairo-dock

    Ok I did ALT+F2 and ran cairo-dock and it finally started under my credntials, I will verify that it starts autmatically in a few minutes. Thanks for your help

  6. #6

    Default Re: Autostart cairo-dock

    You are a genius my friend, evrything is working ok now!

Posting Permissions

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