Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Application start up time. [Canceled]

User avatar
Mauser
Forum Regular
Forum Regular
Posts: 1069
Joined: Mon Jun 27, 2016 7:32 pm

Application start up time. [Canceled]

#1

Post by Mauser » Mon Jan 21, 2019 1:11 am

Is it possible to set an application to start later in Session and Startup and if so, how?
Last edited by Mauser on Mon Jan 21, 2019 11:33 am, edited 1 time in total.
I am command line illiterate. :confused:

sunrat
Forum Regular
Forum Regular
Posts: 509
Joined: Mon Mar 28, 2016 9:54 pm

Re: Application start up time.

#2

Post by sunrat » Mon Jan 21, 2019 1:46 am

You can use sleep to delay. To delay command for 5 seconds:

Code: Select all

sleep 5 && command

User avatar
Mauser
Forum Regular
Forum Regular
Posts: 1069
Joined: Mon Jun 27, 2016 7:32 pm

Re: Application start up time.

#3

Post by Mauser » Mon Jan 21, 2019 1:50 am

Excellent! That's what I am looking for so the icon and the application renders correctly. I add a space after the command and then add that command?
I am command line illiterate. :confused:

sunrat
Forum Regular
Forum Regular
Posts: 509
Joined: Mon Mar 28, 2016 9:54 pm

Re: Application start up time.

#4

Post by sunrat » Mon Jan 21, 2019 1:53 am

Replace the word "command" with the actual name of the program you wish to start.

User avatar
Mauser
Forum Regular
Forum Regular
Posts: 1069
Joined: Mon Jun 27, 2016 7:32 pm

Re: Application start up time.

#5

Post by Mauser » Mon Jan 21, 2019 2:08 am

It didn't work. The program didn't auto start. This was the original command that worked. "/usr/local/Astrill/astrill" /autostart I replaced it like you said like this, "/usr/local/Astrill/sleep 5 && astrill" /autostart
I am command line illiterate. :confused:

User avatar
Adrian
Developer
Posts: 10138
Joined: Wed Jul 12, 2006 1:42 am

Re: Application start up time.

#6

Post by Adrian » Mon Jan 21, 2019 2:12 am

For some reasons this starts to make me angry... how is what you put there in any way like the advice you were given?

User avatar
Mauser
Forum Regular
Forum Regular
Posts: 1069
Joined: Mon Jun 27, 2016 7:32 pm

Re: Application start up time.

#7

Post by Mauser » Mon Jan 21, 2019 2:16 am

Adrian wrote:
Mon Jan 21, 2019 2:12 am
For some reasons this starts to make me angry... how is what you put there in any way like the advice you were given?
How is it not?
I am command line illiterate. :confused:

User avatar
Adrian
Developer
Posts: 10138
Joined: Wed Jul 12, 2006 1:42 am

Re: Application start up time.

#8

Post by Adrian » Mon Jan 21, 2019 2:26 am

Didn't you notice that "sleep" is the first command, why did you stick it at the end of that string how do you image "sleep" command would run if you type something like /blah/blah/blah/sleep in front? Try that in console and see if it runs...

User avatar
Mauser
Forum Regular
Forum Regular
Posts: 1069
Joined: Mon Jun 27, 2016 7:32 pm

Re: Application start up time.

#9

Post by Mauser » Mon Jan 21, 2019 2:28 am

Adrian wrote:
Mon Jan 21, 2019 2:26 am
Didn't you notice that "sleep" is the first command, why did you stick it at the end of that string how do you image "sleep" command would run if you type something like /blah/blah/blah/sleep in front? Try that in console and see if it runs...
Because I don't know the command line! :mad: I don't have an Enigma machine to decipher it. :mad:
I am command line illiterate. :confused:

User avatar
Adrian
Developer
Posts: 10138
Joined: Wed Jul 12, 2006 1:42 am

Re: Application start up time.

#10

Post by Adrian » Mon Jan 21, 2019 2:37 am

Mauser wrote:
Mon Jan 21, 2019 2:28 am
Adrian wrote:
Mon Jan 21, 2019 2:26 am
Didn't you notice that "sleep" is the first command, why did you stick it at the end of that string how do you image "sleep" command would run if you type something like /blah/blah/blah/sleep in front? Try that in console and see if it runs...
Because I don't know the command line! :mad: I don't have an Enigma machine to decipher it. :mad:
But what you are trying to do is to write a command, how do you want to try to write a command without understanding what you write? Why you sound proud of your lack of knowledge instead of trying to learn something?

Post Reply

Return to “Software / Configuration”