Anon-whonix "run terminal" in menu opens catfish

this is file query program, why terminal not open?

1 Like

First of all, make sure that your default terminal is set correctly using update-alternatives (for xfce):

sudo update-alternatives --set x-terminal-emulator <path_to_your_terminal>
I don't have `x-terminal-emulator`

If you are not running xfce or x-terminal-emulator doesn’t exist in your case, check link groups gnome-terminal and kgx instead.
If none of these groups exist, you can create one manually:

# run in template or use bind-dirs
sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator <path_to_your_terminal> 1000

bind-dirs in documentation

Here “1000” is a priority. If you are going to assign multiple programs to this group, priority will be used to determine which one to execute.

If this will not do the job, troubleshoot further. The menu button tries to run qubes-run-terminal via the desktop entry.

So, your qubes-run-terminal.desktop may have been changed one way or another. You can check the system-wide entry in /usr/share/applications/ and the user-wide entry in ~/.local/share/applications/.

If there are no culprits in the entry itself, you may try to troubleshoot the problem by exploring qubes-run-terminal script it executes if you feel curious. Or just point the desktop entry directly at the terminal emulator you prefer.

I noticed this behavior with “Open File Manager” button with Whonix qubes. It used to open the Thunar file manager.

Should not be default for template but is, is this change intentional or is error?

It should not be the default behaviour. I don’t know why it has happened to you.

but it’s happened to @tanky0u too

It may happen because of various reasons. For instance, system may fall back to a wrong default application when current default is deleted. Or a misconfiguration.
If it is truly default for a freshly installed system, this is a question to the developers.

to the Whonix developers.
Raise an issue over at the Whonix Forums - you’ll get Whonix developer eyes on it
there

I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.

2 Likes