Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #
- # This is the Tux Hat Linux 3.3 CDM config file
- #
- # 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 :)
- # )
- binlist=(
- 'startx /opt/Sessions/awesome'
- 'startx /opt/Sessions/mwm'
- 'startx /opt/Sessions/dwm'
- 'startx /usr/bin/steam -bigpicture'
- './setup-tuxhat'
- '/bin/zsh'
- '/usr/bin/mc'
- '/usr/bin/systemctl poweroff'
- '/usr/bin/systemctl reboot'
- )
- # 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')
- namelist=(Awesome OpenMotif DWM-6.0 Steam-Big-Picture Setup-Tuxhat Console Midnight-Commander Poweroff Reboot)
- # 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)
- flaglist=(C C C C C C 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=/opt/cdm/themes/tuxhat
- # 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=keep
- # Should cdm(1) stick to the specified display?
- locktty=no
- # Use ConsoleKit for X session?
- consolekit=no
- # Timeout for waiting for X session to register with ConsoleKit.
- cktimeout=5
- # 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
Advertisement
Add Comment
Please, Sign In to add comment