1
0
Fork 0
mirror of https://github.com/kbumsik/VirtScreen.git synced 2025-02-12 19:31:50 +00:00
VirtScreen/README.md

59 lines
1.8 KiB
Markdown
Raw Normal View History

2018-04-25 18:46:15 +00:00
# VirtScreen
2018-04-25 19:55:05 +00:00
> Make your iPad/tablet/computer as a secondary monitor on Linux.
![gif example](https://raw.githubusercontent.com/kbumsik/VirtScreen/master/data/gif_example.gif)
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-23 23:40:15 +00:00
Upon installation (see Installing section to install), there will be a desktop entry called `VirtScreen`
2018-05-21 08:54:18 +00:00
![desktop entry](https://raw.githubusercontent.com/kbumsik/VirtScreen/master/data/desktop_entry.png)
2018-05-21 08:54:18 +00:00
Or you can run it using a command line:
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-23 20:21:17 +00:00
## Installation
2018-05-21 08:54:18 +00:00
### Debian (Ubuntu)
2018-04-25 19:55:05 +00:00
2018-06-03 18:04:15 +00:00
#### `.deb` package
```bash
sudo apt-get update
sudo apt-get install x11vnc qtbase5-dev
wget https://github.com/kbumsik/VirtScreen/releases/download/0.2.0/virtscreen_0.2.0-1_all.deb
sudo dpkg -i virtscreen_0.2.0-1_all.deb
rm virtscreen_0.2.0-1_all.deb
```
2018-04-25 19:55:05 +00:00
2018-05-21 08:54:18 +00:00
### Arch Linux (AUR)
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-06-03 18:04:15 +00:00
aurman -S virtscreen
```
2018-04-25 19:55:05 +00:00
2018-05-21 08:54:18 +00:00
### Python `pip`
2018-05-23 20:21:17 +00:00
If your distro is none of above, you may install it using `pip`. In this case, you need to install the dependancies manually.
You need [`x11vnc`](https://github.com/LibVNC/x11vnc), `xrandr`, and PyQt5 libraries. To install (e.g. on Ubuntu):
```bash
2018-06-03 18:04:15 +00:00
sudo apt-get install x11vnc qtbase5-dev # On Debian/Ubuntu, xrandr is included.
2018-04-25 19:55:05 +00:00
```
2018-05-23 20:21:17 +00:00
After you install the dependancies then run:
2018-05-21 08:54:18 +00:00
```bash
2018-06-03 18:04:15 +00:00
sudo pip install virtscreen
2018-05-21 08:54:18 +00:00
```