1

After upgrading to Ubuntu 18.04.1 LTS all my .desktop launchers went "Untrusted", and I have to "re-trust" them manually.

While many other posts (e.g. this) say to use the command in terminal:

gio set YOURFILE.desktop "metadata::trusted" yes

I wanted to do this for all my .desktop files in my directory.

muru
  • 197,895
  • 55
  • 485
  • 740

1 Answers1

0

I used the this command successfully:

ls *.desktop | xargs -Ifile gio set file "metadata::trusted" y
pomsky
  • 68,507