Today, in our article, I will try to introduce the Weylus program, which will be useful especially for our teachers and many people who deal with graphic works, with which you can turn your phone or tablet into a graphic tablet without a graphic tablet.

Weylus is a very useful application that allows us to share our screen with a web browser and control it without a mouse. If the device you are projecting has pen support If, you can better make your drawings pressure sensitive.

weylus

Additional options:

Although not currently used in Pardus, newly released Wayland It has support for image server as seen in the picture.

You can turn on video acceleration with VAAPI, if you have an Nvidia video card in your system, you can also use NEVENC video acceleration instead of Vaapi.

Use of:

Network connection

link address

In order to establish a connection over the network, we need to open the address in Weylus from the internet browser of the device we will use. When connecting, the devices must be on the same network.

Connection via cable (for Android devices)

If we want to use it via USB cable, you will need to start Weylus and run the following code from the terminal. Then from the Android device http://localhost:1701 We need to login.

adb reverse tcp:1701 tcp:1701

an overview

The screen in the upper right corner shows how Weylus is viewed from the phone. Normally your screen doesn't look like this.

view
Settings
  1. Shows the available screens and applications on the connected device. You can only choose which one you want to operate on your device.
  2. It ensures that the 1st list is refreshed in any change.
  3. Turns off the incoming image. This option can be used if the feature is experiencing a lot of latency on the network.
  4. It turns the screen black along with turning off the image. This option can be used to use less battery.
  5. It enlarges the incoming image so that it fits perfectly on the screen.
  6. Takes the browser to full screen. This prevents accidental clicking elsewhere.
  7. Sets whether our mouse cursor is visible or not.
  8. It provides low latency.
  9. Specifies the maximum incoming resolution. If the screen is too stiff, lowering it may help.
  10. We specify the minimum we want the delay to be.
  11. We specify which inputs we want to interact with. For example, we can prevent touches and only receive input from the pen.
  12. If you are using a stylus, we specify what we want its lowest pressure to be.
  13. Indicates the frame rate taken per second.

Now let's move on to how to install it:

First of all From the GitHub page .deb we download the version.

We open the terminal by opening the location we downloaded and install it with the following command.

sudo dpkg -i Weylus_0.11.4_amd64.deb

Important note:

Weylus_x.x.x_amd64.deb

The version you downloaded may differ from the one here. You can autocomplete by typing a part of the file from the terminal and pressing the tab key.

Weylus uses the uinput interface to simulate input events in Pardus. /dev/uinput must be writable by Weylus to enable pen and multi-touch support. In order to make /dev/uinput permanently available to the user, we need to run the following commands in the terminal, respectively.

sudo groupadd -r uinput sudo usermod -aG uinput $USER

A little reminder:

The entire command below needs to be selected!

echo 'KERNEL=="uinput", MODE="0660", GROUP="uinput", OPTIONS+="static_node=uinput"' \ | sudo tee /etc/udev/rules.d/60-weylus.rules
sudo udevadm control --reload sudo udevadm trigger

Finally, after restarting your computer, good luck with your virtual graphics tablet!