gcmd-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gcmd-dev] New feature: Adjustable send-to command


From: Uwe Scholz
Subject: [gcmd-dev] New feature: Adjustable send-to command
Date: Sun, 23 Nov 2014 18:37:16 +0100
User-agent: Mutt/1.5.22 (2013-10-16)

Dear readers of this mailing list,

today I pushed a new feature to the development branch of GCMD. It makes
it possible to adjust the send-to command to your needs in the GCMD
options dialog. The default is set to the "nautilus-sendto" command. If
you want, get the current development version via git[*].

See a screenshot of the extended options dialog here:
https://twitter.com/gnomecmd/status/536540094921203712/photo/1

You may ask "What is that good for?" 

Answer: With the implemented feature it is up to you what command to
execute for sending files. You can execute whatever you want now. For
example, set the "Send files" command to

xfce4-terminal -e "mutt -a %s"

which opens a xfce4-terminal and attaches the selected files to a mail
composed with mutt. It is also possible to attach the mails to a
Thunderbird mail [**].

The command given is parsed before being executed:

%f: file name (or list for multiple selections)
%F: quoted filename (or list for multiple selections)
%p: full file system path (or list for multiple selections)
%P: quoted full file system path (or list for multiple selections)
%s: synonym for %P (for compatibility with previous versions of gcmd)
%u: fully qualified URI for the file (or list for multiple selections)
%d: full path to the directory containing file
%D: quoted full path to the directory containing the file
%%: percent sign


It would be great if anybody could test the new feature and/or give
suggestions how it could be improved :)


Regards,
Uwe


[*] https://git.gnome.org/browse/gnome-commander/log/

[**] See here:
http://askubuntu.com/questions/5431/how-can-i-email-an-attachment-from-the-command-line
and here: http://www.gentoo-wiki.info/TIP_Attach_files_to_Thunderbird




reply via email to

[Prev in Thread] Current Thread [Next in Thread]