diff options
author | MC <mc@hack.org> | 2010-06-22 09:43:53 +0200 |
---|---|---|
committer | MC <mc@hack.org> | 2010-06-22 09:43:53 +0200 |
commit | 536717605f0b280ff3c7dfdbb9e947879ac3d480 (patch) | |
tree | ad853a996b511aae66318c2de93630c1624abea9 /README | |
parent | b8fb5591aa9398cc403130d3892e8bf9ee3f22b9 (diff) | |
download | mcwm-536717605f0b280ff3c7dfdbb9e947879ac3d480.zip |
Added note about how to start.
Diffstat (limited to 'README')
-rw-r--r-- | README | 41 |
1 files changed, 39 insertions, 2 deletions
@@ -8,9 +8,46 @@ It's a traditional 'floating' window manager. It doesn't really do anything new to the user experience. It is pretty stupid, but can probably be useful for some people. -== Usage == +== Start == -With the the default configuration, use it like this: +Start like this: + + mcwm [-b] [-t /full/path/toterminal] + +-b means draw no borders around windows. + +-t /usr/local/bin/urxvt will start the urxvt terminal emulator when +Mod1 + Return is pressed. + +Typically mcwm will start automatically when you start the X Window +System. If you start from the console, you need an .xinitrc file. +Here's a complete example: + +----------------- 8< ----------------- +#! /bin/sh + +# Set nice background. +xsetroot -mod 16 16 -fg rgb:54/6/6 -bg grey20 + +# Set nice pointer cursor. +xsetroot -cursor_name plus -fg white -bg black + +# Load resources. +xrdb -load ~/.Xresources + +# Start window manager in the background. If it dies, X still lives. +mcwm & + +# Start a terminal in the foreground. If this dies, X dies. +urxvt +----------------- 8< ----------------- + +If you are using a graphical login program such as XDM you can use the +same file as .xsession instead. + +== Use == + +With the the default configuration, use mcwm like this: Mod1 + mouse buttons: |