Autostart gnome-terminal vs gnome-console (kgx)

Hi,
I like to have 2 terminal windows opened automatically at login.

  • Using gnome-terminal, once added gnome-terminal to autostart app, I just need to copy ~/.config/autostart/org.gnome.Terminal.desktop to ~/.config/autostart/org.gnome.Terminal1.desktop and that’s it, I have 2 terminal windows automatically opened when login.

  • Now, I would like to use the new Gnome Console, but the same trick does not work. After copying ~/.config/autostart/org.gnome.Console.desktop to ~/.config/autostart/org.gnome.Console1.desktop, I still have only one Console window opened at startup.

How can I have 2 gnome console opened at login ?
Thanks for your help.

1 Like

What is inside those files? For example, the following works for my distribution’s version of kgx.

$ cat ~/.config/autostart/org.gnome.zbrown.KingsCross.desktop
[Desktop Entry]
Type=Application
Name=org.gnome.zbrown.KingsCross
Exec=kgx
$ cat ~/.config/autostart/org.gnome.zbrown.KingsCross1.desktop
[Desktop Entry]
Type=Application
Name=org.gnome.zbrown.KingsCross
Exec=kgx

The idea is just to have enough to start kgx per the Exec line.

In case your .desktop files for GNOME Console in the autostart directory have a DBusActivatable=true line, it may explain why the second window does not start: DBus ensures that by default. If this is the case, it may be enough for you to remove DBusActivatable=true lines from those files in the autostart directory.

1 Like

You were right : removing the DBusActivatable line does the trick. Now the two windows open as expected…

Thank you very much for your help ! :+1:

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.