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:54]
sjorge [Screenshot]
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 +# 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 +display=0
-shutdowncommand='​sudo shutdown -h now' +
-rebootcommand='​sudo shutdown -r now'+
  
-Allow suspend+Where should the first X tty be spawned
-Note that this option requires pm-utils +special value 'keep' ​causes to run X in current tty 
-# to be installed and properly configured. +xtty=7
-allowsuspend=no +
-suspendcommand='sudo pm-suspend+
-allowhibernate=no +
-hibernatecommand='​sudo pm-hibernate'​+
  
-Set configuration for specific users+Should cdm(1) stick to the specified display
-userconfig=(sjorge)+locktty=no
  
-##########################​ +Additional arguments to pass to X server, which is usually called as: 
-### USER CONFIGURATION ### +  /usr/bin/X :$display $serverargs vt$((xtty+display)) 
-##########################​+serverargs='​-nolisten tcp'
  
-sjorge() { +Use ConsoleKit for X session
- Allow shutdown+consolekit=yes
- allowshutdown=yes +
-}+
  
-############################​ +Timeout for waiting for X session to register with ConsoleKit. 
-### SYSTEM CONFIGURATION ### +cktimeout=30
-############################​+
  
-# Set default display +</​code>​
-display=0+
  
-# Where should first X tty be spawned? +==== /​usr/​share/​cdm/​themes/​miromiro_green ==== 
-xtty=7+<​code>​ 
 +# Theme: miromiro_green
  
-Restrict tty? (By default, cdm increments X tty, this setting +Set aspect-ration
-# allows administrators to lock users into one specific tty by +aspect ​0
-# setting the display=N option on a per-user basis.) +
-locktty=no+
  
-Enable login shell (fixes issues with some keymaps, uses bash). +Shadow dialog boxes? ​This also turns on color
-# Note that your bash scripts won't have any terminal as stdin when +use_shadow ​OFF
-# started in this way. This may break some commands, including stty, +
-# 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+Turn color support ON or OFF 
-some users might prefer not using either one. If you don't want to +use_colors = ON 
-use consolekitset the following variable to "​no"​. + 
-consolekit=yes+# Screen color 
 +screen_color = (WHITE,BLACK,​OFF) 
 + 
 +Shadow color 
 +shadow_color = (WHITE,​BLACK,​OFF) 
 + 
 +Dialog box color 
 +dialog_color = (WHITE,BLACK,OFF) 
 + 
 +# Dialog box title color 
 +title_color ​(WHITE,​BLACK,​OFF) 
 + 
 +# Dialog box border color 
 +border_color = (WHITE,​BLACK,​OFF) 
 +border2_color = dialog_color 
 +menubox_border2_color = dialog_color 
 + 
 +# Active button color 
 +button_active_color = (WHITE,​BLACK,​OFF) 
 + 
 +# Inactive button color 
 +button_inactive_color = (WHITE,​BLACK,​OFF) 
 + 
 +# Active button key color 
 +button_key_active_color = (GREEN,​BLACK,​OFF) 
 + 
 +# Inactive button key color 
 +button_key_inactive_color = (WHITE,​BLACK,​OFF) 
 + 
 +# Active button label color 
 +button_label_active_color = (GREEN,​BLACK,​OFF) 
 + 
 +# Inactive button label color 
 +button_label_inactive_color = (WHITE,​BLACK,​OFF) 
 + 
 +# File position indicator color 
 +position_indicator_color = (WHITE,​BLACK,​OFF) 
 + 
 +# Menu box color 
 +menubox_color = (WHITE,​BLACK,​OFF) 
 + 
 +# Menu box border color 
 +menubox_border_color = (WHITE,​BLACK,​OFF) 
 + 
 +# Item color 
 +item_color = (WHITE,​BLACK,​OFF) 
 + 
 +# Selected item color 
 +item_selected_color = (GREEN,​BLACK,​OFF) 
 + 
 +# Tag key color 
 +tag_key_color = (WHITE,​BLACK,​OFF)
  
-Timeout for waiting for X session to register with consoleKit +Selected tag key color 
-consolekittime=30+tag_key_selected_color ​(GREEN,​BLACK,​OFF)
  
-Additional arguments to pass to X server +Up arrow color 
-# When usexinit=yeswe use ~/.xinitrc when it exists or /​etc/​X11/​xinit/​xinitrc +uarrow_color ​(WHITE,BLACK,OFF)
-# 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=nothen we instead call the chosen window manager directly. +
-usexinit=no+
  
-Additional arguments to pass to X server; it will be called as: +Down arrow color 
-# exec /usr/bin/X :$display $serverargs vt$((xtty+display)+darrow_color = (WHITE,​BLACK,​OFF)
-serverargs="​-nolisten tcp -dpi 96"+
 </​code>​ </​code>​
configuration/cdm.1346601265.txt.gz · Last modified: 2014/10/09 22:02 (external edit)