воскресенье, 12 февраля 2012 г.

Disable the Universal Access accessibility menu in Gnome 3

In the new gnome-shell (Gnome 3) there is an accessibility menu called "Universal Access" that cannot be removed by any apparent means. Fortunately it can easily be removed, hidden, or disabled by editing a file and restarting the shell. This method works for gnome-shell version 3.0 and 3.2, it may or may not work in future versions.

Edit the file /usr/share/gnome-shell/js/ui/panel.js

in ububntu:
# sudo gedit /usr/share/gnome-shell/js/ui/panel.js

Look for the following line, (line 38 in my case):

'a11y': imports.ui.status.accessibility.ATIndicator
Comment out this line like so:

//'a11y': imports.ui.status.accessibility.ATIndicator
Then restart gnome-shell by typing Alt-F2 to run command, enter "r" without the quotes, and hit enter. This will quickly restart the shell and you should find that the Universal Access menu no longer appears. If you should find a use for it in the future, simply un-comment the lines found in /usr/share/gnome-shell/js/ui/panel.js