I want a simple semi-safe command that encrypts a file using gpg symmetric encryption and then remove the original file. In the terminal this command works fine:
gpg --passphrase-file /home/xxx/.gnupg/sympass --symmetric <file> && rm <file>
where <file>
is the file to be encrypted (and deleted). This works fine in the terminal, but when I try to do a custom action in Thunar in this way
xfce4-terminal -e gpg --passphrase-file /home/xxx/.gnupg/sympass --symmetric %f && rm %f
and try to use this action in Thunar, nothing happens. Why, and is there some way to debug thunar custom actions?
xfce4-terminal -e gpg --passphrase-file /home/xxx/.gnupg/sympass --symmetric %f
work?xfce4-terminal -x gpg --passphrase-file /home/xxx/.gnupg/sympass --symmetric %f
?xfce4-terminal
command and callgpg --passphrase-file /home/xxx/.gnupg/sympass --symmetric %f && rm %f
directly.