You are not logged in.

#1 2010-10-04 13:10:47

Athunye
Member
Registered: 2009-02-26
Posts: 33

Slim - Gnome landing in / instead of $HOME

Gnome seems to be landing in / instead of in $HOME.

If I run terminals (gnome-terminal, xterm, urxvt) some keyboards shortcuts defined in
gnome-keybinding-properties they start from / and not from $HOME. The same holds true if I launch gvim from a shortcut. If I open this apps from CTRL-F2 they all open from $HOME.

I tried putting a cd $HOME command in ~/.xinitrc, ~/.profile but neither worked out.
For now I have a cd $HOME in ~/.bashrc as a work around for terminals and
a GUIEnter command for gvim.

This problem does not happen in Openbox, which I have exactly the same shortcuts for
launching applications, except that openbox/gnome have their own config files.

This is the relevant session in ~/.xinitrc:

DEFAULT_SESSION=twm
case $1 in
    #openbox-session)
    Openbox)
        exec ck-launch-session dbus-launch openbox-session
        ;;
    #gnome-session)
    Gnome)
        exec ck-launch-session dbus-launch gnome-session
        ;;
    *)
        exec $DEFAULT_SESSION
        ;;
esac

If I do openbox --replace then launching apps with shortcuts (now from opnebox inside
gnome) they start from $HOME.

Any help would be appreciated. Thanks in advance.

Offline

Board footer

Powered by FluxBB