Forum › Forums › antiX-development › Development › antiX-23.1-full-runit 64 bit for testers only
- This topic has 134 replies, 17 voices, and was last updated Dec 2-5:14 pm by Brian Masinick.
- AuthorPosts
- November 16, 2023 at 10:00 pm #123765Moderator
Brian Masinick
::For what it’s worth, I have this really simple Bash script using xinput and it works beautifully;
just run it to disable the Touchpad by default when I have an attached USB mouse and enable
the Touchpad when no external mouse is connected. Moreover, I create an alias t to toggle
using this script; super fast and easy!#!/bin/bash # Touchpad.bash read TPdevice <<< $( xinput | sed -nre '/TouchPad|Touchpad/s/.*id=([0-9]*).*/\1/p' ) state=$( xinput list-props "$TPdevice" | grep "Device Enabled" | grep -o "[01]$" ) if [ "$state" -eq '1' ];then xinput --disable "$TPdevice" && notify-send -i emblem-nowrite "Touchpad" "Disabled" 2> /dev/null else xinput --enable "$TPdevice" && notify-send -i emblem-nowrite "Touchpad" "Enabled" 2> /dev/null fi
alias t='/home/masinick/bin/Touchpad.bash'
--
Brian MasinickNovember 17, 2023 at 7:31 am #123774MemberXunzi_23
::Regarding unusual issues with antiX 23.1 Beta
From an earlier post #122937
anticapitalista wrote: in #122934
@PPC – are you sure it is not the boot medium that is causing those issues?
I’m using a brand new usb thumbdrive, that was given to me, still sealed in the original package,Please all check USB sticks with F3 Read and Write before serious usage.
Fake sticks and fake capacity is an epidemic. If someone you do not know well gives you a stick and you
have any sensitive data to
protect smash it… We are seeing trojanized brand new sticks from well known outlets, same goes for
faked san disk 128 and 256 GB Sticks. Probably others not found yet.https://fight-flash-fraud.readthedocs.io/en/latest/index.html
November 17, 2023 at 9:56 am #123780MemberPPC
::@Xunzi_23 – I checked with a new iso and a different flash-drive – same pipewire problem on the desktop PC (easily solvable by turning it off and back on, but still annoying), and the usual login problem I have- only on that PC- with all final antiX isos that I tested (specific to this particular hardware only, for some unknown reason).
Since the login problem is present in the final version of antiX 19.X, 21/22 and 23, I’m used to it… and unfortunately some pipewire problems do happen (they had not yet happened on my hardware, and since it works fine in version 23.0, it should be something specific to 23.1). The real real showstopper was the touch-pad problem, on my netbook – that was completely solved by using the config file D.O. provided, adapting it to also configure the scrollbar (that last part was a matter of personal taste- I find it much simpler to scroll using only one finger, on the part of the touch-pad marked for that end)@Brian Masinick – thanks for sharing that script – I’ll probably use it with shortcut keys, to quickly enable/disable the touch-pad (something similar would be a nice addition to antiX 23.1 by default- but I advise using yad warnings, that don’t depend on system notifications)
antiX 23.1, with the touch-pad config file runs almost like a dream, on my extremely underpowered netbook, even in live mode- I often say it runs faster that way than when installed to hard drive. On this single core/1Gb of shared RAM device, very slow hard drive – if use pure IceWM (without desktop icons, the way I like it), turn off the keyboard language indicator in the system tray and volume icon, antiX 23.1 stays well below 200MB of idle RAM. On my netbook and laptop, that have only 1Gb of RAM, I usually don’t use volumeicon, I have a quick-launcher to manage the volume, on my toolbar, thus saving a few MB of idle RAM
Changes I noticed in antiX 23.1:
– The usb ejector localization is working fine once again
– The pipewire toggle button is shown in Control Centre, in the Hardware section – making it easy to find for users that follow the logical path of, when facing sound problems, go to the OS Configuration Panel and check the Hardware options for stuff related to audio…
– The new calendar, that allows users to input and see events is silently present – a very tiny touch, most people won’t ever use, but I like that anti included – if something has a feature, that does not use extra system resources, why not enable it?
– I noticed no change, related to the Kernel, but I don’t always jot down system resource values, so I have no way to compare those.
– IceWM Control Centre is in it’s latest version, and has a quick launcher on the IceWM toolbar – great for making new users notice they have that GUI tool, something that’s default in D.E.’s, also in IceWM, that’s just a Window Manager… but some user may consider that the quick launcher section of IceWM’s toolbar is getting too bloated…
– The newest version of antiX Updater comes out of the box – tiny change, that just “disguises” the Terminal that’s displayed when users choose the “automatic” update process, so most newbies probably don’t even notice that they are really using the terminal to update their system – sneaky like a ninja, and efficient.Future improvements/additions:
There are probably some other changes coming to the final 23.1 version. One of them, anticapitalista already told us, is including “Finder” – yes, another search application, more “bloat”, since we already have searchmonkey and zzzfm file search, right? Well, this is meant as a global file search/app launcher – extremely easy to use- just type what you want to fine and then click what type of search you want to perform: file search, app search, web search – in a few moments the results will pop up. The web search does not require a browser (great for extremely old pcs), but, when run for the first time, will ask users to autorize it to download and install the tiny required dependency, ddgr, if it’s not already present (I have no idea if anticapitalista will add that 40kb package to antiX 23.1 by default). This “Universal search” is, of course, not as powerful in finding and managing apps as app-select – but it’s not meant to be. All it does is search for apps that have .desktop files (like app-select does) but also find, and allow users to run, command line apps (like top) or GUI apps without .desktop files (antiX already includes xcalc and xeyes, and probably most users don’t even know those apps). If no match is found for the queried app, the script searches the repo and if a match is found, warns users that they can install the related package (ex: like gimp, kdenlive, vlc, etc).
EDIT: I also hope that the easier to use and better looking antiX AdBlocker will be adopted by anticapitalista – it now looks and acts like a modern, fully localizable tool, while the very efficient “engine” remains untouched. I just posted a new version of that script, that solves I bug by fat fingers created on my version of the script…Suggestions:
EDIT2: I suggest, if possible, including the new GUI script that mounts network shared drives in the “Network” part of Control Center
I recall making some suggestions for antiX 23, specially about fluxbox default settings (there’s probably a commit about that waiting in antiX’s git, maybe?) and enabling, in the keys file, the IceWM shortcut key that toggles displays (great for laptops connected to external monitors) it’s a tiny great inovation, that I use a lot when I connect my netbook to my tv!P.
- This reply was modified 2 weeks, 1 day ago by PPC.
- This reply was modified 2 weeks, 1 day ago by PPC.
- This reply was modified 2 weeks, 1 day ago by PPC.
November 17, 2023 at 8:47 pm #123827Forum Adminanticapitalista
::@PPC says
The real real showstopper was the touch-pad problem, on my netbook – that was completely solved by using the config file D.O. provided, adapting it to also configure the scrollbar (that last part was a matter of personal taste- I find it much simpler to scroll using only one finger, on the part of the touch-pad marked for that end)
Where are the scrollbar changes?
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
November 17, 2023 at 8:50 pm #123829Forum Adminanticapitalista
::I will remove searchmonkey from antiX-full.
@PPC – You will have to give more details and links about EDIT2
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
November 20, 2023 at 10:08 am #123982MemberPPC
::@anticapitalista – I did, several weeks ago, some commits over at https://gitlab.com/antiX-Linux/desktop-defaults-icewm/-/merge_requests (Update keys – enable switchkey “Super+p” icewm-menu-xrandr by default (it was commented) ; Update keys – allow only one instance of app-select being called from the keyboard shortcut; Update preferences – allow only once instance of lxtask and exit-session)
My fluxbox’s suggestion is also an old commit, over at https://gitlab.com/antiX-Linux/desktop-defaults-fluxbox/-/merge_requests : Update init – edited menu and unfocused windows alpha, so they are easier to see…On the touch-pad config figuration file (suggested by D.O.)- the line I added to it is in one of my previous posts, on this very Thread: please note one thing: this seems to force to always use the “scroll” part of the touch-pad- I like that, since my touch-pad has that feature. I’m unsure how that will work on more modern touch-pads that use only 2 finger gestures to scroll vertically and horizontally!!!)
P.
November 20, 2023 at 10:28 am #123987MemberPPC
::@anticapitalista – On removing searchmonkey: as always, in everything antiX related, you have the final say, but please notice this:
Finder does allow to find files/folders, applications and even performs web searches (my own private version even includes querying chatgpt, via tgpt)… but it have some restrictions…
1- Finder only searches files/folders (by name) only inside the home folder, to increase speed (and that’s where most people store most of their documents and personal files, right?).
2- This means that Finder, unlike Searchmonkey, can’t look inside other partitions, other disks, external drives, cds, dvds, flash-drives, etc
3- Searchmonkey allows to search for text inside documents (.txt, .doc, docx, pdf, etc)- that’s not something most people need every day, but it’s very useful, on some occasions (it saved me lots and lots of time)Having zzzfm file search does allow to look for files/folders anywhere, so having Finder + zzzfm would allow users to search, by file/folder name, anywhere on their system- Finder is simpler to user, because, when using zzzfm file search, users have to state where they want to perform the search.
Searchmonkey, if removed from antiX, in my opinion is such a good search app that should be always available in Package Installer.Main good points of having Finder as “main” search app:
– It’s easy to use, does not require using wildcards- just type and press enter, to find anything inside your user’s home folder
– It stores the current file search results in a temporary text file, that users can save.
– It works like the search functionality on the most used OSes in the world, so new users won’t really miss much from their old OS, since they can search, almost anything…
– It’s not always running on the background, so it only uses system resources when a search is being performed or the results being read. It was thought, from the ground up, to run from IceWM’s toolbar, or to be called from a shortcut key- always ready, without always using system resources
– If the user use clicks in the “Search App” button, without entering any search term, it acts almost like an “All categories menu” (that antiX, by default does not have- the next best thing to that is, of course, opening app-select)
– Users can perform quick web searches without using a browser (ideal for very slow computers that don’t handle modern web browsers well)P.
November 20, 2023 at 10:36 am #123988Forum Adminanticapitalista
::Having 3 ‘finder/search’ apps is bloat.
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
November 20, 2023 at 10:58 am #123990MemberPPC
::Having 3 ‘finder/search’ apps is bloat.
I fully agree!… I may add that having our very own search application does differentiate antiX from most other OSes… And Finder can be localized (Searchmonkey is not localized in that many languages, as far as I know, it’s in English and French, not sure if it’s officially in any other language- I manually created a localization for it in pt…).
I was just commenting that Searchmonkey has some very nice features- although most people don’t ever use a search app, and most that do, simply try to find a find by it’s name (and usually inside the home folder).
EDIT: I’m thinking about a future version of Finder that, may ask users where to search (just like zzzfm, but always having Home selected by default- note that I probably won’t change the script anytime soon, I’m too tired from scripts and too busy for that, currently). Also, if File search comes up empty, Finder may display a message suggesting try using zzzfm file search (and a button that runs “zzzfm -f /” for a system wide search- that would be almost trivial to implement, but requires users to retype the search term…Since antiX 23 uses antiX-viewer to access the html help files, are you, by any chance, considering removing Dillo too? (I find links2 superior, but I remember reading a post here that mentioned something about Dillo working better for one particular use).
I fully agree with how antiX apps are chosen: if possible, a CLI option and a GUI option (if available, sometimes, a light GUI option and a more fully featured GUI option). That covers any possible use case. I made a recent post about how great this “policy” is, even if, on some occasions, people complain about it- I read some articles about antiX, over the years, where the reviewer complained about the “bloat”, asking why so many apps – the reason is clear, in my mind – low powered pc’s can use the cli or the light GUI apps, more modern pc’s can use the more current GUI – I can use antiX on a 32bits laptop and on a 8Gb, dual core desktop thanks to that feature!P.
- This reply was modified 1 week, 5 days ago by PPC.
- This reply was modified 1 week, 4 days ago by PPC.
November 20, 2023 at 6:16 pm #124026Membermarcelocripe
::(Searchmonkey is not localized in that many languages, as far as I know, it’s in English and French, not sure if it’s officially in any other language- I manually created a localization for it in pt…)
SearchMonkey could have already received all of our translations if Cottrela wanted to use them. It’s not for lack of trying on my part. I tried submitting merge requests at https://salsa.debian.org/debian/searchmonkey and https://sourceforge.net/p/searchmonkey/GTK/ci/master/tree/po/. I asked in this thread https://sourceforge.net/p/searchmonkey/feature-requests/26/ to use our “.po” and “searchmonkey.desktop” files.
All attempts to merge SearchMonkey translations have failed and there is no developer responding to emails.
If SearchMonkey is updated, our translations will certainly be lost, if the developer still doesn’t want to use our translations, all the work will be lost. Which is a shame for GNU/Linux and antiX.
– – – – –
(Searchmonkey is not localized in that many languages, as far as I know, it’s in English and French, not sure if it’s officially in any other language- I manually created a localization for it in pt…)
O SearchMonkey já poderia ter recebido todas as nossas traduções, se o Cottrela quisesse utilizá-las. Não é por falta de tentativas minhas. Eu tentei enviar os pedidos de mesclagem no (o endereço de URl está no texto em inglês) e no (o endereço de URl está no texto em inglês). Eu pedi neste tópico https://sourceforge.net/p/searchmonkey/feature-requests/26/ para utilizarem os nossos arquivos “.po” e o “searchmonkey.desktop”.
Todas as tentativas de mesclar as traduções do SearchMonkey falharam e nenhum desenvolvedor respondeu aos e-mails.
(o endereço de URl está no texto em inglês)Se o SearchMonkey for atualizado, certamente as nossas traduções serão perdidas, caso o desenvolvedor continue não querendo utilizar as nossas traduções todo o trabalho será perdido. O que é um pena para o GNU/Linux e para o antiX.
November 20, 2023 at 6:48 pm #124028MemberPPC
::@anticapitalista: we can go the easier way and have Finder search for files in a system wide way.
On it’s script, on the “file finder” function, simply replace the linefind $HOME -iname "*$file*" > /tmp/find.txt
for
find / -iname "*$file*" > /tmp/find.txt
This does increase the search time (from a tiny bit to a veryyy long time, depending on what the search term is), but does search the entire tree…
I leave the decision up to you: a faster search for user documents inside the home folder or a slower search, for any file on the computer?A third option is to keep just the search inside the home folder, but adding a search inside “/media”, that I think should allow users to also search removable drives:
find /media -iname "*$file*" >> /tmp/find.txt
If you decide for any of these options, I can tweak the script…
I’m prone to add the /media search- my original conception for Finder is that it should be a quick way for users to use their documents (that are usually stored on the home folder, but, of course, can also be on external devices)
Note: if users are using antiX cloud, their cloud drives are mounted inside their Home folder, so Finder does, in fact, also search inside mounted cloud drives! I think I never commented on that before… (but it’s an extremely slow process)EDIT: sorry, I’m not really sure if I should have posted this proposal here or on Finder’s Thread, I choose here because it’s where I learned that Finder will “replace” Searchmonkey on antiX 23.1…
P.
- This reply was modified 1 week, 4 days ago by PPC.
- This reply was modified 1 week, 4 days ago by PPC.
- This reply was modified 1 week, 4 days ago by PPC.
November 20, 2023 at 7:37 pm #124045Forum Adminanticapitalista
::@PPC you are more likely to get better feedback to your last post in the finder thread.
I’ll never use it so my feedback is pointless.Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
November 20, 2023 at 8:18 pm #124048Memberile
::Finder file search
is this possible?
cd to the search here location, then use . and ./, find . ./ to search “here”, the cd here.
Will that put the command variable into cd here, instead of a varied find . (/*there) ?November 20, 2023 at 9:17 pm #124051ModeratorBrian Masinick
::Do you guys realize that you can use any reasonable Web Browser to search –
use file:/// to start at / or file:///home to start at /homeYou can also use the command line tool find, the syntax
is not that difficult, and even if you don’t know it,
how about reading some documentation and learn about it?
(You do not HAVE to do this, but it’s a powerful tool
and you are missing out if you do not try it) –https://www.geeksforgeeks.org/find-command-in-linux-with-examples/#
https://man7.org/linux/man-pages/man1/find.1.htmlThere you go; TWO viable ways to search without
writing any new code!--
Brian MasinickNovember 20, 2023 at 9:21 pm #124052ModeratorBrian Masinick
::More links
https://stackoverflow.com/questions/65784073/using-bash-generating-arguements-for-the-linux-find-command-by-a-for-loop-caus
https://www.tecmint.com/35-practical-examples-of-linux-find-command/
https://www.howtogeek.com/771399/how-to-use-the-find-command-in-linux/
https://www.baeldung.com/linux/find-commandPlenty of documentation and examples; your choice
whether to choose to read it or not;
I’ve at least given you several possible
things to look at; you’re free to ignore
them, especially if you know all of this already.--
Brian Masinick - AuthorPosts
- You must be logged in to reply to this topic.