I'm using Kubuntu 18.04 and I want to run the kate editor with root privileges sudo kate
produces the message running kate as root is not possible
. I think that's utterly silly. How can I bypass it?
Answer: just edit the file, even if it's a system file, using plain oldkate. You don't need root privileges to edit it; you only need root privileges to save it. When you save a system file, you'll be asked for the root password. Supply it and the save takes place. Easy!!
kate
as root. https://cgit.kde.org/kate.git/commit/?id=9adcebd3c2e476c8a32e9b455cc99f46b0e12a7e – mchid Oct 10 '19 at 00:29tilde
. – Dec 15 '22 at 14:51