Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I just added and modified a .desktop file in my /home/user/.local/share/applications folder.

Is there any way to refresh the icon and caption in the list of applications without logging out?

share|improve this question

2 Answers 2

up vote 9 down vote accepted

You can restart the gnome-shell by pressing Alt+F2 and then typing in either "restart" or just "r" and pressing enter.

Otherwise I've noticed that it automatically refreshes .desktop files after waiting a little while.

share|improve this answer
    
Well, that alt-f2 really made is so I didn't even need to do it. and I did notice that it was refreshing my applications. Now all my applications are gone. I must have messed something up! But there must be cron job to do it then eh? I'll check there. –  Peter Turner Apr 27 '11 at 13:41

Simple way to do so is : 1. Kill the gnome-panel service. killall gnome-panel 2. And start it again gnome-panel

share|improve this answer
    
What is gnome-panel? Here's what I have running: bash-4.2$ ps -A | grep gnome 1961 ? 00:00:00 gnome-keyring-d 1969 ? 00:00:00 gnome-session 2074 ? 00:00:23 gnome-settings- 2123 ? 00:21:52 gnome-shell 2132 ? 00:00:01 gnome-power-man 2141 ? 00:00:05 gnome-screensav 2228 ? 00:00:00 gnome-shell-cal –  Peter Turner Apr 27 '11 at 13:52
    
Do you have the gnome-panel binary ? I do have this file on debian-5. May be you do not have it as you are using Gnome-3 –  SHW Apr 27 '11 at 13:55
    
Yeah I've got the binary (I did an update from Fedora 14, not a fresh install), but I don't see where it's running. No .pid file, not showing up in processes, but if I try to run it, it tells me that it's already running. –  Peter Turner Apr 27 '11 at 14:14
    
simple try to run those two commands I mentioned. –  SHW Apr 27 '11 at 14:42

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.