Bug 1213439

Summary: [WINE] Wine desktop file does not work correctly
Product: [openSUSE] openSUSE Tumbleweed Reporter: Thaynan Silva <thaynan.mdsilva>
Component: OtherAssignee: Marcus Meissner <meissner>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Enhancement    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: All   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

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