LukeSmithxyz / voidrice

My dotfiles (deployed by LARBS)
GNU General Public License v3.0
4.29k stars 1.21k forks source link

Add xdg-terminal-exec script to launch "$TERMINAL" for .desktop files #1302

Closed dawidpotocki closed 1 year ago

dawidpotocki commented 1 year ago

Solves an issue where terminal wouldn't get launched when opening an application that has Terminal=true in its .desktop file.

https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2839

This works with GLib 2.76.0 and newer (released a month ago).

This is not a "proper" implementation of xdg-terminal-exec, but that would require having to look for .desktop files of terminals and other unnecessary stuff. This does the job and works for most terminals.