Re: Configuring gconf keys from a shell before call a Nautilus new window

On Sat, 2004-04-03 at 19:21, Adriano Del Vigna de Almeida wrote:
> Hi,
> Some time ago I asked right here how to open a new Nautilus window
> without the sidebar panel visible, if exists some command line parameter
> to do that.
> As a suggestion, said to me to use gconf command line parameters. And I
> did that. But didn't got the results I'm looking for.
> I'm using the following sequence of commands, to open a special URI,
> without showing the sidebar panel from a shell (gnome-terminal):
> #----------------------------------
> # Now we hide the sidebar panel
> gconftool-2 -s --type=bool /apps/nautilus/preferences/start_with_sidebar
> false
> # Open our URI
> nautilus <special_uri> &
> # And then restore the default configuration to Nautilis
> gconftool-2 -s --type=bool /apps/nautilus/preferences/start_with_sidebar
> true
> #----------------------------------

Maybe you're changing back the setting before nautilus has had a chance
to read the value?

 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a war-weary misogynist gentleman spy searching for his wife's true 
killer. She's a brilliant impetuous schoolgirl in the witness protection 
program. They fight crime! 

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