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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-28-2009, 01:26 PM
|
#1
|
Senior Member
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,391
Rep:
|
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?
|
|
|
05-28-2009, 01:30 PM
|
#2
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083
|
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.
|
|
|
05-28-2009, 07:53 PM
|
#3
|
Senior Member
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,391
Original Poster
Rep:
|
It doesn't recognize "oowrite." That's odd, since I assume you do know the command and I do have the Openoffice WP...
|
|
|
05-28-2009, 07:57 PM
|
#4
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Files in the trash can may be compressed.
Look at the file using the `file' program.
|
|
|
05-28-2009, 08:31 PM
|
#5
|
Senior Member
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,391
Original Poster
Rep:
|
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)
|
|
|
|
05-28-2009, 08:40 PM
|
#6
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083
|
Quote:
Originally Posted by newbiesforever
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
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
|
|
|
05-28-2009, 09:01 PM
|
#7
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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".
|
|
|
05-28-2009, 09:47 PM
|
#8
|
Senior Member
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,391
Original Poster
Rep:
|
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...
|
|
|
05-29-2009, 01:11 AM
|
#9
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep:
|
For the record, it's called swriter (the openoffice program).
cheers,
jdk
|
|
|
05-29-2009, 08:28 AM
|
#10
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083
|
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.
|
|
|
05-29-2009, 08:34 AM
|
#11
|
Member
Registered: Dec 2008
Distribution: Debian SID Xfce
Posts: 40
Rep:
|
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??
|
|
|
05-29-2009, 08:37 AM
|
#12
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083
|
Quote:
Originally Posted by anarchyinc
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.
|
|
|
05-29-2009, 08:47 AM
|
#13
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep:
|
Quote:
Originally Posted by i92guboj
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.
|
|
|
All times are GMT -5. The time now is 05:15 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|