lang fr|gb

the dvtm session

DVTM : the Tiling window management for the console
dvtm brings the concept of tiling window management, popularized by X11-window managers like dwm to the console. As a console window manager it tries to make it easy to work with multiple console based programs...
dvtm strives to adhere to the Unix philosophy. It tries to do one thing, dynamic window management on the console, and to do it well. For example dvtm does not implement session management. In contrast to tmux it does not follow a client/server model, hence dvtm has no support for sessions which are shared between multiple users on different machines. These are design decisions and they are seen as features, not bugs. As a result dvtm's source code is relatively small (~3600 lines of ANSI C), simple and therefore easy to hack on..

Layouts

dvtm is a tiling window manager, it displays your windows (clients) so that they occupy the entire surface of the desk (tags). occupied tags are indicated by a small square. clients are organized in different ways (layouts) to optimize the visibility of your applications. layouts are organized around the Master (main zone) and Stack (stacking area from other clients).

dvtm uses 4 layouts by default to organize your work.

  • Vertical Stack Tiling (default) : the left half of the screen (master area) is used by the currently focused window the remaining windows are stacked on the right half of the screen.
  • Bottom Stack Tiling : top half is the master area bottom half is for the remaining windows.
  • Grid : every window gets an equally sized portion of the screen.
  • Fullscreen : only the selected window is shown and occupies the whole available display area.

launch

dvtm is launched from ~/.zprofile or ~/.profile depends if you're using zsh or bash. but it could be launched from any tty console or terminal from X session.
to add apps for startup: vim .zprofile



configuration

dvtm only contains a few simple command line options, the most important ones are briefly described below. Consult the manual page for the complete documentation:

  • -v prints the version and exits.
  • -m mod sets the modifier during runtime and thus overrides settings in config.h. So -m ^w will set the modifier to CTRL+w. This might be useful if you want to run multiple nested dvtm instances.
  • [command] : execute a command after dvtm is started.
  • -s status-fifo if 'status-fifo' is a valid named pipe dvtm will read it's content and display it in the statusbar.

keybinds

dvtm is fully controllable from the keyboard: control, launchers, navigation, tags and clients manipulation...
keybinds are configured in config.h file from sources during compilation.

All of dvtm keybindings start with a common modifier which from now on is refered to as MOD. By default MOD is set to CTRL+g however this can be changed at runttime with the -m command line flag or at compile time by changing config.h.

  • MOD-c : Create a new shell window.
  • Mod-x : Close focused window.
  • Mod-l : Increases the master area width about 5% (all except grid and fullscreen layout).
  • Mod-h : Decreases the master area width about 5% (all except grid and fullscreen layout).
  • Mod-j : Focus next window.
  • Mod-k : Focus previous window.
  • Mod-[1..n] : Focus the nth window..
  • Mod-. : Toggle minimization of current window.
  • Mod-u : Focus next non minimized window.
  • Mod-i : Focus prev non minimized window.
  • Mod-m : Maximize current window (change to fullscreen layout).
  • Mod-PageUp : Scroll up.
  • Mod-PageDown : Scroll down.
  • Mod-Space : Toggle between defined layouts (affects all windows)..
  • Mod-Enter : Zooms/cycles current window to/from master area.
  • Mod-t : Change to vertical stack tiling layout.
  • Mod-b : Change to bottom stack tiling layout.
  • Mod-g : Change to grid layout.
  • Mod-s : Shows/hides the status bar.
  • Mod-r : Redraw whole screen.
  • Mod-G : Escape the next typed key.
  • Mod-a : Toggle keyboard multiplexing mode, if activated keypresses are sent to all non minimized windows.
  • Mod-X : Lock screen.
  • Mod-B : Toggle bell (off by default).
  • Mod-M : Toggle dvtm mouse grabbing.
  • Mod-q : quit dvtm.
dvtm will automatically terminate once the last window is closed. If you want to quit earlier use 'MOD+q'.

livarp_0.4 help center - arpinux@2013 - sources