LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-16-2008, 11:59 PM   #1
cegres
LQ Newbie
 
Registered: Jan 2008
Posts: 9

Rep: Reputation: 0
Question Icons on GNOME Desktop Disappearing


I have a OpenSUSE 10.3 distro with GNOME desktop with Clearview theme. While cleaning my files I selected all files in /tmp and deleted using Nautilus. Result nearly 100s of Nautilus clients opened and even after rebooting I had to close manually one by one.

Now the problem is I could not see any of the Desktop shortcuts. They are present in the Desktop folder if I do a ls. But I am unable to see on GNOME desktop. I could not even create a shortcut.

Any answers? - please do not suggest to create a new user, I tried and that works fine.
 
Old 01-17-2008, 08:22 AM   #2
this213
Member
 
Registered: Dec 2001
Location: ./
Distribution: Fedora, CentOS, RHEL, Gentoo
Posts: 167

Rep: Reputation: 34
First, don't delete files that you have no idea of why they exist in the first place. Just because they're in /tmp doesn't mean the system doesn't need them for some reason.

I'm not really sure of your exact issue, but deleting ~/.nautilus may help you. You may also need to empty out (not delete) ~/.gnome2. If you have a ~/nautilus-debug-log.txt that may shed some light on what's going on as well.
 
Old 01-18-2008, 11:03 AM   #3
cegres
LQ Newbie
 
Registered: Jan 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Thumbs up

Bravo!
The method you specified is working precisely and I got back all my icons. Luckily when I was deleting the /tmp, I logged in as user, not as root that saved me.

--------- background on deleting /tmp files ------------------
I was trying to take a system backup using a GUI tool instead of tar - my intention was to take incremental backup. While I was in between, it prompted me very low diskspace. Then I thought tmp is useless and selected all files in Nautilus and pressed Delete. Gosh!! 100s of Nautilus opened. I could not kill all. Even after reboot it existed. Started killing one by one. Somehow when I reached killing the last Nautilus window, Desktop got disappeared.
---------------------------------------------------------------

Had you been not telling me this solution of deleting ~/.nautilus and ~./gnome2 contents, I thought of populating my home directory with all ~/. files (hidden files). Would that have worked?

Thanks a million for pointing to one correct solution.
 
Old 01-18-2008, 11:55 AM   #4
this213
Member
 
Registered: Dec 2001
Location: ./
Distribution: Fedora, CentOS, RHEL, Gentoo
Posts: 167

Rep: Reputation: 34
I'm not sure what you mean by populating your home directory with the contents of ~/, these are one and the same. However, chances are that some file in your dotfiles was launching nautilus in a loop, and replacing your dotfiles with those under /etc/skel (the default user files - these get copied to /home/username/ when you create a user) wouldn't have overwritten it.

The solution works because both Gnome and Nautilus will create a new dotfile (~/.gnome2 and ~/.nautilus) if you log in and they aren't present.

Your desktop icons are controlled by Nautilus, which is why you lost them when you killed the last process. For future reference, if some app is continually launching like that, you can do "killall -9 process_name" which will kill all of those processes.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gnome disappearing panel and icons otto k Linux - Desktop 1 01-13-2007 03:20 AM
gnome desktop icons appear as desktop text files nick623 Linux - Software 2 12-15-2006 02:05 PM
GNOME 2.8 Desktop icons all generic.desktop sygin Debian 0 12-22-2004 11:58 PM
Gnome 2.6 desktop icons? Linux~Powered Linux - Software 2 08-01-2004 12:58 PM
Gnome and desktop icons enegron Linux - Newbie 2 10-14-2003 10:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration