GNOME Shell Lost Desktop icons

Done it, and yes the icons are back! Thanks. Now the question is how do I get them back on my account…?

Thanks I’ll remember that, but I have created it now with yast and the icons are all there on the test account, now how do I get them on my account?

Hi
So all the permissions and ownerships of you home directory are ok? The issue is possibly down in .config or .local

Sorry, no I haven’t check all permissions yet, i will do that and get back to you

Hi, Ok this is what I have in my /home and /home/~ directories

linux:/home/jimt # ls -lh
ls: cannot access .gvfs: Permission denied
total 3.9M
drwx------ 5 jimt users 4.0K Jun 11 18:36 .adobe
-rw-r–r-- 1 jimt users 24 Jun 9 15:25 .aspell.en.prepl
-rw-r–r-- 1 jimt users 38 Jun 9 15:25 .aspell.en.pws
-rw-r–r-- 1 jimt users 163 Jun 9 22:15 .asunder
drwxr-xr-x 2 jimt users 4.0K Jun 3 22:19 Audiobooks
-rw------- 1 jimt users 3.7K Jun 19 20:26 .bash_history
-rw-r–r-- 1 jimt users 1.2K May 31 16:07 .bashrc
drwxr-xr-x 4 jimt root 4.0K Jun 18 23:13 bin
drwx------ 2 jimt users 4.0K Jun 4 14:23 .bogofilter
drwx------ 18 jimt users 4.0K Jun 17 15:53 .cache
-rwxr–r-- 1 root root 213 Jun 18 20:41 cacheUpdate.sh
drwxr-xr-x 2 jimt users 4.0K Jun 3 15:13 C++_Chap1
drwxr-xr-x 14 jimt users 4.0K Jun 17 19:17 .cddb
drwxr-xr-x 6 jimt users 4.0K Jun 9 21:15 .cddbslave
drwxr-xr-x 2 jimt users 4.0K Jun 18 23:54 Chess
drwx------ 3 jimt users 4.0K Jun 4 22:36 .compiz
drwxr-xr-x 41 jimt users 4.0K Jun 12 19:40 .config
drwx------ 3 jimt users 4.0K May 31 16:07 .dbus
drwxr-xr-x 4 jimt users 4.0K Jun 15 14:43 .designer
drwxr-xr-x 2 jimt users 4.0K Jun 2 23:51 Desktop
drwxr-xr-x 5 jimt users 4.0K Jun 19 00:27 .dia
-rw------- 1 jimt users 147 Jun 2 18:46 .directory
-rw-r–r-- 1 jimt users 27 Jun 10 21:00 .dmrc
drwxr-xr-x 3 jimt users 4.0K Jun 17 15:15 Documents
drwxr-xr-x 4 jimt users 4.0K Jun 18 16:01 Downloads
drwxr-xr-x 4 jimt users 4.0K Jun 10 13:56 .dvdcss
drwxr-xr-x 5 jimt users 4.0K Jun 18 00:07 .eboard
-rw-r–r-- 1 jimt users 1.6K May 31 16:07 .emacs
drwxr-xr-x 3 jimt users 4.0K Jun 3 00:01 .emacs.d
-rw------- 1 jimt users 16 May 31 16:07 .esd_auth
-rw-r–r-- 1 jimt users 2.6M Jun 11 16:21 Firefox_wallpaper.png
drwxr-xr-x 2 jimt users 4.0K Jun 11 19:14 .fontconfig
drwxr-xr-x 2 jimt users 4.0K Jun 2 12:28 .fonts
-rw-r–r-- 1 jimt users 508 Jun 2 19:10 .fonts.conf
-rw-r–r-- 1 jimt users 0 Jun 18 16:46 game.001
drwx------ 5 jimt users 4.0K Jun 19 20:27 .gconf
drwx------ 2 jimt users 4.0K Jun 19 21:27 .gconfd
drwxr-xr-x 22 jimt users 4.0K Jun 17 18:45 .gimp-2.6
drwx------ 10 jimt users 4.0K Jun 19 20:26 .gnome2
drwx------ 2 jimt users 4.0K May 31 16:07 .gnome2_private
drwx------ 3 jimt users 4.0K Jun 10 18:35 .gnupg
drwx------ 4 jimt users 4.0K Jun 5 14:35 .googleearth
drwxr-xr-x 2 jimt users 4.0K Jun 18 14:38 .gstreamer-0.10
-rw-r–r-- 1 jimt users 132 Jun 19 20:27 .gtk-bookmarks
-rw-r–r-- 1 jimt users 318 Jun 3 00:04 .gtkrc-2.0-kde4
d??? ? ? ? ? ? .gvfs
drwxr----- 2 jimt users 4.0K Jun 8 22:46 .hplip
-rw-r–r-- 1 jimt users 71K Jun 9 16:17 hs_err_pid18655.log
-rw-r–r-- 1 jimt users 70K Jun 16 18:25 hs_err_pid22239.log
-rw-r–r-- 1 jimt users 78K Jun 14 12:51 hs_err_pid8400.log
-rw------- 1 jimt users 42K Jun 19 20:27 .ICEauthority
drwxr-xr-x 3 jimt users 4.0K Jun 2 23:06 .icedteaplugin
drwxr-xr-x 2 jimt users 4.0K Jun 13 15:50 .icons
-rw-r–r-- 1 jimt users 861 May 31 16:07 .inputrc
drwxr-xr-x 3 jimt users 4.0K Jun 1 12:01 .java
drwxr-xr-x 3 jimt users 4.0K Jun 1 14:50 .jin
drwx------ 3 jimt users 4.0K Jun 18 17:03 .kde
drwx------ 7 jimt users 4.0K Jun 10 22:34 .kde4
drwxr-xr-x 3 jimt users 4.0K Jun 1 10:13 .libreoffice
drwxr-xr-x 3 jimt users 4.0K May 31 16:07 .local
-rw-r–r-- 1 jimt users 127 Jun 18 16:46 log.001
drwxr-xr-x 2 jimt users 4.0K Jun 15 14:44 .logfactor5
-rw-r–r-- 1 jimt users 46 Jun 16 10:41 .lxk_prefstor
-rw-r–r-- 1 jimt users 73 Jun 19 20:27 .lxk_session
drwx------ 3 jimt users 4.0K May 31 21:02 .macromedia
drwx------ 2 jimt users 4.0K Jun 3 17:57 .mc
drwxr-xr-x 2 jimt users 4.0K Jun 18 17:03 .mcop
drwx------ 3 jimt users 4.0K Jun 4 15:00 .mission-control
drwxr-xr-x 4 jimt users 4.0K May 31 16:53 .mozilla
drwxr-xr-x 2 jimt users 4.0K Jun 7 17:20 .mplayer
drwxr-xr-x 41 jimt users 4.0K Jun 15 20:15 Music
drwx------ 2 jimt users 4.0K Jun 3 10:18 .nero
drwxr-xr-x 3 jimt users 4.0K Jun 2 20:55 .netx
drwxr-xr-x 2 jimt users 4.0K Jun 12 12:38 .pdfedit
drwxr-xr-x 2 jimt users 4.0K Jun 5 00:32 .phalanx
drwxr-xr-x 3 jimt users 4.0K Jun 6 18:26 Photos
drwxr-xr-x 4 jimt users 4.0K Jun 15 09:36 Pictures
drwx------ 3 jimt users 4.0K May 31 19:37 .pki
drwxr-xr-x 2 jimt users 4.0K Jun 3 22:19 Podcasts
-rw-r–r-- 1 jimt users 0 Jun 9 14:05 postinstall_ready
-rw-r–r-- 1 jimt users 1.1K May 31 16:07 .profile
drwxr-xr-x 2 jimt users 4.0K May 31 16:07 Public
drwxr-xr-x 2 jimt users 4.0K May 31 16:07 public_html
drwx------ 2 jimt users 4.0K Jun 10 19:36 .pulse
-rw------- 1 jimt users 256 May 31 16:07 .pulse-cookie
drwxr-xr-x 2 jimt users 4.0K Jun 12 12:28 .qt
-rw------- 1 jimt users 346 Jun 3 00:23 .recently-used
-rw------- 1 jimt users 58K Jun 17 18:45 .recently-used.xbel
drwxrwx— 3 jimt users 4.0K Jun 12 11:57 .sane
drwxr-xr-x 2 jimt users 4.0K Jun 2 12:28 .skel
drwxr-xr-x 4 jimt users 4.0K Jun 18 18:31 .sudoku
drwxr-xr-x 2 jimt users 4.0K May 31 16:07 Templates
drwxr-xr-x 2 jimt users 4.0K May 31 16:21 .themes
drwx------ 5 jimt users 4.0K Jun 5 17:44 .thumbnails
drwx------ 4 jimt users 4.0K Jun 17 12:17 .thunderbird
drwxr-xr-x 2 jimt users 4.0K May 31 16:07 Videos
-rw------- 1 jimt users 4.2K Jun 18 22:42 .viminfo
-rw-r–r-- 1 jimt users 1002 May 31 16:07 .vimrc
drwxr-xr-x 4 jimt users 4.0K Jun 18 17:40 .wine
-rw------- 1 jimt users 0 Jun 10 19:18 .Xauthority
-rw-r–r-- 1 jimt users 5.0K Jun 18 17:28 .xboardrc
drwx------ 3 jimt users 4.0K Jun 10 16:54 .xchat2
-rw-r–r-- 1 jimt users 1.9K May 31 16:07 .xim.template
drwxr-xr-x 3 jimt users 4.0K Jun 7 15:53 .xine
-rwxr-xr-x 1 jimt users 1.5K May 31 16:07 .xinitrc.template
-rw-r–r-- 1 jimt users 5.7K Jun 2 12:11 .xscreensaver
-rw------- 1 jimt users 4.7K Jun 19 21:31 .xsession-errors
-rw------- 1 jimt users 109K Jun 10 20:59 .xsession-errors.old
-rw-r–r-- 1 jimt users 487K Jun 17 23:58 .y2log
-rw-r–r-- 1 jimt users 281 Jun 4 20:14 .y2usersettings
linux-:/home/jimt # …
linux-:/home # ls -lh
total 32K
drwxr-xr-x 73 jimt users 4.0K Jun 19 20:27 jimt
drwxr-xr-x 28 999 users 4.0K Jun 10 18:08 linux
drwxr-xr-x 26 999 users 4.0K Jun 3 23:04 linux~
drwx------ 2 root root 16K May 31 15:57 lost+found
drwxr-xr-x 26 test users 4.0K Jun 19 20:26 test
linux-q9xq:/home #

