You are not logged in.

#1 2011-06-01 16:57:29

Kyansaa
Member
Registered: 2011-06-01
Posts: 29

[Solved] How to remove the bottom bar in GNOME3 ?

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

#2 2011-06-01 17:18:14

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 454

Re: [Solved] How to remove the bottom bar in GNOME3 ?

have you tried the alt key ?

ezik

Offline

#3 2011-06-01 17:37:33

Kyansaa
Member
Registered: 2011-06-01
Posts: 29

Re: [Solved] How to remove the bottom bar in GNOME3 ?

I've tried alt + mouse but nothing happen...

Thanks. wink

Offline

#4 2011-06-01 19:10:30

Wey
Member
Registered: 2011-04-22
Posts: 217

Re: [Solved] How to remove the bottom bar in GNOME3 ?

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

#5 2011-06-01 19:45:46

Kyansaa
Member
Registered: 2011-06-01
Posts: 29

Re: [Solved] How to remove the bottom bar in GNOME3 ?

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

#6 2011-06-01 20:45:39

Wey
Member
Registered: 2011-04-22
Posts: 217

Re: [Solved] How to remove the bottom bar in GNOME3 ?

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

#7 2011-06-01 21:00:55

Kyansaa
Member
Registered: 2011-06-01
Posts: 29

Re: [Solved] How to remove the bottom bar in GNOME3 ?

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

#8 2012-09-10 14:04:37

yanir
Member
Registered: 2012-09-10
Posts: 1

Re: [Solved] How to remove the bottom bar in GNOME3 ?

Wey wrote:

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

Board footer

Powered by FluxBB