You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

60 lines
2.3 KiB

  1. Description: Debian changes for slim.conf
  2. Index: slim/slim.conf
  3. ===================================================================
  4. --- slim.orig/slim.conf
  5. +++ slim/slim.conf
  6. @@ -1,17 +1,18 @@
  7. # Path, X server and arguments (if needed)
  8. # Note: -xauth $authfile is automatically appended
  9. -default_path /bin:/usr/bin:/usr/local/bin
  10. -default_xserver /usr/bin/X
  11. -#xserver_arguments -dpi 75
  12. +#
  13. +default_path /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
  14. +default_xserver /usr/bin/X11/X
  15. +xserver_arguments -nolisten tcp
  16. # Commands for halt, login, etc.
  17. halt_cmd /sbin/shutdown -h now
  18. reboot_cmd /sbin/shutdown -r now
  19. -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"
  20. +console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue.net; exec /bin/login"
  21. #suspend_cmd /usr/sbin/suspend
  22. # Full path to the xauth binary
  23. -xauth_path /usr/bin/xauth
  24. +xauth_path /usr/bin/X11/xauth
  25. # Xauth file for server
  26. authfile /var/run/slim.auth
  27. @@ -33,7 +34,7 @@ authfile /var/run/slim.auth
  28. # to adjust the command according to your preferred shell,
  29. # i.e. for freebsd use:
  30. # login_cmd exec /bin/sh - ~/.xinitrc %session
  31. -login_cmd exec /bin/bash -login ~/.xinitrc %session
  32. +login_cmd exec /etc/X11/Xsession %session
  33. # Commands executed when starting and exiting a session.
  34. # They can be used for registering a X11 session with
  35. @@ -51,8 +52,8 @@ login_cmd exec /bin/bash -logi
  36. # slim reads xsesion from this directory, and be able to select.
  37. sessiondir /usr/share/xsessions/
  38. -# Executed when pressing F11 (requires imagemagick)
  39. -screenshot_cmd import -window root /slim.png
  40. +# Executed when pressing F11 (requires scrot)
  41. +screenshot_cmd scrot /root/slim.png
  42. # welcome message. Available variables: %host, %domain
  43. welcome_msg Welcome to %host
  44. @@ -79,7 +80,7 @@ reboot_msg The system is rebooti
  45. # current theme, use comma separated list to specify a set to
  46. # randomly choose from
  47. -current_theme default
  48. +current_theme desktop-slim-theme
  49. # Lock file
  50. lockfile /var/run/slim.lock