This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Run a command on startup

Tags: None
(comma "," separated)
acheshirov
Registered Member
Posts
11
Karma
0

Run a command on startup

Mon May 06, 2019 12:31 pm
I need to run "xmousepasteblock" automatically on login but on current session.
When I run this command via terminal or ALT + F2 it works correctly, but if I run it via cron for example:
@reboot xmousepasteblock it doesn't work. I have tried via the integrated Autostart manager in KDE Neon but doesn't work as well (or I didn't do it correctly).
NoNameNoBlame
Karma
0

Re: Run a command on startup

Mon May 06, 2019 12:46 pm
Running "X Window System" clients via
"@reboot" crontab job-entries is wrong.

Remove it from Your crontabs wherever
You entered it.
acheshirov
Registered Member
Posts
11
Karma
0

Re: Run a command on startup

Mon May 06, 2019 12:51 pm
I have removed it from crontab but how can I make it to start automatically on startup?
NoNameNoBlame
Karma
0

Re: Run a command on startup

Mon May 06, 2019 12:57 pm
Has to be started after PlasmaDesktop login:

SystemSettings=>StartupAndShutdown=>Autostart


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]