LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Wine directory exists on HD, terminal can access, dolphin cannot - Gentoo (https://www.linuxquestions.org/questions/linux-newbie-8/wine-directory-exists-on-hd-terminal-can-access-dolphin-cannot-gentoo-748395/)

elusive_night 08-18-2009 06:07 AM

Wine directory exists on HD, terminal can access, dolphin cannot - Gentoo
 
Hello,

Just a wee problem here that I was wondering if I could have some help with, been using linux for about two years now and last week made the change from Ubuntu to Sabayon. Just emerged wine to 1.1.27 and started to install some apps using wine, and I needed to access the .wine directory in my root directory, but I cannot see it. Hidden files/folders are being shown, I can see the .wine directory in my /home/*username*/ folder, but this does not house the installations.
If I run
Code:

locate .wine
from the terminal, I get the following result:
Code:

/root/.wine/drive_c
Hm.
From the terminal I can cd into that directory, I can access the executable's I need to and run them, but I'm trying to access them using Dolphin. Can't see it. Using the address bar I type in the directory stated in the locate command, and I get told it does not exist. Hmmmm.
Also, I have been creating a small bash script to easily open some applications wine is using that I need to use for my University work, however, I receive a 'Wine cannot find:' error. Weird thing is, directly from the terminal I can type
Code:

wine /root/.wine/drive_c/Program\ Files\
or
Code:

wine /.wine/drive_c/Program\ Files
and the app will start, but using that EXACT command in the script (I tried using sudo prefix but to no effect) it will not work.
I'm sure I'm just being a n00b and doing something simple wrong. My system is a Dell Vostro 1000 with AMD Sempron 2.00 ghz and 1 GB of ram, running Sabayon 4.2 with Wine 1.1.27.

Thanks for any and all help,

EN

elusive_night 08-18-2009 07:52 AM

UPDATE

I have just tried to create a symbolic link from .wine/drive_c/Program\ Files/, when using the command
Code:

ls -l
terminal displays that there is a link to the wine directory, the output is:
Code:

lrwxrwxrwx 1 root root 54 2009-08-18 13:44 Office12 -> .wine/drive_c/Program Files/Microsoft Office/Office12/
But, I can't cd to it in terminal OR use dolphin!

Any ideas?

Thanks,

EN

malekmustaq 08-18-2009 01:40 PM

elusive_night,

Quote:

Using the address bar I type in the directory stated in the locate command, and I get told it does not exist.
Thoughts:
Probably because in your case Dolphin is not running as a "root", I'm no familiar with Sabayon but I think most file managers today offer an "Open as Root" option, if not then you need to configure Dolphin to open as root, like the case of Thunar in Xfce under Slackware 12.2 where the user has to do this configuration.
--------------x

Quote:

however, I receive a 'Wine cannot find:' error. Weird thing is, directly from the terminal I can type...
Thoughts:
Permission problem. See to it that the script has the right to execute wine. Second, you probably need "gksudo" to automate execution as root.
--------------x

Suggestions:

Install wine as desktop user. This manner you can run anything without need of root account.

With due respect to your "personal taste" there is no need to bother running Microsoft Office under .wine, that program is very heavy and some machines cannot accommodate it on .wine. OpenOffice Suite is available and free, install it, it can open M$ .doc or excel files, anything about M$Office can be done under OpenOffice.

Hope this can help.

good luck.

elusive_night 08-19-2009 06:06 AM

Hi, thanks for your reply malekmustaq, your advice was absolutely spot on, I simply had to use gksudo in the script to give it permissions.
Unfortunately the requirements of my degree are such that I have to use the MS Office Suite for a number of focus modules, otherwise I'd just use OOO.

Thank you so much for your help malekmustaq,

EN


All times are GMT -5. The time now is 09:37 AM.