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"

/usr/share/cdm/themes/miromiro_green

# Theme: miromiro_green

# Set aspect-ration.
aspect = 0

# Shadow dialog boxes? This also turns on color.
use_shadow = OFF

# Turn color support ON or OFF
use_colors = ON

# 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)

# Selected tag key color
tag_key_selected_color = (GREEN,BLACK,OFF)

# Up arrow color
uarrow_color = (WHITE,BLACK,OFF)

# Down arrow color
darrow_color = (WHITE,BLACK,OFF)
configuration/cdm.1346601377.txt.gz · Last modified: 2014/10/09 22:02 (external edit)