View Full Version : Vista-like Targets with Wine...is it possible?
July 5th, 2009, 03:58 AM
In Windows Vista, when I make a shortcut of a game, there is a target location that I can modify. Is it possible to simulate this in Ubuntu? If so, how do I reach this with Wine?
Any help would be greatly appreciated!
Thanks in advance!
July 5th, 2009, 04:46 AM
The Target path in a Windows shortcut is pretty much the same as the Command path in an Ubuntu launcher (shortcut). The only difference with Wine is you need the Wine parameters in it, like this:
env WINEPREFIX="/home/<username>/.wine" wine "C:\Program Files\Game Directory\game.exe"
Wine does create shortcuts in the Applications menu when you install something, so you should just be able to modify the existing one (using the menu editor: System > Preferences > Main Menu) to suit your needs. I'm assuming that you want to be able to put command switches on the end of the command, like a "-console" to activate the in-game console. If so, you should be able to do it just like this:
env WINEPREFIX="/home/<username>/.wine" wine "C:\Program Files\Game Directory\game.exe" -console
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.