Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Exec path in desktop file when installing from aur #423

Open
Nevon opened this issue Dec 31, 2024 · 0 comments
Open

Incorrect Exec path in desktop file when installing from aur #423

Nevon opened this issue Dec 31, 2024 · 0 comments

Comments

@Nevon
Copy link

Nevon commented Dec 31, 2024

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.

@Nevon Nevon changed the title Incorrect Exec path in desktop file Incorrect Exec path in desktop file when installing from aur Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant