I would know how to remove or hide in Ubuntu 12.04 the Chat Status section (available, away, busy, invisible and offline) from Messaging Menu as I am not using any instant messenger. I do not want to remove the entire menu, just that section.
Thank you very much and best regards!!
Best Answer
FOR 12.04
If you're using 13.10 or newer see here..
Its possible...
As you can see the status section has been removed leaving just the Broadcast and Mail sections
To put a positive spin - open-source means you have direct access to the actual source-code. You can interrogate and change the code ... as long as you give back the code changes to others!
So here goes - the following demonstrates the code changes that are required to the package
indicator-messages
prerequisites
Lets get source packages from the repository:
This will create a folder - name will change depending upon the package version of
indicator-messages
. For 12.04 this folder isindicator-messages-0.6.0
code changes
Two modules in the folder
indicator-messages-0.6.0
will need changing.status-items.c
Using your favourite editor add the line
return NULL;
at or around line 80 in the function "status_items_build" shown:messages-service.c
At or around line 893 in the function "resort_menu" comment out the code shown with
/*
and*/
lets compile
To compile this, move up to the parent folder
Compile, make and install:
Logout and login.
to undo
To undo your changes: