ocrfeeder ".desktop" file fails to properly launch program

Bug #1839179 reported by David Martinka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ocrfeeder (Ubuntu)
New
Undecided
Unassigned

Bug Description

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)

Revision history for this message
David Martinka (mainmachine) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.