Okay. Two things: 1.) Any settings i've configured with winetricks, so far, has not applied to my .wine folder (in my user folder). Any and all settings have gone to /root/.wine 2.) Whether I run winetricks from /usr/bin, or run it from a downloaded version; executing it with 'sh' simply does not work...I get the same error as posted above. This is, obviously, not normal. r2rX :D
On Mon, Jul 5, 2010 at 1:56 PM, r2rX <wineforum-user at winehq.org> wrote:> Hi guys. > > From what i've gathered, you can either download winetricks manually or use the version, placed in /usr/bin, that comes with WINE when installing it in Ubuntu. > > At the moment, i'm depending on the version that came pre-configured with WINE 1.2 rc5. > > A question, though.....if I run winetricks via gksu winetricks, as opposed to sh winetricks, does that make a difference on how it will save the settings on my account? > > Cause I can only run it as gksu....sh does not work...it says: > > > Code: > /usr/bin$ sh winetricks > winetricks: 3824: cannot create /home/ready2rumbelx/.wine/dosdevices/c:/winetrickstmp/zenity.sh: Permission denied > winetricks: 3824: cannot create /home/ready2rumbelx/.wine/dosdevices/c:/winetrickstmp/zenity.sh: Permission denied > sh: Can't open /home/ready2rumbelx/.wine/dosdevices/c:/winetrickstmp/zenity.sh > > > > Is this normal? Does winetricks running as 'root' save the necessary settings applicable for Wine on my account/profile? >No this is not normal. Have you ever run wine as root, su, sudo. If so you messed your virtual wine up. John
On Mon, 2010-07-05 at 12:56 -0500, r2rX wrote:> Code: > /usr/bin$ sh winetricks > winetricks: 3824: cannot create /home/ready2rumbelx/.wine/dosdevices/c:/winetrickstmp/zenity.sh: Permission denied > winetricks: 3824: cannot create /home/ready2rumbelx/.wine/dosdevices/c:/winetrickstmp/zenity.sh: Permission denied > sh: Can't open /home/ready2rumbelx/.wine/dosdevices/c:/winetrickstmp/zenity.sh >Your problem is because you're running winetricks in /usr/bin DON'T DO THAT. EVER. /usr/bin is for storing executables that come as part of your distro and for nothing else. Period. Wine itself is installed in /usr/bin (your distro put it there) but a .wine directory should never, ever be there. Any other native Linux executables that you download should go in /usr/local/bin and their config files should go in /usr/local/etc If the executable doesn't look there for config files then its badly written, so raise a bug with its developers. Winetricks should *always* be run as the user that you're running wine in and in that user's $HOME directory. If .wine isn't there, set $WINEPREFIX to point to the .wine directory before running winetricks.> Is this normal? Does winetricks running as 'root' save the necessary > settings applicable for Wine on my account/profile? >No, and never run wine or winetricks as root. Wine and winetricks are designed to run under a normal user in that user's own directory structure. If they don't work like that its a clear sign that you've screwed things up. Martin
Hmm.... Well, until now, when I install WINE and install/uninstall winetricks (in synaptic package manager), the file always ends up in /usr/bin. I even replaced the winetricks, in /usr/bin, with another one that had permissions set to my profile, but to no avail. Although, the .wine folder IS in my home folder. And when I access /root/, I don't see a .wine folder. But I did run winetricks as 'su', so that probably messed things up. So, at this point, what is the necessary steps to correct this? I'm planning on uninstalling WINE and winetricks completely, then reinstalling wine and manually placing winetricks in my /usr/local/bin folder (with permissions set to my profile) and try again. If there's another (or a proper) way of doing it, let me know. Thanks for the input guys. This is a mistake I will not make again in the future. :) r2rX :D
Working 100% now. :) Thanks alot, guys.....I owe you one. ;) r2rX :D
r2rX wrote:> Working 100% now. :) Thanks alot, guys.....I owe you one. ;) > >How about updating our Applications Database? That would be a great gesture towards others seeking to find this information. James McKenzie