Skip to content

Draft: Open Gnome Console over dbus

Sundeep Mediratta requested to merge replace-terminal-with-console into main

Nautilus opens gnome-console by default in Gnome 42, appears to use dbus calls to do so

Follow the same and try open gnome-console by default. If not available open gnome-terminal.

Otherwise complain loudly!

Also activate and detect gnome-console and gnome-terminal through d-bus, again mirroring how nautilus or should I say gnome-files opens these applications.

Additionally if both applications are installed, give the user the option of opening the application they prefer. A user can override the default application used to open the terminal by setting the environment variable TERMINAL in .config/environment.d/ in any configuration file, eg in terminal.conf put TERMINAL=gnome-terminal.

Only two environment variables are recognized and acted on, 'gnome-terminal', and 'gnome-console', all lowercase.

Edited by Sundeep Mediratta

Merge request reports