How to change default wine binary in desktop start menu entries (XFCE)?

Questions about Wine on Linux
Locked
User avatar
Maniaxx
Level 2
Level 2
Posts: 38
Joined: Sun Aug 20, 2017 5:42 pm

How to change default wine binary in desktop start menu entries (XFCE)?

Post by Maniaxx »

When i install an application a start menu entry gets created that looks like this:
env WINEPREFIX="/tmp/wine2" /usr/bin/wine C:\\windows\\command\\start.exe /Unix /tmp/wine2/dosdevices/c:/ProgramData/Microsoft/Windows/Start\ Menu/Programs/Games/Chess.lnk
That is correct but i want the start menu links to be created with '/usr/local/bin/wine' instead (that is a custom script). How can i change this so every newly installed app points to it?

Arch Linux 5.5.11
Wine staging 5.4
XFCE
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: How to change default wine binary in desktop start menu entries (XFCE)?

Post by jkfloris »

User avatar
Maniaxx
Level 2
Level 2
Posts: 38
Joined: Sun Aug 20, 2017 5:42 pm

Re: How to change default wine binary in desktop start menu entries (XFCE)?

Post by Maniaxx »

Thanks. Didn't expect it's hardcoded in src though.
I guess i will replace /usr/bin/wine in the first place then and add a hook for the update procedure (Arch Linux specific) to keep it persistent over updates.
Locked