openbsd-ports/x11/slim/patches/patch-slim_conf
landry 34bd294035 Import slim, a lightweight graphical login manager.
Additional themes availables in -themes subpackage.

Testing and feedback from kili@ and ajacoutot@, ok ajacoutot@ and jasper@
2007-10-24 23:32:00 +00:00

43 lines
1.8 KiB
Plaintext

$OpenBSD: patch-slim_conf,v 1.1.1.1 2007/10/24 23:32:00 landry Exp $
--- slim.conf.orig Wed Oct 24 17:03:14 2007
+++ slim.conf Wed Oct 24 17:06:03 2007
@@ -1,13 +1,13 @@
# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended
-default_path ./:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
-default_xserver /usr/X11R6/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/X11R6/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 +32,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 - ~/.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
@@ -72,7 +72,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