L2 Cache

Behold the power of |!

User Tools

Site Tools


configuration:cdm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
configuration:cdm [2012/09/02 17:56]
sjorge [/usr/share/cdm/themes/miromiro_green]
configuration:cdm [2014/10/09 22:02] (current)
Line 12: Line 12:
 ==== /etc/cdmrc ==== ==== /etc/cdmrc ====
 <​code>​ <​code>​
-###########################​+#!/​bin/​bash 
-### GLOBAL CONFIGURATION ### +
-############################​+Example config file for cdm(1). 
 +Values set here is the default as in cdm(1).
  
-Set CDM theme and dialog options +List of programs, commands with whitespaces should be quoted or escaped. 
-theme=miromiro_green +# If unset, all sessions in /​etc/​X11/​Sessions are offered as choices. 
-countfrom=0+
 +# (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=
 +  "/​usr/​local/​bin/​xmonad-cdm-wrapper"​ 
 +  "/​bin/​zsh --login"​ 
 +
 +# 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=( 
 + "​Xmonad"​ 
 + "​Console"​ 
 +)
  
-List all WM binary names +Type of the programs, one-by-one matched with $binlist. 
-wmbinlist=(xmonad-cdm-wrapper)+# `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=( 
 +
 +
 +)
  
-List all WM display names +Style for the cdm dialog, which is printed with dialog(1). 
-wmdisplist=(Xmonad)+# Default to unset, causing dialog(1to use the system wide default. 
 +# See /​usr/​share/​doc/​cdm/​themes for some nice choices. 
 +dialogrc=/​usr/​share/​cdm/​themes/​miromiro_green
  
-Allow console login? +Index of the first item in the menu. 
-allowconsole=yes+countfrom=1
  
-# Allow shutdown? +# Set default display.
-allowshutdown=no +
-shutdowncommand='​sudo shutdown -h now' +
-rebootcommand='​sudo shutdown -r now' +
- +
-# Allow suspend? +
-# Note that this option requires pm-utils +
-# to be installed and properly configured. +
-allowsuspend=no +
-suspendcommand='​sudo pm-suspend'​ +
-allowhibernate=no +
-hibernatecommand='​sudo pm-hibernate'​ +
- +
-# Set configuration for specific users? +
-userconfig=(sjorge) +
- +
-##########################​ +
-### USER CONFIGURATION ### +
-##########################​ +
- +
-sjorge() { +
- # Allow shutdown? +
- allowshutdown=yes +
-+
- +
-############################​ +
-### SYSTEM CONFIGURATION ### +
-############################​ +
- +
-# Set default display+
 display=0 display=0
  
-# Where should first X tty be spawned?+# Where should ​the first X tty be spawned? 
 +# special value '​keep'​ causes to run X in current tty
 xtty=7 xtty=7
  
-Restrict tty? (By default, ​cdm increments X tty, this setting +Should ​cdm(1) stick to the specified ​display?
-# allows administrators ​to lock users into one specific tty by +
-# setting ​the display=N option on a per-user basis.)+
 locktty=no locktty=no
  
-Enable login shell (fixes issues with some keymapsuses bash). +Additional arguments to pass to X serverwhich is usually called ​as: 
-# Note that your bash scripts won't have any terminal ​as stdin when +  ​/usr/bin/X :$display $serverargs vt$((xtty+display)) 
-# started in this way. This may break some commands, including stty, +serverargs='​-nolisten tcp'
-# unless you explicitly check for [ -t 0 ] or that every login shell +
-# is also interactive. However, we're sending stdout and stderr to +
-# /dev/null, so you won't see the complaints. +
-loginshell=no+
  
-The use of consolekit has recently become manditory with hal. However, +Use ConsoleKit for X session?
-# some users might prefer not using either one. If you don't want to +
-# use consolekit, set the following variable to "​no"​.+
 consolekit=yes consolekit=yes
  
-# Timeout for waiting for X session to register with consoleKit +# Timeout for waiting for X session to register with ConsoleKit. 
-consolekittime=30 +cktimeout=30
- +
-# Additional arguments to pass to X server +
-# When usexinit=yes,​ we use ~/.xinitrc when it exists or /​etc/​X11/​xinit/​xinitrc +
-# when it doesn'​t. These are passed the chosen window manager as $1; note that +
-# the stock /​etc/​X11/​xinit/​xinitrc ignores this and always starts twm and three +
-# xterms. Your custom xinitrc should start the window manager supplied as $1 +
-# instead. There is a sample xinitrc included at /​usr/​share/​cdm/​xinitrc.skel. +
-# If usexinit=no,​ then we instead call the chosen window manager directly. +
-usexinit=no+
  
-# Additional arguments to pass to X server; it will be called as: 
-# exec /usr/bin/X :$display $serverargs vt$((xtty+display)) 
-serverargs="​-nolisten tcp -dpi 96" 
 </​code>​ </​code>​
  
configuration/cdm.1346601377.txt.gz · Last modified: 2014/10/09 22:02 (external edit)