You are not logged in.

#1 2012-11-22 02:22:53

worf
Member
Registered: 2012-10-07
Posts: 21

[SOLVED] Is it possible to shrink notification area in Gnome 3.6?

I've been trying to shrink height of notification bar, message area or what ever is it's name in Gnome 3.6 without any luck. It's just too big for me. smile Searching around web didn't help either, only found some advice about it on this Ask Ubuntu page: Is it possible to shrink notification area in Gnome 3.6?

Modifying /usr/share/gnome-shell/theme/gnome-shell.css didn't work for me, I've only managed to change the icons' size in /usr/share/gnome-shell/js/ui/messageTray.js.

Anyone done it yet or have an idea?

Last edited by worf (2012-11-25 16:59:10)

Offline

#2 2012-11-22 02:56:45

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: [SOLVED] Is it possible to shrink notification area in Gnome 3.6?

Not possible to shrink i guess!


LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

Offline

#3 2012-11-22 10:05:41

portwolf
Member
Registered: 2008-09-09
Posts: 9

Re: [SOLVED] Is it possible to shrink notification area in Gnome 3.6?

It is possible, and you found the right link. Just restart the gnome shell after changing the values. Weird thing is though, the values change back after a restart. If you find out how to fix THAT, let me know

Offline

#4 2012-11-22 21:52:11

worf
Member
Registered: 2012-10-07
Posts: 21

Re: [SOLVED] Is it possible to shrink notification area in Gnome 3.6?

portwolf wrote:

It is possible, and you found the right link. Just restart the gnome shell after changing the values. Weird thing is though, the values change back after a restart. If you find out how to fix THAT, let me know

Well, I've just found out it is actually working for me too, apparently I made some typo in my previous attempt. roll I've just followed advices from that link I posted and changes persist after reboot too.
Here is modified part of /usr/share/gnome-shell/theme/gnome-shell.css:

#message-tray {
    background: #2e3436 url(message-tray-background.png);
    background-position: 0 0;
    background-repeat: repeat;
    transition-duration: 250;
    height: 36px;

Note that only thing added here to original gnome-shell.css are these 2 lines:

    background-position: 0 0;
    height: 36px;

Additionally, to make notification icons fit into this now tiny notification bar, I put this value in /usr/share/gnome-shell/js/ui/messageTray.js:

SOURCE_ICON_SIZE: 18,

I have no clue why your changes are not persistent, it might take a little investigation at yours side, but I can confirm that this hack is working. smile

Last edited by worf (2012-11-22 21:55:45)

Offline

Board footer

Powered by FluxBB