antiX transformation pack – antiX FT 10

Forum Forums General Software antiX transformation pack – antiX FT 10

  • This topic has 410 replies, 25 voices, and was last updated Jan 26-1:03 pm by marcelocripe.
Viewing 15 posts - 316 through 330 (of 411 total)
  • Author
    Posts
  • #81134
    Member
    PPC
      Helpful
      Up
      0
      ::

      You spiked my curiosity… The fastest (but not prettiest) way to use rofi as a workspace switcher would be:

      1- install rofi
      2- create this one-liner script (ex: rofi_workspace_switcher.sh and save it on your Home folder. Don’t forget to make the script executable!):
      workspace=$(wmctrl -d | rofi -dmenu -p "Workspaces"|cut -d' ' -f1) && wmctrl -s$workspace

      3- create a .desktop file than runs the script (you can localize the name, see my example, in PT):

      
      [Desktop Entry]
      Name=Workspaces
      Name[pt]=Áreas de Trabalho
      Exec=~/rofi_workspace_switcher.sh
      Icon=/usr/share/icons/papirus-antix/48x48/apps/workspace-switcher.png
      Categories=Preferences;

      4- add this .desktop to your tint2 toolbar (left clicking on the +/- toolbar icon)

      If I ever implement this in FT10, I’ll probably use a yad window to display the workspace name and number, sparing the need to install rofi

      Edit:
      If you want a better looking rofi window you can play with rofi’s themes. Example:

      workspace=$(wmctrl -d | rofi -dmenu -p "-" -theme /usr/share/rofi/themes/arthur.rasi|cut -d' ' -f1) && wmctrl -s$workspace

      As you can see, I used this thread as a blueprint to add this feature in a future FT10 version…

      Edit2: if you want to create a really nice looking workspace switcher, a more developed version of the script could toggle between all existing workspaces, making a screen grab, then display the screen grabs in a yad window, so the user just has to click the preview of the desired desktop… I’ll leave that idea here, for you, or someone else…

      P.

      • This reply was modified 1 year ago by PPC.
      • This reply was modified 1 year ago by PPC.
      • This reply was modified 1 year ago by PPC.
      #81147
      Member
      subluminal
        Helpful
        Up
        0
        ::

        @PPC Thanks a lot !! I like rofi still. Also I’m using this as a shell script.

        rofi -show combi -combi-modes "window,run,drun,file-browser" -modes combi -theme Arc-Dark

        I am using Arc-Dark GTK theme system-wide so everything looks consistent with rofi.

        Using Super+r key for icewm to launch rofi. Unfortunately, firefox, geany and zzzfm keys for icewm don’t seem to work. Don’t know why. 🙁

        Used the .desktop file that you posted and slightly modified it for my needs. Thanks again.

        ‘pt’ – portuguese or brazilian portuguese? I’m from India. 😀

        • This reply was modified 1 year ago by subluminal.
        • This reply was modified 1 year ago by subluminal.
        #81152
        Member
        PPC
          Helpful
          Up
          0
          ::

          @subluminal – I’m from Portugal! The language code for Brazilian Portuguese is pt_BR – many expressions particularly related to computers are different, between both forms of the language – For example- “Application” in pt is “Aplicação”, in pt_BR it’s “Aplicativo”. As a side note, most people from Portugal understand people from Brazil perfectly (except for some truly strange -for us, at least- expressions- for example- many times people from Brazil use the word “meia”( short for “meia-dúzia” -half a dozen- as “six”… You can see how confused I got when a brazilian women told me she was looking for the door with the number “eight and half”- It looked that she came straight out of some Harry Potter novel)… Most of the time, people from Brazil look at us like we are speaking in a completely alien language…

          Edit: Marcelocripe, that is from Brazil, has been adapting FT10 to pt_BR almost from the start – sometimes we disagree on the correct localization, mainly because Marcelo thinks that users don’t need simple buttons, but buttons that display a kind of user’s manual, instead of a short sentence… We have had some “headbutts” because we are both very set on our ways… 🙂

          Since you just started using FT10 you don’t know, but, in it’s first versions, FT10 used rofi as an application finder/launcher and as a fast file finder (it’s insanely fast, when used with the “locate” command). Since app-select comes out of the box with antiX, Xecure (that played a very important role in building the initial deb package) convinced me to rely on it as a default way to find applications (to be added to the toolbar, to the Menu favourites, and now to the Tiles). the only downside that app-select has, when compared with rofi is that, on slow devices, it may take some seconds to load…

          On your problems using shortcut keys to launch firefox and other apps, you should really create a new thread, explain every detail of the problem and see if someone can help you with it.

          P.

          • This reply was modified 1 year ago by PPC.
          #81169
          Member
          marcelocripe
            Helpful
            Up
            0
            ::

            Final considerations:
            FT10 is nothing revolutionary, but it can make using antiX easier, something that can be easily adapted to you, instead of you having to adapt to a new OS quirks… that applies even if you are not new to antiX, but still find it sometimes hard to use or think that it could use a different UI.

            I still disagree with you, PPC. The FT10 is a revolution for antiX and makes it easier for new users to use antiX.

            Edit: Marcelocripe, that is from Brazil, has been adapting FT10 to pt_BR almost from the start – sometimes we disagree on the correct localization, mainly because Marcelo thinks that users don’t need simple buttons, but buttons that display a kind of user’s manual, instead of a short sentence… We have had some “headbutts” because we are both very set on our ways…

            The texts need to be obvious enough that most people can understand them in their native language without having to search forums or the internet for what it really is or what it really should say. A good example of this is the user, I imagine a native of the English language, reading “antix autoremove” and understanding that it is to “remove antiX from the computer”, if in fact it is to do the “Automatic Cleanup of antiX” by uninstalling the packages that became unnecessary after the antiX update. In my opinion, all texts need to be understandable by anyone, from a 10-year-old child to my grandmother (here in Brazil there are more than 212 million speakers of the pt_BR language, in each city there could be a pt_BR_ Acronym of the Name do Estado _ Acronym of the City Name, there are many variants of the language pt_BR). A user does not need to be a technical expert or a soothsayer to be able to understand computer programs. One has to read and understand easily, so there won’t be more people saying that GNU/Linux is difficult.

            Subluminal, I’m glad you came to FT10, that means FT10 can be translated into your language if you want to volunteer in the translation program created by PPC. I extend this invitation also to antiX translations in the official Transifex and antiX contribs. Taking as an example “Name[pt]=Work Areas”, you can add another entry that contains the initial of the letters that identify your language where [pt] is, after the = sign, you type the text in your language . This text is the same text that will be displayed in the antiX menu.

            – – – – –

            Final considerations:
            FT10 is nothing revolutionary, but it can make using antiX easier, something that can be easily adapted to you, instead of you having to adapt to a new OS quirks… that applies even if you are not new to antiX, but still find it sometimes hard to use or think that it could use a different UI.

            Continuo descordando de você, PPC. O FT10 é sim uma revolução para o antiX e torna muito mais fácil a utilização do antiX para os novos usuário.

            Edit: Marcelocripe, that is from Brazil, has been adapting FT10 to pt_BR almost from the start – sometimes we disagree on the correct localization, mainly because Marcelo thinks that users don’t need simple buttons, but buttons that display a kind of user’s manual, instead of a short sentence… We have had some “headbutts” because we are both very set on our ways…

            Os textos precisam ser óbvios o suficiente para que a maioria das pessoas possam compreender em seu idioma nativo sem ter que pesquisar em fóruns ou na internet o que aquilo realmente é ou o que aquilo realmente deveria dizer. Um bom exemplo disso é o usuário, imagino eu nativo do idioma Inglês ler “antix autoremove” e compreender que é para “remover o antiX do computador”, se na verdade é para fazer a “Limpeza Automática do antiX” desinstalando os pacotes que se tornaram desnecessários após a atualização do antiX. Na minha opinião, todos os textos precisam ser compreensíveis por qualquer pessoa, desde uma criança de 10 anos até a minha avó (aqui no Brasil existem mais de 212 milhões de falantes do idioma pt_BR, em cada Cidade poderia existir um idioma pt_BR_ Sigla do Nome do Estado _ Sigla do Nome da Cidade, são muitas variantes do idioma pt_BR). Um usuário não precisa ser técnico especialista ou ser um adivinho para poder compreender os programas de computador. A pessoa tem que ler e compreender facilmente, assim não haverá mais pessoas dizendo que o GNU/Linux é difícil.

            Subluminal, eu fico contente que você veio para o FT10, isso significa que o FT10 poderá ser traduzido para o seu idioma, se você quiser ser um voluntário na tradução do programa criado pelo PPC. Eu estendo este convite também as traduções do antiX no Transifex oficial e no contribs do antiX. Tomando como exemplo “Name[pt]=Áreas de Trabalho”, você pode acrescentar uma outra entrada que contenha a inicial das letras que identificam o seu idioma onde está [pt], depois do sinal de =, você digita em seu idioma o texto. Este texto é o mesmo texto que será exibido no menu do antiX.

            #81170
            Moderator
            Brian Masinick
              Helpful
              Up
              0
              ::

              Regarding the use of the term “autoremove”, in conjunction with antiX, this can be misconstrued as “This is the tool to automatically remove antiX from the system”. What it ACTUALLY does is autoremove any stale, unused, but not removed, dependent packages, typically library packages that have either been replaced by another package, or when a person removes a group of packages that depend on other packages, when there are NO remaining packages that depend on it, autoremove will then remove those packages.

              Clean and autoclean are two additional apt related options; in their case, they clean and clear the package cache, which sometimes consumes quite a bit of otherwise unused disk space.

              --
              Brian Masinick

              #81185
              Member
              PPC
                Helpful
                Up
                0
                ::

                Different CPU families need different code

                You are correct, Moddit… One way to get the CPU temperature on most of the systems would be something like this:

                sensors | grep "°"|head -n 1 |cut -d: -f2 | sed 's/ //g'|cut -d'(' -f1

                But I only tested this code in one computer…

                Explanation: run the “sensors” command, display only lines that have the “°” (using grep), and show only the first line (using your head 🙂 ), show only what’s after the first “:” character (the first cut command), remove all spaces (the sed command) and show only what’s before the first “(” character (the second cut command)

                I always find amazing the level of automatization one short line in the terminal can perform… I know the terminal should not be mandatory for users, but using it can simplify one’s life a lot…

                P.

                #81232
                Member
                PPC
                  Helpful
                  Up
                  0
                  ::

                  For any user that wants to have a taskswitcher window (but without having to install rofi), here’s a tiny yad script that does just that (and that will be included, with the respective .desktop file, a future FT10 version)

                  available_options=$(wmctrl -d)
                  window_title="Workspaces"
                  window_icon="/usr/share/icons/papirus-antix/48x48/apps/workspace-switcher.png"
                  selection=$( echo "$available_options" | yad --title="$window_title" \
                  --text="" \
                  --borders=10 \
                  --listen \
                  --no-markup \
                  --width=500 \
                  --height=300 \
                  --center \
                  --window-icon=$window_icon \
                  --list \
                  --column="":text \
                  --button="X":1 )
                  workspace=$(echo $selection|cut -d' ' -f1) && wmctrl -s$workspace

                  Edit: this yad script is so flexible that it can be used as a kind of replacement for rofi, if all you want to use for is as a GUI to select between several options provided by the output of a command – simply change the contents of the command run in the “available_options” variable (it may require some tinkering with grep/sed/head/cut to display only the relevant lines). Change the contents of the window_title and window_variable to what you want, and Presto, a GUI for almost any kind of selection with almost no work at all!

                  • This reply was modified 1 year ago by PPC.
                  • This reply was modified 1 year ago by PPC.
                  #81876
                  Member
                  PPC
                    Helpful
                    Up
                    0
                    ::

                    @Everyone – I forgot to post the usual warning that FT10 version 1.4.10 is available from the Repository, so there is no need to manually download and install the .deb package available in gitlab.

                    TIP: users want to have extra functionalities in zzzfm (like Trash Can/Recycle Bin, Recent Files,Network Shares and easy access to already configured Cloud Drives), that script is available in the ft10-transformation package, without any need to alter antiX’s default interface – just install ft10 and run the script f10-fm-config.sh

                    #82206
                    Anonymous
                      Helpful
                      Up
                      0
                      ::

                      @PPC,

                      Did not know where else ask this, but on the Ft-10 translations, are
                      the “-” and “_” in the names in the correct places? The words are translated correct.
                      I am currently asking on ft10 clock on transifex?

                      #82209
                      Member
                      PPC
                        Helpful
                        Up
                        0
                        ::

                        @linuxdaddy – as far as I know, the translations available in transifex may be outdated- I’ll have to prepare and send the current ones to Robin- but I’ve been busy in my real life – I’ll try to do that as soon as possible!
                        the languages already supported in Ft10 (pt, pt-br, it, es, fr, de) I have no reports of problems with the localizations (but I’m almost 100% certain that the German localization is very flawed- it’s mostly made by on-line translation services, even if i try to double check, doing on-line searches for the localized expressions)

                        P.

                        #85809
                        Moderator
                        BobC
                          Helpful
                          Up
                          0
                          ::

                          I found that access-cloud was installed as part of FT10, and I’m guessing that rclone was installed as part of FT10. The FT10 thread is already very long, but I guess people that might know the answers here might be subscribed to it.

                          I see that Google Drive is there on my list of Access Cloud Storage drives. I tried to configure it, and got messages from google saying that I had granted rclone access, but to be honest, I ended up taking defaults because I didn’t understand the questions in many cases. I don’t have anything that needs to be secured there at the moment, but do I need to worry that others could access anything there via rclone without me knowing or authorizing it even if I haven’t granted public access?

                          When I double click it, zzzfm opens with in an empty /home/bobc/GoogleDrive-FT10 folder. I try the refresh button but it stays empty. I copy and paste a file to it, but it stays empty. The refresh button didn’t change anything. I found that if I create a folder PublicViewable and type the /home/bobc/GoogleDrive-FT10/PublicViewable into zzzfm, that DOES work and the files in that sub folder do appear!

                          When I look at my google drive from the browser, I see the file I pasted, so pasting it there did actually work.

                          I also see when I look via Midnight Commander, the files and folders are there. I can copy files there, too!

                          1. Do I have my zzzfm configured wrong, maybe? Can anyone suggest what I need to do to get the main folder files and folders visible in zzzfm?
                          2. What if I’m not connected to the internet at the time when I save a file to that folder? Will it upload the file next time I’m connected? This isn’t really a normal issue for me, but if I was traveling, it could be.

                          #85812
                          Moderator
                          BobC
                            Helpful
                            Up
                            0
                            ::

                            I think my problem is with my machine because I used it for testing FT10 and Access Cloud way back when it was being created. Google drive on zzzfm worked fine when I started from a clean flashdrive. Thanks PPC!

                            #85882
                            Member
                            PPC
                              Helpful
                              Up
                              0
                              ::

                              @BobC- Sorry for taking so long to reply – as far as I can tell, Gdrive still gets automatically configured when you click the option to do so on Access Cloud!
                              Since antiX 21 and 19 use different rclone versions, I do notice that the process in antiX 19 seems “smoother”- unfortunately there’s nothing I can do about it, since Access Cloud is merely a GUI for rclone 🙁

                              • This reply was modified 10 months ago by PPC.
                              • This reply was modified 10 months ago by PPC.
                              #85893
                              Moderator
                              BobC
                                Helpful
                                Up
                                0
                                ::

                                Thanks, PPC. I got it to work by purging FT10 and rclone, and then reinstalling zzzfm, and then installing the other two via FT10 setup. That fixed it.

                                #92292
                                Member
                                PPC
                                  Helpful
                                  Up
                                  0
                                  ::

                                  FT10 is not dead. Just because it’s so time consuming to develop it – and it seems not to have many users- since I made it so feature rich (and as bug free as I could make it), I’ve just played with some ideas, that could be included in a future version- as always, all input is welcome:

                                  -Include, in FT10’s zzzfm customizes setup, an option that allows users to launch an Appimage by left clicking it, just like a normal executable file (no need to change the file properties and then right click it and choose to execute it)
                                  -Eventually, including a script that extracts a .desktop file from an Appimage and makes the Appimage available from the menu, just like if it was installed like a regular .deb package
                                  -Basic installation and configuration of flatpaks, including also an already existing GUI that allows users to change fltapak permissions (in antiX, flatpaks, by default seem not to be able to access your home folder, so, you can’t use a flatpak to open or save any kind of file without changing it’s permissions first, making flatpaks very hard to use for the average user… Also I have to make a script to “install” the flatpak’s .desktops file to the regular folder, thus making flatpak applications available from the menu
                                  -Make available another Window Switcher, that allows to drag and drop windows between virtual workspaces (strangely the same app also works as a kind of dock and also app launcher- it’s like android’s home screen + app searcher + window switcher, all-in-one)
                                  -Make available Wallon’s icewm’s keybinding’s ( windows key + Up/Down/Left/Right) to snap windows to the corners of the screen…
                                  -Make available the option to press ctrl+alt+m and see a flashing circle around the mouse pointer (apparently it’s a thing in other OSes)
                                  -Make available Skidoo’s MX’s Package Installer, compiled for antiX- that includes the option to install any package from the debian repository, allowing access to almost all existing packages all in the same GUI ( reducing the need to use P.I. + synaptic to install applications).
                                  -Make available some IcewM themes (Light/Dark Windowz like themes and maybe a Apple like theme too)
                                  -Make some extra changes, like making it easier to change the Tiles from the Tiled Menu (that is very hard to do- I don’t want to get “burned” again messing with complex scripts)

                                  And yes: improve localization!!!

                                  Any thoughts on that? Any more ideas?

                                  P.

                                  • This reply was modified 6 months, 1 week ago by PPC.
                                Viewing 15 posts - 316 through 330 (of 411 total)
                                • You must be logged in to reply to this topic.