You are not logged in.
I use Gnome 3 with budgie-desktop, but i use konsole as my preferred terminal.
I try to set use "konsole" as my "Open in Terminal" use following command, but failed.
it still use gnome-terminal as default option.
gsettings set org.gnome.desktop.default-applications.terminal exec konsole
I don't sure about if this is a bug, or missing some package, or just run wrong command,
but anyway, please help, thank you!
https://user-images.githubusercontent.c … b0d295.png
moderator edit -- replaced oversized image with link.
Pasting pictures and code
Last edited by zw963 (2020-03-30 15:26:18)
Offline
gsettings set org.gnome.desktop.default-applications.terminal exec konsole
When you use dconf-editor to change that key it becomes more obvious why that didn't work:
DEPRECATED: This key is deprecated and ignored. The default terminal is handled in GIO.
The less obvious thing is that gio can only set default handlers for mimetypes, which terminal emulators don't have AFAIK. See https://bbs.archlinux.org/viewtopic.php?id=246952 for a workaround.
Offline
Hi, thank you for help, i check that post, in fact, not working.
1. If i remove gnome-terminal package, there is no "Open in Terminal" in the right key menu anymore.
2. If i keep gnome-terminal package, then, i remove /usr/bin/gnome-terminal(and all hardlink in /usr/sbin etc)
and replace it with following bash script, when i click on "Open in Terminal", it still open gnome-terminal!
if [[ "$*" =~ "-x" ]]; then
arg=$(echo $* |sed 's#-x#-e#g')
konsole $arg
else
konsole "$@"
fi
It is too wired ...
Offline
Too bad the workaround isn't working for you. I assume you are talking about changing the "Open in Terminal" in nautilus. If so, there's a package in AUR that supports konsole: https://aur.archlinux.org/packages/naut … -terminal/
Offline
This tools is working, thank you!
Though, it is not so useful because new instance not use loginin shell,
so, some global function(defined my me) not available in new konsole instance.
Last edited by zw963 (2020-03-30 15:36:09)
Offline
Not sure if it's such a great idea to run each konsole instance as a login shell, but if you need it, this might help. Glad you made some progress at least.
Offline