summaryrefslogtreecommitdiff
path: root/x11-misc/slim/files/slim-1.4.0-config.diff
blob: 1a92a66a6f43597090c4a3bb8e5115f89419bf1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Index: slim-fork-code/slim.conf
Customize the configuration file to suit Gentoo practice
===================================================================
--- a/slim.conf	(revision 54)
+++ b/slim.conf	(working copy)
@@ -21,7 +21,7 @@
 
 # Activate numlock when slim starts. Valid values: on|off
 # Default is to not change it
-#numlock             on
+numlock             on
 
 # Hide the mouse cursor (note: does not work with some WMs).
 # Valid values: true|false
@@ -35,7 +35,8 @@
 # NOTE: if your system does not have bash you need to adjust the command
 # according to your preferred shell, e.g. for freebsd use:
 # login_cmd           exec /bin/sh - ~/.xinitrc %session
-login_cmd           exec /bin/bash -login ~/.xinitrc %session
+#login_cmd           exec /bin/bash -login ~/.xinitrc %session
+login_cmd           exec /bin/bash -login /usr/share/slim/Xsession %session
 
 # Commands executed when starting and exiting a session.
 # They can be used for registering a X11 session with
@@ -65,11 +66,12 @@
 # %session is the Exec= value -- note that this may provide a full
 # path to the session executable!
 #sessiondir     /usr/share/xsessions
+sessiondir           /etc/X11/Sessions
 
 
-# Executed when pressing F11 (requires imagemagick)
+# Executed when pressing F11 (requires media-gfx/imagemagick for import)
 screenshot_cmd      import -window root /slim.png
-# Alternative using scrot.
+# Alternative is media-gfx/scrot. See Gentoo bug 252241 for more info.
 #screenshot_cmd      scrot /root/slim.png
 
 # Delay after failed authentication before allowing another attempt
@@ -102,7 +104,7 @@
 # randomly choose from
 current_theme       default
 
-# Lock file
+# Lock file, /etc/init.d/xdm expects slim.pid
 lockfile            /run/slim.pid
 
 # Log file - full path for a file, or just stderr (or /dev/stderr) to send