LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-18-2009, 06:07 AM   #1
elusive_night
LQ Newbie
 
Registered: Jun 2009
Posts: 25

Rep: Reputation: 15
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
 
Old 08-18-2009, 07:52 AM   #2
elusive_night
LQ Newbie
 
Registered: Jun 2009
Posts: 25

Original Poster
Rep: Reputation: 15
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
 
Old 08-18-2009, 01:40 PM   #3
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,627

Rep: Reputation: 471Reputation: 471Reputation: 471Reputation: 471Reputation: 471
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.

Last edited by malekmustaq; 08-18-2009 at 01:47 PM.
 
Old 08-19-2009, 06:06 AM   #4
elusive_night
LQ Newbie
 
Registered: Jun 2009
Posts: 25

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot create directory even if file exists pratikvimal Linux - Newbie 7 06-15-2009 03:51 AM
check if directory exists using shell script v333k Programming 9 04-23-2009 09:29 AM
detecting if a directory exists knobby67 Programming 3 10-06-2008 09:48 AM
wine: exists lstat socket : No such file or directory hisnumber666 Linux - Software 1 05-02-2006 02:35 AM
Deny user access to terminal/directory browsing intranet_man Linux - Networking 2 03-22-2006 12:04 PM


All times are GMT -5. The time now is 10:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration