antiX-23 – based on Debian 12 Bookworm – ideas

Forum Forums antiX-development Development antiX-23 – based on Debian 12 Bookworm – ideas

  • This topic has 200 replies, 27 voices, and was last updated May 11-6:42 pm by calciumsodium.
Viewing 15 posts - 151 through 165 (of 201 total)
  • Author
    Posts
  • #100471
    Moderator
    Brian Masinick
      Helpful
      Up
      0
      ::

      ntpsec is a more secure version of ntp.
      Should it be turned off by default on live medium?

      All logging will be turned off on runit editions.

      I think it should be turned off on live editions and I also think that on a light distribution like ours, while the capabilities of logging should be available, they should be disabled by default.

      Other opinions or alternatives?

      --
      Brian Masinick

      #101005
      Member
      PPC
        Helpful
        Up
        0
        ::

        @anticapitalista – sparked by the fact that a new forum user wants to connect to his network shared folders, I tweaked a little bit the script that scans the network for samba2+ shared folders and opens any selected one on the default file manager. The script and the multilingual .desktop file are less than 11kb, and the requerired dependencies only get installed (if the user so allows) at first run. This means, that, for users that do not require this feature, there is no drain on their system resources, and, for users that need a “automagical” way to connect to a shared folder… that feature is available out of the box.

        changes from the original script and .desktop file (from the original ones in the ft10-transformation package):
        – I renamed both the script and the .desktop file, to avoid any conflict with ft10, also corrected a typo on the script’s name.
        – The script now opens the selected network shared folder in the default file manager, not always in zzzfm
        – The “notification” that appears on the lower right, when no network shared folder is found is now more streamlined, it looks more like a system notification…

        As is, both files can be placed in any “goodies” package and be available under any version of antiX. There is only a single text that may require localization- the one shown when the dependencies need to be installed. The rest of the GUI does not require any localization, in good old Window’s style, it’s as “dumbed down” as a GUI can be… literally just pictures…

        P.

        • This reply was modified 2 months, 1 week ago by PPC.
        #101038
        Member
        PPC
          Helpful
          Up
          0
          ::

          Probably most people won’t like this idea – why not expand the functionality of app-select to allow it to not just run the selected application, but also:
          -add it to the toolbar; or
          -add it to the (zzz) desktop

          It’s only a very initial idea. If anyone likes this idea, I can include, in the script, also the option to add the selected application to the personal menu – it’s just a matter of borrowing and adapting functions from previous scripts…

          I was thinking that app-select’s menu entry could be replaced by a more mature version of this script (so users can have a very similar functionality to “dragging” apps from the menu to the toolbar or desktop (like some other OSes allow)- this script keeps that ease of use, but without the need to drag and drop the application.
          Main drawback – it makes the users press an extra “enter” if all they want is to run an app…
          Ideally app-select could have some extra buttons, straight in it’s menu: “add to toolbar” (if icewm is detected as the WM), “add to desktop” (if zzz is managing the desktop icons) or “add to Personal Menu”

          P.

          Attachments:
          #101041
          Forum Admin
          Dave
            Helpful
            Up
            0
            ::

            Ideally app-select could have some extra buttons, straight in it’s menu: “add to toolbar” (if icewm is detected as the WM), “add to desktop” (if zzz is managing the desktop icons) or “add to Personal Menu”…

            This option is already implemented in the vast majority of the sense via right click plugin menu on the selected app. It will probably need to be ironed out a little.
            BobC has made a few plugins to do such things. I have also added the ability in add-desktop to allow sending from app-select to add-desktop via command line option.
            See:
            https://gitlab.com/antiX-Dave/app-select-antix/-/blob/master/app-select.conf
            https://gitlab.com/antiX-Dave/app-select-antix/-/tree/master/plugins
            and
            https://gitlab.com/antiX-Dave/app-select-plugins-antix/

            The relevant replacement codes for the app-select.conf file are:
            %n = application name
            %g = application generic name
            %c = application categories
            %f = application . desktop file name
            %p = full path for application .desktop filename
            %t = if the application is a terminal application (true/false)
            %i = application icon

            set-grid.sh in the app-select-plugins-antix repo is a script BobC and I worked on to add items to the Rox desktop without overlapping.
            It should be easily expandable if you want to look into updating / adapting scripts to accept command line options that can be passed from app-select.

            Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown

            #101043
            Member
            PPC
              Helpful
              Up
              0
              ::

              @Dave – thanks for replying – I knew you had mentioned similar plug-ins before.
              It will be great having those plug-ins working out of the box – but, even so, most users don’t even know that app-select does have a contextual menu… that’s why I suggested those 2 or 3 extra buttons!

              P.

              #102591
              Member
              Robin
                Helpful
                Up
                0
                ::

                Have you tried moc yet?

                No, actually, I hadn’t. Didn’t even know it’s there. Many thanks @rokytnji ! You are right, this player is a fine thing.

                I’m aware it’s a bit late to request new features while beta is already on its way. But maybe this small detail could be added still. It’s about the audio players available in antiX menu. While I’m generally fine with xmms, it does its job, it can’t deal with recent opus audio codec, so recent audio won’t play. From the thread mentioned above I’ve learned antiX has an additional player preinstalled I have never noticed before, which can easily play many more formats and is actively under development. But antiX users won’t even notice it’s present and can be used out of the box. So I’d plead for adding the exo GUI for this package, along with a .desktop file pointing to exo.

                Repository: https://github.com/loimu/exo

                Applying the cooking recipt from the devs page it creates easily the executable on antiX 23 alpha:

                $ sudo apt-get install qtbase5-dev qttools5-dev liblastfm5-dev cmake
                
                $ git clone https://github.com/loimu/exo
                
                $ mkdir build && cd build
                
                $ cmake -DBUILD_DBUS=ON -DBUILD_LASTFM=ON ..
                -- The C compiler identification is GNU 12.2.0
                -- The CXX compiler identification is GNU 12.2.0
                -- Detecting C compiler ABI info
                -- Detecting C compiler ABI info - done
                -- Check for working C compiler: /usr/bin/cc - skipped
                -- Detecting C compile features
                -- Detecting C compile features - done
                -- Detecting CXX compiler ABI info
                -- Detecting CXX compiler ABI info - done
                -- Check for working CXX compiler: /usr/bin/c++ - skipped
                -- Detecting CXX compile features
                -- Detecting CXX compile features - done
                -- Configuring done
                -- Generating done
                -- Build files have been written to: /media/sda4/Arbeitsordner/antiX/exo/exo/build
                
                $ make -j2
                [  4%] Automatic MOC for target exo
                [  4%] Built target exo_autogen
                [ 12%] Generating be_BY.qm
                [ 12%] Generating ru_RU.qm
                Updating '/media/sda4/Arbeitsordner/antiX/exo/exo/build/src/be_BY.qm'...
                Updating '/media/sda4/Arbeitsordner/antiX/exo/exo/build/src/ru_RU.qm'...
                    Generated 56 translation(s) (56 finished and 0 unfinished)
                    Generated 56 translation(s) (56 finished and 0 unfinished)
                [ 20%] Generating pl_PL.qm
                [ 20%] Generating qrc_exo.cpp
                Updating '/media/sda4/Arbeitsordner/antiX/exo/exo/build/src/pl_PL.qm'...
                    Generated 56 translation(s) (56 finished and 0 unfinished)
                [ 28%] Building CXX object src/CMakeFiles/exo.dir/main.cpp.o
                [ 28%] Building CXX object src/CMakeFiles/exo.dir/exo_autogen/mocs_compilation.cpp.o
                [ 32%] Building CXX object src/CMakeFiles/exo.dir/core/playerinterface.cpp.o
                [ 36%] Building CXX object src/CMakeFiles/exo.dir/core/mocinterface.cpp.o
                [ 40%] Building CXX object src/CMakeFiles/exo.dir/core/singleinstance.cpp.o
                [ 44%] Building CXX object src/CMakeFiles/exo.dir/core/sysutils.cpp.o
                [ 48%] Building CXX object src/CMakeFiles/exo.dir/gui/aboutdialog.cpp.o
                [ 52%] Building CXX object src/CMakeFiles/exo.dir/gui/basedialog.cpp.o
                [ 56%] Building CXX object src/CMakeFiles/exo.dir/gui/bookmarkmanager.cpp.o
                [ 60%] Building CXX object src/CMakeFiles/exo.dir/gui/lyricsdialog.cpp.o
                [ 64%] Building CXX object src/CMakeFiles/exo.dir/gui/trayicon.cpp.o
                [ 68%] Building CXX object src/CMakeFiles/exo.dir/dbus/dbus.cpp.o
                [ 72%] Building CXX object src/CMakeFiles/exo.dir/dbus/rootobject.cpp.o
                [ 76%] Building CXX object src/CMakeFiles/exo.dir/dbus/playerobject.cpp.o
                [ 80%] Building CXX object src/CMakeFiles/exo.dir/lastfm/scrobbler.cpp.o
                [ 84%] Building CXX object src/CMakeFiles/exo.dir/lastfm/scrobblerauth.cpp.o
                [ 88%] Building CXX object src/CMakeFiles/exo.dir/core/consoleauth.cpp.o
                [ 92%] Building CXX object src/CMakeFiles/exo.dir/gui/scrobblersettings.cpp.o
                [ 96%] Building CXX object src/CMakeFiles/exo.dir/qrc_exo.cpp.o
                [100%] Linking CXX executable exo
                [100%] Built target exo
                
                $ sudo cp ./src/exo /usr/local/bin

                Then make it visible in antiX Menu:

                $ sudo cp ./exo/images/32.png /usr/share/icons/exo32.png
                $ sudo cp ./exo.desktop /usr/share/applications/antix/exo.desktop
                $ sudo desktop-menu --write-out-global
                

                Start it from antiX main menu, section Multimedia

                Exo-MOC running on antiX 23

                You can close the player window showing the playlist while listening. It will reopen for playlist management by clicking “player” from exo’s context menu without stopping the moc server playing. All the other player controlling (start/stop/pause/resume…) is done from the context menu directly.

                By now there is language support only available for

                be_BY
                pl_PL
                ru_RU

                see https://github.com/loimu/exo/tree/master/translations
                This shortcoming could be helped and the resulting translations sent upstream for merge to the devs repo.

                @anticapitalista : Somebody experienced would still have to check whether this GUI meets antiX’ standards of meanness and leanness, or whether there are better alternatives. But it would be great to have moc this way a bit more accessible for young generations of antiX users not familiar with console usage.

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

                #102606
                Member
                marcelocripe
                  Helpful
                  Up
                  0
                  ::

                  Hello Robin.

                  Thanks so much for bringing us the eXo GUI for the MOC. I myself didn’t even know that MOC is available in antiX. It’s living and learning every day on this forum…

                  As the program has few sentences, I was able to quickly translate the “.ts” file into the “pt_BR” language and it is in the file creation request number 2.

                  The Brazilian Portuguese language translation for the “.desktop” file of the eXo program is in the file update request number 3.

                  As developers are never guaranteed to accept the translations, I added my translations in the attached dos file for the “.ts” and “.desktop” files.

                  Thank you very much.

                  – – – – –

                  Olá Robin.

                  Muito obrigado por nos trazer a interface gráfica eXo para o MOC. Eu mesmo nem sabia que o MOC está disponível no antiX. É vivendo e aprendendo todos os dias neste fórum…

                  Como o programa possui poucas frases, eu consegui traduzir rapidamente o arquivo “.ts” para o idioma “pt_BR” e está no pedido de criação do arquivo número 2.

                  A tradução do idioma o Português do Brasil para o arquivo “.desktop” do programa eXo está no pedido de atualização do arquivo número 3.

                  Como nunca é garantido que os desenvolvedores aceitarem as traduções, eu adicionei as minhas traduções no arquivo anexo dos para os arquivos “.ts” e “.desktop”.

                  Muito obrigado.

                  Attachments:
                  #102630
                  Member
                  Robin
                    Helpful
                    Up
                    0
                    ::

                    Meanwhile I’m a bit in doubt about this exo GUI program. What does »scrobbling« mean? I can’t find this word in dictionary, it seems not to exist, not to be an English word at all, even when it sounds like that. A neologism? What will this function do when activated from context menu settings entry „Enable scrobbling”?

                    Moreover I’ve meanwhile understood it’s pretty easy to manage the moc server completely by using it’s command line options. So I’ll try to write a tiny bash script which can do what is needed, either from tray icon or from a separate dialog window, without need of installing and running a voluminous application like exo with all its dependencies. If I succeed, this would be probably a more antiX like way of being mean and lean than using exo for managing moc from gui.

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

                    #102646
                    Member
                    marcelocripe
                      Helpful
                      Up
                      0
                      ::

                      What does »scrobbling« mean?

                      I found this:
                      https://pt.wikipedia.org/wiki/Last.fm
                      https://www.showmetech.com.br/last-fm-como-usar/
                      https://www.last.fm/pt/about/trackmymusic

                      I hope it correlates to the term »scrobbling« that was used in the eXo program. I suspect it’s another one of those English words that are untranslatable but can be explained in half a dozen words (or more in more words). Can any native English speaker help us understand the meaning?

                      If I succeed, this would be probably a more antiX like way of being mean and lean than using exo for managing moc from gui.

                      If you are successful in programming this new proposal, I will be happy to help test and translate this program. Your version does not need to be added to the system tray.

                      What does the anticapitalista think about eXo or his proposal to put the MOC to be useful for those who don’t master the Terminal?(For example, me.)

                      – – – – –

                      What does »scrobbling« mean?

                      Eu encontrei isso:
                      https://pt.wikipedia.org/wiki/Last.fm
                      https://www.showmetech.com.br/last-fm-como-usar/
                      https://www.last.fm/pt/about/trackmymusic

                      Eu espero que seja correlato ao termo »scrobbling« que foi utilizado no programa eXo. Eu suspeito que seja mais uma daquelas palavras em idioma Inglês intraduzíveis, mas que possamos explicar com meia dúzia de palavras (ou mais com mais palavras). Será que algum nativo do idioma Inglês poderá nos ajudar a compreender o significado?

                      If I succeed, this would be probably a more antiX like way of being mean and lean than using exo for managing moc from gui.

                      Se você obtiver sucesso na programação desta nova proposta, eu ficarei cotente em ajudar a testar e a traduzir este programa. A sua versão não precisa ser adicionada a bandeja do sistema.

                      O que será que o anticapitalista pensa sobre o eXo ou da sua proposta de colocar o MOC para ser útil para quem não domina o Terminal? (Por exemplo, eu.)

                      #102648
                      Member
                      Xunzi_23
                        Helpful
                        Up
                        0
                        ::

                        The only context I know for scrobble is track every move.
                        Scrobbling seems to be a description for tracking using external provider as
                        articles suggest.

                        No thanks.

                        #102650
                        Moderator
                        Brian Masinick
                          Helpful
                          Up
                          0
                          ::

                          Personally, I have never heard of it, so I tried to look it up, and in this “digital world”, I found something almost immediately.
                          How accurate this is depends on the accuracy of the cited reference below.

                          https://www.thefreedictionary.com › Scrobbling
                          Scrobbling – definition of Scrobbling by The Free Dictionary
                          scrobble ( ˈskrɒbəl) vb (Computer Science) (of an online music service) to record a listener’s musical preferences and recommend similar music that he or she might enjoy [C21: invented by the creators of a trademarked computer application called Audioscrobbler]

                          --
                          Brian Masinick

                          #102701
                          Member
                          marcelocripe
                            Helpful
                            Up
                            0
                            ::

                            Thank you very much sir. Brian for clarification.

                            Muito obrigado sr. Brian pelos esclarecimentos.

                            #102814
                            Moderator
                            Brian Masinick
                              Helpful
                              Up
                              0
                              ::

                              You’re welcome Marcelo!

                              --
                              Brian Masinick

                              #102827
                              Member
                              Robin
                                Helpful
                                Up
                                0
                                ::

                                Personally, I have never heard of it

                                it’s another one of those English words that are untranslatable

                                The only context I know for scrobble is track every move.
                                Scrobbling seems to be a description for tracking using external provider as
                                articles suggest.

                                No thanks.

                                Many thanks, you three, for hardening my suspicion this exo thing is no good.

                                So as promised, here’s our own antiX Community version of this tool, mean and lean (at least I hope it is, the way I’ve written it). I’ve named it aCMG, which means antiX Community MOC Gui, wherein moc means Music On Console, the name of the underlaying console program already present in antiX.

                                aCMG ver. 0.4 MOC GUI
                                aCMG Ver. 0.4 MOC GUI

                                Download installer package (Ver 0.4 of aCMG) from gitlab: debian-installer-packages/aCMG-0.4.deb
                                Download checksum file from gitlab: aCMG.deb-0.4.sha256.sum

                                After download as usual make sure the checksum matches:

                                $ shasum -c aCMG.deb-0.4.sha256.sum
                                aCMG-0.4.deb: OK

                                Then you can install it from within the download directory using the commands:

                                $ sudo apt-get update
                                $ sudo apt-get install './aCMG-0.4.deb'

                                You’ll find it in antiX main menu, section Multimedia.

                                MOC will run easily on plain ALSA, while I’m pretty sure it needs a bit of fine tuning, concerning which ALSA device is used. (In my testing I’ve seen clipping issues, even when volume sliders are low. Needs some further investigation. Same pieces played on audacious don’t have any clipping issues, even on full volume.)

                                Functionally tested successfully on antiX 23 alpha full 64 bit and antiX 22 full 32 bit.

                                As the original MOC on console, this GUI allows to be closed completely while music keeps playing, and can be reopened from its antiX menu entry again later, if you don’t like to have it in tray all the time.

                                Please let me know if you find any issues.

                                If all works for you as expected also, I’ll put it as a new resource on transifex for translation. For now English and Brasilian Portuguese are available, and already included in the installer package.

                                Have fun with it!
                                Robin

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

                                #102840
                                Member
                                RJP
                                  Helpful
                                  Up
                                  0
                                  ::

                                  There should be entry in antiXCC for changing the default desktop session. An example via command line

                                  From rox-icewm to zzz-icewm

                                  sudo sed -i 's/default_sessiontype rox-icewm/default_sessiontype zzz-icewm/g' /etc/slimski.local.conf

                                  From zzz-icewm to rox-icewm

                                  
                                  sudo sed -i 's/default_sessiontype zzz-icewm/default_sessiontype rox-icewm/g' /etc/slimski.local.conf
                                Viewing 15 posts - 151 through 165 (of 201 total)
                                • You must be logged in to reply to this topic.