Results 1 to 2 of 2

Thread: How to set Nautilus browser window title

  1. #1
    Join Date
    Aug 2005
    Beans
    44

    How to set Nautilus browser window title

    I have a little nautilus script to open a browser window as root

    Code:
    #!/bin/bash
    
    gksudo nautilus $NAUTILUS_SCRIPT_CURRENT_URI
    which I'd like to modify to include the extra text "(as root)" in the window title. I've searched through gconf without finding anything and done a Google search where I found scripts for terminal windows, but the option used there to set the window title don't work with nautilus. BTW the same script on a machine running Debian Squeeze automatically did a similar thing without any intervention by me. Anyone know how to do this or where I can look for an example?

  2. #2
    Join Date
    Feb 2007
    Location
    Arizona
    Beans
    221
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to set Nautilus browser window title

    Quote Originally Posted by rquint View Post
    I have a little nautilus script to open a browser window as root

    Code:
    #!/bin/bash
    
    gksudo nautilus $NAUTILUS_SCRIPT_CURRENT_URI
    which I'd like to modify to include the extra text "(as root)" in the window title. I've searched through gconf without finding anything and done a Google search where I found scripts for terminal windows, but the option used there to set the window title don't work with nautilus. BTW the same script on a machine running Debian Squeeze automatically did a similar thing without any intervention by me. Anyone know how to do this or where I can look for an example?
    Hello everyone,
    This poster has asked a question that I was hoping to find an answer to.

    In my case, I open a local folder to the public_html folder of my local Web server. The page is titled "public_html." I open a remote connection to my web site on the Internet, in Nautilus, and that window is called "public_html," also.

    This caused me some confusion one day as I had these two windows, and after updating a file locally I was to post it on the web site; I did just the opposite and wiped out my changes!

    I get to the remote public html by using a bookmark with my website domain as its name, and it would be nice to be able to see that in the window title.

    If I take the time, I can move left on the breadcrumb trail and either arrive at /home or at example.com, in the order of local, remote.

    If anyone has the answer to o.p's adding (as root) it might also serve my purpose.

    Thanks

    10.04 Ubuntu running here.
    Larry
    Ubuntu 12.04 LTS, Running on:
    2.8 GHz Pentium 4 with 1.2 GiB of RAM
    Ubuntu 10.04 LTS: 1GHz AMD Athlon, 512Mbytes RAM, NVIDIA Video card, 64Mbytes RAM

Tags for this Thread

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
  •