Public bug reported:

This should be an easy one, I've fixed it myself. Here's a snippet of
ocrfeeder.desktop:

'''
Exec=ocrfeeder -i %f
'''

>From man page, "-i" tells ocrfeeder to interpret subsequent arguments as
files to open, however since we're opening this from a menu, there are
no additional arguments passed, so the program fails to launch (or else
fails silently, haven't dug that far).

I copied the packaged ocrfeeder.desktop to
~/.local/share/applications/ocrfeeder.desktop as an override, and then
modified it:

'''
#Exec=ocrfeeder -i %f
Exec=ocrfeeder
'''

Now it opens as expected. I'm not sure what the intention was but I
can't see how this would work other than by opening the program via a
context menu in a file browser, where a file name would actually be
passed...

Looks like this may have been fixed upstream:

https://gitlab.gnome.org/GNOME/ocrfeeder/commit/f5f1b076993ec0ba94250f21051e049072c7e230

SYSTEM DATA:
Description:    Ubuntu 18.04.3 LTS
Release:        18.04

ocrfeeder:
  Installed: 0.8.1-4
  Candidate: 0.8.1-4
  Version table:
 *** 0.8.1-4 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ocrfeeder 0.8.1-4
ProcVersionSignature:
 
Uname: Linux 5.0.19-19.05.27.amdgpu.ubuntu x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
CurrentDesktop: X-Cinnamon
Date: Tue Aug  6 12:33:29 2019
InstallationDate: Installed on 2015-05-11 (1547 days ago)
InstallationMedia: Ubuntu-MATE 15.04 "Vivid Vervet" - Release amd64 (20150422.1)
PackageArchitecture: all
SourcePackage: ocrfeeder
UpgradeStatus: Upgraded to bionic on 2019-01-04 (214 days ago)

** Affects: ocrfeeder (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic third-party-packages

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839179

Title:
  ocrfeeder ".desktop" file fails to properly launch program

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocrfeeder/+bug/1839179/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to