03675d01db
default_path, sometimes inherited by some window managers) ref: http://secunia.com/advisories/41005 Removes patches merged upstream. Amend MESSAGE to teach users who modified slim.conf how to fix it there. Prompted by and ok jasper@
57 lines
2.3 KiB
Plaintext
57 lines
2.3 KiB
Plaintext
$OpenBSD: patch-slim_conf,v 1.5 2010/08/24 11:37:50 landry Exp $
|
|
--- slim.conf.orig Thu Jul 8 07:04:10 2010
|
|
+++ slim.conf Mon Aug 23 21:40:33 2010
|
|
@@ -1,17 +1,17 @@
|
|
# 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
|
|
-xauth_path /usr/bin/xauth
|
|
+xauth_path ${X11BASE}/bin/xauth
|
|
|
|
# Xauth file for server
|
|
authfile /var/run/slim.auth
|
|
@@ -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 -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
|
|
@@ -54,7 +54,7 @@ login_cmd exec /bin/bash -login ~/.xinitrc %
|
|
sessions xfce4,icewm,wmaker,blackbox
|
|
|
|
# Executed when pressing F11 (requires imagemagick)
|
|
-screenshot_cmd import -window root /slim.png
|
|
+screenshot_cmd import -window root /tmp/slim.png
|
|
|
|
# welcome message. Available variables: %host, %domain
|
|
welcome_msg Welcome to %host
|
|
@@ -84,7 +84,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
|