VSCodium / vscodium

binary releases of VS Code without MS branding/telemetry/licensing
https://vscodium.com
MIT License
24.29k stars 1.02k forks source link

Cannot save a file as sudo on Fedora #1827

Closed carbon-starlight closed 3 months ago

carbon-starlight commented 3 months ago

Describe the bug When I try to save a file:

Failed to save 'evdev.xml': Insufficient permissions. Select 'Retry as Sudo' to retry as superuser.

I press [Retry As Sudo]

Failed to save 'evdev.xml': Unable to find pkexec or kdesudo.

It looks like the algorithm was written for KDE and doesn't support GNOME.

Please confirm that this problem is VSCodium-specific

Please confirm that the issue/resolution isn't already documented

To Reproduce Steps to reproduce the behavior: Open /usr/share/x11/xkb/rules/endev.xml, edit and try to save it. Should(n't) work with any sudo-only-edit file.

Desktop (please complete the following information):

carbon-starlight commented 3 months ago

It seems like a mainstream branch (VSCode) problem. Submitted an issue there.