Linux Lite Forums
File associations with Wine programs - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5)
+--- Forum: Other (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=20)
+--- Thread: File associations with Wine programs (/showthread.php?tid=6009)

Pages: 1 2


File associations with Wine programs - timbuck2 - 02-17-2019

Hello, I have two type of files XEX and HYP that use two different Wine programs.

But when I try to open a HYP it uses the program for XEX.

If I change the file association to the program for HYP, then the XEX tries to use that program so it is a loop.

Is this a wine issue or linux lite issue?  How can I straighten this out?


Re: File associations with Wine programs - bitsnpcs - 02-17-2019

Hello timbuck2,

I have not used Wine.
On this link it talks about using PlayonLinux  for solving some problems with Wine - 

https://www.freecinema2022.gq/forums/installing-software/installing-newer-version-of-wine-not-in-repository/msg45332/#msg45332

PlayonLinux is available in Lite Software.



Re: File associations with Wine programs - bitsnpcs - 02-17-2019

I found a solution info for fixing file associations in Wine on Xfce using command line -

https://www.linuxquestions.org/questions/slackware-14/wine-hijacked-my-file-associations-4175531100/


Re: File associations with Wine programs - Valtam - 02-17-2019

You'll need to tell us what programs they are each for. Cheers.


Re: File associations with Wine programs - timbuck2 - 02-18-2019

(02-17-2019, 11:52 PM)Jerry link Wrote: You'll need to tell us what programs they are each for. Cheers.

.HYP files need to run with WinGuide.exe and .XEX files need to run with Altirra.exe

Does this help with getting the knot untied?


Re: File associations with Wine programs - Valtam - 02-18-2019

A little. Just a tip when asking for support, please provide as much information as possible. For example, a quick Google of WinGuide.exe lead me to https://osdn.net/projects/sfnet_theguide/ is that right? So we'll need the actual links and names of the primary software. Most of us won't know what these are or where they come from or what they do.


Re: File associations with Wine programs - timbuck2 - 02-18-2019

(02-18-2019, 03:49 AM)Jerry link Wrote: A little. Just a tip when asking for support, please provide as much information as possible. For example, a quick Google of WinGuide.exe lead me to https://osdn.net/projects/sfnet_theguide/ is that right? So we'll need the actual links and names of the primary software. Most of us won't know what these are or where they come from or what they do.

Hello,

No, sorry that is not the program.  These are two windows programs I am running using wine.  They don't even have installers.  I just copied their files over from my windows partitions into the .wine folder Program Files.  I just need to know how to unlink their file associations so I they don't try to open each others files.


Re: File associations with Wine programs - DeepThought - 02-18-2019

[member=8950]timbuck2[/member]

Right-click on XEX file and choose  "open with other application", then look for and select the program you want to associate with this type of file. Wine programs might not show and you will need to click on "use a custom command" and browse to the windows exe file. To run with wine you must prefix what you find with wine,
eg wine " /home/USER/.wine/drive_c/Program Files/Someprogram/someprogram.exe" and also don't forget to enclose the path in "" because of any spaces in folder/file names.
Then tick the box for "Use as default for this kind of file". Close the dialogs.

Repeat for a HYP file and that should associate those files with the different programs.


Re: File associations with Wine programs - timbuck2 - 02-18-2019

(02-18-2019, 04:33 PM)DeepThought link Wrote: [member=8950]timbuck2[/member]

Right-click on XEX file and choose  "open with other application", then look for and select the program you want to associate with this type of file. Wine programs might not show and you will need to click on "use a custom command" and browse to the windows exe file. To run with wine you must prefix what you find with wine,
eg wine " /home/USER/.wine/drive_c/Program Files/Someprogram/someprogram.exe" and also don't forget to enclose the path in "" because of any spaces in folder/file names.
Then tick the box for "Use as default for this kind of file". Close the dialogs.

Repeat for a HYP file and that should associate those files with the different programs.

Ok, I just did that for both program types.  But the strangest thing is even after manually setting them as you described, they still are linked.  If I manually set Altirra.exe to open .XEX files, the .HYP files will try to open with Altirra.exe also.  And if I then set WinGuide.exe to open .HYP files, then .XEX files try open with WinGuide.exe.




Re: File associations with Wine programs - DeepThought - 02-18-2019

[member=8950]timbuck2[/member]
A google search brought up this answer which might be of use to you:

https://askubuntu.com/questions/323437/how-to-prevent-wine-from-adding-file-associations/400430#400430