That is a good idea, unfortunatelly, it does not work either. :(

I have created file like this:
#!/bin/bash
echo "x" > /home/raqua/packer.txt
/usr/bin/xz -T $(nproc) "$@"


I have pointed Krusader in dependencies to this file instead of /usr/bin/xz.
I have tested that invoking this file manually worked.
When I initiated compresion from Krusader, it worked fine, but used only
once thread. After some debugging I found out, that it is still using the
original xz dependency, even though it shows otherwise in settings (I have
restarted Krusader in between).
The packer.txt file in my home was not created.
So I changed xz back and ser my script instead of "rar" which I have not
installed and therefore there was an empty slot in dependencies GUI.
This time, when invoked, packer.txt file was created, but no archive was
done. This, however probably failed due to differences between rar and xz
API. But it confirmed my suspicion that original xz is called instead my xz
wrapper from Krusader.


On Fri, Jan 22, 2016 at 11:17 PM, apok <digital1apocaly...@gmail.com> wrote:

> As a temporary workaround (until we figure out why a "-T 4" file
> is created) is to make a wrapper executable with the desired switches
> and arguments. Then point Krusader to this wrapper rather
> than /usr/bin/xz .
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "krusader-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/krusader-users/zZatePqof0Y/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> krusader-users+unsubscr...@googlegroups.com.
> To post to this group, send email to krusader-users@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/krusader-users/20160122231714.03473b7f%40myarch
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"krusader-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to krusader-users+unsubscr...@googlegroups.com.
To post to this group, send email to krusader-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/krusader-users/CACSFfM-0Ld4eu0ACWCU2RFj7xdcc6zPBt%2Biy3rXKf%3DoaBN1_ug%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to