chmln / handlr

A better xdg-utils
MIT License
633 stars 25 forks source link

An example of setting the default terminal within filemanagers? #62

Open RaafatTurki opened 2 years ago

RaafatTurki commented 2 years ago

I'm a bit confused about setting the default terminal emulator using x-scheme-handler/terminal as it's not working with neovim and thunar, here are the steps I followed:

No cigar :(

Furthermore the same steps can be followed with the change of thunar -> pcmanfm And setting inside pcmanfm Edit > Preferences > Advanced > Terminal emulator to kitty works just fine. This is obviously overriding something hence is a crutch of a solution

Am I missing something here?

gandalf3 commented 1 year ago

This is because thunar is part of xfce, which doesn't use xdg-open but instead an xfce alternative (exo-open). handlr likely isn't being executed at all. pcmanfm (lxde) and other environments also do this. If you want, you can customize the default applications exo uses via xfce4-settings-manager