Xarchiver: behaviour of switch -n for Thunar integration

jp jp.guillemin at free.fr
Wed Jun 28 00:10:58 CEST 2006


Jannis Pohlmann wrote:
> On Mon, 26 Jun 2006 11:25:24 +0200, Colossus wrote:
>
>   
>> Hi,
>>
>> I developed the switch -n this way:
>>
>> -n, --new=[archive name] [file1] [file2] ... [fileN]        Ask for
>> the archive to be created, add files to it and quits.
>>
>> Someone have asked me to change it to:
>> -n, --new [file1]  [file2] [fileN] ...
>> Prompt for the archive name to create, and add files given in cmd line
>> in this new archive.
>>
>> My question are:
>> 1) which behaviour is best for Thunar integration ?
>> 2) shall I change the behaviour of other switches always for Thunar
>> integration ?
>>     
>
> AFAIK, Thunar doesn't use the -n switch and thus, it's not needed for
> Thunar integration. It might be useful when working with Xarchiver from
> a terminal, though.
>
> Thunar already is supports creating archives and also provides a dialog
> where you can choose the archive type and enter a filename. 
>   
I didn't knew that xarchiver was already usable through a Thunar plugin! 
Thanks for the information, please could you explain me how I can test 
this ?

When I proposed the -n command line I was thinking about using a Thunar 
"custom command" to call xarchiver, which is a simple and efficient 
solution.

You're true to write that Thunar doesn't use a "-n" switch, and it won't 
do it, as long as you don't ask him to :)

JP
> Regards,
> Jannis
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce4-dev




More information about the Xfce4-dev mailing list