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.
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.
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
The screen in the upper right corner shows how Weylus is viewed from the phone. Normally your screen doesn't look like this.
- Shows the available screens and applications on the connected device. You can only choose which one you want to operate on your device.
- It ensures that the 1st list is refreshed in any change.
- Turns off the incoming image. This option can be used if the feature is experiencing a lot of latency on the network.
- It turns the screen black along with turning off the image. This option can be used to use less battery.
- It enlarges the incoming image so that it fits perfectly on the screen.
- Takes the browser to full screen. This prevents accidental clicking elsewhere.
- Sets whether our mouse cursor is visible or not.
- It provides low latency.
- Specifies the maximum incoming resolution. If the screen is too stiff, lowering it may help.
- We specify the minimum we want the delay to be.
- We specify which inputs we want to interact with. For example, we can prevent touches and only receive input from the pen.
- If you are using a stylus, we specify what we want its lowest pressure to be.
- Indicates the frame rate taken per second.
Now let's move on to how to install it:
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
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:
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!