start new:
tmux
start new with session name:
tmux new -s myname
| #!/usr/bin/env python | |
| """python-xlib example which reacts to changing the active window/title. | |
| Requires: | |
| - Python | |
| - python-xlib | |
| Tested with Python 2.x because my Kubuntu 14.04 doesn't come with python-xlib | |
| for Python 3.x. |
| #!/usr/bin/python3 | |
| # vim:fileencoding=utf-8:sw=4:et | |
| # Convert between pygobject Pixbuf and PIL/Pillow image format | |
| # Also a function to do fast gamma correction with Pillow image | |
| from __future__ import print_function, unicode_literals, absolute_import | |
| import sys | |
| from gi.repository import GLib, GdkPixbuf |
| #include <iostream> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <unistd.h> | |
| #include <opencv2/imgproc/imgproc.hpp> | |
| #include <opencv2/highgui/highgui.hpp> | |
| #include <X11/Xlib.h> |