slim.conf 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. # This command is executed after a succesful login.
  13. # you can place the %session and %theme variables
  14. # to handle launching of specific commands in .xinitrc
  15. # depending of chosen session and slim theme
  16. #
  17. # NOTE: if your system does not have bash you need
  18. # to adjust the command according to your preferred shell,
  19. # i.e. for freebsd use:
  20. # login_cmd exec /bin/sh - ~/.xinitrc %session
  21. login_cmd exec /bin/bash -login ~/.xinitrc %session
  22. # Commands executed when starting and exiting a session.
  23. # They can be used for registering a X11 session with
  24. # sessreg. You can use the %user variable
  25. # sessionstart_cmd some command
  26. # sessionstop_cmd some command
  27. # Available sessions (first one is the default).
  28. # The current chosen session name is replaced in the login_cmd
  29. # above, so your login command can handle different sessions.
  30. # see the xinitrc.sample file shipped with slim sources
  31. sessions icewm,wmaker,blackbox
  32. # Executed when pressing F11 (requires imagemagick)
  33. screenshot_cmd import -window root /slim.png
  34. # welcome message. Available variables: %host, %domain
  35. welcome_msg Welcome to %host
  36. # shutdown / reboot messages
  37. shutdown_msg The system is halting...
  38. reboot_msg The system is rebooting...
  39. # default user, leave blank or remove this line
  40. # for avoid pre-loading the username.
  41. #default_user simone
  42. # current theme, use comma separated list to specify a set to
  43. # randomly choose from
  44. current_theme default
  45. # Lock file
  46. lockfile /var/run/slim.lock
  47. # Log file
  48. logfile /var/log/slim.log