WM able to "split" screen into two virtual screens (it can emulate dual screen setup on one physical screen).
C Python C++ Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
img
src
test
AUTHORS
LICENSE
README.md
TODO
start_log.sh

README.md

splitwm

Window manager able to "split" screen into two virtual screens (it can emulate dual screen setup on one physical screen).

Video

Click here.

Screenshots

demo

Dependences

In order to run splitwm, you will need:

  • xlib

I also recommend to install the following software:

  • rxvt-unicode
  • dmenu

rxvt-unicode (urxvt) is the default terminal emulator for the splitwm (this can be changed in the config.h). Note, if you do not want to use urxvt just change the following line in the config.h:

static const char *spawn_terminal[] = { "urxvt", NULL };

and replace "urxvt" with your favourite terminal emulator.

dmenu is for launching software within the splitwm.

Installation

Execute the following commands within the splitwm folder to compile and install the project:

cd src
make
sudo make install

Run

Create the following file within your home directory ($HOME):

#!/bin/sh
exec splitwm

and save it as .xinitrc.

Disable any other window manager or desktop environment (e.g. GNOME, KDE, XFCE, etc.) and boot right into the console.

When in console, type:

startx

this will start the X server following by the splitwm itself.

First steps

First off, try to tun the terminal emulator by pressing the following keyboard shortcut:

Alt + Return

This should spawn the terminal emulator on the screen. If you do want to resize any window, hold Alt and use the right mouse button. For moving the window around the screen, hold Alt, press the left mouse button and drag the cursor.

Try to press:

Alt + p

to launch dmenu.

To change the virtual desktop (for the left view) use:

Windows key (Win) + 1-9

or (for the right view):

Alt + 1-9

To send the client from one virtual desktop to another use:

Alt/Win + 1-9

To switch between layouts:

Alt + Shift + g
    Grid tile layout

Alt + Shift + m
    Master-slave tile layout

Alt + Shift + f
    Floating layout

If you want to send the client from one view to another press:

Win + Shift + j

Please check out other keyboard shortcuts and functions in the configuration file config.h.