LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-28-2009, 01:26 PM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,373

Rep: Reputation: Disabled
why can't I open a file in Trash with OpenOffice?


I am trying to open some Word documents that are in my Trash can using Openoffice, but nothing happens except the OO Writer splash screen. Fine, I'll just take them out of Trash, but why won't OO open them in Trash?
 
Old 05-28-2009, 01:30 PM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Try to do it from an xterm and see if it complains or something. Like this I guess.

Code:
oowrite ~/.Trash/foo.doc
Or wherever your trash can lies.
 
Old 05-28-2009, 07:53 PM   #3
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,373

Original Poster
Rep: Reputation: Disabled
It doesn't recognize "oowrite." That's odd, since I assume you do know the command and I do have the Openoffice WP...
 
Old 05-28-2009, 07:57 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Files in the trash can may be compressed.
Look at the file using the `file' program.
 
Old 05-28-2009, 08:31 PM   #5
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,373

Original Poster
Rep: Reputation: Disabled
That didn't work either, having an equally odd result:

Quote:
josh@mepis1:~$ file 'trash:/0-memoir2%20(The%20Purge).doc'
trash:/0-memoir2%20(The%20Purge).doc: ERROR: cannot open `trash:/0-memoir2%20(The%20Purge).doc' (No such file or directory)
 
Old 05-28-2009, 08:40 PM   #6
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by newbiesforever View Post
It doesn't recognize "oowrite." That's odd, since I assume you do know the command and I do have the Openoffice WP...
Try oowriter, xoowriter or whatever. Also you can use TAB for autocompletion in command line.


Quote:
Originally Posted by newbiesforever View Post
That didn't work either, having an equally odd result:
Command line tools usually don't understand faked URIs like this one. All they understand is standard unix paths, which can contain file and dir names and slashes to separate path elements. So, first you need to locate what physical location holds your trash folder.

It will usually be something like ~/.Trash, ~/Trash, ~/Desktop/Trash or whatever.

I don't use this kind of "improvements" and I don't know what your desktop is either so I can't be any more concrete. I think that, in this case, abstraction is a bad thing because it just makes communication harder, like in this case. But that's food for another thread
 
Old 05-28-2009, 09:01 PM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Use autocompletion so that you get the spelling correct, including escaping characters that may need escaping.

I normally delete files in the console or use SHIFT-DEL to delete files rather then moving them to the trash. I tested deleting a file (to trash) and looked in .local/share/trash/ for the file. It was in the files subdirectory and the file was there and uncompressed.

Details may depend on the size of the file, the amount of free space, and maybe other things. In any case, why would you want to open a document from trash? Restore it first and "fo get bout it".
 
Old 05-28-2009, 09:47 PM   #8
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,373

Original Poster
Rep: Reputation: Disabled
I'll try those things. Well, I don't use Trash to delete either, but to hold things I haven't decided what to do with and want out of the way. As far as I am concerned, Trash is a stupid Apple idea that Microsoft, being at least as stupid, imitated; and my reaction to it is "when I want a file deleted, I will delete it, thank you." I'd better stop before I get too far off topic with my various jokes about the Trash Can...
 
Old 05-29-2009, 01:11 AM   #9
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
For the record, it's called swriter (the openoffice program).
cheers,
jdk
 
Old 05-29-2009, 08:28 AM   #10
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Not here, certainly

I've seen it as oowriter and xoowriter depending on versions. Maybe swriter is for star office, which is not quite the same.
 
Old 05-29-2009, 08:34 AM   #11
anarchyinc
Member
 
Registered: Dec 2008
Distribution: Debian SID Xfce
Posts: 40

Rep: Reputation: 16
I thought that you were not supposed to be able to look at items in the trash by default. Wouldn't it be a security flaw if others could view items that you have forgotten about in your trash?? Isn't this a good thing??
 
Old 05-29-2009, 08:37 AM   #12
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by anarchyinc View Post
I thought that you were not supposed to be able to look at items in the trash by default.
I wonder how are you going to retrieve them back again, then

Quote:
Wouldn't it be a security flaw if others could view items that you have forgotten about in your trash?? Isn't this a good thing??
I don't get your point. The trash folder lives in your $HOME, and it is your property. No one can see anything that you don't want them to see in your $HOME directory, let alone pick your files. Trash is not special, there's nothing magical about it, it's just another folder in your $HOME directory.
 
Old 05-29-2009, 08:47 AM   #13
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by i92guboj View Post
Not here, certainly

I've seen it as oowriter and xoowriter depending on versions. Maybe swriter is for star office, which is not quite the same.
Nope. I have always used openoffice from openoffice.org and never staroffice. I've used it for a number of years and I can't remember the writer program being anything but swriter; the spreadsheet is scalc; the presentation simpress; the drawing program, sdraw, etc. I'm talking about the file name and not the app name. The file is typically found in ...openoffice.org3/program/swriter (under /opt in my case).
cheers,
jdk

Last edited by jdkaye; 05-29-2009 at 08:50 AM.
 
  


Reply



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
KDE4 and openoffice 3 file open problem aszabo Slackware 8 03-30-2009 12:26 PM
How to open the trash folder and empty the trash in command line cmx08 Linux - Newbie 5 08-29-2008 09:15 AM
OpenOffice auto open file johngrinham Linux - Software 3 06-25-2008 06:07 AM
Open .txt file using OpenOffice through terminal jojojo Linux - Newbie 3 05-31-2006 11:18 AM
openoffice writer file won't open knowerrors Linux - Software 7 01-03-2005 05:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:38 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
Open Source Consulting | Domain Registration