Dnia czwartek, 2 kwietnia 2015 11:20:33 Ben Bullard pisze: > If we're going to be using/offering LXQt as a distro thought we might > come up with ideas to improve it's functionality. >
LXQt is only for alpha stage. When Plasma 5 will be ready then we will build
isos with it.
> 1. Disabable touch pad when mouse is plugged in. For laptops, notebooks,
> ect.
This is quite simple to achieve this:
create:
/etc/udev/rules.d/01-synaptics.rules
SUBSYSTEM=="input", KERNEL=="mouse[0-9]*", ACTION=="add", ENV{DISPLAY}=":0",
ENV{XAUTHORITY}="/home/username/.Xauthority", RUN+="/usr/bin/synclient
TouchpadOff=1"
SUBSYSTEM=="input", KERNEL=="mouse[0-9]*", ACTION=="remove",
ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/username/.Xauthority",
RUN+="/usr/bin/synclient TouchpadOff=0"
What is needed is to teach udev how to get ENV{XAUTHORITY} for currently
logged user.
--
Cheers
TPG
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ OM-Cooker mailing list [email protected] http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org
