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

Questions about Wine on Linux
Post Reply
User avatar
Maniaxx
Level 2
Level 2
Posts: 26
Joined: Sun Aug 20, 2017 5:42 pm
Location: de

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

Post by Maniaxx » Tue Mar 24, 2020 2:19 pm

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 7
Level 7
Posts: 994
Joined: Thu Aug 14, 2014 10:10 am

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

Post by jkfloris » Wed Mar 25, 2020 3:14 am


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

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

Post by Maniaxx » Wed Mar 25, 2020 4:23 pm

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.

Post Reply