antiX-23-beta1-runit-full (64bit) for testing

Forum Forums antiX-development Development antiX-23-beta1-runit-full (64bit) for testing

  • This topic has 318 replies, 28 voices, and was last updated May 7-5:09 pm by Brian Masinick.
Viewing 15 posts - 256 through 270 (of 319 total)
  • Author
    Posts
  • #105008
    Member
    Wallon
      Helpful
      Up
      0
      ::

      Dear PPC,

      It was nice of you to answer me.
      I am wary of the main window being too small and blocking the sub-menu windows. As I pointed out to anticapitalista, for the program “command line control centre”, it does not work in French because the main window is too small. And yet, everything is displayed in the main window but the size is not suitable for the sub-windows.

      Besides, it is voluntary if I did not translate the on/off. In French, you could write « marche ou arrêt » in inverted commas. The French academy recommends never to use the slash, it must always be translated by one of the 2 following words; “And” “Or”. But I don’t have enough space on the line as the window is already much too small.

      Kind regards,
      Wallon

      • This reply was modified 3 weeks, 1 day ago by Wallon.
      #105012
      Member
      Robin
        Helpful
        Up
        0
        ::

        Dear Wallon, dear PPC,
        I do have the very same issue on a default desktop PC with your script @PPC, screen resolution 2560×1440 (TFT-Display) which is obviously not a low resolution at all. Same issue on 1440×900 (LCD-Display) and also on 1024×768 (true Tube monitor). You’d never guess there are hidden some buttons outside the visible field. I even didn’t notice them until reading Wallons posting here. The scrollbars are invisible, you have to guess they exist and try to click on them, before they become visible. And even then all buttons on either right side or left side are constantly cut of, while there would be plenty of space to display them on screen if only the yad window wouldn’t cut them off deliberately.

        We have had the very same issue one or two years ago already when rewriting unplugdrive. (Please see https://gitlab.com/antix-contribs/antix-goodies/-/commit/3ae073e49fafa4df274bf70a0da3747e6affa51f , search the page for the string „Yad main user dialog cuts off parts of the text in dialog box now”) @Xecure had set yad to display with scrollbars on his tiny handheld device, and here’s the result from this attempt on a default desktop pc:

        yad scrollbar issue

        Yad simply is not able to handle this properly for small netbook screens and for default resolution PCs with the very same settings. The really small screens need the special –scroll setting of yad, if they happen to have no precaution for providing scrollability on their own already, while this fails on all normally sized devices. Luckily the solution is pretty simple:

        remove the --scroll option from the yad call
        remove the --width= --height= options from the yad call
        add the --fixed option to the yad call
        

        Then yad will properly display all buttons in all translations with their full text on a default PC monitor.

        If you want to have it working for the extra sized really small screens then again with the extra scrollbars, just copy and apply the method we have used in unplugdrive.sh already. Check its code added for the -s –scrollbars command line switch (lines 81, 111 and 439 in ver. 0.93b) . It simply swaps the beforementioned settings of yad when it is called with this switch, so it works by default on default sized screens, and with the -s switch for small screen devices.

        Unfortunately I can’t please everyone, every time.

        I think it is not an option to let people scroll around in cropped yad windows on default sized devices and then saying you can’t please everyone. The antiX tools need to run on default hardware, and you may add a command line switch for extra small sized devices like netbooks or handhelds.

        Best regards
        Robin

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

        #105033
        Member
        Wallon
          Helpful
          Up
          0
          ::

          Dear PPC,

          I use 24″ (1920×1080) or 15″ (1920×1080) screens.
          Most people do not use a smartphone screen for antiX.
          Too often I have to enlarge all antiX windows to full screen to work with it normally.
          I use standard screens like most people on this forum.
          Maybe that’s why I don’t like Roxterminal very much, it’s always on windows as small as a postage stamp.
          A simple solution would be to open the window directly in full screen. I assume that this will fit on all screens.

          Kind regards,
          Wallon

          • This reply was modified 3 weeks, 1 day ago by Wallon.
          #105036
          Moderator
          Brian Masinick
            Helpful
            Up
            0
            ::

            Given “different behavior”, depending on the size of the monitor, are there any worthwhile attributes to note for various different sizes and resolutions?

            If so, it may make sense (if there is a bash script involved:

            Bash case Statement Syntax

            The bash case statement takes the following syntax:

            case $variable in
            pattern-1)
            commands;;
            pattern-2)
            commands;;
            pattern-3)
            commands;;
            pattern-N)
            commands;;
            *)
            commands;;
            esac

            What could be put in each of the “cases” is a particular monitor resolution, and in the matching command an appropriate command or expression that will help make the process display, commands, and options more useful for that specific monitor resolution.

            Is that a reasonable thing to consider, or won’t it make any difference? If it would improve usability, it may be worth examining and testing.

            What do you think? Is this worth considering and is it worth the effort; will it even make a difference?

            --
            Brian Masinick

            #105065
            Member
            Xunzi_23
              Helpful
              Up
              0
              ::

              antiX 23 Beta1 Fully updated Fresh install,
              no menu shown.

              Refresh menu not working

              sudo desktop-menu –write-out-global Fixed issue.

              Beginning to think antiX 23 will run on a smart toaster.
              Device compatibility is amazing. Present live master has
              installed on devices from Core2 Duo EEPC to AMD Ryzen
              monster without any insurmountable problems.

              #105068
              Member
              Robin
                Helpful
                Up
                0
                ::

                sudo desktop-menu –write-out-global Fixed issue.

                Please see and try the solution from this posting:
                https://www.antixforum.com/forums/topic/no-menu-application-after-update/#post-105066

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

                #105071
                Member
                Xunzi_23
                  Helpful
                  Up
                  0
                  ::

                  Thanks Robin,
                  had just read your post. job for this evening.

                  #105072
                  Forum Admin
                  anticapitalista
                    Helpful
                    Up
                    0
                    ::

                    sudo desktop-menu –write-out-global Fixed issue.

                    Please see and try the solution from this posting:
                    https://www.antixforum.com/forums/topic/no-menu-application-after-update/#post-105066

                    This bug is a mystery.
                    I have *never* had to use sudo in order for Refresh to work.
                    If I use sudo, then I always have to use sudo until I make the change linked to by Robin.
                    But, to repeat, I have *never* had to use sudo in order for Refresh to work.

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

                    antiX with runit - leaner and meaner.

                    #105074
                    Member
                    Robin
                      Helpful
                      Up
                      0
                      ::

                      This bug is a mystery.

                      No not a mystery. I’s because of desktop-menu is run by root, and hence it changes the permissions when rewriting the files so default user can’t access them anymore. The fix was simply to add a line to the script, making sure to restore the proper permissions always to the files when writing them. I’d suggest to backport the respective lines from the latest version @Dave is working on to a hotfix version for the older antiX versions, until the new version is ready for being used in antiX, this would fix this common issue many people have encountered.

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

                      #105075
                      Forum Admin
                      anticapitalista
                        Helpful
                        Up
                        0
                        ::

                        So how come I have never had this happen to me? The mystery is that it doesn’t affect everybody.

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

                        antiX with runit - leaner and meaner.

                        #105076
                        Member
                        marcelocripe
                          Helpful
                          Up
                          0
                          ::

                          I have *never* had to use sudo in order for Refresh to work.

                          I *always* needed to apply the $ sudo desktop-menu –write-out-global command, otherwise the “Refresh” menu never worked to display new .desktop files.

                          – – – – –

                          I have *never* had to use sudo in order for Refresh to work.

                          Eu *sempre* precisei aplicar o comando $ sudo desktop-menu –write-out-global, caso contrário o menu “Refresh” nunca funcionou para exibir novos arquivos .desktop.

                          #105077
                          Member
                          marcelocripe
                            Helpful
                            Up
                            0
                            ::

                            So how come I have never had this happen to me? The mystery is that it doesn’t affect everybody.

                            Is it because you use antiX in English language?

                            – – – – –

                            So how come I have never had this happen to me? The mystery is that it doesn’t affect everybody.

                            Será que é porque você utiliza o antiX em idioma Inglês?

                            #105078
                            Forum Admin
                            anticapitalista
                              Helpful
                              Up
                              0
                              ::

                              Mostly @marcelocripe but I have just been playing with antiX-23 in Virtualbox (live) in pt_BR.
                              I have installed apps via apt (xfe), package installer (filezilla) and synaptic (frozen-bubble) and all automatically showed up in the menu without having to click on Refresh.

                              All menu-applications files for IceWM, fluxbox, jwm are still owned by user (demo in this case).

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

                              antiX with runit - leaner and meaner.

                              #105080
                              Member
                              Robin
                                Helpful
                                Up
                                0
                                ::

                                So how come I have never had this happen to me?

                                This actually is a mystery.

                                antiX 23 Beta1 Fully updated Fresh install,

                                Refresh menu not working

                                Just as Marcelo, Xunzi_23 and others I’ve seen this very issue regularly on fresh antiX installs already, the refresh menu button not working.

                                The script throws an error on console, and this is what I’d call a bug. The script simply needs to restore the permissions instead of throwing this error. This is what I suggested when speaking of the hotfix above. (And it is already included in the most recent version to come Dave is still working on, so the lines can be backported simply)

                                $ desktop-menu --write-out-global
                                Writing Menu: fluxbox
                                Traceback (most recent call last):
                                  File "/usr/local/bin/desktop-menu", line 313, in <module>
                                    build_menu()
                                  File "/usr/local/bin/desktop-menu", line 277, in build_menu
                                    text = file((USER_HOME+"/"+Var.Conf_Dir+"/"+Var.App_File), "w")
                                IOError: [Errno 13] Keine Berechtigung: '/usr/share/desktop-menu//.fluxbox/menu-applications'

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

                                #105084
                                Member
                                Wallon
                                  Helpful
                                  Up
                                  0
                                  ::

                                  I also confirm that “Refresh Menu” does not always work. I have this problem on antiX 22 with the modified antiX-cli-cc.desktop.

                                Viewing 15 posts - 256 through 270 (of 319 total)
                                • You must be logged in to reply to this topic.