1

I have a small command like this

xinput set-prop "XP-PEN G430S Pen Pen (0)" --type=float "Coordinate Transformation Matrix" 1.155756, 0.000000, 0.000000, 0.000000, 1.529, 0.000000, 0.000000, 0.000000, 1.000000

to use my XP-PEN tablet, I have to start it automatically every time that I start my PC. How can I do that?

PRATAP
  • 22,460
Anonim
  • 23
  • 6

2 Answers2

2

Use i3 config file for starting up apps.

It's located here: ~/.config/i3/config

More in official documentation : https://i3wm.org/docs/userguide.html#configuring

Just add these lines:

exec --no-startup-id "xinput set-prop 'XP-PEN G430S Pen Pen (0)' --type=float 'Coordinate Transformation Matrix' 1.155756, 0.000000, 0.000000, 0.000000, 1.529, 0.000000, 0.000000, 0.000000, 1.000000"
0

Run gnome-session-properties from the command line and add a startup command there. Or alternatively you could use crontab, see:

Running command at startup on crontab

codlord
  • 2,506