Bug 1213439 - [WINE] Wine desktop file does not work correctly
Summary: [WINE] Wine desktop file does not work correctly
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: All openSUSE Tumbleweed
: P5 - None : Enhancement (vote)
Target Milestone: ---
Assignee: Marcus Meissner
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-18 20:49 UTC by Thaynan Silva
Modified: 2023-07-22 10:25 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thaynan Silva 2023-07-18 20:49:21 UTC
Hello!

The key `Exec' of the WINE `wine.desktop' file is looks like this:

> Exec=wine %f

This makes EXE programs to start with the startup directory (PWD) set to the user home, and programs causes programs that look for files in their startup directory to fail execution.

The ideal value for the key `Exec' is as followed:

> Exec=wine start /unix %f

This makes it so WINE sets the program working directory to the path of the EXE, making the program work correctly.
Comment 1 Marcus Meissner 2023-07-22 09:47:33 UTC
adjusted like this
Comment 2 OBSbugzilla Bot 2023-07-22 10:25:02 UTC
This is an autogenerated message for OBS integration:
This bug (1213439) was mentioned in
https://build.opensuse.org/request/show/1100036 Factory / wine