Guest User

Untitled

a guest
Apr 7th, 2010
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.71 KB | None | 0 0
  1. ############################
  2. ### GLOBAL CONFIGURATION ###
  3. ############################
  4.  
  5. # Set CDM theme and dialog options
  6. theme=cdm
  7. countfrom=1
  8.  
  9. # List all WM binary names
  10. wmbinlist=(awesome)
  11.  
  12. # List all WM display names
  13. wmdisplist=(Awesome)
  14.  
  15. # Allow console login?
  16. allowconsole=yes
  17.  
  18. # Allow shutdown?
  19. allowshutdown=yes
  20. shutdowncommand='sudo shutdown -h now'
  21. rebootcommand='sudo shutdown -r now'
  22.  
  23. # Allow suspend?
  24. # Note that this option requires pm-utils
  25. # to be installed and properly configured.
  26. allowsuspend=no
  27. suspendcommand='sudo pm-suspend'
  28.  
  29. # Set configuration for specific users?
  30. userconfig=(snakebite)
  31.  
  32. ##########################
  33. ### USER CONFIGURATION ###
  34. ##########################
  35.  
  36. snakebite() {
  37.     # Set CDM theme
  38.     theme=cdm
  39.  
  40.     # List user allowed WM binary names
  41.     wmbinlist=(awesome)
  42.  
  43.     # List user allowed WM display names
  44.     wmdisplist=(Awesome)
  45.  
  46.     # Allow console login?
  47.     allowconsole=yes
  48.  
  49.     # Allow shutdown?
  50.     allowshutdown=yes
  51.  
  52.     # Set specific display for user
  53.     # (Not honored unless locktty=yes)
  54.     # display=1
  55. }
  56.  
  57. ############################
  58. ### SYSTEM CONFIGURATION ###
  59. ############################
  60.  
  61. # Set default display
  62. display=0
  63.  
  64. # Where should first X tty be spawned?
  65. xtty=7
  66.  
  67. # Restrict tty? (By default, cdm increments X tty, this setting
  68. # allows administrators to lock users into one specific tty by
  69. # setting the display=N option on a per-user basis.)
  70. locktty=no
  71.  
  72. # Enable login shell (fixes issues with some keymaps, uses bash).
  73. # Note that your bash scripts won't have any terminal as stdin when
  74. # started in this way. This may break some commands, including stty,
  75. # unless you explicitly check for [ -t 0 ] or that every login shell
  76. # is also interactive. However, we're sending stdout and stderr to
  77. # /dev/null, so you won't see the complaints.
  78. loginshell=no
  79.  
  80. # The use of consolekit has recently become manditory with hal. However,
  81. # some users might prefer not using either one. If you don't want to
  82. # use consolekit, set the following variable to "no".
  83. consolekit=yes
  84.  
  85. # Additional arguments to pass to X server
  86. # When usexinit=yes, we use ~/.xinitrc when it exists or /etc/X11/xinit/xinitrc
  87. # when it doesn't. These are passed the chosen window manager as $1; note that
  88. # the stock /etc/X11/xinit/xinitrc ignores this and always starts twm and three
  89. # xterms. Your custom xinitrc should start the window manager supplied as $1
  90. # instead. There is a sample xinitrc included at /usr/share/cdm/xinitrc.skel.
  91. # If usexinit=no, then we instead call the chosen window manager directly.
  92. usexinit=yes
  93.  
  94. # Additional arguments to pass to X server; it will be called as:
  95. #   exec /usr/bin/X :$display $serverargs vt$((xtty+display))
  96. serverargs="-nolisten tcp -dpi 96"
Advertisement
Add Comment
Please, Sign In to add comment