I've moved from 17.04 to 17.10 (by update, not fresh install)
I have a bunch of customized
.desktop files in my desktop.
When I try to run then, I get a message telling me these are "untrusted", and I have to retrust them manually.
Is there a way to trust them all?
- desktop files have executable bit set (I have run
- before trusting they appear as a generic file, after with proper icon (e.g. terminal, browser, …)
- worked fine before (that is icons and action were OK in 17.04)
- desktop to samba share are OK.
- files are not located in
I have read :
Execute-Permission Bit Required
- Applications, including desktops and shells, must not run executable code from files when they are both:
– lacking the executable bit
– located in a user's home directory or temporary directory.
- my desktop are in neither of those.
- This includes *.desktop, *.jar, and *.exe files.
- .desktop files being
- Nothing may provide a workaround to run them anyway automatically …
- 18.04 problem persist, accepted answer still work.
- 19.04 problem persist, accepted answer no longer work (you must replace yes by true, however after reboot,
- 20.04 use
yesin accepted answer, or right-click "allow execution" from desktop (this might be troublesome for generated
I found my desktop files being mentioned in a binary file called
~/.local/share/gvfs-metadata/homewhich I could not edit. However, after some digging, I found the
giocommand. Run the following command followed by doing a refresh in nautilus