1

I was trying to create my own desktop environment and was working with sudo nautilus and i accidentally deleted .desktop entry for ubuntu 3d, help needed

1
  • 1
    Your case is just a very good example of Why you shouldn't use nautilus with root power
    – Anwar
    Oct 1, 2012 at 13:15

1 Answer 1

6

I assume you mean /usr/share/xsessions/ubuntu.desktop file.

Here is the contents of that file:

[Desktop Entry]
Name=Ubuntu
Comment=This session logs you into Ubuntu
Exec=gnome-session --session=ubuntu
TryExec=unity
Icon=
Type=Application
X-Ubuntu-Gettext-Domain=gnome-session-3.0

Save it to /usr/share/xsessions/ubuntu.desktop and you have your session back. For editing purpose, you can use the TTY logins via Ctrl-Alt-F1 shortcut.

Not the answer you're looking for? Browse other questions tagged .