Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: Wine - MS Office 2010 - can't open existing documents

  1. #1
    Join Date
    Oct 2012
    Beans
    18

    Question Wine - MS Office 2010 - can't open existing documents

    Hi

    I'm new here as I've only just switched to Ubuntu for the first time last week. I'm using Ubuntu 12.04 LTS.

    For my work, I need to be able to use MS Office 2010, so I downloaded and installed and activated Wine.

    It took me a while to get it all sorted out, but eventually I managed.

    Now I am able to open Word and Excel using Wine.

    However, I can't use those programs to open existing files.

    I *am* able to create a new document using Word or Excel and to save that document to the C drive.

    But I can't open those documents again, to edit them, or to view them.

    Any help would be much appreciated, as I'm starting to lose track of what I'm doing Ubuntu-wise... I'm not even sure how/ where to search for tips for this specific problem.

    Has anyone had this problem before or can make a blind guess as to what *might* be a solution?

    Any pointers in a vaguely right direction are much appreciated

    And SORRY if this is a really dumb question!

    Thanks
    Bella

  2. #2
    Join Date
    May 2009
    Location
    Illinois (United States)
    Beans
    440
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Wine - MS Office 2010 - can't open existing documents

    I'm using office 2010 through wine.

    How exactly is it not opening files?

    Did you navigate to and open the files through word/excel and they don't open?

    Or are you trying to right-click open with excel/word?

  3. #3
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,971
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Wine - MS Office 2010 - can't open existing documents

    It's been a couple years since I touched Wine, but I seem to recall that programs on Wine can't be called up by the file browser in order to open a file. You have to open the program within Wine and then use the program's Open feature to open the file.
    Jane, stop this crazy thing!

  4. #4
    Join Date
    May 2009
    Location
    Illinois (United States)
    Beans
    440
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Wine - MS Office 2010 - can't open existing documents

    Quote Originally Posted by newb85 View Post
    It's been a couple years since I touched Wine, but I seem to recall that programs on Wine can't be called up by the file browser in order to open a file. You have to open the program within Wine and then use the program's Open feature to open the file.
    You can right click + open with.

    The glitch these days, is that there are several entries listed in "open with" for each application.

    Some of them just launch the program, and some of them work.

    My workaround, is navigating to /home/.local/Apps/

    Then I select all the .desktop files, right click, properties.
    Then permissions, and check "allow executing as a program.

    Then I double click, 1 at a time, till I find an entry that launches the app, then pops up with an error.

    The one that opens with an error, is the one you want, believe it or not.

    So then I delete all entries for that program, except the one with the error.


    As far as I can tell, wine creates several entries in /home/.local/Apps/ for each program.

    There is 1 for each file extension associated with that program, and another that just launches the program.

    having 1 for each extension does not seem to serve any purpose, and neither does having 1 that opens the program, but not the file.

    The error that tells you, that you've got a winner, is because the program is looking for a file to open, but can't find it, because you launched the program from the .desktop file.

    So double clicking directly on the .desktop file results in an error, but right click and open with that file results in success.

    The whole thing is difficult to explain, but yes, it can and does work quite seamlessly.
    (After you delete all the garbage from /home/.local/Apps/)

  5. #5
    Join Date
    Mar 2011
    Location
    19th Hole
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Wine - MS Office 2010 - can't open existing documents

    Hi Bella,

    Welcome to Linux!

    There is no such thing as a "dumb" question. The Linux enthusiasts on this site are happy to see you trying out Ubuntu and welcome you to the Linux world. If you were able to get Wine working and MSOffice loaded as a one-week old new user, I take my hat off to you. I have a few questions and then some suggestions and comments:

    1. How are you trying to open old documents? Are you opening them from within MSOffice itself or are you opening them from some form of file manager/browser? If it's a manager/browser, which one are you using? The Windows file manager, or the Ubuntu one?

    2. Where are your old files? When you say:

    However, I can't use those programs to open existing files.
    ...do you mean that you can't find them at all, or that you can see them, but they won't open when you click on them?

    3. How have you set up your system? Are you dual booting with Windows or have you gone to Ubuntu entirely? Are your old Windows files on a different HD? A different partition? etc. Please provide as much info as possible on your configuration, even if it may seem obvious to you.

    I have been a long-time user of both Windows and Linux (decades). Therefore, the following observations and suggestions come from both my own experience as a user and as a person who has helped countless people move from Windows to Linux (troubleshooting along the way):

    1. Most people who think that they need MSOffice really don't. They are just assuming that the equivalent Linux tools won't do the job. The most powerful Linux office suite is LibreOffice and it comes pre-installed on your system if you are running Ubuntu. If you are running another variant of Ubuntu, then it can easily be installed through the Software Center. It is true that MSOffice macros, scripts and other high-level functions won't transfer to LibreOffice, but 95% of the people using the Windows product do not use these functions. With a little practice, they find that they can do exactly the same things with LibreOffice as they could with MSOffice. I would recommend that you at least give it a try.

    2. The reason for this is as follows: while it is possible and even easy to run heavy-duty Windows programs in Wine, my experience is that, sooner or later, you run into problems. Usually, it occurs when either Wine or the Windows program gets updated. For example, you may wish to upgrade Ubuntu to version 12.10 later this month. Wine gets upgraded along with Ubuntu, and suddenly, MSOffice stops working. This is not likely to happen, but it is a valid example because it has happened to me in the past.

    3. LibreOffice will save your work in MSOffice format. It will also read MSOffice documents pretty well, though sometimes its behaviour in this regard is a little flaky. I use nothing but LibreOffice and I transfer spreadsheets and word processor documents with my Windows-only friends without any problems. You can set up your preferences so that it saves in MSOffice format by default. The upside to making this transition is that, if you find yourself happy with LibreOffice, it eliminates another layer of complexity from your life. Whenever possible, it is always better to run a native Linux app than running a Windows app with Wine.

    In the meantime, we are happy to help you with your initial problem. Please provide the requested info and we can go from there.

  6. #6
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Wine - MS Office 2010 - can't open existing documents

    Moved to Wine.

  7. #7
    Join Date
    Oct 2012
    Beans
    18

    Re: Wine - MS Office 2010 - can't open existing documents

    Hi all,

    Hi cbanakis,

    I've tried opening the documents both ways, but nothing happens either way.
    Thanks for the suggestion re /home/.local/Apps/
    I'm not sure I understand it yet, but I will sit down on the weekend and give it a try, step by step.

    Hi DuckHook

    Thanks for your reply. I can see the files quite normally and I either try opening them using Word or by double clicking on them in the "Wine view C" window - but nothing happens.

    I have set up the computer as running only Ubuntu - no partition.

    At the moment I have only 2 files on there. One is a document that I downloaded from my mail account to see if Word was working. When that didn't open, then I tried creating a document with Word, which worked. I saved that to the same folder on the C drive.

    So these 2 existing files are sitting together in their folder, looking nice and snug. Everything is great, except that when I try to open them "nothing happens".

    For my work, I unfortunately *do* need MS Office - tho I would be glad if I didn't!

    I work freelance and have complex documents sent to me by my customers and if only even a single line or feature of formatting is altered (even minutely) by opening it in a program like Libre or Open Office, then that would be a nightmare for me and my customers because the documents usually go straight to the printer's after I've worked with them. So I simply can't afford to risk any tiny changes...

    A question to you both:


    Although I *did* feel proud of myself for having gotten Wine and Office to (eventually) install I am now concerned that I *will* keep running into problems with it, as you DuckHook suggest.
    I guess I was a bit naive when I googled "Ubuntu + Office" and read that the solution was "Wine".
    Having now read a bunch of entries in this forum, I'm kind of suprised that I did get it installed and running as well as I have....

    The computer I've installed this on, btw, is my 2nd comp - a back up comp in case my laptop dies...

    So now I'm wondering whether it's worth the hassle trying to get Office to work on there, if it's only going to keep having glitches in future, or just leave it as a purely Ubuntu/ Linux etc. PC?

    And if I do try to fix the issue of opening documents with Word, should I get a local computer shop to help me? Cos as I said, I'm starting to feel out of my depth.

    (I don't even want to say how many hours it took me to work out where to find the Terminal window and how to use it... )

    There's a nice computer store in our town that was started by computer-crazy students and they charge fair rates. Is there a good chance that they could fix the problem in under an hour's work?

    Anyway - thanks very much for your replies!!! It's nice to not feel alone with a computer problem!

    And many thanks for your kind welcom to the Ubuntu community. I have wanted to run Linux on one of my PCs for about 15 years now - finally gotten around to it!

    Cheers!
    Bella

  8. #8
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,971
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Wine - MS Office 2010 - can't open existing documents

    Quote Originally Posted by Bella Wilfer View Post
    And if I do try to fix the issue of opening documents with Word, should I get a local computer shop to help me? Cos as I said, I'm starting to feel out of my depth.
    ...
    There's a nice computer store in our town that was started by computer-crazy students and they charge fair rates. Is there a good chance that they could fix the problem in under an hour's work?
    That depends on the computer store. I took my machine to a computer shop a couple years ago, and the moment I told them I was running Linux, they told me they couldn't help me. Your experience might be completely different. Depending on how much hassle it is to get your machine there, you may want to call ahead and ask a few questions first...
    Jane, stop this crazy thing!

  9. #9
    Join Date
    Oct 2012
    Beans
    18

    Re: Wine - MS Office 2010 - can't open existing documents

    Hi newb85
    that is a good point. Thanks
    I've made a little progress on my problem.
    Before trying cbanakis's solution I thought I'd try something a little silly and banal to see if that worked. And it did - in part.

    I closed Word. And then did the "open with" option, of clicking on the file in the C drive and told it to open it with Word. And then it did!

    Before, I had Word already open (in the background, so to speak) - so maybe Word wasn't feeling "activated" - because it was already open? I dunno...

    Anyway, this has now worked for 2 out of 4 files... For the other 2 it's still not working, but who knows, that may be due to some other issues...

    So I will keep trying around on the weekend - but I am very happy to have made this much progress at least - even if I am a little mystified why some things work and others don't - but that's life, ey?

    Oh, and I wanted to say that my having gotten this far in 1 week (ie installing Ubuntu, installing Wine, installing MS Office 2010) is due partly to beginner's luck but is also thanks to the great instructions and tips on the Ubuntu pages. They are really helpful.

    Cheers,
    Bella

  10. #10
    Join Date
    May 2009
    Location
    Illinois (United States)
    Beans
    440
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Wine - MS Office 2010 - can't open existing documents

    Just to be clear, you do not have to do all the stuff I was talking about.

    But you'll notice, if you "right click + open with" on a file, you will notice that MS word is listed like 8 times, and the same goes for Excel.

    The whole thing I was talking about, is just to get rid of all the junk, so you only have 1 listing for each program.

    There is however, at least 1 copy of each program, that does not work with "open with".
    (Thats why I brought it up)

    What I did was verify that I had the correct one, then deleted all the others, to avoid the issue.

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •