Run Appimage background file on Ubuntu

Asked

Viewed 149 times

0

I downloaded the application cerebro for Ubuntu 16.04 but to run it I always need to open the terminal and write:

`./cerebro-0.2.6-x86_64.AppImage`

And then the software is opened but the terminal is "locked" (yes I know I can open another with CTRL + ALT + T and another flap with CTRL + SHIFT + T).

I tried to add the task to run when the S.O is charged in gnone-session-preferences but the application needs permission sudo to be executed, so this generates an error.

How can I make this file .AppImage run in the background and start every time S.O was also initiated?

1 answer

0

You can use the upstart which is used to boot applications or at certain times of the system:

# Start

description "Start App"

start on (net-device-up
          and local-filesystems)
script
<caminho>/cerebro-0.2.6-x86_64.AppImage
end script

This template should suit you, you should create a file with extension .conf and put it in the folder /etc/init.

See documentation to learn more : http://upstart.ubuntu.com/getting-started.html

Note: In some versions of ubuntu, the upstart if disabled, to enable, just follow this tutorial: https://www.maketecheasier.com/re-enable-upstart-ubuntu/

Browser other questions tagged

You are not signed in. Login or sign up in order to post.