forked from iwamatsu/slim
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathslim.conf
122 lines (103 loc) · 4.1 KB
/
slim.conf
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
## /etc/slim.conf
# note some theme settings
# will also require support in the theme file
# see: THEMES
# Paths
default_path /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
default_xserver /usr/bin/X11/X
# Full path to the xauth binary
xauth_path /usr/bin/X11/xauth
# Xauth file for server
authfile /var/run/slim.auth
# -xauth $authfile is automatically appended to "xserver_arguments"
xserver_arguments -nolisten tcp
# :: Login Prompt Commands ::
# halt reboot console (also exit)
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
# numlock on
# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
# hidecursor false
#### This "login_cmd" command is executed *after* succesful login.
# You may use the %session and %theme variables
# when launching specific commands in .xinitrc
# NOTE: adjust the command according to your shell
# and system X initialisations.
#a:# call sh not bash:
#login_cmd exec /bin/sh - ~/.xinitrc %session
#b:# A System Xsession which may (finally) load ~/ .xession or .xinitrc
#login_cmd exec /bin/bash -login /etc/X11/Xsession %session
#c:# USERS home .xinitrc and hardcoded default.
login_cmd exec /bin/bash -login ~/.xinitrc %session
# please see: xinitrc.sample
# 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
# Start in daemon mode. Valid values: yes | no
# Note that this can be overriden by the command line
# options "-d" and "-nodaemon"
# daemon yes
#### Available sessions
## The current chosen session name is set above with the "login_cmd"
## set available sessions. (first found is default)
#sessions xfce4-session,openbox-session,fluxbox,wmaker,icewm-session,blackbox,dwm,twm
## OR enable *[F1]* selection instead.
## this probably _requires dbus_ running (XDG.desktop files)
sessiondir /usr/share/xsessions/
## see also the xinitrc.sample example file shipped with slim sources.
# or at /usr/share/doc/slim/example/xinitrc.sample
# Executed when pressing [F11] (requires scrot)
# Note path
screenshot_cmd scrot /tmp/slim-%s.png
# Themes Welcome message. Available variables: %host, %domain (?)
welcome_msg Welcome to %host
#hints_msg "Low Security Environment"
hints_msg "F1 to choose an Xsession"
# Session message.
# Prepended to the themes session name when pressing F1
session_msg [F1] xsession:
# shutdown / reboot messages
# these do not support the %host variable
shutdown_msg This host is halting ...
reboot_msg This system is rebooting ...
# default user, leave blank or remove this line
# for avoid pre-loading the username.
#default_user guest
# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
#focus_password yes
# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
#auto_login no
# current theme(s) ::
# Comma separated list to randomly choose from
# or a single directory.
# "default" is coded as default.
current_theme xamplar
#current_theme default,xamplar
#current_theme desktop-slim-theme,devuan-failsafe
# Lock file
lockfile /var/run/slim.lock
# Log file
logfile /var/log/slim.log
#### slimlock options ####
# ## these are not nearly as well explored or tested
# dpms_standby_timeout 60
# dpms_off_timeout 1200
# wrong_passwd_timeout 2
# passwd_feedback_x 50%
# passwd_feedback_y 70%
# passwd_feedback_msg Authentication Failed
# passwd_feedback_capslock CaPsLocK is ON
# show_username 1
# show_welcome_msg 0
# tty_lock 1
# bell 0
# #### slimlock options end ####