#VoidLinux refused to boot from #Ventoy. I dd’d it.

Feel free to block the hashtag if you don’t want to see more post of me kinda live (but turn-based) tinkering with Void on a real hardware.

#NotFullyLiveVoidPosting

Although this is clearly a UEFI system, I had to create an MBR with only one partition (no swap) to install. Otherwise I would get GRUB errors no matter what partitioning scheme I tried. 🤷

#NotFullyLiveVoidPosting

Aside: Logitech K240 is not a particularly comfortable combo, but it is a keyboard and a mouse that work with a dongle, no need for Bluetooth, which is not there yet, and is quite small, so it is convenient backup to have. Case in point: me doing this.

#NotFullyLiveVoidPosting

`sudo xbps-install -Su`

`sudo xbps-install dbus-elogind elogind polkit mesa-dri sway foot xorg-fonts`

`sudo ln -s /etc/sv/dbus /var/service/`

`sudo ln -s /etc/sv/polkitd /var/service/`

`sudo reboot`

Login, `sway`

The minimalist #Sway installation is done.

#NotFullyLiveVoidPosting

I don’t write everything I do, but I have reinstalled it a few times to try some things. The goal is to poke at it, you know :)

For example, I’m now on a version with a swap partition. I know there is a debate, and I don’t know enough to care one way or the other.

#NotFullyLiveVoidPosting

`sudo xbps-install wmenu clipman font-adobe-source-code-pro gdu btop micro fastfetch nushell syncthing`

`mkdir ~/.config/foot/`

`cp /etc/xdg/foot/foot.ini ~/.config/foot/foot.ini`

`micro ~/.config/foot/foot.ini`

Default shell: `shell=/usr/bin/nu`. It is possible to set #nushell as the login shell, but I would say it is unnecessary and on Void would require adding environment variables to `$nu.env-path` (https://github.com/nushell/nushell/issues/7941), which is annoying.

#NotFullyLiveVoidPosting

nushell doesnt inherit /etc/locale.conf when used as a login shell · Issue #7941 · nushell/nushell

Describe the bug I set nushell as my login shell and then found that ncmpcpp no longer displays UTF-8 characters. I tracked this down to the missing LANG environment variable that is supposed to be...

GitHub

`wmenu` just works.

`clipman` https://wiki.archlinux.org/title/Sway#Clipboard Not sure about that command, but clipboard works without it. Maybe it is for history and stuff?

Also, that’s your autostart: just `exec [command]` (`exec syncthing --no-browser`). Very simple. Pretty cool.

#NotFullyLiveVoidPosting

Sway - ArchWiki

`sudo micro /etc/default/libc-locales`

Uncomment some stuff.

`sudo xbps-reconfigure glibc-locales --force`

`sudo micro /etc/locale.conf`

Add/Change `LC_TIME=`. Reboot.

That way I can have English language for text and everything, but not have to stare at that AM/PM nonsense.

I am also very curious about the `xbps-reconfigure`. Seems like a very good idea for fixing problems, but that’s theoretical at this point.

#NotFullyLiveVoidPosting

Ok, I’m done for today, not sure when I’ll be in the mood to continue (it’s for fun first and foremost!). Tomorrow? Shrug. But here is a joke for you:

How minimalist is #VoidLinux? If you install a web browser, the number of packages doubles!

#NotFullyLiveVoidPosting

I fell into another hole. You see, there is no #OhMyPosh in #VoidLinux, only #StarshipPrompt. So I thought about it… And now I have styled my prompt in #Nushell itself, no other stuff necessary.

It doesn’t do anything fancy, just picks colors based on hostname and also shows status of a git directory. So 100% the same as my Oh My Posh config.

#NotFullyLiveVoidPosting

#Xfce flavor of #VoidLinux live image boots from #Ventoy fine. Peculiar.

#NotFullyLiveVoidPosting

Instead of installing a browser, I just downloaded an AppImage of Ungoogled Chromium. https://ungoogled-software.github.io/ungoogled-chromium-binaries/ It just needed the `nss` package (AFAIK there’s no easy way to find that out, just to look up the library it yells about).

Then I made my own KDE Connect. Well, not really: it’s just a couple of commands that save and load the clipboard (with `wl-clipboard`) into a file that is synced with Syncthing. Good enough for a minimalist setup I’m trying to achieve.

#NotFullyLiveVoidPosting

Downloads for ungoogled-chromium

Oops, broke my `fstab`: simple typo and I forgot to create a directory for the mount point. #Rescuezilla to the zilla!

BTW, one of the things I want to do with #NotFullyLiveVoidPosting is not ignore mistakes and frustrations. But I don’t want to be like “and then I spend half an hour staring at very unhelpful documentation” because it’s not that interesting, we all know that documentation is bad most of the time.

Screenshot! This was a bit annoying because I wanted to have a readable naming scheme. So now it is a script that gets the name of a focused window from `swaymsg` (main pain), then creates a sub-directory and then asks `grim` to take a screenshot and output it to that sub-directory.

I know you can use `grim` to take a screenshot of a specific window, but I think that would be overkill.

#NotFullyLiveVoidPosting

Everyone’s favorite thing under #Linux, setting up audio!

`sudo xbps-install pipewire`

`sudo mkdir -p /etc/pipewire/pipewire.conf.d`

`ln -s /usr/share/examples/wireplumber/10-wireplumber.conf /etc/pipewire/pipewire.conf.d/`

`ln -s /usr/share/examples/pipewire/20-pipewire-pulse.conf /etc/pipewire/pipewire.conf.d/`

`exec pipewire` → Sway’s config, reboot.

`wpctl status`

`wpctl set-default {sink ID}`

`wpctl set-volume {sink ID} 1` (not %, it goes to 1)

😰 It works.

#NotFullyLiveVoidPosting

@alsorew so easy even #linuxexperts can sometimes do it!