Crontab Dont Work About "crontab" as @reboot
  • I edited my crontab as this:



    But if i rebooted my LXLE Linux crontab dont work. This crontab's benefits is about mouse sensivity.

    All of the command: xinput set-prop "YSPRINGTECH USB OPTICAL MOUSE" "Coordinate Transformation Matrix" 0.3 0 0 0 0.3 0 0 0 1

  • lxlelxle
    PMPosts: 2,656
    Instead of using cron, why not use "Desktop applications for LXSession" and add that command to autostart. If that doesn't work wrap it in a script then call the script at startup using the same method.
  • imageDon't worked for me.
  • lxlelxle
    PMPosts: 2,656
    some things are just too complex for auto start.... so in this case take that command, and put it in a text file... example....

    #! /bin/bash
    xinput set-prop "YSPRINGTECH USB OPTICAL MOUSE" "Coordinate Transformation Matrix" 0.3 0 0 0 0.3 0 0 0 1

    save
    it in usr/local/bin  then right click on it select properties then
    permissions and allow 'anyone' to execute it finally click ok.....

    Now go back to autostart and add the name of the file to the list.

  • celicalxlcelicalxl
    PMPosts: 6
    Thanks for everythink, it worked :)