Advertisement
nix02

Untitled

Jul 30th, 2021
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.95 KB | None | 0 0
  1. # slim.conf file
  2.  
  3. # Path, X server and arguments (if needed)
  4. # Note: -xauth $authfile is automatically appended
  5. #
  6. default_path /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
  7. default_xserver /usr/bin/X11/X
  8. xserver_arguments -nolisten tcp
  9.  
  10. # Commands for halt, login, etc.
  11. halt_cmd /sbin/shutdown -h now
  12. reboot_cmd /sbin/shutdown -r now
  13. 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"
  14. #suspend_cmd /usr/sbin/suspend
  15.  
  16. # Full path to the xauth binary
  17. xauth_path /usr/bin/X11/xauth
  18.  
  19. # Xauth file for server
  20. authfile /var/run/slim.auth
  21.  
  22.  
  23. # Activate numlock when slim starts. Valid values: on|off
  24. # numlock on
  25.  
  26. # Hide the mouse cursor (note: does not work with some WMs).
  27. # Valid values: true|false
  28. # hidecursor false
  29.  
  30. # This command is executed after a succesful login.
  31. # you can place the %session and %theme variables
  32. # to handle launching of specific commands in .xinitrc
  33. # depending of chosen session and slim theme
  34. #
  35. # NOTE: if your system does not have bash you need
  36. # to adjust the command according to your preferred shell,
  37. # i.e. for freebsd use:
  38. # login_cmd exec /bin/sh - ~/.xinitrc %session
  39. login_cmd exec /bin/bash -login /etc/X11/Xsession %session
  40.  
  41. # Commands executed when starting and exiting a session.
  42. # They can be used for registering a X11 session with
  43. # sessreg. You can use the %user variable
  44. #
  45. # sessionstart_cmd some command
  46. # sessionstop_cmd some command
  47. sessionstart_cmd exec /usr/bin/sessreg -a -l "$DISPLAY" %user
  48. sessionstop_cmd exec /usr/bin/sessreg -d -l "$DISPLAY" %user
  49.  
  50. # Start in daemon mode. Valid values: yes | no
  51. # Note that this can be overriden by the command line
  52. # options "-d" and "-nodaemon"
  53. # daemon yes
  54.  
  55. # Set directory that contains the xsessions.
  56. # slim reads xsesion from this directory, and be able to select.
  57. sessiondir /usr/share/xsessions/
  58.  
  59. # Executed when pressing F11 (requires scrot)
  60. screenshot_cmd scrot /root/slim.png
  61.  
  62. # welcome message. Available variables: %host, %domain
  63. welcome_msg Welcome to %host
  64.  
  65. # Session message. Prepended to the session name when pressing F1
  66. # session_msg Session:
  67.  
  68. # shutdown / reboot messages
  69. shutdown_msg The system is halting...
  70. reboot_msg The system is rebooting...
  71.  
  72. # default user, leave blank or remove this line
  73. # for avoid pre-loading the username.
  74. #default_user miyo
  75.  
  76. #default_user miyo
  77. # Set to "yes" to enable this feature
  78. #focus_password no
  79.  
  80. # Automatically login the default user (without entering
  81. # the password. Set to "yes" to enable this feature
  82. #auto_login no
  83.  
  84.  
  85. # current theme, use comma separated list to specify a set to
  86. # randomly choose from
  87. current_theme 0nyX
  88.  
  89. # Lock file
  90. lockfile /var/run/slim.lock
  91.  
  92. # Log file
  93. logfile /var/log/slim.log
  94.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement