How to set an application to auto start at computer startup

Forum Forums New users New Users and General Questions How to set an application to auto start at computer startup

  • This topic has 3 replies, 3 voices, and was last updated Nov 27-5:18 am by Jaggernaut.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3152
    Member
    Avatargreyowl

    I am using an application called Synkron which automatically synchonizes two folders. I would like Synkron to start when the computer starts up and remain running. When it is running, there is an icon at the right of the task bar (is this called the systray?) There is no setting in Synkron to enable it to start when the computer starts. When I was using it with Mint, I listed it as a appication to start automatically and it worked fine.

    How can I go about setting this up so Synkron will start automatically when antiX 17 starts?

    • This topic was modified 3 years, 4 months ago by greyowl.

    Dell Latitude D610 laptop with antiX 19.3 (32 bit)
    Dell Latitude D620 laptop with antiX 19.3 (64 bit)

    #3166
    Forum Admin
    dolphin_oracledolphin_oracle

    the easiest way would be to add the startup command to the appropriate startup file.

    Control Center>Session>Desktop Session

    should get you a text editor with several tabs, one of which is startup.

    add a command like this:

    #comment
    startup_command &

    the & can be important, as it specifies to put the app into the background.

    #3169
    Member
    Avatargreyowl

    I tried the following commands in desktop.session > Startup but they did not work:

    #comment
    synkron &

    #comment
    synkron-start &

    I don’t know the correct startup command.

    I tried something (courtesy of caprea) that did work however. I went to home > .icewm > startup and added “synkron &”.
    Now, synkron starts on startup and the icon is in the task bar. I presume that this will only work when I am using the ice wm.

    The first way of doing it would probably be better if I only knew the correct start command. I assume it would apply to any window manager that I use. Is this correct?

    Does anyone know the correct startup command?

    Thanks for the help.

    Thanks for the help.

    • This reply was modified 3 years, 4 months ago by greyowl.

    Dell Latitude D610 laptop with antiX 19.3 (32 bit)
    Dell Latitude D620 laptop with antiX 19.3 (64 bit)

    #3172
    Member
    JaggernautJaggernaut

    I have no synkron installed but you can determine about the terminal information with
    synkron --help
    I think you have to start synkron with your profile.
    If you completely separate programs from the terminal, that’s better than letting them run in a sub-process.
    Example:
    synkron & disown
    In your case, you still need to specify your profile as
    synkron -p name & disown

    I hope this help

    greetz

    • This reply was modified 3 years, 4 months ago by Jaggernaut.
    • This reply was modified 3 years, 4 months ago by Jaggernaut.
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.