Hi, Thanks for your help.
> How are you running the echo command from the udev rule? ATTRS{idVendor}=="XXXX", ATTRS{idProduct}=="XXXX", ACTION=="add", RUN+="/bin/echo 'message' >> /full/path_to/log_file.log" they do not have the DISPLAY variable initialized and do not have the > appropriate session Xauthority cookies set. I have tried this also with: DISPLAY=":0.0" HOME=/home/antoniotrkdz XAUTHORITY=$HOME/.Xauthority export DISPLAY XAUTHORITY HOME in the script, I don't know if they are correct, however it didn't work. A
_______________________________________________ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng