Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Run-As-Root desktop shortcut

  1. #11
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Run-As-Root desktop shortcut

    ... or, try a different flavor with a different DE.

    But I hear ya. Use what works and suits your flow.
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  2. #12
    Join Date
    Apr 2008
    Location
    Bundaberg, Qld
    Beans
    140
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Run-As-Root desktop shortcut

    Yep, giving Kubuntu a try...
    Kubuntu 20.04 x64 / Opensuse LEAP 15.2
    i5 / 16GB
    Onboard graphic/sound

  3. #13
    Join Date
    Apr 2008
    Location
    Bundaberg, Qld
    Beans
    140
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Run-As-Root desktop shortcut

    OK, probably wrong way to do this (please tell me all the problems), but after moving to Kubuntu (although would think that this would also work in vanilla Ubuntu?? - xdg-open), have created a .desktop file with:

    Exec=pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY kde-open5 %u
    and this works....
    Can drop any type of file that is "root" permissions, and it will open the relevant program, allowing file to be edited, or if unknown, will ask which program to open with, after asking for login...
    Thanks.
    Kubuntu 20.04 x64 / Opensuse LEAP 15.2
    i5 / 16GB
    Onboard graphic/sound

  4. #14
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    8,274
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: Run-As-Root desktop shortcut

    Just so you're aware, you don't need to run Kate as root to write to access-controlled files. Open them normally and you'll be prompted for authorisation when you save.

  5. #15
    Join Date
    Apr 2008
    Location
    Bundaberg, Qld
    Beans
    140
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Run-As-Root desktop shortcut

    Thanks for the tip!

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

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