Re: experimenting with libnautilus-private code



By changing the "style" to "Normal" as per Christian's instructions, I
was able to use "nautilus -q" to quit the nautilus process.  However,
strange behavior ensues if at this point I type "nautilus -q" again,
anywhere from 1 to 6+ new Nautilus windows are immediately spawned,
and I notice that the "style" of nautilus in "Current Session" gets
changed back to "Restart".

Additionally, when I try to launch my SVN source-compiled version
either when the Ubuntu nautilus process is dead via the method above,
or if nautilus has been uninstalled, the Bug Reporting Tool gets
launched and nautilus exits.

[shell output]
kostmo box:~/nautilus$ ps ax | grep nautilus
3007 pts/0    R+     0:00 grep nautilus
kostmo box:~/nautilus$ src/nautilus

** (nautilus:3008): WARNING **: Unable to load ui file nautilus-shell-ui.xml


(nautilus:3008): Gtk-CRITICAL **: gtk_ui_manager_add_ui_from_string:
assertion `buffer != NULL' failed

** (bug-buddy:3027): WARNING **: Couldn't load icon for Open Folder
kostmo box:~/nautilus$
[/shell output]

With Ubuntu Edgy's apt-get nautilus source, running src/nautilus after
nautilus has been previously quit spawned 7 new windows.  The spawned
processes were not the version that I put printf()'s in
handle_transfer_overwrite().

Any assistance appreciated,
-Karl


On 3/15/07, Christian Becke <christianbecke web de> wrote:
Am Donnerstag, den 15.03.2007, 10:37 -0500 schrieb Karl Ostmo:
> Trevor,
> For some reason, "nautilus -q" launches another instance of nautilus,
> as does "pkill nautilus".  After closing the newly launched windows:
>
> kostmo box:~/nautilus-2.16.1$ ps ax | grep nautilus
>  4763 ?        S      0:00 /usr/lib/nautilus-cd-burner/mapping-daemon
>  5533 ?        Ss     0:01 nautilus --sm-client-id
> 117f000101000117397144700000046030002 --screen 0
>  5667 pts/0    S+     0:00 grep nautilus
> kostmo box:~/nautilus-2.16.1$ kill 5533
>
> This also launches nautilus again.

Check your Gnome session settings:
In the gnome panel, go to "System->Preferences->Sessions", click the
"Current Session" tab, select the line with "nautilus
--sm-config-prefix /xxxx/" in the "program" column and change the
"style" from "restart" to "normal".
After that, nautilus should actually die if you kill it. (Note that all
icons on your desktop will disappear until nautilus is restartet)

HTH,

Christian Becke

--
nautilus-list mailing list
nautilus-list gnome org
http://mail.gnome.org/mailman/listinfo/nautilus-list



--
"Man once surrendering his reason, has no remaining guard against
absurdities the most monstrous, and like a ship without rudder, is the
sport of every wind."
-Thomas Jefferson to James Smith, 1822



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]