slim.conf 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. # Path, X server and arguments (if needed)
  2. # Note: -xauth $authfile is automatically appended, vt07 appended if no
  3. # vtxx argument given.
  4. default_path /bin:/usr/bin:/usr/local/bin
  5. default_xserver /usr/bin/X
  6. #xserver_arguments -dpi 75
  7. xserver_arguments -nolisten tcp -deferglyphs 16
  8. # Full path to the xauth binary
  9. xauth_path /usr/bin/xauth
  10. # Xauth file for server
  11. authfile /var/run/slim.auth
  12. # Commands for halt, login, etc.
  13. halt_cmd /sbin/shutdown -h now
  14. reboot_cmd /sbin/shutdown -r now
  15. 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"
  16. #suspend_cmd /usr/sbin/suspend
  17. # Activate numlock when slim starts. Valid values: on|off
  18. # Default is to not change it
  19. #numlock on
  20. # Hide the mouse cursor (note: does not work with some WMs).
  21. # Valid values: true|false
  22. #hidecursor false
  23. # This command is executed after a succesful login.
  24. # You can place the %session and %theme variables to handle launching of
  25. # specific commands in .xinitrc depending on chosen session and slim theme.
  26. # Ensure that the command handles an empty %session, as that is the default
  27. #
  28. # NOTE: if your system does not have bash you need to adjust the command
  29. # according to your preferred shell, e.g. for freebsd use:
  30. login_cmd exec /bin/sh - ~/.xinitrc %session
  31. login_cmd exec /bin/bash -login ~/.xinitrc %session
  32. # Commands executed when starting and exiting a session.
  33. # They can be used for registering a X11 session with
  34. # sessreg. You can use the %user variable
  35. #
  36. # sessionstart_cmd some command
  37. # sessionstop_cmd some command
  38. sessionstart_cmd /usr/bin/sessreg -a -l "$DISPLAY" %user
  39. sessionstop_cmd /usr/bin/sessreg -d -l "$DISPLAY" %user
  40. # Start in daemon mode. Valid values: yes | no
  41. # Note that this can be overridden by the command line options "-d" and "-n"
  42. daemon yes
  43. # Available sessions:
  44. # The current chosen session name replaces %session in the login_cmd
  45. # above, so your login command can handle different sessions.
  46. # If no session is chosen (via F1), %session will be an empty string. This
  47. # allows the script to handle default in a user-specific manner, if desired.
  48. # See the xinitrc.sample file shipped with slim sources.
  49. sessions dwm,openbox
  50. # Alternatively, read available sessions from the contents of a
  51. # directory. The directory can contain either executable scripts,
  52. # or xsessions .desktop files. In the case of .desktop files, the name
  53. # displayed is the Name= value and the string substutited in place of
  54. # %session is the Exec= value -- note that this may provide a full
  55. # path to the session executable!
  56. #sessiondir /usr/share/xsessions
  57. # Executed when pressing F11 (requires imagemagick)
  58. screenshot_cmd import -window root /slim.png
  59. # Alternative using scrot.
  60. #screenshot_cmd scrot /root/slim.png
  61. # Delay after failed authentication before allowing another attempt
  62. # NOTE: This delay is additional to the time PAM takes to fail, and
  63. # the feedback message remains after this delay. While the
  64. # default value is 2 seconds, it's quite reasonable to set it
  65. # to zero.
  66. wrong_passwd_timeout 0
  67. # Whether to sound the bell on failed login
  68. #bell 0
  69. # Whether to leave the username intact if authorisation fails. For
  70. # users who mistype their password, 1 is better.
  71. #keep_user_on_fail 0
  72. # default user, leave blank to not pre-load the username.
  73. #default_user simone
  74. # Focus the password field on start when default_user is set
  75. # Set to "yes" to enable this feature
  76. #focus_password no
  77. # Automatically login the default user (without entering
  78. # the password. Set to "yes" to enable this feature
  79. #auto_login no
  80. # current theme, use comma separated list to specify a set to
  81. # randomly choose from
  82. current_theme default
  83. # Lock file
  84. lockfile /run/slim.pid
  85. # Log file - full path for a file, or just stderr (or /dev/stderr) to send
  86. # all log messages to stderr.
  87. logfile /var/log/slim.log
  88. #----------------------------------------------------
  89. # The following options might be considered better placed in the theme.They
  90. # will work either way; the theme takes priority if duplicated
  91. # welcome message. Available variables: %host, %domain
  92. welcome_msg Welcome to %host
  93. # Session message. Prepended to the session name when pressing F1
  94. #session_msg Session:
  95. # shutdown / reboot messages
  96. shutdown_msg The system is halting...
  97. reboot_msg The system is rebooting...