dd3c1972ee
Initial diff by me with tweaks by landry@ and ajacoutot@ OK landry@ ajacoutot@
44 lines
1.8 KiB
Plaintext
44 lines
1.8 KiB
Plaintext
$OpenBSD: patch-slim_conf,v 1.3 2008/11/05 13:36:41 pea Exp $
|
|
--- slim.conf.orig Fri Sep 26 02:54:15 2008
|
|
+++ slim.conf Mon Nov 3 22:14:42 2008
|
|
@@ -1,13 +1,14 @@
|
|
# Path, X server and arguments (if needed)
|
|
# Note: -xauth $authfile is automatically appended
|
|
-default_path ./:/bin:/usr/bin:/usr/local/bin
|
|
-default_xserver /usr/bin/X
|
|
-#xserver_arguments -dpi 75
|
|
+default_path ./:/bin:/usr/bin:${LOCALBASE}/bin:${X11BASE}/bin
|
|
+default_xserver ${X11BASE}/bin/X
|
|
+xserver_arguments vt05
|
|
|
|
+
|
|
# Commands for halt, login, etc.
|
|
-halt_cmd /sbin/shutdown -h now
|
|
+halt_cmd /sbin/shutdown -ph 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"
|
|
+console_cmd ${X11BASE}/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/usr/bin/head -1 /etc/motd; exec /usr/bin/login"
|
|
#suspend_cmd /usr/sbin/suspend
|
|
|
|
# Full path to the xauth binary
|
|
@@ -32,8 +33,8 @@ authfile /var/run/slim.auth
|
|
# NOTE: if your system does not have bash you need
|
|
# 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/sh -l ~/.xinitrc %session
|
|
+# login_cmd exec /bin/bash -login ~/.xinitrc %session
|
|
|
|
# Commands executed when starting and exiting a session.
|
|
# They can be used for registering a X11 session with
|
|
@@ -84,7 +85,7 @@ reboot_msg The system is rebooting...
|
|
current_theme default
|
|
|
|
# Lock file
|
|
-lockfile /var/run/slim.lock
|
|
+lockfile /var/run/slim.pid
|
|
|
|
# Log file
|
|
logfile /var/log/slim.log
|