#2 .desktop link pointing to wrong path
Opened 2 years ago by arrfab. Modified 2 years ago

can come with a PR but the provided .desktop shortcut is fixed for icon but not for binary path :
https://pagure.io/fedora-droidcam/blob/master/f/droidcam.spec#_57

Worth adding the sed operation to point to correct path ?

diff -Naur /usr/share/applications/droidcam.desktop.orig /usr/share/applications/droidcam.desktop
--- /usr/share/applications/droidcam.desktop.orig   2022-02-23 15:08:47.301028710 +0100
+++ /usr/share/applications/droidcam.desktop    2022-02-23 15:09:25.416180375 +0100
@@ -2,8 +2,8 @@
 Encoding=UTF-8
 Name=DroidCam
 Comment=Use your phone as a webcam
-TryExec=/usr/local/bin/droidcam
-Exec=/usr/local/bin/droidcam
+TryExec=/usr/bin/droidcam
+Exec=/usr/bin/droidcam
 Icon=droidcam
 Terminal=false
 Type=Application

It's then appearing in Gnome menu


Hi Fabian!

Thanks for reporting this issue, you are right. I added a sed operation to fix this.

At this moment the package is rebuilding on copr, please let me know if this fixes it.

(run dnf update --refresh droidcam)

Log in to comment on this ticket.

Metadata