You are not logged in.
Hey !
I want to remove this bar, this is the new notification area but I don't need it.
Is that possible to remove it ?
Thanks.
Last edited by Kyansaa (2011-06-01 21:01:34)
Offline
have you tried the alt key ?
ezik
Offline
I've tried alt + mouse but nothing happen...
Thanks.
Offline
Hello Kyansaa,
this may not be the solution you were looking for and it will likely break after an update:
1. Edit /usr/share/gnome-shell/theme/gnome-shell.css: Search for #message-tray and comment the block out with /* ... */. This will remove the black bar, but not the icons and their text.
2. Next go to /usr/share/gnome-shell/js/ui/messageTray.js: Search for ICON_SIZE (its in line 881 here) and set it to 0:
ICON_SIZE: 0,
About three lines below it states
this.title = title;
Make it
this.title = '';
This makes the whole thing disappear. It seems unclickable too, but i did not try this very extensively.
I hope this is what you are looking for. Don't forget to backup the unchanged as well as the changed files, as the changes may be discarded after an update.
(And of course this is just a quick hack. If someone would come up with a proper extension that disables the notification area altogether, i would appreciate it.)
Last edited by Wey (2011-06-01 19:17:51)
Offline
This solution just hide systry icons ? I really want to complety remove this bar, not only the icons.
Is that possible to change the activation of this notification area ? Instead of point the mouse on the right, activate the notification are on pointing the mouse on the left ?
Offline
Step 1) removes the black bar
Step 2) removes the icons and text
For further investigations you could use the lg tool to see how to identify the bar.
Last edited by Wey (2011-06-01 20:47:36)
Offline
I miss that part... Thanks, it's working very well !
I already have unchecked the "show notification" in all my programs so I juste used the first step and it's working very well !
Thanks !
Last edited by Kyansaa (2011-06-01 21:01:21)
Offline
Hello Kyansaa,
this may not be the solution you were looking for and it will likely break after an update:1. Edit /usr/share/gnome-shell/theme/gnome-shell.css: Search for #message-tray and comment the block out with /* ... */. This will remove the black bar, but not the icons and their text.
2. Next go to /usr/share/gnome-shell/js/ui/messageTray.js: Search for ICON_SIZE (its in line 881 here) and set it to 0:
ICON_SIZE: 0,
About three lines below it states
this.title = title;
Make it
this.title = '';
This makes the whole thing disappear. It seems unclickable too, but i did not try this very extensively.
I hope this is what you are looking for. Don't forget to backup the unchanged as well as the changed files, as the changes may be discarded after an update.
(And of course this is just a quick hack. If someone would come up with a proper extension that disables the notification area altogether, i would appreciate it.)
#1 is perfect.
insteado of #2, I would edit /usr/share/gnome-shell/js/ui/messageTray.js the following way:
(the last class at the end of the file)
const SystemNotificationSource = new Lang.Class({
Name: 'SystemNotificationSource',
Extends: Source,
_init: function() {
this.parent(_("System Information"));
this._setSummaryIcon(this.createNotificationIcon());
},
createNotificationIcon: function() {
// return new St.Icon({ icon_name: 'dialog-information',
// icon_type: St.IconType.SYMBOLIC,
// icon_size: this.ICON_SIZE });
return 0;
},
open: function() {
this.destroy();
}
});
Offline