TechArena Community

TechArena Community (http://forums.techarena.in/)
-   Operating Systems (http://forums.techarena.in/operating-systems/)
-   -   Unable to see Top bar text in Unity (http://forums.techarena.in/operating-systems/1452491.htm)

Hridayeshu 06-02-2012 05:50 PM

Unable to see Top bar text in Unity
 
I am not able to see top menu text in the dark themed background of Unity desktop manager. If I have changed the Input Boxes Text color to white. Then I am not able to see text into the input boxes. If you are having any solution to fix the above mentioned problem. Thanks a lot in advance.

GaganjyotTechie 06-02-2012 05:52 PM

Re: Unable to see Top bar text in Unity
 
You have to use gtkrc2.0 to fix the above mentioned problem.
you should press alt+f2 and type gedit .gtkrc-2.0.
after that paste below mentioned code in the above mentioned file.
Code:

style "panel-clock"
{
fg[NORMAL] = "#FFFFFF"
font_name = "Sans Bold 14"
}
widget "*.clock-applet-button.*" style "panel-clock"

you have to save the same at your home folder.
Logout and login on your system.
By using above mentioned thing you will be able adjust the font type as well as size according to your requirement.

DanielaA 06-02-2012 05:52 PM

Re: Unable to see Top bar text in Unity
 
You can try to change the "*.clock-applet-button.*" to "*-applet-*". Unity is making use of indicator applets. You have to get the name of the widget...

GALIENA 06-02-2012 05:52 PM

Re: Unable to see Top bar text in Unity
 
Looking at the situation I am suggesting below mentioned command for xprop.

Code:

arpad@sasangasana:~$ xprop
_NET_WM_ICON_GEOMETRY(CARDINAL) = 9, 1057, 48, 48
XKLAVIER_STATE(INTEGER) = 0, 0
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 0
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW
_NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 24, 0, 0, 0, 0, 0, 0, 1919, 0, 0
XdndAware(ATOM) = BITMAP
WM_NAME(STRING) = "panel"
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DOCK
_NET_WM_STATE(ATOM) = _NET_WM_STATE_STICKY, _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_SKIP_PAGER


QUENBY 06-02-2012 05:53 PM

Re: Unable to see Top bar text in Unity
 
I am suspecting that Gnome is reading as Panel hence I recommend below mentioned command

Code:

style "panel"
{
fg[NORMAL] = "#FFFFFF"
font_name = "Sans Bold 14"
}
widget "*panel*" style "panel"


Hollyn 06-02-2012 05:53 PM

Re: Unable to see Top bar text in Unity
 
I don?t know whether the solution which I have mentioned would work for you not but you can give a try to below mentioned steps.
  • You have to browse /home/you/.themes/yourtheme/gtk-2.0.
  • You have to gedit file "panel.rc" or "panel".
  • If you are not able to get anything then you have to go for "panel" or "style" folder. So you should open panel.rc and look for

Code:

style "panel" {
 here you have to add
text[NORMAL] = "#ffffff"

save the file and simply reset the theme.

Leanne 06-02-2012 05:53 PM

Re: Unable to see Top bar text in Unity
 
Code:

If  above mentioned solution is not working then you can go for  below mentioned code and let me know about the results

style "theme-panel"
{
#        bg_pixmap[NORMAL] = "paneltrans.png"
#        bg[SELECTED]        = "#666666" # Makes selected items dark.
        bg[NORMAL]        = shade (0.37, @bg_color) # Makes panel background dark.
        bg[PRELIGHT]        = mix (0.50, shade (0.50,@bg_color), shade (0.90,@selected_bg_color)) # Makes panel button prelight dark.
        bg[ACTIVE]        = shade (0.22, @bg_color) # Makes active buttons dark.
        bg[INSENSITIVE]        = shade (0.52, @bg_color)
        fg[NORMAL]        = @selected_fg_color # Makes panel text light.
        fg[PRELIGHT]        = @selected_fg_color  # Makes prelighted text colored.
        fg[SELECTED]        = @selected_fg_color  # Makes prelighted text colored.
        fg[ACTIVE]        = @selected_fg_color  # Makes active text colored.
        fg[INSENSITIVE]        = "#ffffff" # Color for insensitive text.
        text[NORMAL]        = "#ffffff"
        text[PRELIGHT]        = @selected_fg_color  # Makes prelighted text colored.
        text[SELECTED]        = @selected_fg_color  # Makes prelighted text colored.
        text[ACTIVE]        = @selected_fg_color  # Makes active text colored.
        text[INSENSITIVE]        = "#ffffff"
}


Koman 06-02-2012 05:54 PM

Re: Unable to see Top bar text in Unity
 
Well I recommend below mentioned steps which you can perform.
You should launch Terminal and run below mentioned command
Code:

gksudo nautilus ~/.themes
if you are not able to get theme then you can try
Code:

gksudo nautilus /usr/share/themes
you should search for theme file and open that particular folder and you have to open file with gtkrc with gEdit.
Look for Panel and below mentioned thing
Code:

style "panel"
style "murrine-panel"
style "etc-panel"
style "panel-etc"

you have to add following line to Style
Code:

text[NORMAL]
theme UbuntuStudio which has been saved for all the users you have to run below mentioned code in the terminal.
Code:

gksudo gedit /usr/share/themes/UbuntuStudio/gtk-2.0/gtkrc
now look for
Code:

style "murrine-panel"
under of bg_pixmap[NORMAL] = "panel/panel.png line you have to add
text[NORMAL] = "#FFFFFF"


All times are GMT +5.5. The time now is 09:27 PM.