Want to join in? Respond to our weekly writing prompts, open to everyone.
Want to join in? Respond to our weekly writing prompts, open to everyone.
from
Turbulences
Un regard, un sourire, une hésitation ; Et l’humanité surgit, dans toutes ses dimensions.
Un éclat de lumière, un reflet, une tonalité ; Peuvent, à eux seuls, raviver la beauté.
C'est du soin porté au plus humble des êtres ; Que, demain, tout un monde pourra renaître.
Et s’il n’y a pas de petite profanation ; Il n’est pas non plus de petites réparations.
L'univers est une mosaïque inversée ; Chacun de ses fragments le contient tout entier.

from An Open Letter
I feel really Bummy. I wasn’t able to finish my Powerlifting workout today at the gym for the first time I can remember. Everything just hurts so badly, and I had spent three hours there basically just doing squats. I then spent the rest of the time does doom scrolling at home. I even doom scrolled in the shower before doom scrolling. I stayed up in bed and I just now checked my calendar and I realized I have to wake up an hour earlier than normal. I didn’t even read.
from Jours de J.

luisante encore de nuit sur les confettis du bitume entre les pavés notre ligne de vie
Photo © @Jess.Stetson@pixelfed.social
from
Schykle's Blog
Since I've started using Linux again, I've come back to some of my favorite tools for connecting and syncing all of my work across my devices. One of those tools is Syncthing, which is by far the best blend of simple and powerful when it comes to keeping everything copied over to the machines I need them on. Rather than installing Syncthing to the core system using rpm-ostree however, I've chosen to install Syncthing via Toolbox and create a systemd service which allows it to always run in the background, requiring no manual intervention between reboots and logins!

The first thing you'll need to do before you can configure the Syncthing service is get it properly installed via Toolbox! To do this, open up your terminal and proceed with the following command:
toolbox create -y && toolbox enter
After a quick download of the Toolbox image, you should be tossed into your container! From here, we're going to update its packages and install Syncthing. You can do so with the following command:
sudo dnf upgrade -y && sudo dnf install syncthing -y
You'll need to create a script somewhere that can be called to launch Syncthing. You can place this almost anywhere, but generally I think it's good to have a directory in your home folder that's just dedicated to your scripts. For me, it's ~/Scripts, but the where is genuinely up to personal preference (but my way is obviously the best way).
Inside this script, you'll need very little, just a shebang (#!) and one command. It should look as follows:
#!/bin/bash
toolbox run syncthing
Save this file wherever you please and call it something reasonable like syncthing.sh make sure it's executable! You can do this with chmod +x /path/to/syncthing.sh
The next step will be to create a systemd service file. We're going to create a user service, not a system service. This will be responsible for triggering the start of the Syncthing app we've just installed in Toolbox.
You'll need to create the systemd user service directory as it does not exist by default which you can do with the following command:
mkdir -p ~/.config/systemd/user
Inside of this folder, you'll create a service file (text file) named syncthing.service, which should contain something that looks like this:
[Unit]
Description=Start syncthing on login.
[Service]
Type=simple
ExecStart=/home/schykle/Scripts/syncthing.sh
[Install]
WantedBy=default.target
The only thing you should need to change is the path to your Syncthing script. Mine is /home/schykle/Scripts/syncthing.sh, but depending on where you've placed that file earlier, you'll just need to make sure you edit it to match.
Now that all the core components are in place, there's just one more thing to do... Turn it on!
To enable and start the service you've just created, you'll use the following command:
systemctl enable --now --user syncthing.service
This should simultaneously enable the service on your system as a user service as well as start it for your current session.
Syncthing should now be running. I'm no expert on advanced Syncthing configs, so I use the web UI for everything. It almost always runs at 127.0.0.1, but the port may vary. I find the easiest way to figure out which port it's at is to just run toolbox run syncthing in the terminal and see what it spits out at you. For me, it's 127.0.0.1:8384. Simply navigating to that address in the browser lets me access the web UI to configure connected devices, shared folders, etc.
Overall, it's a relatively simple process, but the benefit of doing it this way as opposed to just layering packages is that you reduce the complexity of your core OS. Syncthing isn't really an OS component, and the less you can have interacting with your package tree, the better. This reduces the possibility of dependency conflicts, speeds up the downloading and building of updates in the background, and allows you to keep things nice and tidy inside of a container, instead.
Thanks for reading! Keep calm and sync on!
Vince, if you're reading this, I haven't forgotten about shims! Shim sham! Shimmy!