@Panta_
I ja sam koristio startx, nego sad sa Basterom, ajd' rekoh da probam ponovo sa nekim menadžerom, odavno nisam. Htedoh Slim da stavim, pa vidim da je kao maltene pa zaboravljen, niko ga ne održava i rešim da stavim sddm, koji je izgleda - naj od svih. Svaku sesiju, za svaki DE koji sam probao, jako lepo ogranizuje, startuje i gasi. I ima lepe teme.
Evo ga i odgovorni, default
/usr/share/sddm/scripts/Xsession fajl
Code (bash):
#! /bin/sh
# Xsession - run as user
# Copyright (C) 2016 Pier Luigi Fiorini <[email protected]>
# This file is extracted from kde-workspace (kdm/kfrontend/genkdmconf.c)
# Copyright (C) 2001-2005 Oswald Buddenhagen <[email protected]>
# Note that the respective logout scripts are not sourced.
case $SHELL in
*/bash)
[ -z "$BASH" ] && exec $SHELL $0 "$@"
set +o posix
[ -f /etc
/profile
] && .
/etc
/profile
if [ -f $HOME/.bash_profile
];
then
.
$HOME/.bash_profile
elif [ -f $HOME/.bash_login
];
then
.
$HOME/.bash_login
elif [ -f $HOME/.profile
];
then
.
$HOME/.profile
fi
;;
*/zsh)
[ -z "$ZSH_NAME" ] && exec $SHELL $0 "$@"
[ -d /etc
/zsh ] && zdir=
/etc
/zsh || zdir=
/etc
zhome=
${ZDOTDIR:-$HOME}
# zshenv is always sourced automatically.
[ -f $zdir/zprofile
] && .
$zdir/zprofile
[ -f $zhome/.zprofile
] && .
$zhome/.zprofile
[ -f $zdir/zlogin
] && .
$zdir/zlogin
[ -f $zhome/.zlogin
] && .
$zhome/.zlogin
emulate
-R sh
;;
*/csh|*/tcsh
)
# [t]cshrc is always sourced automatically.
# Note that sourcing csh.login after .cshrc is non-standard.
xsess_tmp=
`mktemp /tmp
/xsess-env-XXXXXX
`
$SHELL -c "if (-f /etc/csh.login) source /etc/csh.login; if (-f ~/.login) source ~/.login; /bin/sh -c 'export -p' >! $xsess_tmp"
.
$xsess_tmp
rm -f $xsess_tmp
;;
*/fish
)
[ -f /etc
/profile
] && .
/etc
/profile
xsess_tmp=
`mktemp /tmp
/xsess-env-XXXXXX
`
$SHELL --login -c "/bin/sh -c 'export -p' > $xsess_tmp"
.
$xsess_tmp
rm -f $xsess_tmp
;;
*) # Plain sh, ksh, and anything we do not know.
[ -f /etc
/profile
] && .
/etc
/profile
[ -f $HOME/.profile
] && .
$HOME/.profile
;;
esac