Forum › Forums › antiX-development › Development › antiX-23-alpha1-runit-full (64bit) for testing
Tagged: <!-- comment
- This topic has 436 replies, 24 voices, and was last updated Mar 21-8:50 pm by Brian Masinick.
-
AuthorPosts
-
February 8, 2023 at 9:31 pm #99236Member
olsztyn
::Yes, no difference in sound I can hear.Unfortunately bluetooth is a problem with alsa only.
I first tried bluez-alsa-utils.But the way I understand it it is missing runit service files.
Would prefer it but couldn’t get it to work.I did not expect any difference in sound, at least not better than from alsa directly. My understanding is (I may be wrong, of cource) that pipewire serves the role of routing sound from any input to any output, the way pulseaudio was. I am not an expert but one design issue I see is that it is trying to be too general purpose, hence many separate components, plug-ins, etc, on the way. I see runtime modules in antiX initial startup processes almost doubled! Perhaps pulseaudio was (reportedly) exhibiting some latency as measured by instruments. How with so many components on the way pipewire is not expected any latency?
I believe that pulseaudio might beon the way out, replaced by pipewire just for sound routing, I do not think sound latency of microsecond makes a big difference to my ear, but I do not like architecture so fragmented into so many component, almost like a showcase of complexity, often seen in Linux world.
Just to serve a role of sound input/output switcher both pulseaudio and pipewire seem a huge overkill…
Just if there was a good and simple way of routing to bluetooth output from alsa, such significant overhead would not be necessary for most users…- This reply was modified 3 months ago by olsztyn.
- This reply was modified 3 months ago by olsztyn.
Live antiX Boot Options (Previously posted by Xecure):
https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_ParametersFebruary 8, 2023 at 10:08 pm #99243Moderator
Brian Masinick
::Regarding the use of Bluetooth headphones, my problem is NOT getting adequate sound. I can achieve that by plugging my audio device in and using apulse to send audio from my browser to the output device.
The problem I have is after turning on Bluetooth I am rarely able to connect with my Soundcore headphones.
Since they DO work when I plug them in the issue is Bluetooth support, not audio capability.
This is not unique to antiX or the Alpha release but it’s very common with Debian based systems and a general problem with many Linux distributions.
I’m pretty sure it’s not universal though because I know Bluetooth works on my phone and I am fairly certain it also works on my Chromebook systems I’ve used over the past 10-12 years too.
So this isn’t a flaw originating from antiX itself but it’s originating from our sources of Bluetooth features.
--
Brian MasinickFebruary 9, 2023 at 2:20 am #99251Memberstevesr0
::re: Bluetooth on alpha and antix in general.
I would be interested in trying a “new” headset or headphones or if there was one that was regarded as easily detected by “bluetooth manager”, paired well and was inexpensive (<$50).
stevesr0
February 9, 2023 at 10:48 am #99263MemberPPC
::Sorry, @anticapitalista and all…
I was too tired when I pasted the “final” proposal of the script to localize zzzfm bookmarks and new menu entries (I copy and pasted from the wrong file):
The real working version (or so I hope):
#!/bin/bash #Script to ensure that zzzFM has localized bookmarks #Strings of text (for easy localization) trash_label=$"Trash" trash_menu_entry=$"Sent to Trash" restore_menu_entry=$"Restore" #make sure that zzzfm is not running (yes, this makes desktop icons disapear, if using a zzz desktop #Generic variable(s) targetfile=~/.config/zzzfm/session #Localize Downloads Bookmark and path label=$(echo $XDG_DOWNLOAD_DIR| cut -d/ -f4) sed -i "s/cstm_6c99bdd2-label=.*/cstm_6c99bdd2-label=$label/g" $targetfile sed -i "s|cstm_6c99bdd2-z=.*|cstm_6c99bdd2-z=$HOME/$label|g" $targetfile #Localize Documents Bookmark and path label=$(echo $XDG_DOCUMENTS_DIR| cut -d/ -f4) sed -i "s/cstm_1f966a72-label=.*/cstm_1f966a72-label=$label/g" $targetfile sed -i "s|cstm_1f966a72-z=.*|cstm_1f966a72-z=$HOME/$label|g" $targetfile #Localize Pictures Bookmark and path label=$(echo $XDG_PICTURES_DIR| cut -d/ -f4) sed -i "s/cstm_23f8698b-label=.*/cstm_23f8698b-label=$label/g" $targetfile sed -i "s|cstm_23f8698b-z=.*|cstm_23f8698b-z=$HOME/$label|g" $targetfile #Localize Videos Bookmark and path label=$(echo $XDG_VIDEOS_DIR| cut -d/ -f4) sed -i "s/cstm_3be1d265-label=.*/cstm_3be1d265-label=$label/g" $targetfile sed -i "s|cstm_3be1d265-z=.*|cstm_3be1d265-z=$HOME/$label|g" $targetfile #Localize Trash related entries #Trash bookmark sed -i "s/cstm_3ca29516-label=.*/cstm_3ca29516-label=$trash_label/g" $targetfile #Send to Trash contextual menu entry sed -i "s/cstm_25a291d5-label=.*/cstm_25a291d5-label=$trash_menu_entry/g" $targetfile #Restore from Trash contextual menu entry sed -i "s/cstm_2b015761-label=.*/cstm_2b015761-label=$restore_menu_entry/g" $targetfile #localized Recent Files bookmark: #use geany's localization string, for now (our own localization can be added later, when creating the localization fils for the "addons" o zzzfm... export TEXTDOMAIN=geany; recents_label=$(echo "$(gettext "Recent _Files")") #remove any underscore recents_label=${recents_label//_/} #localize bookmark sed -i "s/cstm_0f7a0cea-label=.*/cstm_0f7a0cea-label=$recents_label/g" $targetfile #localize Home bookmark: TEXTDOMAINDIR=/usr/share/locale TEXTDOMAIN=zzzfm homie=$"Home" sed -i "s/cstm_2b7f3cb1-label=.*/cstm_2b7f3cb1-label=$homie/g" $targetfileNote:
I do not include in this script, the mini script that fixes compact/detailed mode toolbar icons – because there is no need to run that everytime zzzfm starts – you just need to run it once, on the template of zzzfm’s config file, to fix it.My appologies for my mistake – I was too eager to see zzzfm perfected.
PS: I’ll try to create and upload here a default zzzfm config file that has the “music” bookmark, the fix for the compact/detailed buttons and anything else that needs fixing…
P.
February 9, 2023 at 2:04 pm #99270Forum Admin
anticapitalista
::@PPC – yes that works. many thanks.
Her is a link to the latest desktop-defaults-zzzfm files so you can see the sessions file. Favourites Music is included in the sessions file, but for some reason it is not showing up in the zzzFM.
https://gitlab.com/antiX-Linux/desktop-defaults-zzzfm-antix
Are the compact and detailed view scripts needed?
What about the other one?Aim is to include the various new features, localisation (if possible) out of the box.
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
February 9, 2023 at 2:07 pm #99271Forum Admin
anticapitalista
::I forgot to ask.
Where does the trash.desktop go? The usual place ie /usr/share/applications?Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
February 9, 2023 at 2:41 pm #99273MemberPPC
::@anticapitalista – I’ll try to boot into v.23a1 live and check what’s the problem with the “music” folder…
If you apply the script that fixes the respective buttons, the compact and detailed view scripts are no longer needed (the buttons summon the keyboad shortcuts I created to activate each of those modes).
What other script are you referring to? If it’s zzzfm-recent.sh, it’s still required- unless you want to include it inside zzzfm’s config file (I can try doing that- I just had it as a separated script just to be able to alter it in the future, without having to edit zzzfm’s config file- because, as you can see, it’s not that simple…)
I suggest that the trash.desktop script should in fact be in the usual place.Note: since zzzfm now has a contextual menu entry to “restore” files in the Trash Can, do you think a new contextual menu entry should appear in the Trash folder, allowing users to empty it, or should I alter my proposed script (posted in the old antix-23 suggestions thread) so it’s window shows 2 buttons: “Access Trash Can contents” or “Empty Trash Can”
– there’s no need for a “Restore files” button on that script, now, since zzzfm already has that feature built into the config file… that way the “Trash” .desktop file can start that script, allowing the user to quickly do any of those tasks. Ideally, we can have the .desktop launch the script and also have the “Empty Trash Can” as a conditional contextual menu, that only shows up in the Trash Can folders… (I’ll try to fix that on the “Send to Trash” and “Restore” menu entries- making they appear just when they should)P.
February 9, 2023 at 4:06 pm #99282MemberPPC
::@anticapitalista – if the forum software lets me, I’ll attach a new “session” (zzzfm config file).
Changes:
– added Music bookmark, with correct icon
– fixed the “Compact” and “Detailed” toolbar icons – they no longer mess up desktop icons and no scripts are needed for them to work
– Contextual menus related to trash ( “Send to Trash” and “Restore) only show up when they should ( “Send to Trash” does not appear when in the Trash Folder and “Restore” only appears in the Trash Folder).- This was extensively tested, but please, do test it, to make sure I did not make any mistakes I did not notice…To do:
-Edit the script that localizes zzzfm so it localizes the new “Music” bookmark, and “Compact” and “Detailed” toolbar iconsP.
- This reply was modified 3 months ago by PPC.
Attachments:
February 9, 2023 at 4:25 pm #99285Forum Admin
anticapitalista
::@PPC – many thanks, I’ll test later.
I did notice that the Music entry appears twice.
The ‘orignal’ one somewhere in the middle of the file and a new one at the end, which points to /demo/home/Music rather than ~/MusicPhilosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
February 9, 2023 at 5:35 pm #99291MemberPPC
::@anticapitalista – I just searched for “Music” inside the session file and was stumped and I noticed there was, in fact, a previous “Music” entry, that was not displayed. The last entry was the one I created. I did not even try to remove the previous bad entry – I just let it stay there…
I edited the zzzfmlocalize script to localize the “Music” bookmark AND path, and the “Detailed/Compact” toolbar icons.
Note: running the script does prevent the problem that was reported recently, that clicking a bookmark opened it in a new tab (because the original config file has ~ on the path. The script uses the $HOME variable, that is replaced by /home/[user_name] inside the text of the config file, and avoids that…
The script requires a localization file to localize the Trash related entries (and handle the “Recent Files” without relaying on geany’s localization).
I readded, to the start of the file, the name of the localization resource.The code:
#!/bin/bash #Script to localize antiX Linux File Manager (zzzFM's) "add-ons": Common Bookmarks, Home Bookmark, Recent Files and Trash related entries, by PPC, 7/2/2023, GPL TEXTDOMAINDIR=/usr/share/locale TEXTDOMAIN=zzzfmlocalize ###NOTE: this is just an example, the dev team is free to choose trash_label=$"Trash" trash_menu_entry=$"Sent to Trash" restore_menu_entry=$"Restore" recents_label=$"Recent Files" #make sure that zzzfm is not running (yes, this makes desktop icons disapear, if using a zzz desktop #Generic variable(s) targetfile=~/.config/zzzfm/session #Localize Downloads Bookmark and path label=$(echo $XDG_DOWNLOAD_DIR| cut -d/ -f4) sed -i "s/cstm_6c99bdd2-label=.*/cstm_6c99bdd2-label=$label/g" $targetfile sed -i "s|cstm_6c99bdd2-z=.*|cstm_6c99bdd2-z=$HOME/$label|g" $targetfile #Localize Documents Bookmark and path label=$(echo $XDG_DOCUMENTS_DIR| cut -d/ -f4) sed -i "s/cstm_1f966a72-label=.*/cstm_1f966a72-label=$label/g" $targetfile sed -i "s|cstm_1f966a72-z=.*|cstm_1f966a72-z=$HOME/$label|g" $targetfile #Localize Pictures Bookmark and path label=$(echo $XDG_PICTURES_DIR| cut -d/ -f4) sed -i "s/cstm_23f8698b-label=.*/cstm_23f8698b-label=$label/g" $targetfile sed -i "s|cstm_23f8698b-z=.*|cstm_23f8698b-z=$HOME/$label|g" $targetfile #Localize Videos Bookmark and path label=$(echo $XDG_VIDEOS_DIR| cut -d/ -f4) sed -i "s/cstm_3be1d265-label=.*/cstm_3be1d265-label=$label/g" $targetfile sed -i "s|cstm_3be1d265-z=.*|cstm_3be1d265-z=$HOME/$label|g" $targetfile #Localize Music Bookmark and path label=$(echo $XDG_MUSIC_DIR| cut -d/ -f4) sed -i "s/cstm_1bd6d9d6-label=.*/cstm_1bd6d9d6-label=$label/g" $targetfile sed -i "s|cstm_1bd6d9d6-z=.*|cstm_1bd6d9d6-z=$HOME/$label|g" $targetfile #Localize Trash related entries #Trash bookmark sed -i "s/cstm_3ca29516-label=.*/cstm_3ca29516-label=$trash_label/g" $targetfile #Send to Trash contextual menu entry sed -i "s/cstm_25a291d5-label=.*/cstm_25a291d5-label=$trash_menu_entry/g" $targetfile #Restore from Trash contextual menu entry sed -i "s/cstm_2b015761-label=.*/cstm_2b015761-label=$restore_menu_entry/g" $targetfile #localized Recent Files bookmark: #use geany's localization string, for now (our own localization can be added later, when creating the localization fils for the "addons" o zzzfm... export TEXTDOMAIN=geany; recents_label=$(echo "$(gettext "Recent _Files")") #remove any underscore recents_label=${recents_label//_/} #localize bookmark sed -i "s/cstm_0f7a0cea-label=.*/cstm_0f7a0cea-label=$recents_label/g" $targetfile #Localize Home bookmark: TEXTDOMAINDIR=/usr/share/locale TEXTDOMAIN=zzzfm homie=$"Home" sed -i "s/cstm_2b7f3cb1-label=.*/cstm_2b7f3cb1-label=$homie/g" $targetfile #Localize Details/Compact view toolbar buttons: TEXTDOMAINDIR=/usr/share/locale TEXTDOMAIN=zzzfm label=$"_Detailed" sed -i "s/cstm_248656b5-label=.*/cstm_248656b5-label=$label/g" $targetfile TEXTDOMAINDIR=/usr/share/locale TEXTDOMAIN=zzzfm label=$"_Compact" sed -i "s/cstm_6c5d99cd-label=.*/cstm_6c5d99cd-label=$label/g" $targetfileFebruary 9, 2023 at 5:48 pm #99292MemberPPC
::While booting in live mode to test the changes, I realized that the F key that allows to change the language, presents a first empty option – that, it seems, is Arabaic. If it can’t display arabic characters, maybe just have it say “Arabic”?
P.
February 9, 2023 at 5:55 pm #99293Forum Admin
anticapitalista
::While booting in live mode to test the changes, I realized that the F key that allows to change the language, presents a first empty option – that, it seems, is Arabaic. If it can’t display arabic characters, maybe just have it say “Arabic”?
P.
It’s not empty – it does show Arabic
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
February 9, 2023 at 6:16 pm #99295MemberPPC
::It’s not empty – it does show Arabic
It’s just an empty line, on the top of the list of languages here when I boot live.- but I saved changes, so it always starts in pt-pt- I’m not sure if that matters…
It’s just a tiny detail I noticed because I clicked it, wanting to see it that allowed the Live system to boot in the default language- English. I ended up doing all my tests in US English (and then testing zzzfm’s localization script in pt-pt- I assume that it works the same across all supported languages).P.
February 9, 2023 at 6:38 pm #99296MemberPPC
::Good news! I found “_Restore” is already a localized string in zzzfm – I can use that resource, and localize that word in the contextual menu entry that restores files from the Trash/recycle bin… I’ve have to test that later.
- This reply was modified 3 months ago by PPC.
February 9, 2023 at 10:08 pm #99303MemberPPC
::@anticapitalista: I just tested, adding this to the end of zzzfm localization script localizes “Restore” (from the Trash Can)
#Localize "Restore" (from the Trash Can) menu entry: TEXTDOMAINDIR=/usr/share/locale TEXTDOMAIN=zzzfm restore=$"_Restore" sed -i "s/cstm_2b015761-label=.*/cstm_2b015761-label=$restore/g" $targetfileIf you like this idea, you can add this lines to the script (and delete the restore_menu_entry=$”Restore” line, from the start of the script (that is irrelevant).
Edit: this assume that zzzfm is well localized in the supported languages (I know it is in pt and pt_BR)
P.
- This reply was modified 3 months ago by PPC.
-
AuthorPosts
- You must be logged in to reply to this topic.