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.

Using Gnome Shell, how do I get rid of the Network icon from the top right in the panel?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

I would suggest using the Evil Status Icon Forever extension. Install it by clicking the On toggle switch HERE and open and edit the extension.js once installed:

gnomesu gedit ~/.local/share/gnome-shell/extensions/EvilStatusIconForever\@bone.twbbs.org.tw/extension.js

You then change the section below by uncommenting what you'd like to hide, in your case "network" so it would look like so:

var removeStatusIcon = [
    // 'a11y',         // Accessibility
    // 'volume',
    // 'battery',
    // 'keyboard',
    // 'bluetooth',
     'network'
]

Ctrl+s to save.

The reason I don't suggest editing the internal panel JavaScript or modifying the network applets js itself either, is because upon updating either of these could be easily replaced and you would have to reapply your changes.

share|improve this answer
    
Nice extension hack. –  Githlar Feb 20 '12 at 17:28
    
Thanks. After doing this I had to toggle the evil static icon forever extension off/on, and the icon disappeared. :) –  Tesco Feb 20 '12 at 19:04

Or you could /etc/init.d/network-manager stop. That gets rid of it. To get it to stay gone, you could mv /etc/init/network-manager.conf /etc/init/network-manager.conf.bak. Of course, if you're on a wireless connection you might have one heck of a time getting wireless running unless you set it up in /etc/network/interfaces.

l300lvl's answer is so much better

share|improve this answer
    
Of course if one is not using Network Manager, this would be an ideal solution as well. –  l300lvl Feb 20 '12 at 17:53
    
Of course... but when is that ever the case? And if network-manager isn't installed then it shouldn't show up anyway ;P –  Githlar Feb 20 '12 at 18:00
    
I prefer this answer since I'm not using network-manager, but I can't remove it without removing gnome. –  Colin Keenan Feb 21 '13 at 10:38

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.