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
  • 193,181
  • 53
  • 473
  • 722

1 Answers1

0

I used the this command successfully:

ls *.desktop | xargs -Ifile gio set file "metadata::trusted" y
pomsky
  • 67,112
  • 21
  • 233
  • 243