Sending files with Thunar send-to
Adding an entry of Gajim to the Thunar send-to menu.
/usr/share/Thunar/sendto/thunar-sendto-gajim.desktop
[Desktop Entry]
Type=Application
Version=1.0
Encoding=UTF-8
Name=Gajim
Icon=gajim
Exec=gajim-remote send_file %f
To send files, gajim-remote requires the following arguments: send_file <file> <jid> [account]
$ gajim-remote send_file FILE
Argument "jid" is not specified.
Type "gajim-remote help send_file" for more info
I suggest to write a small dialog/script (external process, so it will also be a separate package) that will choose the wanted account and JID.
The dialog will retrieve the Contacts in roster and will display, for each selected account its current contacts (also those that are listed as "Not in Roster".
Do not intervene with gajim-remote solely for this matter!