Results 1 to 4 of 4

Thread: Dialog requesting privileges in kate

  1. #1

    Question Dialog requesting privileges in kate

    Hi, how should I ask Kate to request root password when saving a file?
    Similar to how it is used in other distributions like Magenta, I think they use polkit rules for it.

    Sorry for my wrong English.

    Greetings.

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,293
    Blog Entries
    2

    Default Re: Dialog requesting privileges in kate

    Personally, I open Kate with root permissions before I start editing, then the file can and would be saved as root.

    ie.
    Open a console then upgrade permissions with "su"
    Then type "kate"

    Used to be, you'd have to run kdesu or something like that for other Desktops, but nowadays I do what I just described.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3

    Default Re: Dialog requesting privileges in kate

    On 6/7/19 3:16 PM, tsu2 wrote:
    >
    > Personally, I open Kate with root permissions before I start editing,
    > then the file can and would be saved as root.
    >
    > ie.
    > Open a console then upgrade permissions with "su"
    > Then type "kate"
    >
    > Used to be, you'd have to run kdesu or something like that for other
    > Desktops, but nowadays I do what I just described.
    >
    > TSU
    >
    >


    Be very careful when using 'su' to become root, root can and will over
    write configuration files in you home directory. It's better and safer
    to use 'su -' which causes root to only use /root for configuration files.

    --
    Ken
    unix since 1986
    S.u.S.E.-openSUSE since 1998

  4. #4

    Default Re: Dialog requesting privileges in kate

    I know all the alternatives: su -, sudoedit, dolphin services, etc.
    I want the Kate to work as in the other distributions.
    I think it's a polkit configuration but I do not know which.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •