7Zip support in emelfm ?


Forum: X and Fluxbox
Topic: 7Zip support in emelfm ?
started by: bilbo_b

Posted by bilbo_b on Oct. 06 2006,06:44
Is there a way to have 7Zip support in emelfm (or emelfm2) ? I have downloaded and installed the 7zip.dsl but it wont work (additonaly i cant run it manualy, since it misses some files)
Posted by ^thehatsrule^ on Oct. 06 2006,20:05
I guess you meant p7zip.dsl?

What do you mean by it won't work, that you can't run it manually, and that it is missing files?

Anyways, add for emelfm, I think this should work
Code Sample
7z x %f

Posted by bilbo_b on Oct. 09 2006,09:15
ok... when im starting the console via aterm as root and then type in "7z x filename.7z", the there is a failure that 7z is missing some file, i think under /usr/bin/... id ont remeber now the right filename, but i can have a look this evening when im back at my linux laptop... i will note then the error messages...

with emelfm support i mean the same handling for 7z files like tar.gz and such archives. when i mark a *.7z file and hit enter or made adoubleclick, then the archive should be handled as a virtual directory.

Posted by mikshaw on Oct. 09 2006,12:27
you can configure emelfm's filename associations with /home/dsl/.emelfm/filetypes.  You might need to refer to emelfm documentation for syntax, but i think it's label;extension;action
Posted by bilbo_b on Oct. 10 2006,09:57
ok here are the error-message:
after installation of p7zip.dsl, 7z is located under /usr/bin/7z. I can start this from any directory as user dsl at the commandline via "7z". then there is error like this:

Quote
/usr/bin/7z: line 2: /usr/bin/p7zip/7z: no such file or directory


my system is a debian style hd installed DSL 3.01
i have made this then again with the live cd and installed p7zip.dsl there. the same error occurs. the i made the directory via
Quote

sudo mkdir /usr/bin/p7zip
sudo cp /usr/bin/7z /usr/bin/p7zip/


after this i can start 7z via commandline (without any parameters), but for the first seconds there seems to be no action, after some seconds there are so much disk access, that i  cant move the mouse, so that i have reseted the system...

any ideas ?

Posted by ^thehatsrule^ on Oct. 10 2006,13:21
I'm gonna guess that you're either out of memory or out of space of some sort or the download was corrupted (check md5sum)

(I'm assuming you're referring to the extension in mydsl>system here).  /usr/bin/7z should use /usr/lib/p7zip/7z.  Since /usr/bin/7z is just a wrapper, it won't do anything if you copy it there...

But since you're running a debian-style non-frugal hd install, you should consider using apt-get (or unc's?)

(misc: actually this extension's been updated - just not posted yet, and is now using /opt - but you shouldn't get these results now anyways)

Posted by bilbo_b on Oct. 10 2006,14:45
ok, i have downloaded the p7zip.dsl again via Windows2000, checked the md5sum via TotalCommander, the checksum is ok. this afternoon i install the p7zip.dsl on my linux laptop when im back at my hotel...

i can post the result tomorrow...

Posted by bilbo_b on Oct. 11 2006,06:44
ahhh the new one works perfectly, when i type on the console only "7z" it displays me all the parameters that i can pass to this little app, many thanks...

i will try to use this in emelfm like the other unpack plugin, so that i can handle 7z archives like normal directorys

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.