Open IzNoGud78 opened 2 months ago
Thanks for the issue @IzNoGud78, this will be addressed as high priority in a patch release.
Which version of Fedora are you using? I read that GNOME environments define x-terminal-emulator
.
We should update the logic to:
x-terminal-emulator
, if exists, run the file.However, before enumerating terminals randomly, we should try to prioritize the default terminal emulator the user has. And there seems to be no way to do that.
Then the enumeration approach would be the only way for known terminals, maybe following this order:
gnome-terminal, konsole, xfce4-terminal, mate-terminal, lxterminal, alacritty, tilix, kitty, wezterm, terminology, guake, tilda, terminator, xterm, uxterm, rxvt, urxvt, st, qterminal, lilyterm, hyper, eterm, aterm, termite, roxterm, termit, rio, foot, sakura, cool-retro-term
What do you think about this solution?
Btw, what is your default terminal and its command?
Which version of Fedora are you using? I read that GNOME environments define x-terminal-emulator.
As previously specified I use Fedora 39 with Cinnamon but, unfortunately, even on the Workstation version (the default one with GNOME) the virtual package x-terminal-emulator
isn't present. It isn't possible to define x-terminal-emulator
even as a system alternatives.
x-terminal-emulator
is a virtual package used only by Debian (and Debian-based distributions), so the problem occurs with all other distributions.
I believe that currently, at least as far as Fedora is concerned, there is no meta package (or specific command) that can be used to start the default terminal, so I assume that the best method that can fit all needs is to draw up a hard-coded list of the possible terminals that can be used or, alternatively, let the user specify via a dialog box which terminal to use.
Thank you for the context. I think asking for default terminal can be low priority feature later and then we should go for the hardcoded list.
What terminal do you have by default on Fedora? I'm asking this so I'll ensure that it will be in the list so we can test it once implemented.
@undergroundwires I currently use the default terminal, which on both the Workstation and Cinnamon version is gnome-terminal
.
Obviously, however, it is one of those components that changes depending on the desktop environment being used or the user's preferences.
Description
Just as described in the title, starting the script via the AppImage package on Fedora, an error dialog is shown informing of the script execution error.
The error reported, also clearly visible on the main log, is as follows:
Reproduction steps
Steps to reproduce the behavior:
chmod +x privacy.sexy-0.13.0.AppImage
./privacy.sexy-0.13.0.AppImage
Expected behavior
I would expect the script to run, just as it does when I download it (from both the Web or the AppImage version) and run it manually.
Distribution
Fedora 39 Cinnamon
Additional context
From the main log file it is also easy to deduce the cause of the error from these lines:
Unfortunately
x-terminal-emulator
is a virtual package that is not present on Fedora, this actually makes the AppImage package incompatible (at least partially) with Fedora. It still remains a viable alternative for downloading the script, which, however, must be run manually.