Custom wine launchers are not recognized.

Bug #803699 reported by Kao Dome
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Synapse
Invalid
Undecided
Unassigned

Bug Description

I have some Windows programs installed through Wine, as I disable the winemenubuilder application I create some launcher files so that the relevant programs can be easily run.

I tried with both 0.2.6 and rev. 442 but those programs won't appear as I type part of them. There is an example of a custom launcher attached so that you can test, writing "dBpoweramp" or "Music" or "Converter" won't show it up.

Those files generally reside in /usr/share/applications owned by root with permissions 644, but they could also be in ~/.local/share/applications owned by the user. How come Synapse was able to find Leafpad for example but not those?

I'm currently running Gnome 2.32.1 in a 64-bit machine.

Tags: launcher wine
Revision history for this message
Kao Dome (kaodome) wrote :
Revision history for this message
Michal Hruby (mhr3) wrote :

And this is why:

[15:56:23.628109 Warning] [DesktopFileInfo] Invalid desktop file: Key file contains key 'Exec' which has value that cannot be interpreted.

You can't use backslash escaping in desktop files.

Changed in synapse-project:
status: New → Incomplete
Revision history for this message
Kao Dome (kaodome) wrote :

Oh, I see... I never noticed that as launching them from the Gnome menu worked fine.

Replacing backslash escaping with double quotes worked as expected, for example:

/home/kao/.wine/drive_c/Program\ Files\ \(x86\)/foo.exe
by
"/home/kao/.wine/drive_c/Program Files (x86)/foo.exe"

Thank you very much for your prompt reply Michal.

Revision history for this message
Michal Hruby (mhr3) wrote :

Well, the desktop file spec doesn't really say that this shouldn't work, it might be a bug in glib's keyfile parser. Still, use the quoted format as a workaround.

Changed in synapse-project:
status: Incomplete → Invalid
milestone: none → backlog
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.