• 2 Posts
  • 292 Comments
Joined 3 years ago
cake
Cake day: June 16th, 2023

help-circle

  • Yes you can do loads with your Raspberry Pi. Certainly you can install ARM based linux distros onto it, but with an older model you’re best using a Pi specific linux distro.

    The official Raspberry Pi OS is linux and is compatible with all Raspberry Pi models - there is a universal 32bit version and a 64bit version for newer models 3+.

    There is also Dietpi which tries to be more lightweight and optimised.

    You can image either distro onto an SD card and run it on the Pi. If you connect the pi to your network you can run it headless and access it via SSH on your PC.

    However, if you main aim is to learn and play with Linux, then it is worth considering alternatives. For example, you could install VirtualBox on your Windows PC, and create a virtual PC to run any X86 linux distro you’d like on it. That can include small systems with command line only or a full desktop environment of your choice. That would likely give you much higher performance and options than a 10 year old raspberry pi can offer.

    The Pi is good if you want an always on server device to play with Linux on. The Virtual machine route is good if you want a more powerful system to play with occasionally when you feel like it.


  • So bizarrely the best experience is to self host and pirate. That’s what you get when the entire entertainment industry is hostile to consumers.

    When Netflix first became big, it was popular because it was a one-stop shop for almost all your content. It was like a big library of content in one place, you pay a reasonable monthly fee and it’s all there. Piracy dipped as a result.

    Now all the content is fragmented into numerous walled gardens you have to pay separate fees to access. People can only consume the same amount but now they have to pay 4 or 5 fees as the content is spread out.

    Unsurprisingly piracy is booming again.



  • I’ve tried Arch - it allows you to make a system that is exactly what you want. So no bloat installing stuff you never need or use. It also gives you absolute control.

    On other distros like Fedora, you get a pre configured system set up for a wide range of users. You can reduce down the packages somewhat but you will often have core stuff installed that is more than you’ll need as it caters to everyone.

    Arch allows you to build it yourself, and only install exactly the things you actually want, and configure then exactly how you want.

    Also you learn an awful lot about Linux building your system in this way.

    I liked building an arch system in a virtual machine, but I don’t think I could commit to maintaining an arch install on my host. I’m happy to trade bloat for a “standard” experience that means I can get generic support. The more unique your system the more unique your problems can be I think. But I can see the appeal of arch - “I made this” is a powerful feeling.



    • OS - - > Linux OpenSuSE with KDE

    • YouTube - - > Freetube - opensource, private YouTube client for Linux, MacOS and Windows

    • Downloading music/videos --> yt-dlp

    • Downloading videos/images --> gallery-dl

    • Email - - > Thunderbird (really moved forward in last few years)

    • Notes - - > Joplin

    Selfhosting (mine is on raspberry pi) :

    • Streaming library - Jellyfin

    • Photo library - imich

    • Downloads - qbittorrent, prowlaar, radaar, sonaar, lazy librarian in a docker stack with VPN

    • smart home - Homeassistant

    • filesync - - > Syncthing (I don’t have problems with long file names - maybe a Windows issue or Linux FS? I use EXT4 on all my devices and don’t use Windows anymore)


  • BananaTrifleViolin@lemmy.worldtoLinux@lemmy.mlTimeshift
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    2 months ago

    Looking at your error it’s because Rsync is erroring.

    I’d starr by testing Rsync with an individual text file saving to /dev/dm-0 and see what error is returned.

    Timeshift is good but it basically is just a tool to use Rsync to save a copy of your system folders (or other folders if you wish).

    Rsync needs to be able to read the source and write to the destination, so I’d start with testing that Rsync is able to do that.

    Given you’re using an encrypted partition it’s possible you’re trying to read/write to the wrong locations. You’ve provided device UUIDs but you’d probably actually need to be backing up the mounted decrypted locations? I.e. the root file system / will actually be a mounted location in your Linux set up, probably under /run, with symlinka pointing to it for all the different system folder. Similar for /home/ if you want to back up personal files.

    The device UUID would point to the filesystem containing the encrypted file (managed by LUKS) which will have very limited read/write permissions, rather than directly to the decryoted contents / or /home partitions as you’d expect in a normal system. In particular if /dev/dm-0 (looks to be an nvme drive) is an encrypted destination then really you also want to be pointing directly to it’s decrypted mounted location to write your files into, not the whole device.

    Edit: think of it like this, you don’t want to back up the encrypted container with Timeshift, you want to back up the decryoted contents (your filesystem) into amother location in your filesystem (encrypted or decrypted). If the destination is also an encrypted location you need to back up into its file system, not the device where the encrypted file sits. So use more specific filesystem paths not UUIDs. That would be something like /mnt/folder or /run/folder not /dev/anything as that’s hardware location, and not directly mounted in an encrypted filesystem unlike how it can be in a non-encryoted system.


  • 100% CPU use doesnt make sense. RAM would be the main constraint not the CPU. Worth looking into - maybe a bug or broken piece of software.

    Also the DE may he more the issue than the distro itself. You could install an even more lightweight desktop environment like Open box. Also worth checking whether youre using x11 or Wayland. Its easy to imagine Wayland has not been optimised or extensively tested on something like your device, and could. Easily be a random bug if the DE is pushing your CPU to 100%

    There are super lightweight distros like Puppy linux.


  • In terms of KDE dependencies, you’re talking basically about QT. The amount of packages you download shouldnt be too much and likely used for other QT programs which are common.

    However there is also GSconnect which is a Gnome extension and uses the KDE connect protocol.

    I would say that your concerns regarding the KDE Connect dependencies should be balanced against the good Android and iOS support, and the wide use of KDE connect means it is well maintained, supported and responsive to security updates. These considerations may outweigh the installation of packages that you otherwise won’t be using? It may be better to go mainstream and accept the dependencies than hunt down a lesser supported alternative and deal woth the associated shortcomings.


  • Interesting question, I’d imagine that one major limit would be the number of cores your CPU has available. Once you got to more VMs than cores, I’d guess things would quickly grind to a halt?

    But I wonder if you could even anywhere near to that point as on searching only L2 VM is mentioned on various sites and that is with warnings of severe performance limitations and for development testing only. While L3 might work the problems may get too bad you can’t practically go beyond that level?


  • So in terms of hardware, I use a Raspberry Pi 5 to host my server stack, including Jellyfin with 4k content. I have a nvme module with a 500gb stick and an external HDD with 4tb of space via USB. The pi5 is headless and accessed directly via SSH or RDC.

    The Raspberry Pi 5 has H.265 hardware decoding and if you’re serving 1 video at a time to any 1 client you shouldn’t have any issues, including up to 4k. It will of course use resources to transcode if the client can’t support that content directly but the experience should be smooth for 1 user.

    For more clients it will depend on how much heavy lifting the clients do. I my case I have a mini PC plugged into my TV, I stream content from my pi5 to the mini PC and the mini PC is doing the heavy lifting in terms of decoding. The hardware on the pi5 is not; it just transfer the video and the client does the hard work. If all your clients are capable then such a set up would work with the pi5.

    An issue would come if you wanted to stream your content to multiple devices at the same time and the clients don’t directly support H.265 content. In that case, the pi5 would have to transcode the content to another format bit by but as it streams it to the client. It’d cope with 1 user for sure but I don’t know how many simultanous clients it could support at 1440p.

    The other consideration is what other tools are being use on the sever at the same time. Again for me I live alone so I’m generally the only user of my pi5 servers services. Many services are low powered but I do find things like importing a stack of PDFs into Paperless NGX is surprisingly CPU intense and in that case the device could struggle if also expected to transcode content.

    I think from what you describe the pi5 could work but you may also want to look at higher powered mini PC as your budget would allow that.

    For reference I use dietpi as the distro on my server, and I use a mix of dietpi packages (which are very well made for easy install and configuration) and docker. I am using quite a few docker stacks now due to the convenience of deploying. Dietpi is debian based, and has a focus on providing pre configured packages to make set up easy, but it is still a full debian system and anything can be deployed on it.

    Obviously the other consideration in the pi5 is an ARM device and a mini PC would be X86_64. But so far I’ve not found any tools or software I’ve wanted that aren’t compiled and available for the Pi5 either via dietpi or docker; ARM devices are popular in this realm. I have come across a bug in docker on ARM devices which broke my VPN set up - that was very frustrating and I had to downgrade docker a few months ago while awaiting the fix. That may be worth noting given docker is very important in this realm and most servers globally are still x86.

    If I were in your position and I had $200 I’d buy the maximum CPU and GPU capability I could in 1 device, so I’d actually lean to a mini PC. If you want to save money then the Pi5 is reasonabkr value but you’d need to include a case and may want to consider a nvme or ssd companion board. Those costs add up and the value of the mini PC may compare better as an all in one device; particularly if you can get a good one second hand. There are also other SBC that may offer even better value or more power than a pi5.

    Also bear in mind for me I have a mini PC and pi5; they do different things with the pi5 is the server but the mini PC is a versatile device and I play games on it for example. If you will only have 1 server device and pre exisiting smart tvs etc you’ll be more reliant on the servers capabilities so again may want to opt for the most powerful device you can afford at your price point.


  • Open Office? It hasn’t been touched in a decade. LibreOffice is the true continuation of Open Office, which was forked off after Oracle bought Sun and OO had been left with poor governance and slow updates.

    Open Office finally ended up under the Apache foundation but hasn’t been maintained since 2014.

    LibreOffice has had continual development with both bug fixes and new features, and the Open Document Foundation gives it good governance and independence as an open source project…

    Honestly, switch to Libre Office.


  • I’ve always loved the Denver Airport conspiracy theory - that it is actually the secret headquarters of the illuminati or other organisations. It was $2bn over budget and has tunnels under it, which have led people to claim there are also secret bunkers under the airport. It also has a few bizarre pieces of art within it.

    I think it’s just an airport with ugly aesthetic choices but I love that people think of all the places a global secret society would base itself, they’d pick Denver Airport.

    Apparently there are 6 underground levels at the airport - but they’re used to run an airport. And the tunnels were for a failed automated baggage transport system. The art is just art.

    https://allthatsinteresting.com/denver-airport-conspiracy


  • BananaTrifleViolin@lemmy.worldtoLinux@lemmy.mlMy experience with Arch
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    3 months ago

    I have played with Arch in a VM - I learnt a lot about how Linux works setting it up. But the tutorials and guides are good, and you end up with a lean system with just what you want in it, and pretty much all configured directly by you.

    I can see why Arch is a popular distro and base for other distros (like Manjero and currently rapidly growing CachyOS).

    But I’m not at the point I’d want to main it. My issue is the concern that because everything is set up by me, it’s a much more unique system so if something breaks it could be a whole myriad of my own choices that are the cause. I’m nervous about having to problem solve things when they break and solutions not working because of how my particular system is configured. It’s probably a bit irrational but I do quite like being on an distro that lots of other people have the exact same configuration as me, so when things break there is lots of generic help out there.

    That said I would consider arch based distros like Manjaro or CachyOS as they are in that vain of mostly standardised distro.


  • Lots of elements to this.

    On the one hand a safe well paid job is very valuable to a lot of people. Even if it’s dull, job security is a huge thing and not to be taken lightly.

    Having said that, if there is no progression then it may end up being a trap and not worth it. You say its well.paid but is it well paid overall - as in keep going until retirement in decades, or is it well.paid compared to other jobs at your current level of career?

    If its just well paid for your level then it might make sense to take a pay cut to get into something new, interesting and with better progression and opportunities long term. If it’s well paid overall then you need to be thinking not just about now, but about how you’d feel in 10 or 20 years.

    Going out into the field might be attractive now, but would it be attractive in 20 years? Have you got a job you might not value fully yet but may come to value as you get older?

    Ultimately only you can decide what is more important to you about work. It’s natural to worry about doing something irreversible and regretting it. But it’s also important not to let fear get in the way of career progress. Sometimes you do need to move jobs to keep motivated or pursue better opportunities or even just because a well paid may just not be interesting enough or tolerable.

    People talk a lot about work life balance now, which is great. But it’s not just about hours and working from home. It’s also about having a job you like and adds to your life, rather than one you hate or is drudgery. We spend about 1/3 of the week at work and it impacts everything else about our lives - money but also happiness and mental well being. So while it maybe a €300 pay cut, it may be worth it if you really enjoy it and it makes your work life better.


  • I used to use Homeplug to get network from my router front downstairs of the house to the my office upstairs and back. It’s a small house, and I thought the homeplug was ok - I was getting about 150-200mbps of my 900mbps; not great but I thought it was a good as I could get. The electrics are about 10 years old but I could see there was a lot of noise and error correction when I looked at the software that came with the plugs. Simple direct wifi connection was atrocious as the walls are largely solid brick.

    Then a couple of years later I read about how good they Mesh systems could be so I decided to try a cheap one. I was skeptical as wifi hadn’t worked for me. I got a Google Wifi system (not a fan of google but it was a cheap system compared to other mesh networks); it has no backhaul connection, just 3 wifi points (one in front room, one in hallway and one in office), and my speed jumped to 500mbps and low latency. I also hadn’t realised how bad the latency had been on my homeplug set up - it was night and day.

    I have since upgraded to an ASUS XT8 system; 2 units only and I now get close to 800mbps on a good day, and 600-700mbps floor. My PC in my office is where I work (which involves high data transfers) and also game and chill, it’s been a huge boon.

    So yeah, Homeplug does the job but it’s not great in my experience. It was cheap compared to a mesh network, but you get what you pay for. You can get some of the cheaper and older mesh systems 2nd hand on ebay - but unfortunately a good system is pricey. In my experience it was totally worth it.


  • If you want to try Pop OS, go ahead. The most important thing is back up data you want to keep - it’s not a bad idea to have a dedicated partition for your home folder and another for the OS to help with fixing problems or moving to another distro, but backups off your laptop are critically important. Then if you don’t like a particular distro, or you fuck up, you can install another and restore your data from backup.

    Personally I use OpenSuSE Tumbleweed, I’ve tried quite a few distros and I think generally for gaming they’re much the same. OpenSuSE has a good user interface in YaST for tweaking and keeping the system how I want it. I like being on a distro with a big install base and linked into an enterprise distro as there is an incentive to test rigorously and also fix things when they break. But Tumbleweed is a rolling release so there will still occasionally be problems.

    If you want stability and no headaches then I’d go for a decent point release distro with a big install base overall. I’d suggest OpenSuSE Leap or Fedora KDE over smaller niche/community distros. Go for Gnome equivalents if that’s your thing. I have gone off Mint in recent months as I think too much support out on the Web is out of date and provides bad solutions to problems (such as adding random ubuntu repos to install software). Mint itself.Is a decent distro.

    I’d avoid Ubuntu due to Snap, I’d avoid Debian due to its slow upgrade cycle (very stable distro but may not be the best for high end gaming and tweaking), and I’d avoid Arch due to the complexity of set up (unless you want your system exactly right and are prepared to problem solve your way to what you want; it can be a very powerful and efficient set up of you’re willing to out he work in). I’d also personally avoid atomic distros as it can be a headache to tweak and run custom software although there are ways if you enjoy leaning new things.




  • Great to see another person moving to Linux and OpenSuSE. My only caution if this is your first time with Linux is that a point release like OpenSuSE Leap is probably a better place to start than Tumbleweed. I’m on Tumbleweed and it’s generally good but I have had a few things break over the last couple of years, often fixed at next update in fairness but it is frustrating even as an experienced user. I have also had to reinstall Tumbleweed on one occasion; it wasn’t a big deal as I’d set up a separate Home and System partition. Tumbleweed is great but it is a rolling release and even though it’s a well tested one rolling releases are always riskier in terms of things breaking.