[Wine] Running wine as different user
martin at gregorie.org
Tue Dec 1 16:53:00 CST 2009
On Tue, 2009-12-01 at 13:10 +0000, Rainer Krug wrote:
> PDFXChange says it uses the Login name, and not the name specified in the dialog
> of winecfg.
> So - is it possible to change the login name in wine?
Yes, provided that PDFXChange reads it from the USER environment
variable. Try using a wrapper script:
export USER="Phileas E User"
cd "$WINEPREFIX/drive_c/Program Files/PDFXChange
You may not need to set the WINEPREFIX or change directory before
running wine: they are just examples. Change them to match your
requirements or leave them out if you don't need them and remember to
run "chmod u+x myscript" before trying to run it.
More information about the wine-users