Dwm (Deutsch)
From ParabolaWiki
dwm von suckless ist ein dynamischer window manager für X.
Er suckt überhaupt nicht.
1 Tastenbelegung
Alt-P start dmenu (oberste Zeile) Alt-P i c e w e a s e l <-- und --> Pfeiltasten zum Anwählen , ENTER SHIFT-Alt-Q für quit SHIFT-Alt-C close win Alt-M Monokel Modus [1] Alt-F Float Modus ><> (Fisch) Alt-T Tile Modus []= (Kachel Modus)
2 Makefile angepaßt auf Parabola:
# dwm version VERSION = 6.1 # Customize below to fit your system # paths PREFIX = /usr/local MANPREFIX = ${PREFIX}/share/man #X11INC = /usr/X11R6/include #X11LIB = /usr/X11R6/lib X11INC = /usr/include/ X11LIB = /usr/include/X11/ ### /usr/include/freetype2/ft2build.h mit octopi installieren, falls nicht vorhanden: freetype2 fonts # Xinerama, comment if you don't want it XINERAMALIBS = -lXinerama XINERAMAFLAGS = -DXINERAMA # freetype FREETYPELIBS = -lfontconfig -lXft FREETYPEINC = /usr/include/freetype2 # OpenBSD (uncomment) FREETYPEINC = ${X11INC}/freetype2 # includes and libs INCS = -I${X11INC} -I${FREETYPEINC} LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} # flags CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} #CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -lX11 -lm -Os ${INCS} ${CPPFLAGS} LDFLAGS = -s ${LIBS} # Solaris #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" #LDFLAGS = ${LIBS} # compiler and linker CC = cc
ich faß' das mal zusammen:
# dwm version VERSION = 6.1 PREFIX = /usr/local MANPREFIX = ${PREFIX}/share/man X11INC = /usr/include/ X11LIB = /usr/include/X11/ # Xinerama, comment if you don't want it XINERAMALIBS = -lXinerama XINERAMAFLAGS = -DXINERAMA # freetype FREETYPELIBS = -lfontconfig -lXft FREETYPEINC = /usr/include/freetype2 # includes and libs INCS = -I${X11INC} -I${FREETYPEINC} LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} # flags CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -lX11 -lm -Os ${INCS} ${CPPFLAGS} LDFLAGS = -s ${LIBS} # compiler and linker CC = cc
3 Multimonitor
xrandr ist dein util. xrandr --output LVDS1 --off (o.ä. z.B. VGA1) schaltet den internen Schirm ab, dadurch volle Nutzung der externen Schirmfläche.
4 weiterführend
- https://en.wikibooks.org/wiki/X_Window_Programming/Xlib
- X Window Manager namens Herbstluft-wm, Paket herbstluftwm