taslinux
August 29th, 2009, 03:23 AM
A Windows program I use runs great under Wine 1.0.1, and I can start the program using a Gnome panel or desktop launcher pointed to Wine.
What I would like to do is associate certain filetypes with that program. If the Windows app was a music player, for example, I could write a little bash script which opens the Windows player in Wine, then tell Nautilus that all filetypes of that kind should be opened using that script. (Works fine, I've tried this.)
The problem is that the filetypes I need to associate are seen by Nautilus as plain text documents. If I associate one of these with the Wine/Windows program, then ALL plain text documents will open that way by default.
How do I get Nautilus to see these particular text files as special, so I can associate them with the Windows program? They all have a certain filename suffix (call it ".xyz"),
What I would like to do is associate certain filetypes with that program. If the Windows app was a music player, for example, I could write a little bash script which opens the Windows player in Wine, then tell Nautilus that all filetypes of that kind should be opened using that script. (Works fine, I've tried this.)
The problem is that the filetypes I need to associate are seen by Nautilus as plain text documents. If I associate one of these with the Wine/Windows program, then ALL plain text documents will open that way by default.
How do I get Nautilus to see these particular text files as special, so I can associate them with the Windows program? They all have a certain filename suffix (call it ".xyz"),