How to change zzzFM backgroud color? (Solved)

Forum Forums General Software How to change zzzFM backgroud color? (Solved)

  • This topic has 9 replies, 5 voices, and was last updated Apr 9-10:30 pm by Brian Masinick.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #104356
    Member
    RJP

      White is eye-breaking color in filemanager, so where I can change backgroud color in zzzFM?

      Edit: typo corrected.

      • This topic was modified 1 month ago by RJP.
      • This topic was modified 1 month ago by RJP.
      #104381
      Member
      RJP
        Helpful
        Up
        1
        ::

        1. Install human-icon-theme

        sudo apt install human-icon-theme

        2. Make a custom theme folder and config file

        sudo mkdir -p /usr/share/themes/Custom/gtk-2.0

        gksu leafpad /usr/share/themes/Custom/gtk-2.0/gtkrc

        … which contents is

        # Edit these colors and fonts however you like.
        style "default"
        {
          GtkOptionMenu::indicator_spacing = { 3, 2, 1, 1 }
          GtkEntry::progress-border = { 1, 1, 1, 1 }
          GtkRange::slider_width = 11
          GtkRange::stepper_size = 11
          GtkScrollbar::min_slider_length = 14
          GtkCheckButton::indicator_size = 10
          GtkCheckMenuItem::indicator_size = 10
          GtkButton::default_border = { 0, 0, 0, 0 }
        
          fg[NORMAL]        = "#000000"
          fg[ACTIVE]        = "#000000"
          fg[PRELIGHT]      = "#000000"
          fg[SELECTED]      = "#FFFFFF"
          fg[INSENSITIVE]   = "#747474"
          bg[NORMAL]        = "#d8c580"
          bg[ACTIVE]        = "#C1C1CC"
          bg[PRELIGHT]      = "#a8d0be"
          bg[SELECTED]      = "#336699"
          bg[INSENSITIVE]   = "#d8c580"
          base[NORMAL]      = "#a8d0be"
          base[ACTIVE]      = "#808080"
          base[PRELIGHT]    = "#a8d0be"
          base[SELECTED]    = "#336699"
          base[INSENSITIVE] = "#a8d0be"
          text[NORMAL]      = "#000000"
          text[ACTIVE]      = "#FFFFFF"
          text[PRELIGHT]    = "#000000"
          text[SELECTED]    = "#FFFFFF"
          text[INSENSITIVE] = "#747474"
        
          #font_name = "Sans 10"
          engine "thinice"
          {
            # Do you want the scrollbar handles rectangular or a bit shaped?
            rect_scrollbar = FALSE
        
            # The following variables are semi-generic, can be applied to
            # different widget classes etc..
        
            # Mark type 1 is used on scrollbar handles, handleboxes etc
            # Can be: NOTHING, SLASH, INVSLASH, DOT, INVDOT
            mark_type1 = SLASH
        
            # Mark type 2 is used on scrollbar buttons
            # Can be: NOTHING, SLASH, INVSLASH, DOT, INVDOT, ARROW
            mark_type2 = ARROW
        
            # How to draw paned stuff
            # Can be: NONE, SOME (currently 5), FULL
            paned_dots = SOME
          }
        }
        
        style "tooltips" {
          bg[NORMAL] = "#EEE1B3"
          fg[NORMAL] = "#000000"
        }
        
        style "progress-bar" {
          bg[PRELIGHT] = "#336699"
          fg[PRELIGHT] = "#FFFFFF"
          bg[NORMAL]   = "#C1C1CC"
        }
        
        style "menu-item" {
          bg[PRELIGHT]   = "#C9D2F5"
          fg[PRELIGHT]   = "#FFFFFF"
          base[PRELIGHT] = "#336699"
          text[PRELIGHT] = "#FFFFFF"
        }
        
        style "entry" {
          bg[SELECTED] = "#C9D2F5"
          fg[SELECTED] = "#000000"
        }
        
        class "GtkWidget" style "default"
        widget "gtk-tooltip*" style "tooltips"
        class "GtkProgressBar" style "progress-bar"
        class "*MenuItem*" style "menu-item"
        class "GtkEntry" style "entry"
        widget_class "*MenuItem*" style "menu-item"
        widget_class "*.GtkAccelMenuItem.*" style "menu-item"
        widget_class "*.GtkRadioMenuItem.*" style "menu-item"
        widget_class "*.GtkCheckMenuItem.*" style "menu-item"
        widget_class "*.GtkImageMenuItem.*" style "menu-item"
        widget_class "*.GtkSeparatorMenuItem.*" style "menu-item"
        widget_class "*.GtkRadioMenuItem.*" style "menu-item"
        
        gtk-icon-theme-name="Human"

        … save and quit

        3. Edit /usr/share/applications/zzzfm.desktop file replacing

        Exec=zzzfm %F

        as

        Exec=env GTK2_RC_FILES=/usr/share/themes/Custom/gtk-2.0/gtkrc zzzfm

        gksu leafpad /usr/share/applications/zzzfm.desktop

        The result

        • This reply was modified 1 month ago by RJP.
        Attachments:
        #104387
        Moderator
        Brian Masinick
          Helpful
          Up
          0
          ::

          Nice customization @RJP!

          Thank you for taking the time to share the changes made and the technique you used to achieve the results.

          --
          Brian Masinick

          #104393
          Member
          blur13
            Helpful
            Up
            1
            ::

            You can use lxappearance to set a theme for all gtk apps. Its installed by default in antiX.

            #104408
            Member
            marcelocripe
              Helpful
              Up
              0
              ::

              Thank you very much for the RJP tutorial.

              #104417
              Member
              Robin
                Helpful
                Up
                0
                ::

                You can use lxappearance to set a theme for all gtk apps. Its installed by default in antiX.

                This is present in antiX control center. From tab “Surface” click “Change look and feel”.

                FT-10-Menu-Entry

                Windows is like a submarine. Open a window and serious problems will start.

                #104430
                Member
                RJP
                  Helpful
                  Up
                  0
                  ::

                  Good points from everyone, but there has no option to change color, even package lxsession is installed.

                  #104453
                  Moderator
                  Brian Masinick
                    Helpful
                    Up
                    0
                    ::

                    @RJP, if you want to make changes, notice that you’re looking at the configuration tool for lxsession. Unless you are working with and modifying lxsession, that’s not going to do anything useful for you, as your display indicates. Instead, as Robin shows in the post previous to yours, use the antix control center (centre). As Robin points out (and circles the appropriate sections, this is where you make the changes. While he displayed a German version of the items, they are in the same place regardless of the language, so please try to use this tool and see if you can modify the appearance using the standard mechanism instead of what you have been attempting to use, and let us know if you achieve the desired result or not.

                    If still issues, explain, step by step, what you used, what you expected to see and what you actually experienced, and if you have any other images to share you may attach them as well. Try Robin’s suggestions and report back please.

                    --
                    Brian Masinick

                    #104457
                    Member
                    Robin
                      Helpful
                      Up
                      0
                      ::

                      Hello Brian,

                      RJP is right. His screenshot is taken from the lxappearance tool, and this is exactly the very tool which opens from the antiX control center. You can switch the complete theme with this (in the first tab) but you can only manage individual settings in its second tab when lxsession is used as session manager, just like the message within his screenshot reads.

                      Windows is like a submarine. Open a window and serious problems will start.

                      #104461
                      Moderator
                      Brian Masinick
                        Helpful
                        Up
                        0
                        ::

                        Hello Brian,

                        RJP is right. His screenshot is taken from the lxappearance tool, and this is exactly the very tool which opens from the antiX control center. You can switch the complete theme with this (in the first tab) but you can only manage individual settings in its second tab when lxsession is used as session manager, just like the message within his screenshot reads.

                        What do you suppose is wrong then? I’ve not seen any issues when I want to configure any appearance characteristics. I will say that when I use our antiX Control Center and then select Customize Look and Feel, there are very few, if any color schemes that can be selected when I click the second check bar, “Color”, so either this functionality doesn’t work, or there are precious few configurations that allow color customization (I probably selected five or six widgets, then went to the color tab, and none of the ones I tried had modifiable colors. If they SHOULD then we definite have another defect to resolve.

                        Thanks; I just verified the behavior myself. All this said, I’m able to set up the environment, between the IceWM preferences, the wallpaper and other facilities and they’re sufficient (and the color tab is essentially a “no-op” as it currently stands.

                        --
                        Brian Masinick

                      Viewing 10 posts - 1 through 10 (of 10 total)
                      • You must be logged in to reply to this topic.