Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 2c4efd4599f9b7fc6fc68a2bb712a595 > files > 3

slim-1.3.1-1mdv2009.0.src.rpm

diff -Naur slim-1.3.1/slim.conf slim-1.3.1.tpg/slim.conf
--- slim-1.3.1/slim.conf	2008-09-26 00:54:15.000000000 +0000
+++ slim-1.3.1.tpg/slim.conf	2008-11-15 22:57:14.000000000 +0000
@@ -7,8 +7,9 @@
 # Commands for halt, login, etc.
 halt_cmd            /sbin/shutdown -h now
 reboot_cmd          /sbin/shutdown -r now
-console_cmd         /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
-#suspend_cmd        /usr/sbin/suspend
+console_cmd         /usr/bin/xvt
+suspend_cmd        /usr/sbin/suspend
+hibernate_cmd	   /usr/sbin/hibernate
 
 # Full path to the xauth binary
 xauth_path         /usr/bin/xauth 
@@ -33,7 +34,7 @@
 # to adjust the command according to your preferred shell,
 # i.e. for freebsd use:
 # login_cmd           exec /bin/sh - ~/.xinitrc %session
-login_cmd           exec /bin/bash -login ~/.xinitrc %session
+login_cmd           exec /bin/bash -login /etc/X11/Xsession %session
 
 # Commands executed when starting and exiting a session.
 # They can be used for registering a X11 session with
@@ -51,7 +52,7 @@
 # The current chosen session name is replaced in the login_cmd
 # above, so your login command can handle different sessions.
 # see the xinitrc.sample file shipped with slim sources
-sessions            xfce4,icewm,wmaker,blackbox
+sessions            xfce4,icewm,wmaker,blackbox,kde,gnome
 
 # Executed when pressing F11 (requires imagemagick)
 screenshot_cmd      import -window root /slim.png
@@ -76,7 +77,7 @@
 
 # Automatically login the default user (without entering
 # the password. Set to "yes" to enable this feature
-#auto_login          no
+auto_login          no
 
 
 # current theme, use comma separated list to specify a set to