Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to automatically allow executing desktop entries in GNOME 40+ #21

Open
ArtyIF opened this issue Jan 7, 2022 · 19 comments
Open

Comments

@ArtyIF
Copy link

ArtyIF commented Jan 7, 2022

It would help a lot if there was an option to automatically allow executing desktop entries. Yes, it's less secure this way, but it would be more convenient.

I don't use desktop files all that much, but Steam has no option to disable creating them, and I'd just prefer if the desktop files Steam created would've just worked by default and looked better without having to right click them and explicitly allowing to launch them one-by-one.

Untrusted shortcuts created by Steam

@olivertzeng
Copy link
Contributor

yes it can

@ArtyIF
Copy link
Author

ArtyIF commented Jan 7, 2022

yes it can

How exactly? I can't find the option. Using the latest extensions.gnome.org version btw

@olivertzeng
Copy link
Contributor

ok

@olivertzeng
Copy link
Contributor

first right click the desktop thenselect desktop icon settings

@ArtyIF
Copy link
Author

ArtyIF commented Jan 7, 2022

image

@olivertzeng
Copy link
Contributor

wait, your's is different than mine

@olivertzeng
Copy link
Contributor

that option is gone?

@ArtyIF
Copy link
Author

ArtyIF commented Jan 7, 2022

I'm using the latest extensions.gnome.org version, like I said. It's version 6.
image

@olivertzeng
Copy link
Contributor

reinstall it ig

@olivertzeng
Copy link
Contributor

then just alt+f2

@olivertzeng
Copy link
Contributor

type r

@olivertzeng
Copy link
Contributor

then open icon settings

@ArtyIF
Copy link
Author

ArtyIF commented Jan 7, 2022

Nope. Didn't help.
image

@olivertzeng
Copy link
Contributor

Umm...

@ArtyIF
Copy link
Author

ArtyIF commented Jan 7, 2022

What version are you using? Should say in the Extensions app, or the Tweaks app in earlier versions.

@olivertzeng
Copy link
Contributor

6

@ArtyIF
Copy link
Author

ArtyIF commented Jan 7, 2022

Apparently GNOME 40 removed the option that the current method of doing this option depended on.

// Gnome Shell 40 removed this option
try {
nautilusBox.add(buildSelector(nautilusSettings,
'executable-text-activation',
_("Action to do when launching a program from the desktop"), {
'display': _("Display the content of the file"),
'launch': _("Launch the file"),
'ask': _("Ask what to do")
}));
} catch(e) {
}

Although I believe it still is possible to add that option to GNOME 40+ if done differently.

@ArtyIF ArtyIF changed the title Add option to automatically allow executing desktop entries Add option to automatically allow executing desktop entries in GNOME 40+ Jan 7, 2022
@olivertzeng
Copy link
Contributor

dm me on reddit btw.
u/OliverTzeng

@olivertzeng
Copy link
Contributor

you can put your file in /home/$USER/.local/share/gnome-shell//extensions/desktopicons-neo@darkdemon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants