Skip to content

Opening a file in a terminal application starts terminal from hardcoded list #2414

@Ferdi265

Description

@Ferdi265
 * Nemo version: 4.6.2, also in latest master branch
 * Is issue with desktop or windowed nemo? Only tested windowed, I expect both
 * Distribution: but Arch
 * Graphics hardware *and* driver used: Intel integrated, mesa
 * 32 or 64 bit: 64 bit

Issue

When opening a file with an application that has Terminal=true in its .desktop entry, nemo chooses from a hardcoded list of terminals.

This list of terminals and the code that selects a terminal is in eel/eel-gnome-extensions.c

The actually used list of terminals in in libgio-2.0.so.0, in gio/gdesktopappinfo.c

Steps to reproduce

  1. Create a text file
  2. Install neovim
  3. Right click text file
  4. Open With
  5. Neovim

Expected behaviour

Neovim is opened in the current default terminal emulator. The same one that is used for "Open in Terminal".

Actual behaviour

A hardcoded list of terminals is used:

  • gnome-terminal
  • nxterm
  • color-xterm
  • rxvt
  • xterm
  • dtterm

if none of these is found, xterm is executed anyway.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions