Re: Running wine as different user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:

=================script=======================
#!/bin/bash
export USER="Phileas E User"
export WINEPREFIX=.pdfxchange_prefix
cd "$WINEPREFIX/drive_c/Program Files/PDFXChange
wine PDFXchange
=================script=======================

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.


Martin




[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux