mcwm Michael Cardell Widerkrantz November 11, 2011 History of mcwm - - PowerPoint PPT Presentation

mcwm
SMART_READER_LITE
LIVE PREVIEW

mcwm Michael Cardell Widerkrantz November 11, 2011 History of mcwm - - PowerPoint PPT Presentation

mcwm Michael Cardell Widerkrantz November 11, 2011 History of mcwm Desktop Environments Floating or Tiling mcwm Features XCB What does a window manager do and how? Using mcwm Contact Information Outline History of mcwm Desktop


slide-1
SLIDE 1

mcwm

Michael Cardell Widerkrantz November 11, 2011

slide-2
SLIDE 2

History of mcwm Desktop Environments Floating or Tiling mcwm Features XCB What does a window manager do and how? Using mcwm Contact Information

slide-3
SLIDE 3

Outline

History of mcwm Desktop Environments Floating or Tiling mcwm Features XCB What does a window manager do and how? Using mcwm Contact Information

slide-4
SLIDE 4

Why another window manager!?

slide-5
SLIDE 5

Window Managers I Have Known And Loved

TWM, CTWM, fvwm, 9wm, wm2, ratpoison and evilwm. Special mention: MGR Window System.

slide-6
SLIDE 6

tinywm

/∗ TinyWM i s w r i t t e n by Nick Welch <mack@incise . org > ∗ ∗ This software i s in the public domain ∗ and i s provided AS IS , with NO WARRANTY. ∗/ # include <X11 / Xlib . h> #define MAX(a , b ) ( ( a ) > ( b ) ? ( a ) : ( b ) ) i n t main ( ) { Display ∗ dpy ; Window root ; XWindowAttributes a t t r ; XButtonEvent s t a r t ; XEvent ev ; i f ( ! ( dpy = XOpenDisplay (0 x0 ) ) ) return 1;

slide-7
SLIDE 7

Outline

History of mcwm Desktop Environments Floating or Tiling mcwm Features XCB What does a window manager do and how? Using mcwm Contact Information

slide-8
SLIDE 8

Outline

History of mcwm Desktop Environments Floating or Tiling mcwm Features XCB What does a window manager do and how? Using mcwm Contact Information

slide-9
SLIDE 9

xmonad, a tiling wm, here on three screens

slide-10
SLIDE 10

TWM, a floating wm

slide-11
SLIDE 11

Outline

History of mcwm Desktop Environments Floating or Tiling mcwm Features XCB What does a window manager do and how? Using mcwm Contact Information

slide-12
SLIDE 12

Size Matters?

slide-13
SLIDE 13

Size Matters?

mc 1663 6.7 1.6 67080 8744 pts/0 SNl 20:28 0:00 mc 1668 0.2 0.1 1864 708 pts/0 SN 20:29 0:00

slide-14
SLIDE 14

Outline

History of mcwm Desktop Environments Floating or Tiling mcwm Features XCB What does a window manager do and how? Using mcwm Contact Information

slide-15
SLIDE 15

Outline

History of mcwm Desktop Environments Floating or Tiling mcwm Features XCB What does a window manager do and how? Using mcwm Contact Information

slide-16
SLIDE 16

What does a window manager do?

◮ Subscribes to all window events and forwards them to the

X server, possibly after changes.

◮ Reparents client windows. * ◮ Draws window decorations (title, buttons, borders et

cetera) *

◮ Manage client hints (window title, workspace, fixed). ◮ Handles focus (following mouse, click, sloppy). ◮ Interacts with user through commands (mouse or special

key presses). * Not mcwm.

slide-17
SLIDE 17

Outline

History of mcwm Desktop Environments Floating or Tiling mcwm Features XCB What does a window manager do and how? Using mcwm Contact Information

slide-18
SLIDE 18

mcwm with dzen

slide-19
SLIDE 19

Focus and window placement

mcwm has sloppy focus. New windows mapped on mouse pointer, fitted on the screen.

slide-20
SLIDE 20

Mouse buttons

Pressed together with Mod1 (usually Alt or Meta).

◮ Button 1 = move. ◮ Button 2 = raise/lower ◮ Button 3 = resize.

slide-21
SLIDE 21

Some key bindings

Pressed together with Mod4 (usually Super, the Windows key).

◮ h, j, k, l = moves window in vi fashion. Resizes with Shift

pressed.

◮ x = maximize (toggles) ◮ , = move window to previous physical screen. ◮ Return = start terminal program of your choice. ◮ Tab = focus next window on this workspace. After

releasing Mod4, a new Mod4 + Tab will bring you back to the window last focused.

◮ ... Too many to mention. See the manual.

slide-22
SLIDE 22

Outline

History of mcwm Desktop Environments Floating or Tiling mcwm Features XCB What does a window manager do and how? Using mcwm Contact Information

slide-23
SLIDE 23

Contact

Michael Cardell Widerkrantz, mc@hack.org http://hack.org/mc/ mcwm: http://hack.org/mc/hacks/mcwm/