slim.conf 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. # Path, X server and arguments (if needed)
  2. # Note: -xauth $authfile is automatically appended
  3. default_path ./:/bin:/usr/bin:/usr/local/bin
  4. default_xserver /usr/bin/X
  5. #xserver_arguments -dpi 75
  6. # Commands for halt, login, etc.
  7. halt_cmd /sbin/shutdown -h now
  8. reboot_cmd /sbin/shutdown -r now
  9. 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"
  10. #suspend_cmd /usr/sbin/suspend
  11. # Full path to the xauth binary
  12. xauth_path /usr/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 - ~/.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. # sessionstart_cmd some command
  35. # sessionstop_cmd some command
  36. # Start in daemon mode. Valid values: yes | no
  37. # Note that this can be overriden by the command line
  38. # options "-d" and "-nodaemon"
  39. # daemon yes
  40. # Available sessions (first one is the default).
  41. # The current chosen session name is replaced in the login_cmd
  42. # above, so your login command can handle different sessions.
  43. # see the xinitrc.sample file shipped with slim sources
  44. sessions xfce4,icewm,wmaker,blackbox
  45. # Executed when pressing F11 (requires imagemagick)
  46. screenshot_cmd import -window root /slim.png
  47. # welcome message. Available variables: %host, %domain
  48. welcome_msg Welcome to %host
  49. # Session message. Prepended to the session name when pressing F1
  50. # session_msg Session:
  51. # shutdown / reboot messages
  52. shutdown_msg The system is halting...
  53. reboot_msg The system is rebooting...
  54. # default user, leave blank or remove this line
  55. # for avoid pre-loading the username.
  56. #default_user simone
  57. # Focus the password field on start when default_user is set
  58. # Set to "yes" to enable this feature
  59. #focus_password no
  60. # Automatically login the default user (without entering
  61. # the password. Set to "yes" to enable this feature
  62. #auto_login no
  63. # current theme, use comma separated list to specify a set to
  64. # randomly choose from
  65. current_theme default
  66. # Lock file
  67. lockfile /var/run/slim.lock
  68. # Log file
  69. logfile /var/log/slim.log