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

Automatically request sudo if permissions are lacking #437

Open
skjerns opened this issue Sep 7, 2023 · 1 comment
Open

Automatically request sudo if permissions are lacking #437

skjerns opened this issue Sep 7, 2023 · 1 comment

Comments

@skjerns
Copy link

skjerns commented Sep 7, 2023

It would be great if NotepadNext would automatically ask for sudo permission when I want to edit a file without permission.

I.e. notepadqq is doing this with kdesu or gksu.

image

Do you think a similar functionality would be possible to implement? This would be absolutely great, as sometimes it can be a bit cumbersome to start NotepadNext with sudo rights.

@skjerns skjerns changed the title Automatically request sudo Automatically request sudo if permissions are lacking Sep 7, 2023
@dail8859
Copy link
Owner

dail8859 commented Sep 8, 2023

Do you think a similar functionality would be possible to implement?

Possible...yes. Easy.... probably not unless there's a good standalone implementation. Would be nice to have something similar for Windows and Mac. It makes it difficult when it is so OS, or even distro specific.

But as you pointed out other applications are doing it so maybe there is some good references in other open source projects.

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