I am tired of the envelope in the indicator applet (also known as the messages menu) because I don't use it so I would like to get rid of it but I don't have root access so I can't remove it by uninstalling the indicator-messages package. Is there another way to disable this applet?
Doesn't the indicator applet offer a way to select which indicator is displayed or not?
If you just want the messaging menu to hide you can blacklist all of the applications that are in it. You can do that by copying all the application links to your local black list directory. Here is the command line way to do that:
The first time you create the blacklist directory you'll need to restart your session (log out and back in) and then the messaging menu should hide itself.
http://ubuntuforums.org/showthread.php?t=1470786 according to this you can go to karmic like applet by removing indicator-applet from panel and adding gnome-volume-control-applet in startup application
Based on Riccardo Murri's answer (Sep 8 '10 at 13:19) I have checked the code and noticed that only modules that end in
.so
are loaded fromINDICATOR_DIR
(/usr/lib/indicators/3
).So
did the trick for me on 10.04, Lucid.
Looking at the source of indicator-applet-0.3.7, it seems you cannot: every installed module in some "INDICATOR_DIR" (it's
/usr/lib/indicators/3
on my 10.04 box) is loaded. The "INDICATOR_DIR" is defined as a compile-time constant, so there is no way to change it on a installed system. The relevant source is at lines 703--728 inapplet-main.c
:As a workaround, you could (warning: untested!):
compile your own version of
indicator-applet
, specifying a different "INDICATOR_DIR": if you pass--enable-localinstall
to./configure
, then "INDICATOR_DIR" will be located in$libdir/indicators/2
and you can also set$libdir
via command-line options to./configure
.within your own INDICATOR_DIR, only activate the indicators you want (just symlinking the system-wide ones should suffice)
use a
~/.gnomerc
or~/.xsession
file to modify PATH so that your ownindicator-applet
binary comes before the system-wide one.