I also found this, It’s for a RaspberryPi but surely can be adapted:
https://gist.github.com/seffs/2395ca640d6d8d8228a19a9995418211
I also found this, It’s for a RaspberryPi but surely can be adapted:
https://gist.github.com/seffs/2395ca640d6d8d8228a19a9995418211
You can look at the source of the snap and check what it does
I don’t have any experience with your exact question.
But I would look into xinit and try if you can start just mpv.
If this doesn’t work look for a slim WM and configer it that the applications are displayed in fullscreen and launch mpv after the WM.
Probably any of the tiling window managers should work: https://wiki.archlinux.org/title/Window_manager
So many forks for something that can be solved entirely with bash inbuilts
My grandma has a house, where a part of it was built by the romans
+1 for nix, but I wouldn’t recommend it as a first distro
Squash me later
If you create an image of the disk in the current state from a live boot or an other machine. You can try fixing it without having to risk making things worse
You can use the find
command to do the stuff other commenters have posted recursive
Isn’t the second if condition false
?
Just mount it to a fixed location in /etc/fstab
, but use a mount option like nofail
or nobootwait
(quick search showed that this is the option for ubuntu users), so your machine still boots when the drive is not connected
Ackchyually humans have 10 fingers, indexed 0 to 9
I have a custom split keyboard (lily58) and use the neo special character layer as my lower layer
But only if you don’t look
Just use any distro you like and install the packages you need. Done.
Sounds good,
but would the preferred way be to use a wrapper type, which holds either the data or the error and avoid exceptions completely?
I’m currently learning functional languages and have only limited knowledge, but from what I’ve read now you are right. Throwing exceptions is pure, but catching them is impure.
In this case I guess the printLine function can throw an exception therefore the calling function must be declared with Exception?
Yes, in functional programming you want to use pure functions. Exceptions are impure, therefore it has to be declared.
Other functional languages don’t even have exceptions
There are no imports, these are type annotations
Did the same in school on a Z80