EDE startup file

EDE
Anonymous
2012-05-20
2013-04-05
  • Anonymous - 2012-05-20

    Hello, i'm trying to start fresh installed EDE on Archlinux and getting this:

    $ cat .xinitrc
    startede
    $ startx
    

    Now i see black screen and in tty something like this:

    [evoke] evoke/EvokeService.cpp:220 Unable to load EDE startup file
    [evoke] evoke/Xsm.cpp:466 Unable to laod XSETTINGS data from ''
    

    What am I doing wrong? I tried to copy /usr/etc/xdg/ede/ede-startup.conf to ~, but it did not help.

     
  • Sanel Zukan

    Sanel Zukan - 2012-05-20

    Hi Sergey,

    How did you install EDE? Was there any errors during installation? Also, can you please paste the output of the following command:

    export | grep XDG

    Regards,
    Sanel

     
  • Johann Woelper

    Johann Woelper - 2012-05-20

    Same with me here (gentoo). There were no errors in the installation. It is installed in /usr/local .

    which startede
    /usr/local/bin/startede

    to have ede pick up edelib, i had to:
    export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

    export | grep XDG: (under xfce)
    declare -x XDG_CONFIG_DIRS="/etc/xdg:/etc/xdg"
    declare -x XDG_DATA_DIRS="/usr/local/share:/usr/share:/usr/share"
    declare -x XDG_MENU_PREFIX="xfce-"
    declare -x XDG_SESSION_COOKIE="34af198f7b4c7ae0540331b700006f0f-1337511271.216215-250869034"

    I closely followed the howto. What could be wrong?

     
  • Sanel Zukan

    Sanel Zukan - 2012-05-20

    Hm… can you list the content of /usrlocal/etc/xdg/ede folder?

    Also, can other ede programs be run (under xfce); can you try to run ede-about in shell? And, as the final, can you paste here content of startede script (specificaly PREFIX and SYSCONFDIR variables from it)?

    Regards,
    Sanel

     
  • Johann Woelper

    Johann Woelper - 2012-05-20

    Sure!

    ls /usr/local/etc/xdg/ede/   
    ede-conf.conf  ede-settings.conf  ede-startup.conf

    ede-about works perfectly.

    the startup-script has the following content:
    (PREFIX="/usr/local" and SYSCONFDIR="/usr/local/etc")

    --

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    #!/bin/sh
    #
    # $Id: startede.in 3001 2010-01-19 14:41:51Z karijes $
    #
    # Part of Equinox Desktop Environment (EDE).
    # Copyright (c) 2007-2009 EDE Authors.
    #
    # This program is licensed under terms of the 
    # GNU General Public License version 2 or newer.
    # See COPYING for details.
    # Main script responsible for starting and setting needed environment parts.
    # Details about XDG_XXX data and how they are set is at:
    # http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html
    PREFIX="/usr/local"
    SYSCONFDIR="/usr/local/etc"
    if [ "x$XDG_DATA_HOME" = "x" ]; then
        XDG_DATA_HOME="$HOME/.local/share"
    fi
    if [ "x$XDG_CONFIG_HOME" = "x" ]; then
        XDG_CONFIG_HOME="$HOME/.config"
    fi
    if [ "x$XDG_CACHE_HOME" = "x" ]; then
        XDG_CACHE_HOME="$HOME/.cache"
    fi
    if [ "x$XDG_DATA_DIRS" = "x" ]; then
        XDG_DATA_DIRS="/usr/local/share:/usr/share:$PREFIX/share"
    fi
    if [ "x$XDG_CONFIG_DIRS" = "x" ]; then
        XDG_CONFIG_DIRS="$SYSCONFDIR/xdg"
    fi
    # prefix for applications.menu
    if [ "x$XDG_MENU_PREFIX" = "x" ]; then
        XDG_MENU_PREFIX="ede-"
    fi
    [ -d $XDG_DATA_HOME ] || mkdir -p $XDG_DATA_HOME
    [ -d $XDG_CONFIG_HOME ] || mkdir -p $XDG_CONFIG_HOME
    [ -d $XDG_CACHE_HOME ] || mkdir -p $XDG_CACHE_HOME
    export XDG_DATA_HOME
    export XDG_CONFIG_HOME
    export XDG_CACHE_HOME
    export XDG_DATA_DIRS
    export XDG_CONFIG_DIRS
    export XDG_MENU_PREFIX
    PATH=$PATH:$PREFIX:$PREFIX/bin
    export PATH
    userresources=$HOME/.Xdefaults
    sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
    if [ -f $sysresources ]; then
        xrdb -merge $sysresources
    fi
    if [ -f $userresources ]; then
        xrdb -merge $userresources
    fi
    # set background inside X
    XSETROOT=`which xsetroot 2> /dev/null`
    if [ "$XSETROOT" ]; then
        $XSETROOT -solid black
    fi
    # remove leftovers if evoke crashed
    rm -f /tmp/.evoke.lock
    # start the session
    evoke --startup
    

    Thanks for helping!

    Johann

     
  • Sanel Zukan

    Sanel Zukan - 2012-05-20

    Thank you for posting and glad to help :)

    Everything looks normal… hm… does gentoo export any XDG variable
    before X11 is up (or maybe when X11 is starting)? You can check either
    in /etc/profile.d folder or maybe in local $HOME/.bashrc or
    $HOME/.profile.

    Of course, there is cure, just place on top (but bellow copyright
    comments) of startede:

    unset XDG_DATA_HOME
    unset XDG_CONFIG_HOME
    unset XDG_CACHE_HOME
    unset XDG_DATA_DIRS
    unset XDG_CONFIG_DIRS
    unset XDG_MENU_PREFIX

    but I'm curious to see if distro did something with them system wide.

    Regards,
    Sanel

     
  • Johann Woelper

    Johann Woelper - 2012-05-21

    Strange. In /etc/profile.d/ there are just java-config-2.csh and java-config-2.sh. None of them contain XDG stuff.
    my .bashrc is very minimal and has no xdg settings. I do not have a ~/.profile. Maybe gentoo sets xdg stuff somewhere else? To be honest, I have no idea where that could be.

    The modification of the startede script however works perfectly. Thanks!

    Please allow me two off-topic questions:

    When I click on any item on the desktop (a folder, a text file or a picture) a dialog opens which asks me for a application to open that file with. However, it asks every time, again and again. May this be related to my (maybe already flawed) setup?

    Secondly, is there an option to configure the window manager to have the focus follow the mouse? I have not seen a window  manager customization tool anywhere.

    Thanks again

    Johann

     
  • Sanel Zukan

    Sanel Zukan - 2012-05-21

    Glad you get it working! I'll try to investigate gentoo setup in more
    details.

    > When I click on any item on the desktop (a folder, a text file or a
    > picture) a dialog opens which asks me for a application to open that
    > file with. However, it asks every time, again and again. May this be
    > related to my (maybe already flawed) setup?

    No, it is not related to setup, but desktop is not (for now) able to handle
    anything except .desktop files :S This is because I need to add better MIME
    handling which I left for 2.1.

    > Secondly, is there an option to configure the window manager to have
    > the focus follow the mouse? I have not seen a window manager
    > customization tool anywhere.

    Again, for now there is no gui. However, feel free to consult $HOME/.pekwm
    folder and adjust pekwm specific settings.

    Regards,
    Sanel

     

Log in to post a comment.