T
T
tuxx2017-11-14 19:23:03
linux
tuxx, 2017-11-14 19:23:03

Auto-start of applications does not work at system startup?

Recently switched to Ubuntu 16.04 as the main system, but there was a problem with the fact that I can not configure autorun of some programs. For example, the imwheel utility for configuring the mouse will have to be launched at each manual start via the console. At first I tried to launch through the standard "Application launch settings", but after adding a launch task and reopening this application, the launch command disappears from the list of launchers.
After doing this, I tried adding a job to cron:

@reboot /usr/bin/imwheel -b '4 5'

However, imwheel is not started by root's cron, nor by my user's cron. Although crontab -l has everything. In syslog only entries like this:
Nov 14 19:09:55 idea-pc CRON[1181]: (root) CMD (/usr/bin/imwheel -b '4 5')

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Null, 2017-11-14
@tuxx

See here:
Try this:
sudo chown $USER:$USER ~/.config/autostart

P
pfg21, 2017-11-14
@pfg21

on 16.04, the transition to systemd began,
better create the appropriate service and everything will work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question