File: slim.conf

package info (click to toggle)
slim 1.4.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,792 kB
  • sloc: cpp: 4,383; sh: 200; makefile: 23
file content (124 lines) | stat: -rw-r--r-- 4,661 bytes parent folder | download | duplicates (2)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended, vt07 appended if no
# vtxx argument given.
#
default_path        /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
default_xserver     /usr/bin/X11/X
xserver_arguments   -nolisten tcp -deferglyphs 16

# Full path to the xauth binary
xauth_path         /usr/bin/X11/xauth

# Xauth file for server
authfile           /var/run/slim.auth


# 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.net; exec /bin/login"
#suspend_cmd        /usr/sbin/suspend

# Activate numlock when slim starts. Valid values: on|off
# Default is to not change it
#numlock             on

# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
#hidecursor          false

# This command is executed after a succesful login.
# You can place the %session and %theme variables to handle launching of
# specific commands in .xinitrc depending on chosen session and slim theme.
# Ensure that the command handles an empty %session, as that is the default
#
# 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 /etc/X11/Xsession %session

# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
#
# sessionstart_cmd	some command
# sessionstop_cmd	some command
sessionstart_cmd	/usr/bin/sessreg -a -l "$DISPLAY" %user
sessionstop_cmd     /usr/bin/sessreg -d -l "$DISPLAY" %user

# Start in daemon mode. Valid values: yes | no
# Note that this can be overridden by the command line options "-d" and "-n"
daemon	yes

# Available sessions:
# The current chosen session name replaces %session in the login_cmd
# above, so your login command can handle different sessions.
# If no session is chosen (via F1), %session will be an empty string. This
# allows the script to handle default in a user-specific manner, if desired.
# See the xinitrc.sample file shipped with slim sources.
#sessions            xfce4,icewm-session,wmaker,blackbox

# Alternatively, read available sessions from the contents of a
# directory.  The directory can contain either executable scripts,
# or xsessions .desktop files.  In the case of .desktop files, the name
# displayed is the Name= value and the string substutited in place of
# %session is the Exec= value -- note that this may provide a full
# path to the session executable!
sessiondir     /usr/share/xsessions


# Executed when pressing F11 (requires imagemagick)
#screenshot_cmd      import -window root /slim.png
# Alternative using scrot.
screenshot_cmd      scrot /root/slim.png

# Delay after failed authentication before allowing another attempt
# NOTE: This delay is additional to the time PAM takes to fail, and
#       the feedback message remains after this delay. While the 
#       default value is 2 seconds, it's quite reasonable to set it
#       to zero.
wrong_passwd_timeout            0

# Whether to sound the bell on failed login
#bell		0

# Whether to leave the username intact if authorisation fails. For 
# users who mistype their password, 1 is better.
#keep_user_on_fail       0

# default user, leave blank to not pre-load the username.
#default_user        simone

# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
#focus_password      no

# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
#auto_login          no


# current theme, use comma separated list to specify a set to 
# randomly choose from
current_theme       debian-softwaves

# Lock file
lockfile            /run/slim.pid

# Log file - full path for a file, or just stderr (or /dev/stderr) to send
# all log messages to stderr.
logfile             /var/log/slim.log

#----------------------------------------------------
# The following options might be considered better placed in the theme.They
# will work either way; the theme takes priority if duplicated

# welcome message. Available variables: %host, %domain
welcome_msg         Welcome to %host

# Session message. Prepended to the session name when pressing F1
#session_msg         Session: 

# shutdown / reboot messages
shutdown_msg       The system is halting...
reboot_msg         The system is rebooting...