2018-04-25 18:46:15 +00:00
# VirtScreen
2018-05-20 05:35:13 +00:00
2018-04-25 19:55:05 +00:00
> Make your iPad/tablet/computer as a secondary monitor on Linux.
2018-05-14 22:45:54 +00:00

2018-04-26 20:35:28 +00:00
2018-04-25 19:55:05 +00:00
VirtScreen is an easy-to-use Linux GUI app that creates a virtual secondary screen and shares it through VNC.
2018-04-25 21:50:45 +00:00
VirtScreen is based on [PyQt5 ](https://www.riverbankcomputing.com/software/pyqt/intro ) and [Twisted ](https://twistedmatrix.com ) in Python side and uses [x11vnc ](https://github.com/LibVNC/x11vnc ) and XRandR.
2018-04-25 19:55:05 +00:00
2018-05-21 08:54:18 +00:00
## How to use
2018-04-25 19:55:05 +00:00
2018-05-21 08:54:18 +00:00
Upon installation (see Installing section to install), there will be a desktop entry called `virtscreen`

Or you can run it using a command line:
2018-05-20 04:42:58 +00:00
2018-04-25 19:55:05 +00:00
```bash
2018-05-21 08:54:18 +00:00
$ virtscreen
2018-04-25 19:55:05 +00:00
```
2018-05-21 08:54:18 +00:00
Note that any files related to VirtScreen, including password and log, will be stored in `~/.virtscreen` directory.
2018-04-25 19:55:05 +00:00
2018-05-21 08:54:18 +00:00
## Dependancies
2018-05-20 05:35:13 +00:00
2018-05-21 08:54:18 +00:00
You need [`x11vnc` ](https://github.com/LibVNC/x11vnc ) and `xrandr` . To install (example on Ubuntu):
2018-05-20 05:35:13 +00:00
```bash
2018-05-21 08:54:18 +00:00
$ sudo apt-get install x11vnc
2018-05-20 05:35:13 +00:00
```
2018-05-21 08:54:18 +00:00
## Installing
2018-05-20 04:42:58 +00:00
2018-05-21 08:54:18 +00:00
### Debian (Ubuntu)
2018-04-25 19:55:05 +00:00
2018-05-21 08:54:18 +00:00
A PPA package will be available soon.
2018-04-25 19:55:05 +00:00
2018-05-21 08:54:18 +00:00
### Arch Linux (AUR)
2018-05-20 04:42:58 +00:00
2018-05-21 08:54:18 +00:00
There is [`virtscreen` AUR package ](https://aur.archlinux.org/packages/virtscreen/ ) available. Though there are many ways to install the AUR package, one of the easiest way is to use [`aurman` ](https://github.com/polygamma/aurman ) AUR helper:
2018-04-25 19:55:05 +00:00
```bash
2018-05-21 08:54:18 +00:00
$ aurman -S virtscreen
2018-05-20 04:42:58 +00:00
```
2018-04-25 19:55:05 +00:00
2018-05-21 08:54:18 +00:00
### Python `pip`
If your distro is none of above, you may install it using `pip` :
2018-04-25 19:55:05 +00:00
2018-05-20 04:42:58 +00:00
```bash
2018-05-21 08:54:18 +00:00
$ pip install virtscreen
2018-04-25 19:55:05 +00:00
```
2018-04-26 17:32:42 +00:00
2018-05-21 08:54:18 +00:00
but a desktop entry won't be created.
### From the Git repository directly
```bash
$ python setup.py install # add --user option if you have permission problem
```