Preference - Startup Application on 9.04

Asked by martino

In my laptop with Ubuntu 9.04 in the Startup Application i add the /usr/bin/nautilus to launch nautilus on login. I logged out and log in but Nautilus doesn't start. Why ?

Best Regards
luciano

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Steven Danna
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

try this:

cd ~/.config/autostart; ln -s /usr/share/applications/nautilus.desktop

the file browser will now launch at logon.

in kde its different:

cd ~/.kde/Autostart; ln -s `which nautilus`

Job done

Revision history for this message
martino (lrinetti-libero) said :
#2

Hi,
i done the commands but after that, Nautilus still doesn't start at logon.
These are the file in .config/autostart:
lrinetti@lrinetti-fly2:~/.config/autostart$ ls -l
total 8
-rw-r--r-- 1 lrinetti lrinetti 121 2009-06-26 00:31 gnome-terminal.desktop
lrwxrwxrwx 1 lrinetti lrinetti 40 2009-06-26 13:13 nautilus.desktop -> /usr/share/applications/nautilus.desktop
-rw-r--r-- 1 lrinetti lrinetti 174 2009-06-26 12:21 nautilus.desktop.original
lrwxrwxrwx 1 lrinetti lrinetti 44 2009-06-26 11:37 padevchooser.desktop -> /usr/share/applications/padevchooser.desktop
lrinetti@lrinetti-fly2:~/.config/autostart$
nautilus.desktop.original is the original nautilus.desktop before use the ln -s.
This is the nautilus.desktop contents (linked to /usr/share/applications/nautilus.desktop):

[Desktop Entry]
Encoding=UTF-8
Name=File Manager
Exec=nautilus
Icon=system-file-manager
Terminal=false
Type=Application
StartupNotify=true
NoDisplay=true
OnlyShowIn=GNOME;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=nautilus
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Version=2.26.2
X-GNOME-Autostart-Phase=Desktop
X-GNOME-Autostart-Notify=true
X-GNOME-AutoRestart=false
X-GNOME-Provides=filemanager
X-Ubuntu-Gettext-Domain=nautilus

Thank You,
luciano

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

ubottu: To add programs to start up when you log into your Gnome session go to System>Preferences>Sessions and use the Startup Programs tab. For more information, see https://help.ubuntu.com/community/AddingProgramToSessionStartup - See !boot for starting non-interactive programs at boot

That from ubottu in #ubuntu on irc.freenode.net (official support channel of Ubuntu)

Revision history for this message
martino (lrinetti-libero) said :
#4

Hi,
i did exactly as shown in the guide, for 9.04 (Startup Applications from Preference) but Nautilus is not starting at my logon. I looked at the /var/log/messages adn syslog to see the string "nautilus" but there isn't.

Thank You
luciano

Revision history for this message
Best Steven Danna (ssd7) said :
#5

If you want a nautilus browser window to open on boot, your autostart command will have to be a little different than just /usr/bin/nautilus

Use the Startup Applications utility to make an entry will the following entries:

Name: Nautilus Browser Window
Command: /usr/bin/nautilus --browser /home/username

Now, "username" should be your actual username. I hope this helps.

Revision history for this message
martino (lrinetti-libero) said :
#6

Thanks Steven Danna, that solved my question.

Revision history for this message
martino (lrinetti-libero) said :
#7

Thank You
when i put "/usr/bin/nautilus --browser /home/username" in the Preference-StartupApplication
in place of "/usr/bin/nautilus" (as i did successfully in Ubuntu 8.04) now in my new Ubuntu 9.04 the
Nautilus file manager automatically start at my logon.

Many thanks
luciano