You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing opengamepadui-bin using yay , the desktop file looks like this:
[Desktop Entry]
Version=1.0
Name=OpenGamepadUI
GenericName=Game launcher and overlay
Type=Application
Comment=Game launcher and overlay
Icon=opengamepadui
Exec=/home/nevon/.cache/yay/opengamepadui-bin/pkg/opengamepadui-bin/usr/bin/opengamepadui
Terminal=false
StartupNotify=false
Note how the Exec property is pointing to the pkgdir because of this line in the installer. I'm no Arch packaging expert, but I believe pkgdir is just the root of the temporary directory where the package is built in, not where it actually gets copied to on the filesystem when installed.
Because the command specified in Exec cannot be found, the application does not show up in the launcher. Overriding the desktop file in ~/.local/share/applications/opengamepadui.desktop with Exec=/usr/bin/opengamepadui works just fine. From looking at other desktop entries, I think it's pretty much expected that the executable should be in the PATH, so just Exec=opengamepadui should be okay.
The text was updated successfully, but these errors were encountered:
Nevon
changed the title
Incorrect Exec path in desktop file
Incorrect Exec path in desktop file when installing from aur
Dec 31, 2024
When installing
opengamepadui-bin
usingyay
, the desktop file looks like this:Note how the Exec property is pointing to the
pkgdir
because of this line in the installer. I'm no Arch packaging expert, but I believepkgdir
is just the root of the temporary directory where the package is built in, not where it actually gets copied to on the filesystem when installed.Because the command specified in
Exec
cannot be found, the application does not show up in the launcher. Overriding the desktop file in~/.local/share/applications/opengamepadui.desktop
withExec=/usr/bin/opengamepadui
works just fine. From looking at other desktop entries, I think it's pretty much expected that the executable should be in the PATH, so justExec=opengamepadui
should be okay.The text was updated successfully, but these errors were encountered: