Synapse Not Picking Up One (Manually Added) Application

Asked by md81544 on 2011-10-21

Hello,

I've Googled and Googled for this - it's really bugging me! I'm running Xubuntu (11.10) and I have one application that runs under Wine.

I manually created a .desktop file for it (in /usr/share/applications/) and it is displayed correctly in the Main Menu, and runs correctly too. I've also been able to associate files with it and cause it to be opened from the file manager by using "Open with..."

But synapse doesn't know about it! I've tried restarting Synapse, rebooting, putting the desktop file elsewhere, all to no avail. I rely on Synapse SO much and it's really annoying when I can't run one application with it :)

Other Wine applications like Notepad (woohoo) are indexed OK.

Any tips to forcing this desktop file to be picked up, please?????

Thank you!

Question information

Language:
English Edit question
Status:
Solved
For:
Synapse Edit question
Assignee:
No assignee Edit question
Solved by:
Michal Hruby
Solved:
2011-11-14
Last query:
2011-11-14
Last reply:
2011-11-14
Launchpad Janitor (janitor) said : #1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

md81544 (ubuntu-marengo) said : #2

Anyone?

Michal Hruby (mhr3) said : #3

There's not much we can do without the actual desktop file.

md81544 (ubuntu-marengo) said : #4

Thank you for your reply...

The desktop contains

[Desktop Entry]
Type=Application
Version=5.1
GenericName=Photoshop
Name=Adobe Photoshop CS5.1
Exec=wine "/home/mcd/.wine/drive_c/Program\ Files/Adobe/Adobe\ Photoshop\ CS5.1/Photoshop.exe"
Comment=Adobe Photoshop CS5.1
Icon=/home/mcd/media/icons/adobe-photoshop-icon.jpg
NoDisplay=false
Categories=Graphics
StartupNotify=true

and I've tried placing it in /usr/share/applications, ~/.local/share/applications etc.

It works fine from the main menu, it's just not being picked up by Synapse.

md81544 (ubuntu-marengo) said : #5

Just to re-iterate - I'm not asking anyone to debug anything... just does anyone have any tips on where to put this .desktop file so it is picked up by synapse?

Is there any way of manually adding this to synapse's list of apps?

Best Michal Hruby (mhr3) said : #6

The Exec key has incorrect format, you either use quotes OR backslashes, not both.

md81544 (ubuntu-marengo) said : #7

Thank you - I feel stupid now :) Removing the backslashes did the trick, it immediately appeared in Synapse.

Strange how it worked OK in the main menu with both quotes and backslashes.

md81544 (ubuntu-marengo) said : #8

Thanks Michal Hruby, that solved my question.