One thing that sticks out is the gvfs file ???

The same file in ‘test’ is uncorrupted and empty.

I read somewhere that this file can be corrupted from Firefox

jim

did a bit of research and found that gvfs is Gnome virtual file system and that I can just unmount this it as a filesystem

OK I umounted gvfs and that fixed it, reloaded shell, but still missing icons

Will wait fir your advice

Cheers

Hi
So the “cacheUpdate.sh” script owned by root, you ran this after the issue started? What does the script do?

If you look down in .config eg cd .config and the same .local and look at ownership/permissions.

Can you remember the last thing you were doing before the problem?

Hi
This is what the script does, rebuilds all the icon caches.

linux-q9xq:/home/jimt # ./cacheUpdate.sh
Updating /usr/share/icons/DMZ-AA cache
Updating /usr/share/icons/hicolor cache
Updating /usr/share/icons/oxygen cache
Updating /usr/share/icons/gnome cache
Updating /usr/share/icons/DMZ cache
Updating /usr/share/icons/Sonar cache
Updating /usr/share/icons/Tango cache
Updating /usr/share/icons/LargePrint cache
Updating /usr/share/icons/Crux cache
Updating /usr/share/icons/Mist cache
Updating /usr/share/icons/HighContrastLargePrint cache
Updating /usr/share/icons/HighContrastLargePrintInverse cache

