unixwz0r

.cdmrc (console display manager config file)

Jan 19th, 2015
429
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.63 KB | None | 0 0
  1. #!/bin/bash
  2. #
  3. # This is the Tux Hat Linux 3.3 CDM config file
  4. #
  5. # Example config file for cdm(1).
  6. # Values set here is the default as in cdm(1).
  7.  
  8. # List of programs, commands with whitespaces should be quoted or escaped.
  9. # If unset, all sessions in /etc/X11/Sessions or /usr/share/xsessions are
  10. # offered as choices.
  11. #
  12. # (An example:)
  13. # binlist=(
  14. # '~/.xsession' # Launch your X session,
  15. # '/bin/bash --login' # or just execute your shell,
  16. # '/usr/bin/fbterm' # or start a frame buffer console,
  17. # '/usr/bin/cdm ~/.submenu.cdmrc' # or go to a submenu :)
  18. # )
  19. binlist=(
  20. 'startx /opt/Sessions/awesome'
  21. 'startx /opt/Sessions/mwm'
  22. 'startx /opt/Sessions/dwm'
  23. 'startx /usr/bin/steam -bigpicture'
  24. './setup-tuxhat'
  25. '/bin/zsh'
  26. '/usr/bin/mc'
  27. '/usr/bin/systemctl poweroff'
  28. '/usr/bin/systemctl reboot'
  29. )
  30.  
  31. # List all program display names, one-by-one matched with $binlist.
  32. # Names with whitespaces should be quoted or escaped.
  33. #
  34. # (Continued example:)
  35. # namelist=('X session' Console FBTerm 'Sub menu')
  36. namelist=(Awesome OpenMotif DWM-6.0 Steam-Big-Picture Setup-Tuxhat Console Midnight-Commander Poweroff Reboot)
  37.  
  38. # Type of the programs, one-by-one matched with $binlist.
  39. # `C' for *C*onsole programs, which would be `exec'ed.
  40. # `X' for *X* programs, which would be run with cdm-xlaunch(1).
  41. #
  42. # (Continued example:)
  43. # flaglist=(X C C C)
  44. flaglist=(C C C C C C C C C)
  45.  
  46. # Style for the cdm dialog, which is printed with dialog(1).
  47. # Default to unset, causing dialog(1) to use the system wide default.
  48. # See /usr/share/doc/cdm/themes for some nice choices.
  49. dialogrc=/opt/cdm/themes/tuxhat
  50. # Index of the first item in the menu.
  51. countfrom=0
  52.  
  53. # Set default display.
  54. display=0
  55.  
  56. # Where should the first X tty be spawned?
  57. # special value `keep' causes to run X in current tty.
  58. xtty=keep
  59.  
  60. # Should cdm(1) stick to the specified display?
  61. locktty=no
  62.  
  63. # Use ConsoleKit for X session?
  64. consolekit=no
  65.  
  66. # Timeout for waiting for X session to register with ConsoleKit.
  67. cktimeout=5
  68.  
  69. # Additional arguments to pass to X server, which is usually called as:
  70. # /usr/bin/X :$display "${serverargs[@]}" vt$((xtty+display))
  71. # Arguments with whitespaces should be quoted or escaped.
  72. serverargs=(-nolisten tcp)
  73.  
  74. # Alternative method of calling startx(/setsid). Should only be set if cdm
  75. # does not start X as expected (bash -x shows call to setsid startx, but for
  76. # no apparent reason does not start X).
  77. # Only provided in the hope it may be useful, not a guaranteed fix.
  78. altstartx=no
  79.  
  80. # Destination for stdout and stderr output from startx.
  81. startxlog=/dev/null
Advertisement
Add Comment
Please, Sign In to add comment