It turned out that I was on a trip, and in order to pass the time, I took my old faithful friend with me - a netbook
Since I havenβt used it for a very long time, I completely forgot about the faulty touchpad cable.
Of course, I didnβt take a mouse with me, but I really wanted to use the browser comfortably, and I decided to use the application
Install and launch the application from the Play Market on the smartphone
KDE Connect (screenshot)
Install and run the application on a netbook:
sudo apt install kdeconnect
kdeconnect-indicator
We connect devices (IMPORTANT!) to the same local network. It doesnβt matter if itβs wi-fi or a USB connection (my smartphone was a USB modem for a netbook).
We run kdeconnect-indicator in the console, update the list of available devices on the phone - and ...
Nothing... (screenshot)
Google helps me find
sudo ufw disable
And we see that the netbook appeared in the list of available devices. (screenshot)
Select your device and click "Request pairing".
We send a pairing request - and see on the netbook monitor:
pairing request:(screenshot)
We see it, but we canβt do anything - the buttons are not switched / activated by TAB, as well as by other keys.
Application developers provide for pairing using a console application
kdeconnect-cli -a
gives us a list of available devices in the form:
- Galaxy A3: lij7dc380v8f1000 (in touch)
kdeconnect-cli --pair -d id
then we confirm the pairing on the smartphone and use the functions of the application.
But this is not about my #!++ - only paired devices are displayed in it, perhaps everything is due to the old version of kdeconnect-cli 1.3.3.
In general, I learned about the tool
# - ΠΏΠ΅ΡΠ΅ΠΌΠ΅ΡΡΠΈΡΡ ΠΊΡΡΡΠΎΡ Π½Π° ΠΊΠΎΠΎΡΠ΄ΠΈΠ½Π°ΡΡ XXX YYY
xdotool mouse XXX YYY
# - ΠΊΠ»ΠΈΠΊΠ½ΡΡΡ Π»Π΅Π²ΠΎΠΉ ΠΊΠ½ΠΎΠΏΠΊΠΎΠΉ "ΠΡΠΈΠ½ΡΡΡ"
xdotool click 1
It remains to pick up XXX and YYY⦠(screenshot)
To see the position of the cursor, click on
Thank you for your attention, I hope this information will help to avoid similar problems.
Source: habr.com