Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I recently installed mpd-gnome which among other things adds a nautilus extension nautilus-mpd.py. This extension does not seem to be working so I decided to run nautilus from the command line to see if it threw up some kind of error regarding the extension. Unfortunately as soon as I attempted this nautilus forked to the background or something.

How can I see exactly why my extension isn't work?

share|improve this question
    
Is there a file in your home folder called nautilus-debug-log.txt? –  Marco Ceppi Sep 2 '10 at 2:37
    
On a standard install Nautilus is always running in the background (and will be restarted automaticly by gnome-session if you try to kill it). Because of that, the nautilus you start just tells the existing nautilus process to open a new window and then exits, returning you to the commandline. –  JanC Sep 2 '10 at 8:26
add comment

2 Answers 2

up vote 1 down vote accepted

If you want nautilus to stop permanently, open up gconf-editor and set /desktop/gnome/session/required_components_list to windowmanager,panel (removing "filemanager"). Then log out and back in.

To restore previous behavior, change the gconf key back to windowmanager,panel,filemanager.

share|improve this answer
add comment

I recall I was able to run nautilus from a terminal when debugging extensions myself; if you kill and then immediately restart nautilus, you should have it running from the command line:

nautilus -q && nautilus ~/

I was able to confirm that this works on Lucid. Note that passing in some directory when launching nautilus is important, otherwise it will fork off in the background.

share|improve this answer
    
Using --browser instead of some directory probably works too. –  JanC Sep 3 '10 at 10:52
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.