I
I
Ivan2020-07-28 10:58:01
ubuntu
Ivan, 2020-07-28 10:58:01

How to force applications that are in ubuntu autorun to be minimized after start?

For example viber telegram or thunderbird in autorun. Is it possible to make them collapse after launch?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valdemar Smorman, 2020-07-28
@Djonson86

Add in file: name_of_your_soft.desktop
in folder: ~/.config/autostart
in section: Exec
parameter: StartMinimized
For example ( I have Viber ):
file: env.desktop Exec
section looks like this:

Exec=env QT_SCREEN_SCALE_FACTORS=1.3 /opt/viber/Viber StartMinimized %u

It is possible to add this value via sed or awk in the Terminal or in graphical mode in an editor (Nano, Gedit, Vim) by opening this file with them and adding this value.
Or via the GUI - Startup applications (terminal call: gnome-session-properties ).
5f200bbd0cf58581151143.png
You click 2 times with the mouse on the desired entry:
5f200c565b4c1329137736.png
And in the pop-up window:
5f201970bd8e8565500457.png
add in the Command section: to the code, as in the screenshot through the spaces StartMinimized .
Click on Save and Close .
Voila.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question