Confused by Xubuntu desktop launcher

Asked by LoonyPhoenix

When I installed xubuntu-desktop on top of Ubuntu, one Wine-generated desktop launcher stopped working as it should have from within Xfce. The program associated with the launcher lost all its settings each time it started.

I found I had to launch the program directly by locating and opening it in Thunar to make it work correctly. Both "/path/to/program.exe" and "wine /path/to/program.exe" in terminal and alt-f2 produced the same results as the launcher. When I made a soft link to program.exe on desktop the program refused to start at all. (Not that I expected it to; I understand what's happening here at least - it can't locate its other files.) Eventually I discovered that if I did "cd /path/to" first and then "./program.exe" the program would start up okay, so I made a script and used that in the launcher.

I'm extremely confused as to what happened. What is the difference if I start a program from my home directory or the directory it is located in? Is there an easier workaround for my problem? Even though it's solved, I feel like I'm missing something important here, so I'm asking the question anyway :)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
LoonyPhoenix
Solved:
Last query:
Last reply:
Revision history for this message
jacobS (jacsalomon) said :
#1

 Try whit:

"path/to/./program.exe"

Revision history for this message
LoonyPhoenix (loonyphoenix) said :
#2

Didn't help.

Actually, I think I know what's happening and it must be a bug in Xfce. It disregards the Path= line in the launcher. So I guess the working workaround is what is left to me...

Revision history for this message
Igor Tarasov (tarasov-igor) said :
#3

BTW, this is serious problem: XFCE really ignores Path parameter, and this creates lots of trouble for users, esp. newbies and esp. with wine programs. Not sure if this is fixed in 9.04, had no chance to test.