125 lines
4.5 KiB
Plaintext
125 lines
4.5 KiB
Plaintext
# Path, X server and arguments (if needed)
|
|
# Note: -xauth $authfile is automatically appended, vt07 appended if no
|
|
# vtxx argument given.
|
|
default_path /bin:/usr/bin:/usr/local/bin:.local/bin
|
|
default_xserver /usr/bin/X
|
|
#xserver_arguments -dpi 75
|
|
xserver_arguments -nolisten tcp -deferglyphs 16
|
|
|
|
# Full path to the xauth binary
|
|
xauth_path /usr/bin/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; 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 /usr/local/bin/startdwm
|
|
|
|
# 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/local/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 suckless
|
|
|
|
# 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...
|