Results 1 to 7 of 7

Thread: Nautilus open as root 13.04

  1. #1
    Join Date
    Sep 2012
    Beans
    38

    Nautilus open as root 13.04

    Thunar has the ability to add custom actions and other file browsers like PCManFM have the ability to open a folder as root. Where is this functionality in Nautilus? I see there use to be an extension called nautilus-gksu but the package is not in the repositories anymore. I've tried a few different guides on how to get this functionality in Nautilus but I have yet to find anything that works. I also tried the custom action extension for Nautilus but it does not appear to do anything.

  2. #2
    Join Date
    Feb 2010
    Location
    Summerwind
    Beans
    11,663
    Distro
    Ubuntu

    Re: Nautilus open as root 13.04

    Gnome keeps removing features and you can restore some functionality with the following patch . It is likely the package nautilus-gksu no longer works with the current version. http://www.webupd8.org/2013/04/get-n...in-ubuntu.html
    “Start where you are. Use what you have. Do what you can."

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Manual

  3. #3
    Join Date
    Sep 2012
    Beans
    38

    Re: Nautilus open as root 13.04

    Quote Originally Posted by Frogs Hair View Post
    Gnome keeps removing features and you can restore some functionality with the following patch . It is likely the package nautilus-gksu no longer works with the current version.http://www.webupd8.org/2013/04/get-n...in-ubuntu.html
    That fixed a few other problems I was having too! Thanks!

  4. #4
    Join Date
    May 2009
    Location
    Courtenay, BC, Canada
    Beans
    1,661

    Re: Nautilus open as root 13.04

    you could achieve this with a nautilus script

  5. #5

    Re: Nautilus open as root 13.04 (nautilus actions

    Here I just use nautilus-actions as described in latter part of this post, in that case creating/using pkexec to implement.
    ( for better, worse or in between.
    I guess you could install gksu & use gksudo in the nautilus-actions(s) instead of the pkexec deal ,I've had no issue with pkexec
    http://ubuntuforums.org/showthread.p...1#post12625733
    Attached Images Attached Images
    Last edited by mc4man; May 25th, 2013 at 04:16 AM.

  6. #6
    Join Date
    Sep 2013
    Beans
    1

    Re: Nautilus open as root 13.04

    Just use Nautilus-Action script to implement this.

    Install gksu and nautilus-actions from the Software Centre
    Then open the Nautilus-Action Configuration Tool

    In the Nautilus-Action Configuration Tool create a new action
    In the Action tab, type 'Open Folder As Root' in the Context label
    In the Command tab, input the values 'gksu' and 'nautilus %d/%w' in Command Path and Parameters respectively.
    Then Restart nautilus : nautilus -q

    Nautilus-Actions Configuration Tool_001.png Nautilus-Actions Configuration Tool_002.png
    Menu_005.png

  7. #7
    Join Date
    Oct 2008
    Beans
    3,509

    Re: Nautilus open as root 13.04

    If you use xdg-open you can open folders or text files as root with your preferred application.
    Attached Images Attached Images
    Last edited by stinkeye; October 15th, 2013 at 12:52 PM.

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
  •