User avatar
ksharindam
Posts: 139
Joined: Sat Jan 09, 2016 4:16 pm

Compress option in PCmanFM not working with xarchiver

Fri Jul 12, 2019 4:11 am

I am trying to Compress a file in pcmanfm by right clicking over a file. But clicking compress is not working.
xarchiver is used as default archiver in pcmanfm.
the output in terminal is

Code: Select all

xarchiver: Unknown option --add-to
But the correct option should be --compress
This bug should be fixed.

Is xarchiver used in Raspbian as default archiver in pcmanfm ?

sail1943
Posts: 4
Joined: Fri Nov 04, 2016 3:35 am

Re: Compress option in PCmanFM not working with xarchiver

Wed Jul 31, 2019 3:39 am

any workaround for this problem ?

User avatar
ksharindam
Posts: 139
Joined: Sat Jan 09, 2016 4:16 pm

Re: Compress option in PCmanFM not working with xarchiver

Wed Jul 31, 2019 7:08 am

sail1943 wrote:
Wed Jul 31, 2019 3:39 am
any workaround for this problem ?
have to edit the source code and change the command

Code: Select all

xarchiver --add-to %F
to

Code: Select all

xarchiver  --compress %F
But this should be done by the package maintainers.
I have switched to file-roller (though it has less features).

spl23
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 378
Joined: Fri Dec 26, 2014 11:02 am

Re: Compress option in PCmanFM not working with xarchiver

Thu Aug 01, 2019 11:54 am

No need to change source code - just go into /usr/share/libfm/archivers.list and make the change suggested above. I'll build a fixed package and push it to the repo at some point, but for now editing that file will work.

User avatar
ksharindam
Posts: 139
Joined: Sat Jan 09, 2016 4:16 pm

Re: Compress option in PCmanFM not working with xarchiver

Thu Aug 01, 2019 1:27 pm

spl23 wrote:
Thu Aug 01, 2019 11:54 am
No need to change source code - just go into /usr/share/libfm/archivers.list and make the change suggested above. I'll build a fixed package and push it to the repo at some point, but for now editing that file will work.
Ok, thank you so much.

sail1943
Posts: 4
Joined: Fri Nov 04, 2016 3:35 am

Re: Compress option in PCmanFM not working with xarchiver

Sat Aug 03, 2019 6:17 am

Tried and it worked. Thank you both.

Return to “Raspbian”