Synapse Not Picking Up One (Manually Added) Application

Asked by md81544

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:
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

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

Revision history for this message
md81544 (ubuntu-marengo) said :
#2

Anyone?

Revision history for this message
Michal Hruby (mhr3) said :
#3

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

Revision history for this message
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.

Revision history for this message
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?

Revision history for this message
Best Michal Hruby (mhr3) said :
#6

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

Revision history for this message
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.

Revision history for this message
md81544 (ubuntu-marengo) said :
#8

Thanks Michal Hruby, that solved my question.