Change default terminal

Hello,

Following the frequently asked question:

I figured a very clean solution.

here I set kitty as the default terminal by pointing x-terminal-emulator to it, a standard fallback for applications.

sudo ln -s /usr/bin/kitty /usr/local/bin/x-terminal-emulator

You can natively execute programs in terminal by creating ~/.local/share/applications/superfile.desktop:

[Desktop Entry]
Version=1.0
Type=Application
Name=Superfile
Comment=Terminal-based file manager
Exec=spf %F
Terminal=true
Categories=Utility;FileManager;

make sure x-terminal-emulator is not already in a system executable path.

If some programs fail to query x-terminal-emulator, you may point xterm also.

sudo ln -s /usr/bin/kitty /usr/bin/xterm
2 Likes

Simple in KDE Plasma…

2 Likes

I am not a fan of desktop environments.

"If you try to hide the complexity of the system, you’ll end up with a more complex system. Layers of abstraction that serve to hide internals are never a good thing. Instead, the internals should be designed in a way such that they need no hiding.” — Aaron Griffin

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.