this is .config

-rw-r–r-- 1 jimt users 2.9K May 31 16:24 ab-newapps.txt
drwxr-xr-x 2 jimt users 4.0K Jun 3 21:05 akonadi
drwxr-xr-x 2 jimt users 4.0K Jun 9 18:33 autostart
drwxr-xr-x 3 jimt users 4.0K Jun 10 23:29 banshee-1
drwx------ 2 jimt users 4.0K Jun 10 16:55 brasero
drwxr-xr-x 5 jimt users 4.0K Jun 19 23:18 Clementine
drwxr-xr-x 2 jimt users 4.0K Jun 5 00:23 compiz
drwxr-xr-x 3 jimt users 4.0K May 31 16:07 compiz-1
drwx------ 2 jimt users 4.0K Jun 19 21:27 dconf
drwx------ 2 jimt users 4.0K Jun 18 22:08 Empathy
drwx------ 2 jimt users 4.0K Jun 11 22:52 enchant
drwx------ 2 jimt users 4.0K Jun 5 16:25 eog
drwx------ 2 jimt users 4.0K Jun 11 18:23 evince
drwx------ 7 jimt users 4.0K Jun 18 18:49 evolution
drwxr-xr-x 3 jimt users 4.0K Jun 6 18:26 f-spot
drwxr-xr-x 2 jimt users 4.0K Jun 5 22:52 gedit
drwxr-xr-x 2 jimt users 4.0K Jun 2 12:05 gmixer
drwxr-xr-x 3 jimt users 4.0K Jun 5 16:11 gnome-control-center
drwxr-xr-x 3 jimt users 4.0K May 31 16:07 gnome-disk-utility
drwxr-xr-x 2 jimt users 4.0K May 31 16:07 gnome-main-menu
drwxr-xr-x 3 jimt users 4.0K May 31 16:07 gnome-session
drwxr-xr-x 2 jimt users 4.0K Jun 5 00:56 Google
drwx------ 2 jimt users 4.0K Jun 18 13:14 gtk-2.0
drwxr-xr-x 2 jimt users 4.0K Jun 3 00:04 gtk-qt-engine
drwxr-xr-x 2 jimt users 4.0K Jun 3 15:17 kde.org
drwxr-xr-x 3 jimt users 4.0K Jun 12 17:05 menus
-rw-r–r-- 1 jimt users 642 Jun 4 15:04 monitors.xml
drwxr-xr-x 2 jimt users 4.0K Jun 10 19:36 nautilus
drwxr-xr-x 2 jimt users 4.0K Jun 2 12:34 oxygen-gtk
drwxr-xr-x 2 jimt users 4.0K Jun 11 22:57 pdfmod
-rw-r–r-- 1 jimt users 3.1K Jun 12 19:40 rygel.conf
drwxr-xr-x 3 jimt users 4.0K Jun 7 17:16 smplayer
drwxr-xr-x 2 jimt users 4.0K May 31 16:07 suse
drwx------ 2 jimt users 4.0K Jun 2 12:12 Thunar
drwxr-xr-x 4 jimt users 4.0K May 31 16:07 tomboy
drwx------ 2 jimt users 4.0K Jun 18 00:12 totem
drwx------ 2 jimt users 4.0K May 31 16:07 tracker
drwxr-xr-x 5 jimt users 4.0K Jun 12 11:26 transmission
drwxr-xr-x 2 jimt users 4.0K Jun 11 22:52 Trolltech
-rw-r–r-- 1 jimt users 38K Jun 18 16:24 Trolltech.conf
-rw------- 1 jimt users 632 May 31 16:07 user-dirs.dirs
-rw-r–r-- 1 jimt users 5 May 31 16:07 user-dirs.locale
drwxr-xr-x 2 jimt users 4.0K Jun 10 13:40 vlc
drwxr-xr-x 7 jimt users 4.0K Jun 12 12:54 xfce4
drwxr-xr-x 2 jimt users 4.0K Jun 7 14:25 yelp

