L2 Cache

Behold the power of |!

User Tools

Site Tools


Sidebar

configuration:cdm

This is an old revision of the document!


CDM

Introduction

I usually use SLiM as my Display Manager, however I was going the minimal route with my netbook's latest reinstalled.

I ended up using CDM, I am very happy with it. Bellow is am modded theme I use in combination with my XMonad configuration.

Screenshot

Configuration Files

/etc/cdmrc

############################
### GLOBAL CONFIGURATION ###
############################

# Set CDM theme and dialog options
theme=miromiro_green
countfrom=0

# List all WM binary names
wmbinlist=(xmonad-cdm-wrapper)

# List all WM display names
wmdisplist=(Xmonad)

# Allow console login?
allowconsole=yes

# Allow shutdown?
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

# Where should first X tty be spawned?
xtty=7

# Restrict tty? (By default, cdm increments X tty, this setting
# allows administrators to lock users into one specific tty by
# setting the display=N option on a per-user basis.)
locktty=no

# Enable login shell (fixes issues with some keymaps, uses bash).
# Note that your bash scripts won't have any terminal as stdin when
# 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,
# some users might prefer not using either one. If you don't want to
# use consolekit, set the following variable to "no".
consolekit=yes

# Timeout for waiting for X session to register with consoleKit
consolekittime=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"
configuration/cdm.1346601315.txt.gz · Last modified: 2014/10/09 22:02 (external edit)