[gnome] switch to Cinnamon as default session for GNOME

This commit is contained in:
Fabio Erculiani 2012-01-12 19:20:14 +01:00
parent f827f21ded
commit 5a951175bb
2 changed files with 7 additions and 2 deletions

View File

@ -90,6 +90,7 @@ packages_to_add:
app-office/libreoffice-l10n-pt,
dev-java/icedtea,
gnome-base/gnome-shell,
gnome-extra/cinnamon,
gnome-extra/gcalctool,
gnome-extra/gconf-editor,
gnome-extra/gnome-games,

View File

@ -219,9 +219,13 @@ elif [ "$1" = "fluxbox" ]; then
has_proprietary_drivers && setup_proprietary_gfx_drivers || setup_oss_gfx_drivers
elif [ "$1" = "gnome" ]; then
setup_networkmanager
# Fix ~/.dmrc to have it load GNOME
# Fix ~/.dmrc to have it load GNOME or Cinnamon
echo "[Desktop]" > /etc/skel/.dmrc
echo "Session=gnome" >> /etc/skel/.dmrc
if [ -f "/usr/share/xsessions/cinnamon.desktop" ]; then
echo "Session=cinnamon" >> /etc/skel/.dmrc
else
echo "Session=gnome" >> /etc/skel/.dmrc
fi
rc-update del system-tools-backends boot
rc-update add system-tools-backends default
setup_displaymanager