slim.conf 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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. # Set directory that contains the xsessions.
  41. # slim reads xsesion from this directory, and be able to select.
  42. sessiondir /usr/share/xsessions/
  43. # Executed when pressing F11 (requires imagemagick)
  44. screenshot_cmd import -window root /slim.png
  45. # welcome message. Available variables: %host, %domain
  46. welcome_msg Welcome to %host
  47. # Session message. Prepended to the session name when pressing F1
  48. # session_msg Session:
  49. # shutdown / reboot messages
  50. shutdown_msg The system is halting...
  51. reboot_msg The system is rebooting...
  52. # default user, leave blank or remove this line
  53. # for avoid pre-loading the username.
  54. #default_user simone
  55. # Focus the password field on start when default_user is set
  56. # Set to "yes" to enable this feature
  57. #focus_password no
  58. # Automatically login the default user (without entering
  59. # the password. Set to "yes" to enable this feature
  60. #auto_login no
  61. # current theme, use comma separated list to specify a set to
  62. # randomly choose from
  63. current_theme default
  64. # Lock file
  65. lockfile /var/run/slim.lock
  66. # Log file
  67. logfile /var/log/slim.log