LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-14-2020, 09:40 AM   #1
Otakuch
LQ Newbie
 
Registered: May 2020
Distribution: Gentoo
Posts: 28

Rep: Reputation: Disabled
Question How can I start a command automagically on Ubuntu 18.04 LTS


Hi, I am using Ubuntu 18.04 with i3-gaps. I have a command which is needed to use my XP-PEN Tablet properly. There is my command.
Code:
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
Thanks in advance
 
Old 05-14-2020, 10:48 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Have you tried just putting the command into your WM config file, i.e. ~/.i3/config or ~/.config/i3/config or whatever it's called in i3-gaps? It should have an exec directive. Something like
Code:
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"
 
Old 05-14-2020, 10:50 AM   #3
Otakuch
LQ Newbie
 
Registered: May 2020
Distribution: Gentoo
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shruggy View Post
Have you tried just putting the command into your WM config file, i.e. ~/.i3/config or ~/.config/i3/config or whatever it's called in i3-gaps? It should have an exec directive. Something like
Code:
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"
Yes, my bad. I couldn't think it
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Canonical Patches OpenSSL Regression in Ubuntu 16.04 LTS, 14.04 LTS and 12.04 LTS LXer Syndicated Linux News 0 09-27-2016 12:32 PM
some tool for "automagically" change wallpaper Xavius Linux - General 7 01-03-2005 07:39 PM
computer switches from static to dhcp address (automagically?) cyberpuerka Linux - Networking 1 09-03-2004 11:29 AM
automagically mount Magneto-Optical Drive? wytiger Fedora 0 07-27-2004 10:56 PM
XMMS has stopped opening pls automagically Steve Cronje Linux - Software 3 05-04-2004 01:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration