Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

Mine
Saturday, March 31st, 2012 at 5:05:19pm UTC 

  1. .xinitrc:
  2. DEFAULT_SESSION=CustomDE
  3.  
  4. case $1 in
  5.  
  6. CustomDE)
  7.         exec CustomDE
  8.         ;;
  9. Gnome)
  10.         exec gnome-session
  11.         ;;
  12. *)
  13.         exec $DEFAULT_SESSION
  14.         ;;
  15. esac
  16.  
  17.  
  18. slim.conf:
  19. # Path, X server and arguments (if needed)
  20. # Note: -xauth $authfile is automatically appended
  21. default_path        /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
  22. default_xserver     /usr/bin/X11/X
  23. xserver_arguments   -nolisten tcp
  24.  
  25. # Commands for halt, login, etc.
  26. halt_cmd            /sbin/shutdown -h now
  27. reboot_cmd          /sbin/shutdown -r now
  28. 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"
  29. #suspend_cmd        /usr/sbin/suspend
  30.  
  31. # Full path to the xauth binary
  32. xauth_path         /usr/bin/X11/xauth
  33.  
  34. # Xauth file for server
  35. authfile           /var/run/slim.auth
  36.  
  37.  
  38. # Activate numlock when slim starts. Valid values: on|off
  39. # numlock             on
  40.  
  41. # Hide the mouse cursor (note: does not work with some WMs).
  42. # Valid values: true|false
  43. # hidecursor          false
  44.  
  45. # This command is executed after a succesful login.
  46. # you can place the %session and %theme variables
  47. # to handle launching of specific commands in .xinitrc
  48. # depending of chosen session and slim theme
  49. #
  50. # NOTE: if your system does not have bash you need
  51. # to adjust the command according to your preferred shell,
  52. # i.e. for freebsd use:
  53. # login_cmd           exec /bin/sh - ~/.xinitrc %session
  54. login_cmd           exec /bin/bash -login /etc/X11/Xsession %session
  55.  
  56. # Commands executed when starting and exiting a session.
  57. # They can be used for registering a X11 session with
  58. # sessreg. You can use the %user variable
  59. #
  60. # sessionstart_cmd      some command
  61. # sessionstop_cmd       some command
  62.  
  63. # Start in daemon mode. Valid values: yes | no
  64. # Note that this can be overriden by the command line
  65. # options "-d" and "-nodaemon"
  66. # daemon        yes
  67.  
  68. # Available sessions (first one is the default).
  69. # The current chosen session name is replaced in the login_cmd
  70. # above, so your login command can handle different sessions.
  71. # see the xinitrc.sample file shipped with slim sources
  72. sessions            CustomDE,Gnome
  73.  
  74. # Executed when pressing F11 (requires imagemagick)
  75. screenshot_cmd      scrot /root/slim.png
  76.  
  77. # welcome message. Available variables: %host, %domain
  78. welcome_msg         Welcome to %host
  79.  
  80. # Session message. Prepended to the session name when pressing F1
  81. # session_msg         Session:
  82.  
  83. # shutdown / reboot messages
  84. shutdown_msg       The system is halting...
  85. reboot_msg         The system is rebooting...
  86.  
  87. # default user, leave blank or remove this line
  88. # for avoid pre-loading the username.
  89. #default_user        simone
  90.  
  91. # Focus the password field on start when default_user is set
  92. # Set to "yes" to enable this feature
  93. #focus_password      no
  94.  
  95. # Automatically login the default user (without entering
  96. # the password. Set to "yes" to enable this feature
  97. #auto_login          no
  98.  
  99.  
  100. # current theme, use comma separated list to specify a set to
  101. # randomly choose from
  102. current_theme       debian-spacefun
  103.  
  104. # Lock file
  105. lockfile            /var/run/slim.lock
  106.  
  107. # Log file
  108. logfile             /var/log/slim.log

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right
worth-right