slim.conf 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. # Path, X server and arguments (if needed)
  2. default_path ./:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
  3. default_xserver /usr/X11R6/bin/X
  4. #xserver_arguments -dpi 75
  5. # Commands for halt, login, etc.
  6. halt_cmd /sbin/shutdown -h now
  7. reboot_cmd /sbin/shutdown -r now
  8. console_cmd /usr/X11R6/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
  9. #suspend_cmd /usr/sbin/suspend
  10. # Activate numlock when slim starts. Valid values: on|off
  11. # numlock on
  12. # Hide the mouse cursor (note: does not work with some WMs).
  13. # Valid values: true|false
  14. # hidecursor false
  15. # This command is executed after a succesful login.
  16. # you can place the %session and %theme variables
  17. # to handle launching of specific commands in .xinitrc
  18. # depending of chosen session and slim theme
  19. #
  20. # NOTE: if your system does not have bash you need
  21. # to adjust the command according to your preferred shell,
  22. # i.e. for freebsd use:
  23. # login_cmd exec /bin/sh - ~/.xinitrc %session
  24. login_cmd exec /bin/bash -login ~/.xinitrc %session
  25. # Commands executed when starting and exiting a session.
  26. # They can be used for registering a X11 session with
  27. # sessreg. You can use the %user variable
  28. #
  29. # sessionstart_cmd some command
  30. # sessionstop_cmd some command
  31. # Start in daemon mode. Valid values: yes | no
  32. # Note that this can overridden by the command line
  33. # option "-d"
  34. # daemon yes
  35. # Available sessions (first one is the default).
  36. # The current chosen session name is replaced in the login_cmd
  37. # above, so your login command can handle different sessions.
  38. # see the xinitrc.sample file shipped with slim sources
  39. sessions xfce4,icewm,wmaker,blackbox
  40. # Executed when pressing F11 (requires imagemagick)
  41. screenshot_cmd import -window root /slim.png
  42. # welcome message. Available variables: %host, %domain
  43. welcome_msg Welcome to %host
  44. # shutdown / reboot messages
  45. shutdown_msg The system is halting...
  46. reboot_msg The system is rebooting...
  47. # default user, leave blank or remove this line
  48. # for avoid pre-loading the username.
  49. #default_user simone
  50. # current theme, use comma separated list to specify a set to
  51. # randomly choose from
  52. current_theme default
  53. # Lock file
  54. lockfile /var/run/slim.lock
  55. # Log file
  56. logfile /var/log/slim.log