Need help with snaptile?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

jakebian
441 Stars 15 Forks GNU General Public License v2.0 33 Commits 9 Opened issues

Description

Versatile window tiling for X11 with powerful keyboard controls

Services available

!
?

Need anything else?

Contributors list

# 42,868
Node.js
TypeScr...
multi-c...
HTML
15 commits
# 25,984
Ruby
play-fr...
Bash
oauth2
2 commits
# 579,091
Python
x11
1 commit
# 19,511
Emacs
nif
Haskell
hugo
1 commit
# 29,984
gRPC
kubectl
kubectl...
Common ...
1 commit
# 328,391
Zsh
Shell
Rust
ls
1 commit

Snaptile

Versatile, mouse-free window tiling for X11.

lol

Grid System

The grid system divides your screen into 12 sections

ctl + alt +

| Q| W| E| R| |--|--|--|--| | A| S| D| F| | Z| X| C| V|

You can snap your window to any rectangle, of any arbitrary size, on this grid by specifying 2 corners. For example:

ctl + alt + E + D

| x | x | E| x | |--|--|--|--| | x | x | D| x | | x | x | x | x |

Which looks like

screenshot from 2017-06-07 18-50-28

The two keys only needs to "span" a rectangle. For example:

ctl + alt + X + D

| x | x |x | x | |--|--|--|--| | x | + | D| x | | x | X | + | x |

which looks like

screenshot from 2017-06-07 22-55-56

Requirements

  • Python3
  • X11-based desktop
  • python3-gi
  • python3-xlib
  • PySQL2 (not required, for automatically detecting keyboard layout)

Installation Guides

Install on Ubuntu

Go to a directory you want to store snaptile:

bash
cd 

Install and run:

bash
sudo apt-get install git python3-gi python3-xlib
git clone https://github.com/jakebian/snaptile.git
cd snaptile && ./snaptile.py

Install on Arch / Manjaro

The snaptile-git arch linux packaged is created & maintained by @madnight.

Install and run:

bash
yaourt snaptile-git
snaptile

Install on Fedora

Go to a directory you want to store snaptile:

bash
cd 

Install and run:

bash
sudo dnf install git python3-gobject python3-xlib
git clone https://github.com/jakebian/snaptile.git
cd snaptile && ./snaptile.py

Options

./snaptile.py -h
Snaptile.py
-d expanded dual-monitor keybinds
-W use Windows key
-h this help text

Start at boot

To start at boot, just add a script to Startup Applications invoking the python script

bash
/usr/bin/python3 /snaptile/snaptile.py

Credits

Snaptile is a rewrite of PyGrid, supporting the more powerful shortcuts system.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.