I’m trying to run a wine program from a desktop icon, but cannot quite figure out the desktop icon settings. Here is what I have
Command: wine /home/stu/bin/dppv3/dpunchprov3.exe
Workpath: /home/stu/bin/dppv3/My Domain Records/Domains
Permissions: everyone can Read & Write
Is executable
Type: desktop configuration file
Location: Desktop
I suspect my paths are wrong. I’ve tried many combinations. When I click on the icon. It just loads and exits. The combination works fine from the command line.
Would making a bash script in ~/Desktop be an option?
#! /bin/bash
wine /home/stu/bin/dppv3/dpunchprov3.exe
stubble:
I’m trying to run a wine program from a desktop icon, but cannot quite figure out the desktop icon settings. Here is what I have
Command: wine /home/stu/bin/dppv3/dpunchprov3.exe
Workpath: /home/stu/bin/dppv3/My Domain Records/Domains
Permissions: everyone can Read & Write
Is executable
Type: desktop configuration file
Location: Desktop
I suspect my paths are wrong. I’ve tried many combinations. When I click on the icon. It just loads and exits. The combination works fine from the command line.
I suspect it’s the spaces in the workpath. Try preceding each space by a backslash: “/My\ Domain\ Records/”
hcvv
January 9, 2017, 2:00pm
4
stubble:
I’m trying to run a wine program from a desktop icon, but cannot quite figure out the desktop icon settings. Here is what I have
Command: wine /home/stu/bin/dppv3/dpunchprov3.exe
Workpath: /home/stu/bin/dppv3/My Domain Records/Domains
Permissions: everyone can Read & Write
Is executable
Type: desktop configuration file
Location: Desktop
I suspect my paths are wrong. I’ve tried many combinations. When I click on the icon. It just loads and exits. The combination works fine from the command line.
As I read this, this is NOT a How To, but a request for technical help.
As every page in this sub-forums says: Please don’t ask product quesions here.
And:
This forum is NOT for asking questions,…
This this will be moved to Applications and is CLOSED for the moment.
hcvv
January 9, 2017, 3:52pm
5
stubble:
I’m trying to run a wine program from a desktop icon, but cannot quite figure out the desktop icon settings. Here is what I have
Command: wine /home/stu/bin/dppv3/dpunchprov3.exe
Workpath: /home/stu/bin/dppv3/My Domain Records/Domains
Permissions: everyone can Read & Write
Is executable
Type: desktop configuration file
Location: Desktop
I suspect my paths are wrong. I’ve tried many combinations. When I click on the icon. It just loads and exits. The combination works fine from the command line.
Moved from Unreviewed How To and open again.
It only helped a little bit. The program icon appeared briefly in the panel (system tray?) before exiting. This didn’t happen before. It just tried to start and exited. I got the same behavior with a blank workpath. To me. It still looks like a pathing problem to the program. The icon comes from an icon file, not from the program itself.
I think I’ve seen that kind of setup before. It might work. But how to set it up? (in the .desktop file)
A minimal .desktop file might look like
[Desktop Entry]
Name=Your_App_Name
Exec=wine /path/to/your/app.exe
Icon=wine
Type=Application
Categories=Wine;
For example, I have a winbox application that I can launch with
[Desktop Entry]
Name=WinBox
Exec=wine /media/sf_Documents/winbox.exe
Icon=wine
Type=Application
Categories=Wine;
Having said that, I can also launch via the .exe file directly as it has a file association with wine already.