.local

linux-q9xq:/home/jimt # cd .local
linux-q9xq:/home/jimt/.local # ls -lh
total 4.0K
drwxr-xr-x 24 jimt users 4.0K Jun 19 10:06 share
linux-q9xq:/home/jimt/.local #

Is this what you are looking for.

As far as I remember I was trying to install a chess interface and I was having problems finding one that worked properly, one of them required installation of KDE , so i installed and removed a few applications.

cheers

Hi
But what is the command(s) it’s running in that script :wink:

Do you have a .kde and/or .kde4 directory in /home/jimt

 This is the script 

#!/bin/bash

    find /usr/share/icons -maxdepth 1 -type d | \
    while read -r THEME; do
            if  -f "$THEME/index.theme" ]]; then
                    echo "Updating $THEME cache"
                    gtk-update-icon-cache -f -q "$THEME"
            fi
    done

Yes both directories are there, kde4 was created on 10th june, before this happened and the kde created roughly when this happened.

Just one other thing, the significance of the particular missing icons might be that they where running at the time.

Hi
OK, that one runs when updating the hicolor ones only. I would say one
of the themes has just lost the icons, what applications are missing
icons, also if you click on applications are the icons missing there as
well?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.5-desktop
up 1:45, 3 users, load average: 0.03, 0.04, 0.05
GPU GeForce 8600 GTS Silent - Driver Version: 270.41.06

