Git Product home page Git Product logo

Comments (4)

undergroundwires avatar undergroundwires commented on August 15, 2024

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:

  1. Check x-terminal-emulator, if exists, run the file.
  2. Check terminal emulator A, if exists, run the file...
  3. Check terminal emulator B, 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?

from privacy.sexy.

IzNoGud78 avatar IzNoGud78 commented on August 15, 2024

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.

Starting the default terminal on Linux

from privacy.sexy.

undergroundwires avatar undergroundwires commented on August 15, 2024

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.

from privacy.sexy.

IzNoGud78 avatar IzNoGud78 commented on August 15, 2024

@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.

from privacy.sexy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.