Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I just installed the application Computer Janitor.
The icon is now accessible in the Unity Launcher.

Personally I think that the Unity toolbar is great for "normal" applications, but for system applications I prefer that they are not so easily accessible and the best place is then in the "System Settings" window.

So I can remove this icon from the Unity Launcher, but how can I add it to the "System Settings" window?

enter image description here

share|improve this question
    
Confusing: In Ubuntu Software Center I find this application as "Computer Janitor". But packages.ubuntu.com/computer-janitor-gtk doesn't exist - the package computer-janitor-gtk itself links in its description to wiki.ubuntu.com/CleanupCruft - where this application is called system-cleaner - which doesn't exist in Ubuntu Software Center ... –  Jakob May 8 '12 at 8:50
    
my translation was not right, the english name is Computer Janitor as you suggested - thanks for editing my question. –  Boris May 8 '12 at 8:58
1  
@Boris - I would strongly advise you against using computer janitor. It breaks more things than it fixes. If you want a cleaner - try bleachbit or ubuntu-tweak as per askubuntu.com/questions/2243/ccleaner-equivalent –  fossfreedom May 8 '12 at 10:56
add comment

1 Answer

up vote 6 down vote accepted

Add the starter to "System Settings":

Press Alt+F2 and run gksu gedit /usr/share/applications/computer-janitor-gtk.desktop, enter your root password when asked.

Add X-GNOME-Settings-Panel;X-GNOME-SystemSettings; to the line "Categories=System;Settings;PackageManager;GTK;".

Add the new line X-GNOME-Settings-Panel=computer-janitor-gtk to the end of the file, save and close.

Remove the icon from the Launcher via rightclick → Remove from Launcher.

And you get:

system settings


Launchers of applications are stored in ~/.local/share/applications or in /usr/share/applications/ (which to edit you have to open with gksu nautilus - but don't mess up your system!). Note: When an application becames updated, often the .desktop file becames updated, too (in /usr/..., not in ~/.local/...)

More info about Launchers you find in the Community Help Wiki.

share|improve this answer
    
Perfect it works. Could you give me more details so I can later do it for any other applications. So far I understood that we get a *.desktop file for every applications but I would never find myself to do these modifications without your advise. Is there a link describing the content of these *.desktop file ? –  Boris May 8 '12 at 9:22
    
Thanks for adding the image! I updated the answer with some details. –  Jakob May 8 '12 at 19:44
add comment

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.