You are not logged in.
Pages: 1
Hi ^^
So, I'm running Arch and Openbox and I was going to install GTK2 themes when I noticed my tar.gz file wouldn't open - then I remembered I hadn't installed p7zip and so I did - still no luck... I even rebooted the computer, but still no luck...
Then I thought, maybe I needed to determine which application would unzip files and I tried to use mime to do it for me.. So I typed in the terminal
mimeopen -d ~/Downloads/Dust-0.4.tar.gz
and this is what was returned:
No applications found for mimetype: application/x-compressed-tar
I've also tried with zip files I had lying around but the same thing happens, except the error is:
No applications found for mimetype: application/zip
... I don't know what else to do, I've had Openbox and Arch for a few months now and I never had this problem.. And then my HDD died, I reinstalled Arch and OB and this is happening... I probably forgot something, but if you could help..
^^ thanks in advance
~ Believing oneself to be perfect is often the sign of a delusional mind ~
Offline
Offline
Thanks for the article, I also tried their method with xdg-mime however it didn't work either...
See, first I typed this in the terminal:
xdg-mime query filetype ~/Downloads/Dust-0.4.tar.gz
so I'd know the filetype... and it returned:
application/x-gzip; charset=binary
.. So far so good, right..?
Then I tried to make p7zip the default app for this...
xdg-mime default p7zip application/x-gzip
Apparently I needed to ask .desktop after the app, so I did
xdg-mime default p7zip.desktop application/x-gzip
and... this is what I've got now:
/usr/bin/xdg-mime: line 664: /home/vandakiara/.local/share/applications/defaults.list.new: No such file or directory
grep: /home/vandakiara/.local/share/applications/defaults.list.new: No such file or directory
/usr/bin/xdg-mime: line 666: /home/vandakiara/.local/share/applications/defaults.list.new: No such file or directory
/usr/bin/xdg-mime: line 668: /home/vandakiara/.local/share/applications/defaults.list.new: No such file or directory
mv: impossível analisar «/home/vandakiara/.local/share/applications/defaults.list.new»: No such file or directory
..... any ideas? Btw, my problem isn't really working with mime - I've set default apps for stuff a bunch of times... My real problem is being unable to extract compressed files, that's all...
~ Believing oneself to be perfect is often the sign of a delusional mind ~
Offline
Can you do it from the command line?
Offline
Can you do it from the command line?
how so? :s
~ Believing oneself to be perfect is often the sign of a delusional mind ~
Offline
Let's try
tar xfz Dust-0.4.tar.gz
Offline
Let's try
tar xfz Dust-0.4.tar.gz
ok copied your code exactly and this was the result
tar (child): Dust-0.4.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Then I tried the path to the Dust file instead of only the name of it, but nothing happened... :s
~ Believing oneself to be perfect is often the sign of a delusional mind ~
Offline
What do you mean "nothing happened"? Are the files / folder extracted?
Create a folder, go to the folder and run the command with the full path again.
[karol@black ~]$ mkdir foo
[karol@black ~]$ cd foo
[karol@black foo]$ tar xfz ~/Downloads/Dust-0.4.tar.gz
Now post the output of 'ls'.
Last edited by karol (2011-08-06 13:41:16)
Offline
What do you mean "nothing happened"? Are the files / folder extracted?
Create a folder, go to the folder and run the command with the full path again.
[karol@black ~]$ mkdir foo [karol@black ~]$ cd foo [karol@black foo]$ tar xfz ~/Downloads/Dust-0.4.tar.gz
Now post the output of 'ls'.
sorry my bad - something did happen, just didn't show in the command line.. after you asked if the files were extracted, I checked my home folder and indeed, they are. Thanks, you're a life saver ^^
So... do I have to do this everytime I want to extract something? :s surely there must be an easier way to do this.. (right? :s)
~ Believing oneself to be perfect is often the sign of a delusional mind ~
Offline
So... do I have to do this everytime I want to extract something? :s surely there must be an easier way to do this.. (right? :s)
https://wiki.archlinux.org/index.php/Co … es#extract
For it to work you need to have a bunch of apps installed: unzip, cabextract etc.
There probably is an even simpler way and there surely is a GUI way too, but I don't use them, so you need to ask somebody else
Offline
@vandakiara you're funny.
I would recommend you install GUI archiving tools such as xarchiver and file-roller. For a command-line frontend, try atool. But really, you should always be aware what backend is being used to extract an archive. Have you ever heard of zip bomb?
Last edited by lolilolicon (2011-08-06 14:06:01)
This silver ladybug at line 28...
Offline
vandakiara wrote:So... do I have to do this everytime I want to extract something? :s surely there must be an easier way to do this.. (right? :s)
https://wiki.archlinux.org/index.php/Co … es#extract
For it to work you need to have a bunch of apps installed: unzip, cabextract etc.
There probably is an even simpler way and there surely is a GUI way too, but I don't use them, so you need to ask somebody else
oh okay I'll check it out, thanks anyway, you really helped ^^
so, new question - does anyone know how to double click a compressed file and automatically install it like it happens in p7zip?
~ Believing oneself to be perfect is often the sign of a delusional mind ~
Offline
In case you missed lolilolicon's post, try Xarchiver or file-roller.
BTW, p7zip is a small console app, so I don't think you can double-click anything there.
Last edited by karol (2011-08-06 14:08:40)
Offline
In case you missed lolilolicon's post, try Xarchiver or file-roller.
BTW, p7zip is a small console app, so I don't think you can double-click anything there.
I think he/she was talking about 7zFM or p7zipForFilemanager or something... but double-click triggering console apps is just fine, you know, like in a file manager.
Last edited by lolilolicon (2011-08-06 14:49:07)
This silver ladybug at line 28...
Offline
Pages: 1