Score:0

File not opening after double-clicking the file to start Default Application

cl flag

My system: Ubuntu 20.04; Wine 6.0.1; recently installed PhotoFiltre 6.5.3 via Wine.

I would like to use PhotoFiltre.exe (a Windows application) as the default application to open a .png image file when I double click on it. I created the following PhotoFiltre.desktop file and installed it in /usr/share/applications/

Name=PhotoFiltre     
Exec=env WINEPREFIX="/home/bob/.wine" wine C:\\\\Program\\ Files\\ \\(x86\\)\\\\PhotoFiltre\\\\PhotoFiltre.exe %f    
Type=Application   
StartupNotify=true   
Path=/home/bob/.wine/dosdevices/c:/Program Files (x86)/PhotoFiltre   
Icon=3A84_PhotoFiltre.0  
StartupWMClass=photofiltre.exe

I do not fully understand this file (I am a simple user, not a computer expert); a similar file was automatically created when I installed PhotoFiltre to provide a desktop shortcut. I just added the %f at the end of the Exec command line (necessary to be recognized with the Open-With option).

I used "right-click-file>properties>open-with" to change the default application for .png files to PhotoFiltre.exe. When I double-click on a .png file PhotoFiltre now opens and I get the following error message: Unable to load image in file "Test.png"! Naturally, I would like the file to open with the application.

After the app starts, the file won't load.

After the app starts, the file won't load

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.