Vladimir-csp / xdg-terminal-exec

Proposal for XDG Default Terminal Execution Specification and shell-based reference implementation.
GNU General Public License v3.0
77 stars 12 forks source link

Doesn't work on Arch Linux #27

Closed 103sbavert closed 1 year ago

103sbavert commented 1 year ago

The package on Arch Linux is named xdg-terminal-exec-git, the terminal I am using is blackbox-terminal from the AUR.

Here's my gnome-xdg-terminals.list and xdg-terminals.list

com.raggesilver.BlackBox.desktop 

(This file clearly does exist in my .local/share/applications and /usr/share/applications dirs)

Running xdg-terminal-exec gives:

finding preferred entry in configs
looking for config '/home/sbeve72/.config/gnome-xdg-terminals.list'
reading config '/home/sbeve72/.config/gnome-xdg-terminals.list'
parsing line 'com.raggesilver.BlackBox.desktop'
retrieved entry ID 'com.raggesilver.BlackBox.desktop'
checking if ID 'com.raggesilver.BlackBox.desktop' is in blacklist ''
finding path for entry ID 'com.raggesilver.BlackBox.desktop'
path not found for entry ID 'com.raggesilver.BlackBox.desktop'
103sbavert commented 1 year ago

NVM, the problem was that the terminal's .desktop file wasn't in .local/share/xdg-terminals but instead on .local/share/applications and also .local/share/applications/xdg-terminals.