Search code examples
command-linegnomegnupg

Suppress triggering Seahorse from the command line?


I think that Seahorse is a good idea. But there are times when I don't want it.

The following example triggers Gnome/Seahorse.

echo "FOO" > readme.txt
gpg -c --symmetric --passphrase secret readme.txt

Can I prevent this from happening on the command line only for this example?

Thankful for any pointers


Solution

  • What you want is is:

    gpg --batch -c --passphrase secret readme.txt
    

    (For the record, that popup has nothing to do with Seahorse.)