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

"Open" button not available with sudo #56

Open
luochen1990 opened this issue Apr 25, 2023 · 2 comments
Open

"Open" button not available with sudo #56

luochen1990 opened this issue Apr 25, 2023 · 2 comments

Comments

@luochen1990
Copy link

I have to use sudo snapper-gui to see snapshots which is owned by root, but Dolphin (the KDE file explorer, which is called by "Open" botton) complains about that.

Running Dolphin with sudo can cause bugs and expose you to security vulnerabilities. Instead use Dolphin normally and youwill be prompted for elevated privileges when performing file operations that require them.
@timmwille
Copy link

timmwille commented Sep 2, 2024

it took me a while to figure out, had a similar issue. I'm not 100% sure it helps in your case but while noticing snapper-gui is opened as root I realised: one has to check for the system standard settings as root with sudo su root and following this suggestion/check what app is set as standard for opening directories:

nano ~/.config/mimeappslist and enter under [Default Applications] a line with your preferred file explorer e.g. inode/directory=nemo.desktop

https://forum.manjaro.org/t/set-nemo-as-default-filemanager/83387/7

So in your case you might need to install/use a different file explorer when navigating as root user.

@timmwille
Copy link

timmwille commented Sep 2, 2024

seems to be related to #17 and was answered in #40 (comment) already too I figured now :)

Might be worth adding to the FAQ @ricardomv ? plus this issue can be maybe marked solved, as I think this in particular is a Dolphin specific issue, when running it as sudo?

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