Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: "Open as Administrator" behaving badly under Karmic?

  1. #1
    Join Date
    Jan 2009
    Location
    Millbury, MA
    Beans
    414
    Distro
    Ubuntu 10.04 Lucid Lynx

    "Open as Administrator" behaving badly under Karmic?

    I'm surprised that I haven't seen this mentioned in these forums or elsewhere on the web.

    I've installed 'nautilus-gksu' in Karmic just like I always do when installing Ubuntu. In previous releases when selecting 'Open as administrator' on a folder the resulting new nautilus window would open with the nautilus profile settings of root. This is nice when you have multiple nautilus windows open as you can easily see which ones are root by the different icons and other nautilus settings. It's the same for Karmic but now my entire session becomes that of root (desktop, background, etc.) and the only way to revert back to my normal profile is to log off/on. Entering 'gksu-nautilus' at the command line gives the same result. Quite annoying and counter-productive, to say the least.

    Am I missing a new Karmic setting or something else? Barring that, is there a better/quicker way to revert back to my normal user profile?

    Any help would be greatly appreciated as I've rooted around quite a bit (no pun intended) but haven't turned up a solution yet.

    tgeer
    Last edited by tgeer43; January 5th, 2010 at 07:24 AM. Reason: typo
    "Programming is an art form that fights back."

    HP Pavillion DV9500T 17" Notebook • 2.2GHz Core2 Duo • 4GB RAM • Nvidia Geforce 8600M GS 512MB
    Running Ubuntu 10.04 [64-bit]+Gnome+Compiz from HD / Puppy Linux 4.2.1SMP in RAM from USB Flash

  2. #2
    Join Date
    Jan 2009
    Location
    Millbury, MA
    Beans
    414
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: "Open as Administrator" behaving badly under Karmic?

    Well, the only GUI way that I found to circumvent this problem was to uninstall gksu-nautilus and use a regular nautilus script to open files/folders as root. I still don't know if the problem resides in the gksu-nautilus package or in Karmic itself. Since my resolution is more of a workaround than a fix, I'm not marking this thread as solved.

    The complete lack of responses here leads me to believe that the problem is not widespread and may in fact have something to do with my particular installation/configuration but I can't for the life of me think of what it might be.

    tgeer
    "Programming is an art form that fights back."

    HP Pavillion DV9500T 17" Notebook • 2.2GHz Core2 Duo • 4GB RAM • Nvidia Geforce 8600M GS 512MB
    Running Ubuntu 10.04 [64-bit]+Gnome+Compiz from HD / Puppy Linux 4.2.1SMP in RAM from USB Flash

  3. #3
    Join Date
    Jun 2008
    Location
    Ballard
    Beans
    2,409
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: "Open as Administrator" behaving badly under Karmic?

    I don't use that specific package (gksudo-nautilus). Can't you just gksudo nautilus when you need a specific window?
    "We're all in this together, kid." --H. Tuttle (a.k.a. H. Buttle)
    "Maybe it's a layer 8 problem." --thatguruguy
    A High-Tech Blech!

  4. #4
    Join Date
    Jan 2009
    Location
    Millbury, MA
    Beans
    414
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: "Open as Administrator" behaving badly under Karmic?

    Quote Originally Posted by jamesisin View Post
    I don't use that specific package (gksudo-nautilus). Can't you just gksudo nautilus when you need a specific window?
    I mis-typed a couple of times in my first post. The correct package name is 'nautilus-gksu'. And when I said:
    Entering 'gksu-nautilus' at the command line gives the same result.
    I meant 'gksudo nautilus', so I have tried that. It still changes my entire profile to that of root and there's no easy way that I know of to switch back to my regular profile. And besides, if I'm going to enter a CLI command to open a nautilus window as root, I might as well just enter the entire command, eg. sudo cp /etc/grub.d/00_header /etc/grub.d/00_header.bak.

    Thanks for the suggestion, though.

    tgeer

    Tom
    "Programming is an art form that fights back."

    HP Pavillion DV9500T 17" Notebook • 2.2GHz Core2 Duo • 4GB RAM • Nvidia Geforce 8600M GS 512MB
    Running Ubuntu 10.04 [64-bit]+Gnome+Compiz from HD / Puppy Linux 4.2.1SMP in RAM from USB Flash

  5. #5
    Join Date
    Jun 2008
    Location
    Ballard
    Beans
    2,409
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: "Open as Administrator" behaving badly under Karmic?

    Well, you could merely type gksudo nautilus into gnome-do...

    Have you tried running gksudo nautilus after removing (purging) nautilus-gksudo?
    "We're all in this together, kid." --H. Tuttle (a.k.a. H. Buttle)
    "Maybe it's a layer 8 problem." --thatguruguy
    A High-Tech Blech!

  6. #6
    Join Date
    Jan 2009
    Location
    Millbury, MA
    Beans
    414
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: "Open as Administrator" behaving badly under Karmic?

    Quote Originally Posted by jamesisin View Post
    Well, you could merely type gksudo nautilus into gnome-do...
    I don't run gnome-do but I don't think that would be any different than typing it at the command line or into the 'Run Application' panel applet dialog box. Correct me if I'm wrong.
    Quote Originally Posted by jamesisin View Post
    Have you tried running gksudo nautilus after removing (purging) nautilus-gksudo?
    Yes, unfortunately I have.

    I just took a look at the 'Browse as root' nautilus script that I'm successfully using now. The command contained therein reads:
    gksu -u root "nautilus --no-desktop $NAUTILUS_SCRIPT_CURRENT_URI"
    So it appears that the --no-desktop option is the key. According to the nautilus man page:
    --no-desktop
    Do not manage the desktop — ignore the preference set in the preferences dialog.
    tgeer
    Last edited by tgeer43; January 5th, 2010 at 11:06 AM. Reason: update
    "Programming is an art form that fights back."

    HP Pavillion DV9500T 17" Notebook • 2.2GHz Core2 Duo • 4GB RAM • Nvidia Geforce 8600M GS 512MB
    Running Ubuntu 10.04 [64-bit]+Gnome+Compiz from HD / Puppy Linux 4.2.1SMP in RAM from USB Flash

  7. #7
    Join Date
    Jun 2008
    Location
    Ballard
    Beans
    2,409
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: "Open as Administrator" behaving badly under Karmic?

    I think gnome-do is the best application launcher to date. A single keystroke starts it and then I type something until I recognize what I'm after. If I type out a command (like gksudo nautilus) and hit enter it's the same as having first opened the command line and then typed it out. I use it for just about anything now. Way better than Spotlight and better than Windows-R. And I probably am not yet fully exploiting it. (Use the Glass Frame theme as the others don't follow the behavior I am talking about.)

    I agree with you about the --no-desktop. Sounds suspicious.
    "We're all in this together, kid." --H. Tuttle (a.k.a. H. Buttle)
    "Maybe it's a layer 8 problem." --thatguruguy
    A High-Tech Blech!

  8. #8
    Join Date
    Dec 2005
    Location
    Western Australia
    Beans
    11,480
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: "Open as Administrator" behaving badly under Karmic?

    The "--no-desktop" bit is the key. Alternatively, you can run:

    Code:
    gksudo gconf-editor
    And then change the setting so that Nautilus (as root) doesn't manage the desktop.
    I try to treat the cause, not the symptom. I avoid the terminal in instructions, unless it's easier or necessary. My instructions will work within the Ubuntu system, instead of breaking or subverting it. Those are the three guarantees to the helpee.

  9. #9
    Join Date
    Jan 2009
    Location
    Millbury, MA
    Beans
    414
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: "Open as Administrator" behaving badly under Karmic?

    Quote Originally Posted by jamesisin View Post
    I think gnome-do is the best application launcher to date. A single keystroke starts it and then I type something until I recognize what I'm after. If I type out a command (like gksudo nautilus) and hit enter it's the same as having first opened the command line and then typed it out. I use it for just about anything now. Way better than Spotlight and better than Windows-R. And I probably am not yet fully exploiting it. (Use the Glass Frame theme as the others don't follow the behavior I am talking about.)

    I agree with you about the --no-desktop. Sounds suspicious.
    Thanks for the info on gnome-do. I'm already quite familiar with it (having tried it in the past) and I know that it's widely regarded as the best app of its kind. However, I currently have no real need for it. That may sound a bit odd but if you saw that way that I have my system set up you would understand. Every menu and application that I normally access is already at my fingertips via panel launchers and applets and I rarely have to type anything unless I choose to work from the command line. There's nothing on my desktop as I have nautilus set up to not manage the desktop. For those few apps that I use only infrequently there's always the main menu or the 'Run Application' panel applet.

    And besides, we already established the fact that it would not help in this case because it's no different than typing the same command from the command line which unfortunately doesn't work.

    tgeer
    "Programming is an art form that fights back."

    HP Pavillion DV9500T 17" Notebook • 2.2GHz Core2 Duo • 4GB RAM • Nvidia Geforce 8600M GS 512MB
    Running Ubuntu 10.04 [64-bit]+Gnome+Compiz from HD / Puppy Linux 4.2.1SMP in RAM from USB Flash

  10. #10
    Join Date
    Apr 2005
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: "Open as Administrator" behaving badly under Karmic?

    Quote Originally Posted by 3rdalbum View Post
    And then change the setting so that Nautilus (as root) doesn't manage the desktop.
    trying to understand a similar issue over at:
    http://ubuntuforums.org/showthread.php?t=1372619

    thinking that they may have seen the same sort of thing happening.

    Which setting controls root allowing desktop management - what is the path to the setting in gconf-editor? Is it something other than Apps -> Nautilus -> Preferences -> show desktop?
    Last edited by mbeach; January 5th, 2010 at 03:50 PM.

Page 1 of 2 12 LastLast

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
  •