Difference between revisions of "SLiM Configuration"
Views
Actions
Namespaces
Variants
Tools
no edit summary
imported>Verityproductions |
imported>Verityproductions |
||
Line 99: | Line 99: | ||
'''Users who had a previous version of SLiM installed''' must completely replace both the previous '''case "$1"''' and '''DEFAULTSESSION=''' commands listed below with the '''exec $1''' command. For example, '''users who installed Manjaro Openbox 0.8.7.1 or earlier''' should first find the following section: | '''Users who had a previous version of SLiM installed''' must completely replace both the previous '''case "$1"''' and '''DEFAULTSESSION=''' commands listed below with the '''exec $1''' command. For example, '''users who installed Manjaro Openbox 0.8.7.1 or earlier''' should first find the following section: | ||
DEFAULTSESSION=openbox-session | |||
case "$1" in | |||
openbox) exec openbox-session ;; | |||
xfce) exec xfce4-session ;; | |||
gnome3) exec gnome-session ;; | |||
kde) exec startkde ;; | |||
cinnamon) exec gnome-session-cinnamon ;; | |||
razor-qt) exec razor-session ;; | |||
lxde) exec lxsession ;; | |||
mate) exec mate-session ;; | |||
*) exec $DEFAULTSESSION ;; | |||
esac | |||
And make the necessary amendment so that it now looks like this: | |||
exec $1 | |||
To clarify for newer users, the entire ''.xinitrc'' file should now look like this: | |||
Line 108: | Line 130: | ||
# Executed by startx (run your window manager from here) | # Executed by startx (run your window manager from here) | ||
# | # | ||
## Ensure that the D-Bus Communication System is running properly to fix | |||
## File management, authentication, and other essential system processes | |||
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then | |||
eval "$(dbus-launch --sh-syntax --exit-with-session)" | |||
fi | |||
## Ensure that GTK themes are applied uniformly in the Desktop Environment | |||
export GTK2_RC_FILES="$HOME/.gtkrc-2.0" | export GTK2_RC_FILES="$HOME/.gtkrc-2.0" | ||
## Where the default Home folders have not already been created, generate them | |||
if [ -x /usr/bin/xdg-user-dirs-update ]; then | |||
/usr/bin/xdg-user-dirs-update | |||
fi | |||
## Ensure that obmenu-generator (a pipe menu) is set to the user. | |||
## Needs only to be run once, so last sed command hashes the sed | |||
## commands! | |||
sed 's/_user_/'$(whoami)'/' ~/.config/obmenu-generator/schema.pl -i | |||
sed 's/_user_/'$(whoami)'/' ~/.config/obmenu-generator/config.pl -i | |||
exec $1 | |||
Line 136: | Line 170: | ||
{{ | {{Note|Again, there is no longer a 'default session', so you will have to manually pick the installed desktop you wish. This includes even where only Openbox has been installed, as it is possible to use this window manager with the KDE desktop environment.}} | ||
Where two or more desktop environments have be installed | Where two or more desktop environments have be installed (or at least just Openbox), then they can be cycled and selected by pressing the '''F1''' key on the SLiM login screen. | ||
<br clear="all" /> | <br clear="all" /> | ||