epcim
10/23/2015 - 1:15 PM

xinitrc.desktop.howto.md

    [Desktop Entry]
    Encoding=UTF-8
    Name=MySession
    Name[cz]=MyXinitrc
    Name[en]=MyXinitrc
    Comment=AwesomeUsrLocal
    Type=Xsession
    Icon=
    Exec=/home/petr/.xinitrc
    TryExec=/home/petr/.xinitrc

Link this file in /usr/share/xsessions

#Set your defaut session

ln -s ~/gnome-shell/install/share/applications/gnome-shell.desktop ~/.local/share/applications/gnome-shell.desktop
gconftool-2 -s /desktop/gnome/session/required_components/windowmanager "gnome-shell" -t string

V1

switch awesome

XSESS=/usr/share/xsessions
DSKTP=$XSESS/gnome.desktop
sudo rm $DSKTP
sudo ln -s $XSESS/custom.desktop.puvodni $DSKTP

switch gnome

XSESS=/usr/share/xsessions
DSKTP=$XSESS/gnome.desktop
sudo rm $DSKTP
sudo ln -s $XSESS/gnome.desktop.orig $DSKTP

V2

switch awesome

XSESS=/usr/share/xsessions
DSKTP=$XSESS/gnome.desktop
sudo rm $DSKTP
sudo ln -s $XSESS/custom.desktop.puvodni $DSKTP

switch gnome

XSESS=/usr/share/xsessions
DSKTP=$XSESS/gnome.desktop
sudo rm $DSKTP
sudo ln -s $XSESS/gnome.desktop.orig $DSKTP