You are not logged in.
Hello fellow Arch Linux community. I have recently updated and have some questions about the new Gnome 3.4.
Gnome 3.2 has been pretty much perfect for me ever since I've been able to get it the way I want it to work. Recently I've "yaourt -Syua"'d and been greeted with Gnome 3.4, which I have to say, am not impressed. All of my panel icons are out of whack. The icon spacing and scaling for the notification icons are completely messed up, and the "quick launch" icons have way too much spacing. My gtk-3.0 settings.ini is below:
[Settings]
gtk-fallback-icon-theme = gnome
gtk-icon-sizes = panel-menu=16,16;gtk-large-toolbar=16,16Here are images of the offending panel icons:

Notice the spacing is off.

Notice that both the spacing and the scaling is off, resulting in oversized or undersized icons. Also notice the perfectly scaled "Speech Bubble" next to my name to compare to the other icons. The NetworkManager icon seems to be smaller than normal and the Battery status icon seems much larger than normal.
Here is an image I found on the web that looks similar to how it looked before:
Notice the spacing and scaling.
Another small question is how can I get back the old mouse cursor?
Thanks in advance for helping!
- Hershal
EDIT: It seems to be a known bug: https://bugzilla.gnome.org/show_bug.cgi?id=674445
Last edited by hershal (2012-04-26 06:16:52)
Offline
Usually Gnome-panel (for fallback) is specified in your theme's gtk-widgets.css file, or possibly in a related .css file (that is hooked into gtk-widgets.css). For example, my theme (a bluebird-mod), has a separate .css file called 'misc.css', which resides in /usr/share/theme_name/gtk-3.0/apps. it has a whole section on gnome-panel;
/**********************
* Fallback Mode Panel
**********************/
PanelWidget,
PanelApplet,
PanelToplevel {
background-color: @dark_bg_color;
background-image: -gtk-gradient (linear, left top, left bottom,
from (shade (@dark_bg_color, 1.05)),
to (shade (@dark_bg_color, 1.05)));
color: @dark_fg_color;
border-radius: 0;
-unico-inner-stroke-style: none;
-unico-outer-stroke-style: none;
text-shadow: none;
padding: 0;
border-width:0;
}
PanelApplet > GtkMenuBar.menubar,
.gnome-panel-menu-bar,
PanelMenuBar.menubar,
PanelApplet > GtkMenuBar.menubar.menuitem,
PanelMenuBar.menubar.menuitem {
background-color: @dark_bg_color;
background-image: -gtk-gradient (linear, left top, left bottom,
from (shade (@dark_bg_color, 1.05)),
to (shade (@dark_bg_color, 1.05)));
color: @dark_fg_color;
text-shadow: none;/*0 -1 shade (@fg_color, 1.0);*/
}
ClockBox {
color: @dark_fg_color;
text-shadow: 0 -1 shade (@fg_color, 1.0);
}
PanelApplet > GtkMenuBar.menubar.menuitem:prelight,
.gnome-panel-menu-bar.menuitem:prelight {
}
PanelAppletFrame {
background-color: @dark_bg_color;
background-image: -gtk-gradient (linear, left top, left bottom,
from (shade (@dark_bg_color, 1.05)),
to (shade (@dark_bg_color, 1.05)));
}
PanelApplet .button {
background-color: @dark_bg_color;
background-image: none;
color: @dark_fg_color;
border-radius: 0;
-unico-inner-stroke-style: none;
-unico-outer-stroke-style: none;
text-shadow: none;
border-width:0;
background-image: -gtk-gradient (linear, left top, left bottom,
from (shade (@dark_bg_color, 1.05)),
to (shade (@dark_bg_color, 1.05)));
}
PanelApplet .button:prelight:active,
PanelApplet .button:active {
background-color: shade (@dark_bg_color, 0.85);
background-image: none;
color: @dark_fg_color;
}
PanelApplet .button :prelight {
background-color: shade (@dark_bg_color, 1.2);
background-image: none;
color: @dark_fg_color;
}
NaTrayApplet {
}
WnckPager, WnckTasklist {
background-color: @dark_bg_color;
}
GsmFailWhaleDialog,
GsmFailWhaleDialog * {
}where as Adwaita (i believe) has the fallback panel part, right in gtk-widgets.csss
You should be able to adjust the padding for your applets, although you might have to experiment a little. Not sure about the icons. maybe it is a png vs. svg issue. A pixmap theme i was using before 3.4 now doesn't display certain icons/launchers properly.
cheerz
Offline
That's interesting, as I have no gtk-widgets.css file. I only have a URI that describes a read-only copy of the file that I found after some digging around in /usr/share/themes:
@import url("resource:///org/gnome/adwaita/gtk-widgets.css");It would seem that gtk-widgets.css is the correct file, but I need to find a r/w copy of that on the filesystem. Where and how would I go about doing this?
EDIT: First post edited
Last edited by hershal (2012-04-26 06:17:11)
Offline
That's interesting, as I have no gtk-widgets.css file. I only have a URI that describes a read-only copy of the file that I found after some digging around in /usr/share/themes:
@import url("resource:///org/gnome/adwaita/gtk-widgets.css");It would seem that gtk-widgets.css is the correct file, but I need to find a r/w copy of that on the filesystem. Where and how would I go about doing this?
EDIT: First post edited
This is actually interesting and you are quite correct -> it seems something has changed in Adwaita for 3.4. Adwaita used to have /usr/share/adwaita/gtk-3.0/gtk-wigdets.css (i'm almost dead-positive that it did at one point). but i don't have that either. I'm not sure if i am much help here. I only briefly had used adwaita when gnome 3.0 was released.
i'll dig in a little more too, but hopefully someone (who has some idea) reads your post and pipes in.
EDIT:
There are some important GTK3 changes in GNOME 3.4, so here is the deal.
There are no main css files for editing in the theme directory of Adwaita and there is a binary file instead. This is apprently done for performance reasons and you need to install the theme sources and change the import line. In the gtk.css file you will see @import url("resource:///org/gnome/adwaita/gtk-main.css"); it needs to look like this @import url(""/usr/share/themes/Adwaita/gtk-3.0/gtk-main.css"); for editing.
So that explains the binary part, but i don't have gtk-main.css either... hmmm. I'm gonna have a read through the comments, re-install adwaita and then muck around ![]()
link to comments, if you like;
http://gnome-shell.deviantart.com/journ … -293518353
Last edited by triplesquarednine (2012-04-26 19:23:43)
Offline
I also feel pain going from Gnome 2 to Gnome 3.
I hope Mate has a bright future or that Gnome 3's fallback mode becomes as nice as Gnome 2 was.
Last edited by trusktr (2012-05-02 04:35:23)
joe@trusktr.io - joe at true skater dot io.
Offline
@hershal
Have you tried modifying gtk.css to allow you to modify adwaita's sources, yet??
it works - i tried it the other day.
You have to change that one line, and then you should be able to edit the theme.
cheerz
Offline
I also feel pain going from Gnome 2 to Gnome 3.
I hope Mate has a bright future or that Gnome 3's fallback mode becomes as nice as Gnome 2 was.
Actually, i prefer Gnome 3 (fallback + compiz + awn) - *any day of the week* over Gnome 2. I also would never even want to use Mate, it's very unappealing to me, personally. I've been using Gnome 3 since it was released, and it hasn't been a 'painful' experience. The only time things crop up is on big updates, and everything usually settles down after a day or two.
BTW - you post wasn't very helpful.
cheerz
Offline
I registered in the hopes that this would be useful to someone:
Copy /usr/share/themes/Adwaita to another directory
Rename the theme folder whatever you want.
Edit /usr/share/themes//My Adwaita/index.theme on line #2 and change
Name=Adwaitato
Name=My AdwaitaOpen gedit and in the location bar copy & paste:
resource:///org/gnome/adwaita/gtk-main.cssOpen gedit /usr/share/themes/Adwaita Leon/gtk-3.0/gtk.css
And paste the included file over the this css file and save.
The contents of my gtk-main.css file as of 2012.12.07 on Sabayon Linux with Gnome 3.4.2 is:
/*@import url("resource:///org/gnome/adwaita/gtk-main.css");*/
/* Default color scheme */
@define-color base_color #ffffff;
@define-color bg_color #ededed;
@define-color tooltip_bg_color #212526;
@define-color selected_bg_color #4a90d9;
@define-color text_color #2e3436;
@define-color fg_color #2e3436;
@define-color tooltip_fg_color #ffffff;
@define-color selected_fg_color #ffffff;
/*@define-color unfocused_bg_color #f8f8f8;*/
@define-color unfocused_bg_color @bg_color;
/* Colormap actually used by the theme, to be overridden in other css files */
@define-color theme_base_color @base_color;
@define-color theme_text_color @text_color;
@define-color theme_bg_color @bg_color;
@define-color theme_fg_color @fg_color;
@define-color theme_tooltip_bg_color @tooltip_bg_color;
@define-color theme_tooltip_fg_color @tooltip_fg_color;
@define-color theme_selected_bg_color @selected_bg_color;
@define-color theme_selected_fg_color @selected_fg_color;
@define-color placeholder_text_color shade(@text_color, 3.5);
@define-color theme_unfocused_base_color shade(@insensitive_bg_color, 1.015); /* I don't want the same color, hope not to hurt usability to much here */
@define-color theme_unfocused_text_color mix(@theme_unfocused_fg_color, @theme_text_color, 0.5); /* Need something darker here to have stuff nicelly readable*/
@define-color theme_unfocused_fg_color #a7aba7;
@define-color theme_unfocused_bg_color @theme_bg_color;
@define-color theme_unfocused_selected_bg_color shade(@theme_unfocused_bg_color, 0.95);
@define-color theme_unfocused_selected_fg_color @theme_fg_color;
@define-color unfocused_button_background @theme_unfocused_bg_color;
@define-color unfocused_borders @borders;
@define-color unfocused_insensitive_borders mix(@theme_unfocused_bg_color, @unfocused_borders, 0.5);
@define-color unfocused_insensitive_fg_color mix(@theme_unfocused_bg_color, @theme_unfocused_fg_color, 0.5);
@define-color unfocused_insensitive_bg_color mix(@theme_unfocused_bg_color, @theme_unfocused_base_color, 0.5);
@define-color unfocused_dark_bg mix(@theme_unfocused_bg_color, @unfocused_borders, 0.3);
@define-color menu_bg_color shade (@theme_bg_color, 1.1);
@define-color menu_fg_color @theme_fg_color;
@define-color menu_controls_color shade (@theme_fg_color, 0.9);
@define-color menu_combobox_border #3277bf;
@define-color menu_separator mix (@menu_fg_color, @menu_bg_color, 0.9);
@define-color link_color #4a90d9;
@define-color frame_color #8a9580;
@define-color inactive_frame_color #c7ccc1;
@define-color warning_color #f57900;
@define-color error_color #cc0000;
@define-color success_color #4e9a06;
@define-color info_fg_color black;
@define-color info_text_shadow alpha(black, 0.1);
@define-color info_bg_color rgb (252, 252, 189);
@define-color warning_fg_color black;
@define-color warning_text_shadow alpha(black, 0.1);
@define-color warning_bg_color rgb (250, 173, 61);
@define-color question_fg_color white;
@define-color question_text_shadow alpha(black, 0.5);
@define-color question_bg_color rgb (138, 173, 212);
@define-color error_fg_color white;
@define-color error_text_shadow alpha(black, 0.5);
@define-color error_bg_color rgb (237, 54, 54);
@define-color keyboard_focus_border_a #a2c9f1;
@define-color keyboard_focus_border_b #6794cf;
/* @define-color sidebar_bg_color shade (@theme_bg_color, 1.02); */
@define-color sidebar_bg shade (@theme_bg_color, 1.025);
@define-color sidebar_bg_unfocused mix(@sidebar_bg, @theme_unfocused_base_color, 0.5);
@define-color os_chrome_bg_color black;
@define-color os_chrome_fg_color #ccc;
@define-color os_chrome_selected_bg_color #333;
@define-color os_chrome_selected_fg_color white;
@define-color chrome_bg_color #1e1a17;
@define-color chrome_fg_color #fff;
@define-color focused_entry_border #579eea;
@define-color focused_entry_inset alpha (#d7e4f1, 0.50);
@define-color button_gradient_color_a shade(@theme_bg_color, 1.05);
@define-color button_gradient_color_b @theme_bg_color;
@define-color button_gradient_color_c shade(@theme_bg_color, 0.92);
@define-color borders #a7aba7;
@define-color button_active_gradient_color_a #a2a9a2;
@define-color button_active_gradient_color_b shade (@button_active_gradient_color_a, 0.83);
@define-color button_active_text @theme_base_color;
@define-color button_active_text_shadow alpha(black, 0.4);
@define-color button_text_shadow alpha(white, 0.4);
@define-color primary_toolbar_button_text_shadow alpha(black, 0.1);
@define-color button_hover_gradient_color_a @theme_base_color;
@define-color button_hover_gradient_color_b shade (@button_gradient_color_a, 0.94);
@define-color unfocused_button_hover_background @unfocused_theme_base_color;
@define-color button_raised_gradient_color_a @button_gradient_color_a;
@define-color button_raised_gradient_color_b @button_gradient_color_b;
@define-color button_raised_linked_shadow alpha(@theme_base_color, 0.70);
@define-color button_raised_active_gradient_color_a @button_active_gradient_color_a;
@define-color button_raised_active_gradient_color_b alpha(@button_active_gradient_color_b, 0.13);
@define-color insensitive_bg_color #f4f4f2;
@define-color insensitive_fg_color #a7aba7;
@define-color insensitive_borders shade (@internal_element_color, 1.37);
@define-color trough_bg_color_a #bcbcb7;
@define-color trough_bg_color_b #e0e0dd;
@define-color scrollbar_trough shade(@theme_bg_color, 0.9);
@define-color scrollbar_trough_insensitive shade(@theme_bg_color, 0.9);
@define-color scrollbar_trough_unfocused shade(@theme_unfocused_bg_color, 0.9);
@define-color scrollbar_slider mix(@scrollbar_trough, @theme_fg_color, 0.35);
@define-color scrollbar_slider_prelight mix(@scrollbar_trough, @theme_fg_color, 0.5);
@define-color scrollbar_slider_active @theme_selected_bg_color;
@define-color scrollbar_slider_insensitive alpha(black, 0); /* FIXME should be transparent */
@define-color scrollbar_slider_unfocused @theme_unfocused_bg_color;
@define-color switch_slider_color #eeeeec;
@define-color switch_slider_active_border #2a79cb;
@define-color switch_slider_insensitive_bg @insensitive_bg_color;
@define-color switch_trough_active_color @theme_base_color;
@define-color switch_trough_active_bg_a #509ae7;
@define-color switch_trough_active_bg_b #a5d0ff;
@define-color progressbar_background_a #76b0ec;
@define-color progressbar_background_b #1f72c6;
@define-color progressbar_pattern @switch_slider_active_border;
@define-color progressbar_border @switch_slider_active_border;
@define-color progressbar_unfocused_background @theme_base_color;
@define-color progressbar_unfocused_border @unfocused_borders;
@define-color entry_text_color @theme_text_color;
@define-color entry_background_a shade(@theme_base_color, 0.94);
@define-color entry_background_b @theme_base_color;
@define-color entry_inset alpha(black, 0.1);
@define-color internal_element_color #888a85;
@define-color internal_element_prelight @theme_text_color;
/*@define-color internal_element_insensitive shade (@internal_element_color, 1.7);*/
@define-color internal_element_insensitive mix(@internal_element_color, @theme_base_color, 0.7);
@define-color scale_fill @insensitive_borders;
@define-color scale_border_a @internal_element_color;
@define-color scale_border_b shade (@internal_element_color, 1.25);
@define-color scale_progress_fill #2c85e2;
@define-color scale_progress_border_a #1864b2;
@define-color scale_progress_border_b #3e90e5;
@define-color highlighted_border #8a8f8a;
@define-color notebook_active_tab_border #1372d3;
@define-color notebook_selected_tab_color #8dc0f3;
@define-color notebook_tab_gradient_a shade(@theme_bg_color, 0.97);
@define-color notebook_tab_gradient_b shade(@theme_bg_color, 0.85);
@define-color notebook_tab_hilight shade(@theme_bg_color, 1.02);
/*@define-color toolbar_gradient_base #aaaa9e;
@define-color toolbar_gradient_step1 #bcbcb4;
@define-color toolbar_gradient_step2 #d9d9d7;
@define-color toolbar_gradient_final #e5e5e2;*/
/*@define-color toolbar_gradient_base shade(@toolbar_gradient_step2, 0.9);
@define-color toolbar_gradient_step1 shade(@toolbar_gradient_step2, 0.95);
@define-color toolbar_gradient_step2 #babdb6;
@define-color toolbar_gradient_final shade(@toolbar_gradient_step2, 1.15);*/
@define-color toolbar_gradient_a shade(@borders, 1.15);
@define-color toolbar_gradient_b shade(@borders, 1.25);
@define-color toolbar_gradient_c shade(@borders, 1.3);
@define-color toolbar_border_top shade(@borders, 0.9);
@define-color toolbar_border_bottom shade(@borders, 1.1);
@define-color toolbar_button_prelight alpha(white, 0.4);
@define-color toolbar_active_button_color #909081;
@define-color primary_toolbar_entry_bg @theme_base_color;
@define-color primary_toolbar_entry_fg @theme_text_color;
@define-color treeview_focus_border @switch_slider_active_border;
@define-color expander_row_selected_color #acccee;
@define-color inset_light_color alpha(white, 0.45);
@define-color inset_dark_color alpha(black, 0.07);
@define-color wm_title @theme_fg_color;
@define-color wm_unfocused_title @theme_unfocused_fg_color;
@define-color wm_highlight #ffffff;
@define-color wm_title_highlight_dark alpha(#ffffff, 0.0);
@define-color wm_title_highlight #ffffff;
@define-color wm_bg_a shade (@bg_color, 1.1);
@define-color wm_bg_b @bg_color;
@define-color wm_button_bg_a shade (@bg_color, 1.0);
@define-color wm_button_bg_b shade (@bg_color, 0.85);
@define-color wm_button_bg_c shade (@bg_color, 0.8);
@define-color wm_button_bg_d shade (@bg_color, 0.9);
@define-color wm_button_bg_hover_a shade (@wm_button_bg_a, 1.1);
@define-color wm_button_bg_hover_b shade (@wm_button_bg_b, 1.1);
@define-color wm_button_bg_hover_c shade (@wm_button_bg_c, 1.1);
@define-color wm_button_bg_hover_d shade (@wm_button_bg_d, 1.1);
@define-color wm_button_bg_active_a shade (@bg_color, 0.7);
@define-color wm_button_bg_active_b shade (@bg_color, 0.9);
@define-color wm_button_bg_active_c shade (@bg_color, 0.9);
@import url("gtk-widgets-backgrounds.css");
@import url("gtk-widgets-borders.css");
@import url("gtk-widgets-assets.css");
@import url("gtk-widgets.css");
@import url("gnome-applications.css");I tried it and I'm not sure why it's not working, maybe someone can expand on this
Last edited by ElectricPrism (2012-12-07 20:40:26)
Offline