Small bug in icewm/preferences file

  • This topic has 8 replies, 4 voices, and was last updated Jan 10-11:48 pm by BobC.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #31479
    Member
    ptoye

      Just installed antiX-19 and I wanted to change the displayed date/time format to be more, well, English. Went to my ~/.icewm/Preferences file and edited line (I think) 47 to change the value of TimeFormat. Nothing happened. After a lot of experimentation I searched the file and found that there’s another setting of TimeFormat round about line 679(!) which isn’t commented out, and overrode my setting.

      Can I suggest that you remove that line, or put a note at the head of the file to say that it’s there. Surely, the correct position for system defaults is the system-wide configuration directory, not the user’s.

      • This topic was modified 3 years, 4 months ago by ptoye.
      • This topic was modified 3 years, 4 months ago by ptoye.

      Peter

      #31483
      Forum Admin
      anticapitalista
        Helpful
        Up
        0
        ::

        Line 11 of ~/.icewm/Preferences file says

        ### BobC 06/15/19 – all setting same as std antiX 19b1 except the following:

        You may note that all the lines are commented and with no line spaces.

        I guess it could/should be made clearer in the next point release.

        Surely, the correct position for system defaults is the system-wide configuration directory, not the user’s.

        But how the time format is shown is user choice isn’t it? antiX can also be used (and is used) in situations with multi-user accounts and each user may want something different.

        Philosophers have interpreted the world in many ways; the point is to change it.

        antiX with runit - leaner and meaner.

        #31486
        Member
        ptoye
          Helpful
          Up
          0
          ::

          Line 11 of ~/.icewm/Preferences file says

          ### BobC 06/15/19 – all setting same as std antiX 19b1 except the following:

          You may note that all the lines are commented and with no line spaces.

          I guess it could/should be made clearer in the next point release.

          Surely, the correct position for system defaults is the system-wide configuration directory, not the user’s.

          But how the time format is shown is user choice isn’t it? antiX can also be used (and is used) in situations with multi-user accounts and each user may want something different.

          Two points here:

          1) I agree that line 11 says that all lines are commented out. But line (I think) 679 isn’t commented out and should be. There’s certainly no point in setting the same property twice in the same file.

          2) Of course time format is the user’s choice. But IMHO the default (whatever the system designer chooses) should be in the system config, not the user config. Then the user can override it if they want to.

          • This reply was modified 3 years, 4 months ago by ptoye.

          Peter

          #31489
          Moderator
          Brian Masinick
            Helpful
            Up
            0
            ::

            Line 11 of ~/.icewm/Preferences file says

            ### BobC 06/15/19 – all setting same as std antiX 19b1 except the following:

            You may note that all the lines are commented and with no line spaces.

            I guess it could/should be made clearer in the next point release.

            Surely, the correct position for system defaults is the system-wide configuration directory, not the user’s.

            But how the time format is shown is user choice isn’t it? antiX can also be used (and is used) in situations with multi-user accounts and each user may want something different.

            Two points here:

            1) I agree that line 11 says that all lines are commented out. But line (I think) 679 isn’t commented out and should be. There’s certainly no point in setting the same property twice in the same file.

            2) Of course time format is the user’s choice. But IMHO the default (whatever the system designer chooses) should be in the system config, not the user config. Then the user can override it if they want to.

            I agree that system configurations should be in system-controlled files in locations such as /etc or other appropriate system owned resources.

            --
            Brian Masinick

            #31490
            Moderator
            Brian Masinick
              Helpful
              Up
              0
              ::

              Having system resources and configurations makes it easier to have personal configurations that do not have any conflicts with anyone else, and the intent is clear.

              --
              Brian Masinick

              #31491
              Forum Admin
              anticapitalista
                Helpful
                Up
                0
                ::

                Ok, I’ll make the change for next point release.

                Philosophers have interpreted the world in many ways; the point is to change it.

                antiX with runit - leaner and meaner.

                #31492
                Member
                ptoye
                  Helpful
                  Up
                  0
                  ::

                  Thanks. I agree with Brian.

                  I’ve been poking around and there seem to be three almost-copies of the icewm preferences file. There’s one in /etc/skel/.icewm and one in ~/.icewm. These are identical, and have two copies of the TimeFormat setting. The other is in /usr/share/icewm which is very different and has only one copy of TimeFormat: the second one, and it’s set differently.

                  Peter

                  #31495
                  Forum Admin
                  anticapitalista
                    Helpful
                    Up
                    0
                    ::

                    That’s because the ones in /etc/skel/.icewm and ~/.icewm include the antiX ‘defaults’. The files in /usr/share/icewm will get overwritten when/if icewm gets an upgrade.

                    Philosophers have interpreted the world in many ways; the point is to change it.

                    antiX with runit - leaner and meaner.

                    #31581
                    Moderator
                    BobC
                      Helpful
                      Up
                      0
                      ::

                      The main purpose of my list of changes was to explain to anti, and if implemented, as a side benefit, anyone else, what I had changed down below so they wouldn’t need to spend time to analyze what I had done.

                      At this point it could be removed as its been running a while without major problems.

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