Threads
Activity
Search
Sign In
LXLE OS Help and Support
Crontab Dont Work About "crontab" as @reboot
celicalxl
October 2022
PM
Posts: 6
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
lxle
October 2022
1 Like
PM
Posts: 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.
celicalxl
October 2022
PM
Posts: 6
Don't worked for me.
lxle
October 2022
1 Like
PM
Posts: 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.
celicalxl
October 2022
1 Like
PM
Posts: 6
Thanks for everythink, it worked
:)
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Threads
1,722
News and Announcements
232
LXLE OS Help and Support
1,045
LXLE LS Help and Support
32
Tricks, Tips & Tutorials
122
Artwork, Screenshots & More...
15
Feedback and Suggestions
90
LXLE Talk
42
Introduce Yourself
98
Off Topic
46