Results 1 to 10 of 10

Thread: Gnome color chooser not work!

  1. #1
    Join Date
    Mar 2010
    Beans
    5

    Gnome color chooser not work!

    I want switch my gnome panel font color but when I use Gnome color chooser and klick apply nothing happen? I also try edit gtk2.0 and add there these lines:
    style "modpanel"
    {
    fg[NORMAL] = "#FFFFFF"
    }
    widget "*PanelWidget*" style "modpanel"
    widget "*PanelApplet*" style "modpanel"
    widget "*fast-user-switch-applet*" style "modpanel"
    and reloaded panel but nothing happened.
    Sorro for poor english!

  2. #2
    Join Date
    Nov 2008
    Location
    United States
    Beans
    2,090
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Re: Gnome color chooser not work!

    welcome to ubuntu forums.

    you can change font colors by right clicking desktop and hitting settings, click them tab, at bottom hit properties and hit fonts, there are several fonts you can change color to, menu, window etc..

  3. #3
    Join Date
    Mar 2010
    Beans
    5

    Re: Gnome color chooser not work!

    Can´t find. Do you mean "Change desktop wallpaper"?

  4. #4
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Gnome color chooser not work!

    Quote Originally Posted by miksuli View Post
    I want switch my gnome panel font color but when I use Gnome color chooser and klick apply nothing happen? I also try edit gtk2.0 and add there these lines:
    style "modpanel"
    {
    fg[NORMAL] = "#FFFFFF"
    }
    widget "*PanelWidget*" style "modpanel"
    widget "*PanelApplet*" style "modpanel"
    widget "*fast-user-switch-applet*" style "modpanel"
    and reloaded panel but nothing happened.
    Sorro for poor english!
    The codes look OK, but what's the exact file where you are adding them? Into a theme's rc file or into the config file in your home directory? In the later case the file is actually called .gtkrc-2.0, and you need to log out and back again before any changes in that file take effect.

    I don't know about gnome-color-chooser, though, never used it myself...

  5. #5
    Join Date
    Oct 2008
    Beans
    3,509

    Re: Gnome color chooser not work!

    Don't know what's going wrong but for your info gnome-color-chooser
    writes a line to your ~/.gtkrc-2.0 file
    Code:
    include ".gtkrc-2.0-gnome-color-chooser"
    Which then reads the ~/.gtkrc-2.0-gnome-color-chooser file.

    If I only change the panel foreground color with gnome-color-chooser my ~/.gtkrc-2.0-gnome-color-chooser file looks like this:
    Code:
    pixmap_path "/home/glen/.gnome-color-chooser/images/"
    
    style "gnome-color-chooser-panel"
    {
      fg[NORMAL] = "#B9CDD5"
    }
    class "PanelTopLevel.*" style "gnome-color-chooser-panel"
    widget_class "*PanelApplet*" style "gnome-color-chooser-panel"
    widget_class "*PanelWidget*" style "gnome-color-chooser-panel"
    widget "*fast-user-switch-applet*" style "gnome-color-chooser-panel"
    Last edited by stinkeye; March 10th, 2010 at 05:14 PM.

  6. #6
    Join Date
    Mar 2010
    Beans
    5

    Re: Gnome color chooser not work!

    I checked those files and everything is alright. ; /

  7. #7
    Join Date
    Mar 2010
    Beans
    5

    Re: Gnome color chooser not work!

    Gtkc-2.0 file:

    include “/home/autocrosser/.gnome2/panel-fontrc”style “desktop-icon”
    {
    NautilusIconContainer::frame_text = 1
    text[NORMAL] = “#000000″
    NautilusIconContainer::normal_alpha = 70
    }
    class “GtkWidget” style “desktop-icon”

    #NautilusIconContainer::dark_info_color=”#888888″
    #NautilusIconContainer::light_info_color=”#bbbbbb”
    #NautilusIconContainer::highlight_alpha=200

    style “my_color”
    {
    fg[NORMAL] = “#ffffff“
    }
    widget “*PanelWidget*” style “my_color”
    widget “*PanelApplet*” style “my_color”
    widget_class “*MenuItem*” style “my_color”
    widget_class “*ToolItem*” style “my_color”
    widget_class “*SeparatorMenuitem*” style “my_color”
    widget_class “*SeparatorToolitem*” style “my_color”
    widget_class “*ImageMenuitem*” style “my_color”
    widget_class “*RadioMenuitem*” style “my_color”
    widget_class “*CheckMenuitem*” style “my_color”
    widget_class “*TearoffMenuitem*” style “my_color”
    include ".gtkrc-2.0-gnome-color-chooser"

    gtkrc-2.0-gnome-color-chooser file:

    pixmap_path "/home/miksu/.gnome-color-chooser/images/"

    style "gnome-color-chooser-panel"
    {
    bg[NORMAL] = "#FFFFFF"
    bg[PRELIGHT] = "#FFFFFF"
    fg[NORMAL] = "#FFFFFF"
    fg[PRELIGHT] = "#FFFFFF"
    font_name = "Lastwaerk regular, 10"
    }
    class "PanelTopLevel.*" style "gnome-color-chooser-panel"
    widget_class "*PanelApplet*" style "gnome-color-chooser-panel"
    widget_class "*PanelWidget*" style "gnome-color-chooser-panel"
    widget "*fast-user-switch-applet*" style "gnome-color-chooser-panel"

    Any help?

  8. #8
    Join Date
    Oct 2008
    Beans
    3,509

    Re: Gnome color chooser not work!

    I would make a backup of my ~/.gtkrc-2.0
    and then delete the original.
    Then try gnome-color-chooser again,to change the color of the panel.
    The change should be instant.
    If that doesn't work try changing the panel color when using a different theme.

  9. #9
    Join Date
    Mar 2010
    Beans
    5

    Re: Gnome color chooser not work!

    Thanks thats work! I make copy of my gtkrc2.0 file and deleted original and then used gnome-color again.

  10. #10
    Join Date
    Oct 2008
    Beans
    3,509

    Re: Gnome color chooser not work!

    Yes ,I thought It might.You had a lot of stuff in there.
    Mine contains only one line.
    Code:
    include ".gtkrc-2.0-gnome-color-chooser"

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •