-
-
Notifications
You must be signed in to change notification settings - Fork 588
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
remmina.desktop: Use full path to execute remmina #607
Conversation
This patch makes sure that when remmina is started via the desktop file it always starts the binary shipped with the distribution and not another remmina binary that my have higher precedence in the search path, such as in /usr/local/bin/.
Cool! Thanks a lot. I'll test it ASAP |
Look at my fix. Without that, bindir is empty, and it will install the remmina binary under / |
Awesome. Thanks for merging. |
The automatic build of the Ububtu PPA failed with
any idea ? |
I'm taking a look, it's really strange.. |
I cannot reproduce it on my environment, I'm going to rollback the last merge. @lanoxx please take a look at the logs and try to replicate and fix the issue. Thanks! |
This patch makes sure that when remmina is started via the desktop
file it always starts the binary shipped with the distribution
and not another remmina binary that my have higher precedence
in the search path, such as in /usr/local/bin/.
Without this patch, if there is a remmina binary in /usr/local/bin, for example because the user previously compiled remmina, and then decided to go back to the distribution version, but the binary was not correctly cleaned up, then the .desktop file installed by the distribution will try to execute the binary in /usr/local/bin instead of /usr/bin, which can be a very annoying cause of errors.
With this patch, if the user installs both Remmina from the distribution and compiles a newer version by himself, then he will end up with to .desktop files, one in /usr/share/applications/remmina.desktop and another one in /usr/local/share/applications/desktop/.
I am currently not able to compile Remmina on my machine so please test this patch before you merge it.