Hi Malcolm,

Missing icons are: emacs, firefox, thunderbird, yast, software update.

They are missing from all areas, favorites down left side, desktop applications, and from the top panel on the left

Jim

Actually yast is viewable when added to favorites and from the panel when open, but missing from desktop, the other are missing from all areas.

Hi
OK, check down in .local/share/applications are the desktop files there for those applications? Also have you used the alacarte application at all?

OK, done that, directory is empty apart from a ‘wine’ folder ( I tried wine to run a windows based chess application but didnt like it so uninstalled it, it looks like old files left behind).

Have never used alacarte as far as I know

Hi
What about in your test user?

This is mine

linux-q9xq:/home/jimt/.local/share/applications # ls -lh
total 68K

-rw------- 1 jimt users 193 Jun 3 23:09 kaffeine_play_videocd.desktop
-rw-r–r-- 1 jimt users 2.0K Jun 17 16:11 mimeapps.list
-rw-r–r-- 1 jimt users 615 Jun 18 17:39 mimeinfo.cache
drwxr-xr-x 3 jimt users 4.0K Jun 14 10:48 wine
-rw-r–r-- 1 jimt users 143 Jun 18 17:39 wine-extension-chm.desktop
-rw-r–r-- 1 jimt users 154 Jun 18 17:39 wine-extension-gif.desktop
-rw-r–r-- 1 jimt users 163 Jun 18 17:39 wine-extension-hlp.desktop
-rw-r–r-- 1 jimt users 162 Jun 18 17:39 wine-extension-htm.desktop
-rw-r–r-- 1 jimt users 163 Jun 18 17:39 wine-extension-html.desktop
-rw-r–r-- 1 jimt users 162 Jun 18 17:39 wine-extension-ini.desktop
-rw-r–r-- 1 jimt users 157 Jun 18 17:39 wine-extension-jfif.desktop
-rw-r–r-- 1 jimt users 156 Jun 18 17:39 wine-extension-jpe.desktop
-rw-r–r-- 1 jimt users 154 Jun 18 17:39 wine-extension-png.desktop
-rw-r–r-- 1 jimt users 145 Jun 18 17:39 wine-extension-rtf.desktop
-rw-r–r-- 1 jimt users 140 Jun 18 17:39 wine-extension-txt.desktop
-rw-r–r-- 1 jimt users 151 Jun 18 17:39 wine-extension-wri.desktop
-rw-r–r-- 1 jimt users 149 Jun 18 17:39 wine-extension-xml.desktop

But there is no applications directory in test, this is what is /home/test/,local/share

linux-q9xq:/home/test/.local/share # ls -lh
total 20K
drwxr-xr-x 4 test users 4.0K Jun 20 20:08 gnome-do
drwx------ 3 test users 4.0K Jun 19 20:26 gnome-shell
-rw-r–r-- 1 test users 606 Jun 19 20:26 gsettings-data-convert
drwx------ 2 test users 4.0K Jun 20 20:09 gvfs-metadata
drwxr-xr-x 3 test users 4.0K Jun 20 20:08 tracker

Hi
OK, on your user lets move the applications one, then logout/login;


mv ~/.local/share/applications ~/.local/share/backup_applications