-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Open with..." dialog for terminal apps uses xterm, regardless of default terminal #3483
Comments
I ran into this same problem using Guake Terminal. Nemo has a list of known terminals located here : nemo/eel/eel-gnome-extensions.c Lines 36 to 61 in 2e3c6fc
If your terminal is not on that list, then GLib.find_program_in_path is used to pick the first known terminal that it can find on your system. To work around this, I wrote a script and symlinked it to
For Guake, I had to get a little more creative... |
Hmmm, that is weird. As stated in my original post, In the code, nemo does seem to be looking up Even so, setting this gsettings key to This is especially confusing to me as even in the fallback case using Symlinking either the other terminals to |
That's what I would expect too. It probably has to do with the order of the bin directories in your I don't think it's ideal to be symlinking over another app but it gets the job done for now. However, it seems to me like the behavior of this function should be changed so that the gsettings values are respected if set, but fallback to this list if not. Even better would be an option in the UI to allow the user to select their preferred terminal. The known terminals list could still be used to automatically populate the |
It's not a problem with order, since |
It sounds like you're using an older version of nemo. The method for detecting known terminals changed on June 4th 2024. If you are using a version from before then, xterm is the fallback if the few hardcoded checks fail: nemo/eel/eel-gnome-extensions.c Lines 74 to 98 in a2f15e0
If you can't update to the latest version, your best bet to workaround this would be to symlink over |
Distribution
Arch -- kernel: 6.11.4-arch2-1
Package version
6.2.8
Frequency
Always
Bug description
On a file "Right-click > Open with ..." then selecting a terminal application like Neovim seems to fully disregard my default terminal specified in
org.cinnamon.desktop.default-applications.terminal exec
as set with gsettings, instead always opening the app inxterm
as far as i can tell.With
xterm
uninstalled, opening a file in Neovim this way just fails silently.If I just symlink my terminal to
/usr/bin/xterm
, it works as expected and Neovim opens the file in my terminal just fine.Steps to reproduce
xterm
(possibly uninstall other 'default' terminals likegnome-terminal
too — i haven't tried much, justxterm
alacritty
andst
, of which onlyxterm
worked).desktop
file specifiesTerminal=true
Expected behavior
For consistency I guess this should just use the terminal set at
org.cinnamon.desktop.default-applications.terminal exec
.This gsettings key is required/used to determine the terminal for the "Open in terminal" dialog within folders already, so I expected the same would apply to "Open with ... > some terminal app", which it doesn't seem to.
Additional information
No response
The text was updated successfully, but these errors were encountered: