Re: Using Nautilus under Openbox

corenominal wrote:

Please see: http://crunchbanglinux.org/forums/post/36164/#p36164

Hope it helps. smile

Thanks! Ok this solves the problem that it opened new folders in a seperate window.
But it is still like a "castrated nautilus" without sidebar or any toolbar.....

I want the look like
http://bucarotechelp.com/computers/images/linux_nautilus.jpg



Do you have this normal look??

Re: Using Nautilus under Openbox

Can I uninstall "nautilus" altogether?

You cannot put a price tag on "#!Cool"

Re: Using Nautilus under Openbox

I found a way to stop nautilus taking control of the desktop altogether. I like the new XFCE4 desktop but I was missing the features of 9.04 and I like some of my Gnome apps.. So I was content to remove XFCE4 from OpenBox in it's entirety to return back to having a Gnomed System.

The easiest way I found for stopping Nautilus from taking control of your desktop was by following this thread with one exception, I used gconf-editor available in the repositories to apply the following

# Disable Nautilus desktop.
/apps/nautilus/preferences/show_desktop false &
# Do not let Nautilus set the background image.
/desktop/gnome/background/draw_background false &
# Make Nautilus use spatial mode, should start-up quicker.
/apps/nautilus/preferences/always_use_browser false &
# Make Nautilus show the advanced permissions dialog
/apps/nautilus/preferences/show_advanced_permissions true &

By launching the gconf-editor as root by doing a sudo su or sudo -i you can apply the fixes above by navigating to each of there respective properties in the gconf-editor and then untick (false) out the ones you want, once you exit the editor and then launch nautilus as root, you'll notice no desktop change. Thereby making cb-bad-nautilus redundant wink You have to apply it to both the root version of gconf-editor and the non-root account of the home user for it to take effect in both enviroments. hth.

.. now silently pondering if I should apply wbar or docky to add a quick launch panel above or to the left of lxpanel..

..settled on adeskbar, its small and light enough to play with OB nicely, blended in to top-left..

Who says you cant have icons on your OpenBox Desktop!? big_smile

http://030.img98.net/out.php/i294284_20 … 3933373532

Last edited by db_crunch (2011-05-04 07:23:03)

~My mind works like lightning. One brilliant flash and it's gone.

Re: Using Nautilus under Openbox

If I may jump in here and ask a question...

Edit: As I see below, it might be worth mentioning I'm actually using Ubuntu 11.04 with Openbox this time. I come here because you seem to be the only one with advice on this, and because I got my start with minimalistic Linux on Crunchbang.

Using the suggested settings causes my desktop to go black when I log into openbox after feh does it's thing. Does anybody know why?

# Disable Nautilus desktop.
gconftool-2 -s -t bool /apps/nautilus/preferences/show_desktop false &
# Do not let Nautilus set the background image.
gconftool-2 -s -t bool /desktop/gnome/background/draw_background false &

Leaving the first set to true prevents this, but when I actually run nautilus, the background goes to black and the takeover happens.

Also, what's the most sensible way to set the reverse for Gnome sessions?

Last edited by stevepoppers (2012-01-20 17:42:33)

Re: Using Nautilus under Openbox

This thread confused me. I have always used Nautilus because I need to browse Windows shares and have never had any trouble. So I checked the autostart.sh on my laptop (2010 install) and it already has the lines advised by Corenominal. I checked an install I did last week and in that autostart.sh is a call to cb-bad-nautilus which contains the required lines.

So it seems that us new bugs that haven't messed with autostart.sh don't need to worry?

Re: Using Nautilus under Openbox

stevepoppers wrote:

Using the suggested settings causes my desktop to go black when I log into openbox after feh does it's thing. Does anybody know why?

# Disable Nautilus desktop.
gconftool-2 -s -t bool /apps/nautilus/preferences/show_desktop false &
# Do not let Nautilus set the background image.
gconftool-2 -s -t bool /desktop/gnome/background/draw_background false &

Leaving the first set to true prevents this, but when I actually run nautilus, the background goes to black and the takeover happens.

That's probably because of an update in the GNOME backend. I don't know for sure but I think Nautilus is using dconf now, instead of gconf. All I can help you with is that once Nautilus starts running (without changing the default settings), it draws the background. No program will override this, and AFAIK not even killing Nautilus itself will. You will have to find the setting of Nautilus to disable this. I think it's now called "Manage Desktop" or "Draw Desktop", something like that. Apologies for not being more precise, but I can't check it because I don't run Linux anymore.

dbvolvox wrote:

So it seems that us new bugs that haven't messed with autostart.sh don't need to worry?

If it works, you don't have to worry tongue

Last edited by Unia (2012-01-20 18:02:33)

Let's do it and don't screw it.
      Github || Deviantart

Re: Using Nautilus under Openbox

Unia wrote:

That's probably because of an update in the GNOME backend. I don't know for sure but I think Nautilus is using dconf now, instead of gconf. All I can help you with is that once Nautilus starts running (without changing the default settings), it draws the background. No program will override this, and AFAIK not even killing Nautilus itself will. You will have to find the setting of Nautilus to disable this. I think it's now called "Manage Desktop" or "Draw Desktop", something like that. Apologies for not being more precise, but I can't check it because I don't run Linux anymore.

The Crunchbang autostart file, which I found here (http://crunchbanglinux.org/forums/topic … tostartsh/) contains the following:

## Bad Nautilus, minimises the impact of running Nautilus under
## an Openbox session by applying some gconf settings. Safe to delete.
cb-bad-nautilus &

But Google turns up nothing on this command. I assume it's Crunchbang-specific. I guess the config commands I want are in there. But I dun has sad

Could anyone take a look at that file and maybe share it?

Oh, and I don't think it's a gconf/dconf problem. The commands I posted get changed, and I use gconf-editor to change them manually.

Thank you...

Re: Using Nautilus under Openbox

You can find the cb-bad-nautilus somewhere in /usr/bin or /usr/share/bin or something like that tongue Again sorry for being so vague

Let's do it and don't screw it.
      Github || Deviantart

Re: Using Nautilus under Openbox

No, I'm sorry, I don't think you've noticed my edit.

I'm not running crunchbang. Ubuntu 11.04 w/openbox. I don't have that file on my system.

Re: Using Nautilus under Openbox

Here you go

#!/bin/bash
# cb-bad-nautilus
# CrunchBang Linux ships with Openbox and Xfce sessions,
# Nautilus can be troublesome for both of these sessions and
# this script helps to prevent those troubles.
# Written for CrunchBang Linux <http://crunchbanglinux.org/>
# by Philip Newborough (aka corenominal) <corenominal@corenominal.org>
if [ -e "/home/$USER/.config/crunchbang/cb-bad-nautilus" ]; then
    exit 0
else
    gconftool-2 -s -t bool /apps/nautilus/preferences/show_desktop false
    gconftool-2 -s -t bool /desktop/gnome/background/draw_background false
    gconftool-2 -s -t bool /apps/nautilus/preferences/show_advanced_permissions true
    if [ ! -d "/home/$USER/.config/crunchbang" ]; then
        mkdir /home/$USER/.config/crunchbang
    fi
    if [ ! -f "/home/$USER/.config/crunchbang/cb-bad-nautilus" ]; then
        touch /home/$USER/.config/crunchbang/cb-bad-nautilus
    fi
fi
exit 0

Re: Using Nautilus under Openbox

EnochRoot wrote:

Here you go

Ah, thank you. Unfortunately, that doesn't seem to do anything different, does it? Nautilus is still blacking out my background despite definitely being set to not do so.

Re: Using Nautilus under Openbox

maybe pursue your quest on the ubuntu forums? I have no problems with nautilus taking over the desktop. but I use crunchbang. maybe give it a try?

eee701/4gb/512ram