Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can run the Ubuntu Software Center only with sudo software-center in the terminal. When I click on the desktop icon, Ubuntu Software Center opens, and is frozen and shows a dimmed screen, and I have to kill the task in order to close it.

How I can fix the desktop icon?

share|improve this question
Can you run software-center (without sudo)? – cg505 Jun 10 '13 at 1:14
probably a permission error, try adding the word "gksudo" before "software-centre" in the desktop shortcut – Nick Bailuc Jun 10 '13 at 1:28
Can you run software-center from terminal without sudo? And if it gives an error when you do that, can you post the error? – DaboRoss Jun 10 '13 at 17:13

The root user has only a few programs under the home folder. Maybe it freezes while loading all of your installed programs. Try waiting a minute or two depending on the speed of your HD. If its your first time successfully running the program under your user name, you may have to wait longer in order for it to sync. Sometimes when I run soft-cen on my netbook it freezes while loading, but then recoveres because I have too many installed programs for such a weak CPU and slow HD.

share|improve this answer
sudo doesn't change the home directory path though? gksudo does but I am pretty sure that sudo doesn't. – DaboRoss Jun 10 '13 at 2:24
@DaboRoss Confirmed; I just ran sudo sh -c "echo $HOME" and it gives my home directory, not /root – jackweirdy Jun 10 '13 at 12:21
your right, i wrote that cuz i used to run a program on gksudo and it saved setting under the root directory – Nick Bailuc Jun 13 '13 at 21:19

It is likely trying to update the cache or you possibly (but not likely) have a corrupt cache.

Two things you can try to do. 1) wait a while to see if it finishes or 2) open a terminal and run sudo apt-get update to give software-center a head start on updating the cache as it will still need to run a update when opened and it will download icons when opened as well.

share|improve this answer

Your Answer


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.