
Various Stuff extras kde linux screen touch
Source (link to git-repo or to original if based on someone elses unmodified work): https://gitlab.com/piotrintes/touchscreenextras
TouchscreenExtras is a free tool than can provide you with all essential features you need to control your device using touchscreen.
REQUIREMENTS:
- touchscreen (obviesly)
- X11 compatybile desktop
- xinput installed (sudo apt install xinput)
- xdotool installed (for right click on long press and keyboard shortcuts simulation)
- Qt 5.12.2 (for older version you need to compile yourself)
- amd64 architecture (for other you need to compile yourself)
FEATURES:
- simulate right click on touchscreen long press
- simulate scroll on tap&move
- two types of gestures for each screen edge
- swipe - move your finger from screen edge into center
- slide - move your finger along screen edge
- highly configurable - you can use for ANY actions you can think of and on any device
- connected to XServer - works for any Linux desktop
- GUI tool for simple setup and configuration
EXAMPLE ACTIONS:
Actions are commands executed if gesture is recognized. You can write everything you wish, but if you are not familiar with linux terminal I will put few examples so you can configure some basic functions:
Usefull system commands:
- sh -c "sleep 0.2;xset dpms force off" - will turn off your screen (with 0.2s delay so that you have time to take your finger off screen). Screen will turn on after touch or mouse move.
- shutdown now - shutdown your system
- firefox & - launch mozzilla firefox
Simulate key compination:
Most Linux desktop enviroments let you assign shortcuts for almost everything. From switching between virtual desktops to executing custom scripts. You can use program called xdotool to simulate keyboard input, so that you can simulate any shortcut and make system execute assigned command. Example usages:
- xdotool keydown Control_L key F9 keyup Control_L - will simulate ctrl+F9 - KDE's window presentation shortcut
- xdotool key super - will simulate super key (windows flag) - in most desktops will result in showing app menu
- xdotool keydown Control_L key w keyup Control_L - will simulate ctrl+w - in most internet browsers that would close current tab
Installation and configuration instructions in README
Scroll simulation on tap&move 8 months ago
Minor config tool fix:
- timeout increesed for service restart
- fixed bad scalling for hold tolerance
- blacklist explained and moved to separate tab
Scroll simulation on tap&move 8 months ago
Minor config tool fix:
- timeout increesed for service restart
- fixed bad scalling for hold tolerance
- blacklist explained and moved to separate tab
BugFix 9 months ago
Fixed bug preventing first launch of gui config tool
Blacklist 1 year ago
Blacklist has been added for long-press feature to fix problems with applicatons that support this natively (some chromium-based browsers have touchscreen features implemented which effects in hold action being executed twice). If you are experancing problems with some software just add problematic window's class to blacklist.
tsbarnes
9 months ago
Report