5

I'm running AutoKey on Ubuntu 18.04, I added it to the startup applications, but I don't want its window pops up after starting my computer, can I make it launch in the background?

2 Answers 2

5

To start an application at start up and put it in the background simply append & to the command you wish to execute.

An example using AutoKey:

enter image description here

2
  • 2
    Thank you for posting the correct answer, I'll delete my wrong answer.
    – singrium
    Apr 25, 2019 at 10:26
  • 3
    That's quite nice of you, and I think a good example of SO ideals :) some people just abandon answers that were not accurate or in some cases even introduce security flaws, so, thank you too
    – GrayedFox
    Apr 25, 2019 at 15:20
0

In case you are using Gnome's "Tweaks" tool to put it into autostart: Edit ~/.config/autostart/autokey.desktop to remove the -c flag from the Exec line. It should then look like this:

[Desktop Entry]
Name=AutoKey
GenericName=Keyboard Automation
Comment=Program keyboard shortcuts
Exec=autokey-gtk
Terminal=false
Type=Application
Icon=autokey
Categories=GNOME;GTK;Utility;

(You can also just create that file without using any GUI tools.)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .