WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: right click context menu on zip file in pcmanfm does not work  (Read 7890 times)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
I chose 'extract here' but nothing happened.
Though opening zip file with file-roller & then extracting is cinch.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11540
Re: right click context menu on zip file in pcmanfm does not work
« Reply #1 on: May 02, 2013, 11:12:00 AM »
Hi manit123
This might be related to your problem:
https://bbs.archlinux.org/viewtopic.php?id=66558

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: right click context menu on zip file in pcmanfm does not work
« Reply #2 on: May 03, 2013, 12:31:26 AM »
BTW , mine was a simple zip file not 7z or rar.
Did you mean I have to recompile pcmanfm from source tarball after modifying ptk-file-archiver.c ?
« Last Edit: May 03, 2013, 12:38:52 AM by manit123 »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11540
Re: right click context menu on zip file in pcmanfm does not work
« Reply #3 on: May 03, 2013, 01:10:38 AM »
Hi manit123
Thats what the thread in that forum implied. Maybe  pcmanfm2.tcz  or  pcmanfm-mod.tcz  will do what you want
without recompiling. I think  SpaceFM.tcz  is a fork of  pcmanfm.

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: right click context menu on zip file in pcmanfm does not work
« Reply #4 on: May 03, 2013, 01:34:27 AM »
I have observed that pcmanfm does not by itself offer 'extract-here' option in right click context menu of zip files.
But after I install file-roller such option comes up . 
Also note that 'extract-to...' works as desired .
So it seems it is mistake of file-roller that 'extract-here' does not work.
Has anyone tried file-roller?
« Last Edit: May 03, 2013, 01:42:05 AM by manit123 »

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: right click context menu on zip file in pcmanfm does not work
« Reply #5 on: May 13, 2013, 10:49:53 AM »
Quote
I have observed that pcmanfm does not by itself offer 'extract-here' option in right click context menu of zip files.
But after I install file-roller such option comes up .
Also note that 'extract-to...' works as desired .
So it seems it is mistake of file-roller that 'extract-here' does not work.
Has anyone tried file-roller?

Does anybody know ?

aus9

  • Guest
Re: right click context menu on zip file in pcmanfm does not work
« Reply #6 on: May 14, 2013, 12:52:58 AM »
I don't use file-roller but I do use SpaceFM

is this what you are interested in?

"extract" in context menu extracts to current folder
looking at ls /usr/local/tce.installed for archive type tczs I see xarchiver and its dependencies

« Last Edit: May 14, 2013, 01:01:21 AM by aus9 »

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: right click context menu on zip file in pcmanfm does not work
« Reply #7 on: December 30, 2013, 08:55:15 AM »
Quote
*** glibc detected *** file-roller: free(): invalid pointer: 0x089a6410 ***
======= Backtrace: =========
/lib/libc.so.6(+0x5960f)[0xb6b9960f]
/lib/libc.so.6(+0x59c1f)[0xb6b99c1f]
/lib/libc.so.6(cfree+0xa9)[0xb6b9c73d]
/usr/local/lib/libglib-2.0.so.0(+0x4b87d)[0xb6cd887d]
/usr/local/lib/libglib-2.0.so.0(g_free+0x22)[0xb6cd8b02]
file-roller[0x808943a]
/usr/local/lib/libffi.so.5(ffi_call_SYSV+0x1a)[0xb6d96926]
/usr/local/lib/libffi.so.5(ffi_call+0x64)[0xb6d96770]
/usr/local/lib/libgobject-2.0.so.0(g_cclosure_marshal_generic_va+0x380)[0xb6da7bd0]
/usr/local/lib/libgobject-2.0.so.0(+0xb823)[0xb6da5823]
/usr/local/lib/libgobject-2.0.so.0(+0xd109)[0xb6da7109]
/usr/local/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x3f5)[0xb6dbfbd5]
/usr/local/lib/libgobject-2.0.so.0(g_signal_emit+0x32)[0xb6dc05d2]
/usr/local/lib/libgio-2.0.so.0(g_application_run+0x2e9)[0xb72a6589]
file-roller[0x8057e07]
/lib/libc.so.6(__libc_start_main+0x133)[0xb6b58cf7]
file-roller[0x8057e49]
======= Memory map: ========
08048000-08099000 r-xp 00000000 00:01 23844      /usr/local/bin/file-roller
08099000-0809b000 rw-p 00051000 00:01 23844      /usr/local/bin/file-roller
08936000-08b2a000 rw-p 00000000 00:00 0          [heap]
b5100000-b5101000 ---p 00000000 00:00 0
b5101000-b5900000 rwxp 00000000 00:00 0
b5900000-b5901000 ---p 00000000 00:00 0
b5901000-b6100000 rwxp 00000000 00:00 0
b6100000-b6121000 rw-p 00000000 00:00 0
b6121000-b6200000 ---p 00000000 00:00 0
b6254000-b626f000 r--s 00000000 00:01 29820      /usr/local/share/mime/mime.cache
b626f000-b62bc000 r--p 00000000 00:01 55695      /usr/local/share/icons/hicolor/icon-theme.cache
b62bc000-b62cd000 r--p 00000000 00:01 4231       /usr/share/fonts/luxisr.ttf
b62cd000-b62cf000 r-xp 00000000 00:01 14469      /usr/local/lib/pango/1.6.0/modules/pango-basic-fc.so
b62cf000-b62d0000 rw-p 00001000 00:01 14469      /usr/local/lib/pango/1.6.0/modules/pango-basic-fc.so
b62d0000-b62d2000 r--s 00000000 00:01 32388      /home/tc/.fontconfig/3830d5c3ddfd5cd38a049b759396e72e-le32d4.cache-3
b62d2000-b62d3000 r--p 00000000 00:01 55922      /home/tc/.config/dconf/user
b62d3000-b62db000 r-xp 00000000 00:01 2198       /lib/libnss_files-2.13.so
b62db000-b62dc000 r--p 00007000 00:01 2198       /lib/libnss_files-2.13.so
b62dc000-b62dd000 rw-p 00008000 00:01 2198       /lib/libnss_files-2.13.so
b62dd000-b62e2000 r-xp 00000000 00:01 22865      /usr/local/lib/gio/modules/libdconfsettings.so
b62e2000-b62e3000 rw-p 00004000 00:01 22865      /usr/local/lib/gio/modules/libdconfsettings.so
b62e3000-b62e4000 ---p 00000000 00:00 0
b62e4000-b6ae3000 rwxp 00000000 00:00 0
b6ae3000-b6ae6000 rw-p 00000000 00:00 0
b6ae6000-b6afb000 r-xp 00000000 00:01 295        /usr/lib/libgcc_s.so.1
b6afb000-b6afc000 rw-p 00014000 00:01 295        /usr/lib/libgcc_s.so.1
b6afc000-b6afd000 rw-p 00000000 00:00 0
b6afd000-b6b02000 r-xp 00000000 00:01 14369      /usr/local/lib/libXfixes.so.3.1.0
b6b02000-b6b03000 rw-p 00004000 00:01 14369      /usr/local/lib/libXfixes.so.3.1.0
b6b03000-b6b05000 r-xp 00000000 00:01 13476      /usr/local/lib/libXdamage.so.1.1.0
b6b05000-b6b06000 rw-p 00001000 00:01 13476      /usr/local/lib/libXdamage.so.1.1.0
b6b06000-b6b08000 r-xp 00000000 00:01 13470      /usr/local/lib/libXcomposite.so.1.0.0
b6b08000-b6b09000 rw-p 00001000 00:01 13470      /usr/local/lib/libXcomposite.so.1.0.0
b6b09000-b6b1a000 r-xp 00000000 00:01 3951       /usr/lib/libXext.so.6.4.0
b6b1a000-b6b1b000 rw-p 00010000 00:01 3951       /usr/lib/libXext.so.6.4.0
b6b1b000-b6b29000 r-xp 00000000 00:01 3958       /usr/lib/libXi.so.6.1.0
b6b29000-b6b2a000 rw-p 0000d000 00:01 3958       /usr/lib/libXi.so.6.1.0
b6b2a000-b6b2b000 rw-p 00000000 00:00 0
b6b2b000-b6b34000 r-xp 00000000 00:01 13473      /usr/local/lib/libXcursor.so.1.0.2
b6b34000-b6b35000 rw-p 00008000 00:01 13473      /usr/local/lib/libXcursor.so.1.0.2
b6b35000-b6b3c000 r-xp 00000000 00:01 3970       /usr/lib/libXrandr.so.2.2.0
b6b3c000-b6b3d000 rw-p 00007000 00:01 3970       /usr/lib/libXrandr.so.2.2.0
b6b3d000-b6b3f000 r-xp 00000000 00:01 14372      /usr/local/lib/libXinerama.so.1.0.0
b6b3f000-b6b40000 rw-p 00001000 00:01 14372      /usr/local/lib/libXinerama.so.1.0.0
b6b40000-b6c45000 r-xp 00000000 00:01 652        /lib/libc-2.13.so
b6c45000-b6c47000 r--p 00105000 00:01 652        /lib/libc-2.13.so
b6c47000-b6c48000 rw-p 00107000 00:01 652        /lib/libc-2.13.so
b6c48000-b6c4b000 rw-p 00000000 00:00 0
b6c4b000-b6c6c000 r-xp 00000000 00:01 2214       /lib/libm-2.13.so
b6c6c000-b6c6d000 r--p 00020000 00:01 2214       /lib/libm-2.13.so
b6c6d000-b6c6e000 rw-p 00021000 00:01 2214       /lib/libm-2.13.so
b6c6e000-b6c74000 r-xp 00000000 00:01 653        /lib/librt-2.13.so
b6c74000-b6c75000 r--p 00005000 00:01 653        /lib/librt-2.13.so
b6c75000-b6c76000 rw-p 00006000 00:01 653        /lib/librt-2.13.so
b6c76000-b6c77000 rw-p 00000000 00:00 0
b6c77000-b6c89000 r-xp 00000000 00:01 2191       /lib/libpthread-2.13.so
b6c89000-b6c8a000 r--p 00012000 00:01 2191       /lib/libpthread-2.13.so
b6c8a000-b6c8b000 rw-p 00013000 00:01 2191       /lib/libpthread-2.13.so
b6c8b000-b6c8d000 rw-p 00000000 00:00 0
b6c8d000-b6d92000 r-xp 00000000 00:01 4888       /usr/local/lib/libglib-2.0.so.0.3200.0
b6d92000-b6d93000 rw-p 00105000 00:01 4888       /usr/local/lib/libglib-2.0.so.0.3200.0
b6d93000-b6d97000 r-xp 00000000 00:01 4853       /usr/local/lib/libffi.so.5.0.10
b6d97000-b6d98000 rw-p 00004000 00:01 4853       /usr/local/lib/libffi.so.5.0.10
b6d98000-b6d99000 r-xp 00000000 00:01 4897       /usr/local/lib/libgthread-2.0.so.0.3200.0
b6d99000-b6d9a000 rw-p 00000000 00:01 4897       /usr/local/lib/libgthread-2.0.so.0.3200.0
b6d9a000-b6ddb000 r-xp 00000000 00:01 4894       /usr/local/lib/libgobject-2.0.so.0.3200.0
b6ddb000-b6ddc000 rw-p 00041000 00:01 4894       /usr/local/lib/libgobject-2.0.so.0.3200.0
b6ddc000-b6ddd000 rw-p 00000000 00:00 0
b6ddd000-b6ded000 r-xp 00000000 00:01 300        /usr/lib/libz.so.1.2.5
b6ded000-b6dee000 rw-p 0000f000 00:01 300        /usr/lib/libz.so.1.2.5
b6dee000-b6df0000 r-xp 00000000 00:01 2212       /lib/libdl-2.13.so
b6df0000-b6df1000 r--p 00001000 00:01 2212       /lib/libdl-2.13.so
b6df1000-b6df2000 rw-p 00002000 00:01 2212       /lib/libdl-2.13.so
b6df2000-b6df7000 r-xp 00000000 00:01 3948       /usr/lib/libXdmcp.so.6.0.0
b6df7000-b6df8000 rw-p 00004000 00:01 3948       /usr/lib/libXdmcp.so.6.0.0
b6df8000-b6dfa000 r-xp 00000000 00:01 3944       /usr/lib/libXau.so.6.0.0
b6dfa000-b6dfb000 rw-p 00001000 00:01 3944       /usr/lib/libXau.so.6.0.0
b6dfb000-b6e0f000 r-xp 00000000 00:01 13425      /usr/local/lib/libxcb.so.1.1.0
b6e0f000-b6e10000 rw-p 00013000 00:01 13425      /usr/local/lib/libxcb.so.1.1.0
b6e10000-b6ee9000 r-xp 00000000 00:01 23687      /usr/local/lib/libX11.so.6.3.0
b6ee9000-b6eeb000 rw-p 000d9000 00:01 23687      /usr/local/lib/libX11.so.6.3.0
b6eeb000-b6eec000 rw-p 00000000 00:00 0
b6eec000-b6ef4000 r-xp 00000000 00:01 3973       /usr/lib/libXrender.so.1.3.0
b6ef4000-b6ef5000 rw-p 00007000 00:01 3973       /usr/lib/libXrender.so.1.3.0
b6ef5000-b6f11000 r-xp 00000000 00:01 4191       /usr/lib/libpng12.so.0.46.0
b6f11000-b6f12000 rw-p 0001b000 00:01 4191       /usr/lib/libpng12.so.0.46.0
b6f12000-b6f72000 r-xp 00000000 00:01 3982       /usr/lib/libfreetype.so.6.7.2
b6f72000-b6f76000 rw-p 0005f000 00:01 3982       /usr/lib/libfreetype.so.6.7.2
b6f76000-b6f94000 r-xp 00000000 00:01 14540      /usr/local/lib/libexpat.so.1.5.2
b6f94000-b6f96000 rw-p 0001e000 00:01 14540      /usr/local/lib/libexpat.so.1.5.2
b6f96000-b6fc2000 r-xp 00000000 00:01 14577      /usr/local/lib/libfontconfig.so.1.4.4
b6fc2000-b6fc3000 rw-p 0002b000 00:01 14577      /usr/local/lib/libfontconfig.so.1.4.4
b6fc3000-b6fc5000 rw-p 00000000 00:00 0
b6fc5000-b7021000 r-xp 00000000 00:01 13696      /usr/local/lib/libpixman-1.so.0.22.2
b7021000-b7025000 rw-p 0005b000 00:01 13696      /usr/local/lib/libpixman-1.so.0.22.2
b7025000-b70c1000 r-xp 00000000 00:01 14656      /usr/local/lib/libcairo.so.2.11000.2
b70c1000-b70c3000 rw-p 0009b000 00:01 14656      /usr/local/lib/libcairo.so.2.11000.2
b70c3000-b70c5000 rw-p 00000000 00:00 0
b70c5000-b70c7000 r-xp 00000000 00:01 4891       /usr/local/lib/libgmodule-2.0.so.0.3200.0
b70c7000-b70c8000 rw-p 00002000 00:01 4891       /usr/local/lib/libgmodule-2.0.so.0.3200.0
b70c8000-b7107000 r-xp 00000000 00:01 14451      /usr/local/lib/libpango-1.0.so.0.3000.1
b7107000-b7109000 rw-p 0003f000 00:01 14451      /usr/local/lib/libpango-1.0.so.0.3000.1
b7109000-b71bf000 r-xp 00000000 00:01 293        /usr/lib/libstdc++.so.6.0.16
b71bf000-b71c3000 r--p 000b5000 00:01 293        /usr/lib/libstdc++.so.6.0.16
b71c3000-b71c5000 rw-p 000b9000 00:01 293        /usr/lib/libstdc++.so.6.0.16
b71c5000-b71cc000 rw-p 00000000 00:00 0
b71cc000-b71f1000 r-xp 00000000 00:01 14457      /usr/local/lib/libpangoft2-1.0.so.0.3000.1
b71f1000-b71f2000 rw-p 00024000 00:01 14457      /usr/local/lib/libpangoft2-1.0.so.0.3000.1
b71f2000-b71f7000 r-xp 00000000 00:01 13757      /usr/local/lib/libcairo-gobject.so.2.11000.2
b71f7000-b71f8000 rw-p 00004000 00:01 13757      /usr/local/lib/libcairo-gobject.so.2.11000.2
b71f8000-b7205000 r-xp 00000000 00:01 650        /lib/libresolv-2.13.so
b7205000-b7206000 r--p 0000d000 00:01 650        /lib/libresolv-2.13.so
b7206000-b7207000 rw-p 0000e000 00:01 650        /lib/libresolv-2.13.so
b7207000-b7209000 rw-p 00000000 00:00 0
b7209000-b720a000 r--s 00000000 00:01 56933      /home/tc/.cache/dconf/user
b720a000-b720c000 r--p 00000000 00:01 29870      /usr/local/share/glib-2.0/schemas/gschemas.compiled
b720c000-b720d000 r-xp 00000000 00:01 286        /usr/lib/gconv/ISO8859-1.so
b720d000-b720e000 r--p 00000000 00:01 286        /usr/lib/gconv/ISO8859-1.so
b720e000-b720f000 rw-p 00001000 00:01 286        /usr/lib/gconv/ISO8859-1.so
b720f000-b732c000 r-xp 00000000 00:01 5696       /usr/local/lib/libgio-2.0.so.0.3200.0
b732c000-b732f000 rw-p 0011c000 00:01 5696       /usr/local/lib/libgio-2.0.so.0.3200.0
b732f000-b7330000 rw-p 00000000 00:00 0
b7330000-b734b000 r-xp 00000000 00:01 13340      /usr/local/lib/libgdk_pixbuf-2.0.so.0.2600.1
b734b000-b734c000 rw-p 0001a000 00:01 13340      /usr/local/lib/libgdk_pixbuf-2.0.so.0.2600.1
b734c000-b734d000 rw-p 00000000 00:00 0
b734d000-b7357000 r-xp 00000000 00:01 14454      /usr/local/lib/libpangocairo-1.0.so.0.3000.1
b7357000-b7358000 rw-p 00009000 00:01 14454      /usr/local/lib/libpangocairo-1.0.so.0.3000.1
b7358000-b7371000 r-xp 00000000 00:01 14702      /usr/local/lib/libatk-1.0.so.0.20209.1
b7371000-b7373000 rw-p 00019000 00:01 14702      /usr/local/lib/libatk-1.0.so.0.20209.1
b7373000-b73c8000 r-xp 00000000 00:01 22801      /usr/local/lib/libgdk-3.so.0.400.4
b73c8000-b73cb000 rw-p 00054000 00:01 22801      /usr/local/lib/libgdk-3.so.0.400.4
b73cb000-b7723000 r-xp 00000000 00:01 22804      /usr/local/lib/libgtk-3.so.0.400.4
b7723000-b7729000 rw-p 00357000 00:01 22804      /usr/local/lib/libgtk-3.so.0.400.4
b7729000-b772b000 rw-p 00000000 00:00 0
b772b000-b772c000 r-xp 00000000 00:00 0          [vdso]
b772c000-b7742000 r-xp 00000000 00:01 654        /lib/ld-2.13.so
b7742000-b7743000 r--p 00015000 00:01 654        /lib/ld-2.13.so
b7743000-b7744000 rw-p 00016000 00:01 654        /lib/ld-2.13.so
bfa4c000-bfa6c000 rwxp 00000000 00:00 0          [stack]
bfa6c000-bfa6d000 rw-p 00000000 00:00 0
This happens when you try to unzip files using 'extract here' in pcmanfm.
Can anybody solve this ?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14761
Re: right click context menu on zip file in pcmanfm does not work
« Reply #8 on: December 30, 2013, 09:09:14 AM »
I presume you're using tc-4.x, but it would be helpful if you could confirm exactly which version you're using.

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: right click context menu on zip file in pcmanfm does not work
« Reply #9 on: December 30, 2013, 09:16:01 AM »
i am using 4.7.7
i was nearly right -> https://bugs.launchpad.net/ubuntu/+source/file-roller/+bug/978789
The best way in this is to select 'xarchiver' in edit > preferences > advanced > archiver integration .
Ofcourse , after installing xarchiver.tcz

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: right click context menu on zip file in pcmanfm does not work
« Reply #10 on: December 31, 2013, 05:44:43 AM »
Please Note that : you get 'invalid or incomplete multibyte or wide character' message with xarchiver , when the file to be extracted  had copyright & trade mark symbol in its name .
file-roller did extraction successfully.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14761
Re: right click context menu on zip file in pcmanfm does not work
« Reply #11 on: December 31, 2013, 06:33:42 AM »
Maybe something to do with this?
Quote
The UnZip package assumes that filenames stored in the ZIP archives created on non-Unix systems are encoded in CP850, and that they should be converted to ISO-8859-1 when writing files onto the filesystem. Such assumptions are not always valid. In fact, inside the ZIP archive, filenames are encoded in the DOS codepage that is in use in the relevant country, and the filenames on disk should be in the locale encoding. In MS Windows, the OemToChar() C function (from User32.DLL) does the correct conversion (which is indeed the conversion from CP850 to a superset of ISO-8859-1 if MS Windows is set up to use the US English language), but there is no equivalent in Linux.