D
D
Daniil Laptev2015-10-01 15:12:07
linux
Daniil Laptev, 2015-10-01 15:12:07

How to add ruby ​​script to Ubuntu autostart?

How to add ruby ​​script to autostart in Ubuntu 14.04?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nadz Goldman, 2015-10-01
@TakteS

A modern version if there is a distribution in which this is supported.
Classic variant

D
Danila, 2015-10-01
@Ke1eth

1) upon login:
you can create a "filename.desktop" file in the ~/.config/autostart directory
with something like the following content

[Desktop Entry]
Type=Application
Name=<Название приложения>
Exec=<команда для выполнения>
Icon=<путь до иконки>
Comment=<некий коментарий>
X-GNOME-Autostart-enabled=true

2) at system startup: write a call to /etc/rc.local

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question