You are not logged in.
I have two autostart in .config/autostart/:
xinput.desktop
[Desktop Entry]
Comment[pl_PL]=xinputMyszka
Comment=xinputMyszka
Exec=xinput --set-prop 15 290 -0.6 &
GenericName[pl_PL]=xinputMyszka
GenericName=xinputMyszka
Icon=
MimeType=
Name[pl_PL]=xinput
Name=xinput
Path=
StartupNotify=false
Terminal=false
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=unique
X-KDE-SubstituteUID=false
X-KDE-Username=
org.kde.yakuake.desktop
[Desktop Entry]
Categories=Qt;KDE;System;TerminalEmulator;
Comment[pl_PL]=Emulator rozwijanego terminala oparty o technologię KDE Konsole.
Comment=Emulator rozwijanego terminala oparty o technologię KDE Konsole.
Exec=yakuake
GenericName[pl_PL]=Rozwijany terminal
GenericName=Rozwijany terminal
Icon=yakuake
MimeType=
Name[pl_PL]=Yakuake
Name=Yakuake
Path=
StartupNotify=false
Terminal=false
TerminalOptions=
Type=Application
X-DBUS-ServiceName=org.kde.yakuake
X-DBUS-StartupType=unique
X-KDE-StartupNotify=false
X-KDE-SubstituteUID=false
X-KDE-Username=
I can't start xinput. I have the file permissions set as in "org.kde.yakuake.desktop". Where is the problem?
Last edited by thommen (2022-07-01 12:02:10)
Offline
? xinput is a commandline tool and you have Terminal=false hence you are just running a CLI command that is not attached to a terminal that will list information that will not land anywhere. What exactly are you expecting or wanting to do, what's the end goal of this excercise?
Last edited by V1del (2022-07-01 11:42:20)
Offline
I am currently invoking the command
xinput --set-prop 15 290 -0.6 &
manually after turning on the computer.
I want it to run with the system. How can this be done?
Offline
then why are you not adding that exact command (without the leading & you don't want that in a general sense) to your autostart/the Exec= line? xinput without argument will list your input devices, you don't want to list your input devices but set the property of one, note that depending on what exactly you are manipulating here chances are this will get rolled over by the default mouse handling daemon of KDE again. If this is a setting you can configure in systemsettings you probably rather want to configure that there.
Edit: Ah wait you have that and it doens't run? Remove the leading & in any case, that's a terminal specific command for backgrounding jobs you don't want. If the steamrolling is your issue you might get to it with a sleep e.g.
Exec=sh -c 'sleep 5 && xinput --set-prop 15 290 -0.6'
Last edited by V1del (2022-07-01 11:50:35)
Offline
Actually, that's right. '&; was unnecessary. Thank you for your help
Last edited by thommen (2022-07-01 12:01:46)
Offline