#!/bin/bash # # Example config file for cdm(1). # Values set here is the default as in cdm(1). # List of programs, commands with whitespaces should be quoted or escaped. # If unset, all sessions in /etc/X11/Sessions or /usr/share/xsessions are # offered as choices. # # (An example:) # binlist=( # '~/.xsession' # Launch your X session, # '/bin/bash --login' # or just execute your shell, # '/usr/bin/fbterm' # or start a frame buffer console, # '/usr/bin/cdm ~/.submenu.cdmrc' # or go to a submenu :) # ) # List all program display names, one-by-one matched with $binlist. # Names with whitespaces should be quoted or escaped. # # (Continued example:) # namelist=('X session' Console FBTerm 'Sub menu') # Type of the programs, one-by-one matched with $binlist. # `C' for *C*onsole programs, which would be `exec'ed. # `X' for *X* programs, which would be run with cdm-xlaunch(1). # # (Continued example:) # flaglist=(X C C C) # Style for the cdm dialog, which is printed with dialog(1). # Default to unset, causing dialog(1) to use the system wide default. # See /usr/share/doc/cdm/themes for some nice choices. dialogrc= # Index of the first item in the menu. countfrom=0 # Set default display. display=0 # Where should the first X tty be spawned? # special value `keep' causes to run X in current tty. xtty=7 # Should cdm(1) stick to the specified display? locktty=no # Use ConsoleKit for X session? consolekit=yes # Timeout for waiting for X session to register with ConsoleKit. cktimeout=30 # Additional arguments to pass to X server, which is usually called as: # /usr/bin/X :$display "${serverargs[@]}" vt$((xtty+display)) # Arguments with whitespaces should be quoted or escaped. serverargs=(-nolisten tcp) # Alternative method of calling startx(/setsid). Should only be set if cdm # does not start X as expected (bash -x shows call to setsid startx, but for # no apparent reason does not start X). # Only provided in the hope it may be useful, not a guaranteed fix. altstartx=no # Destination for stdout and stderr output from startx. startxlog=/dev/null