slim.conf 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. # Path, X server and arguments (if needed)
  2. # Note: -xauth $authfile is automatically appended
  3. default_path /bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
  4. default_xserver /usr/X11R6/bin/X
  5. xserver_arguments vt05
  6. # Commands for halt, login, etc.
  7. halt_cmd /sbin/shutdown -ph now
  8. reboot_cmd /sbin/shutdown -r now
  9. console_cmd /usr/X11R6/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/usr/bin/head -1 /etc/motd; exec /usr/bin/login"
  10. #suspend_cmd /usr/sbin/suspend
  11. # Full path to the xauth binary
  12. xauth_path /usr/X11R6/bin/xauth
  13. # Xauth file for server
  14. authfile /var/run/slim.auth
  15. # Activate numlock when slim starts. Valid values: on|off
  16. # numlock on
  17. # Hide the mouse cursor (note: does not work with some WMs).
  18. # Valid values: true|false
  19. # hidecursor false
  20. # This command is executed after a succesful login.
  21. # you can place the %session and %theme variables
  22. # to handle launching of specific commands in .xinitrc
  23. # depending of chosen session and slim theme
  24. #
  25. # NOTE: if your system does not have bash you need
  26. # to adjust the command according to your preferred shell,
  27. # i.e. for freebsd use:
  28. login_cmd exec /bin/sh -l ~/.xinitrc %session
  29. # login_cmd exec /bin/bash -login ~/.xinitrc %session
  30. # Commands executed when starting and exiting a session.
  31. # They can be used for registering a X11 session with
  32. # sessreg. You can use the %user variable
  33. #
  34. # transfer /dev/drm0 ownership to the logged in user
  35. sessionstart_cmd chown %user /dev/drm0
  36. sessionstop_cmd chown root /dev/drm0
  37. # Start in daemon mode. Valid values: yes | no
  38. # Note that this can be overriden by the command line
  39. # options "-d" and "-nodaemon"
  40. # daemon yes
  41. # Available sessions (first one is the default).
  42. # The current chosen session name is replaced in the login_cmd
  43. # above, so your login command can handle different sessions.
  44. # see the xinitrc.sample file shipped with slim sources
  45. sessions xfce4,icewm-session,wmaker,blackbox
  46. # Executed when pressing F11 (requires imagemagick)
  47. screenshot_cmd import -window root /tmp/slim.png
  48. # welcome message. Available variables: %host, %domain
  49. welcome_msg Welcome to %host
  50. # Session message. Prepended to the session name when pressing F1
  51. # session_msg Session:
  52. # shutdown / reboot messages
  53. shutdown_msg The system is halting...
  54. reboot_msg The system is rebooting...
  55. # default user, leave blank or remove this line
  56. # for avoid pre-loading the username.
  57. #default_user simone
  58. # Focus the password field on start when default_user is set
  59. # Set to "yes" to enable this feature
  60. #focus_password no
  61. # Automatically login the default user (without entering
  62. # the password. Set to "yes" to enable this feature
  63. #auto_login no
  64. # current theme, use comma separated list to specify a set to
  65. # randomly choose from
  66. current_theme openbsd-dark
  67. # Lock file
  68. lockfile /var/run/slim.pid
  69. # Log file
  70. logfile /var/log/slim.log