• Activity
  • Votes
  • Comments
  • New
  • All activity
  • Showing only topics with the tag "linux". Back to normal view
    1. Looking to "compile" some of my phone's videos into an .iso to send to family; I use Linux

      So as the title states, I am realizing that most folks don't have CD readers. I do, and I can burn my phone's videos to one, but... I also use Linux these days. I have a CD burner somewhere around...

      So as the title states, I am realizing that most folks don't have CD readers. I do, and I can burn my phone's videos to one, but... I also use Linux these days. I have a CD burner somewhere around here, but honestly I just want to do a "zip file" type option, where I can just group the videos and get them on a usb stick to send out.

      Everything I find on the 'net is about burning CDs and whatnot... which isn't my goal. Honestly, I think windows did this just easy-peasy with select and "burn to image" or whatnot. But I dunno how with Linux (Arch/i3).

      Edit: I'm asking because I don't see any options in pacman. It may be in yay, but it's my bedtime...
      Edit 2: Lots of folks asking why I want an ISO and not just copy the files; my dad states their TV will play videos 'in a DVD format from a USB stick' (and I don't know how accurate it is, but it's what was requested).

      16 votes
    2. Building a home media server on a budget

      Hi I figured before I start venturing into other forums dedicated to this sort of thing, I'd ask here on Tildes since I'm at least comfortable with the community and how helpful they can be here....

      Hi

      I figured before I start venturing into other forums dedicated to this sort of thing, I'd ask here on Tildes since I'm at least comfortable with the community and how helpful they can be here.

      I'm tired of all of the subscription services I have, movies and TV shows disappearing from them, buying a film on Prime and only being able to watch it offline through a specific app. Even then, half the time we're watching comfort TV shows that we have on DVD already (X-Files and Friends for instance).

      So I figured that building a home media server would give me the chance to cut the cord with a couple of these services and allow us to start using and controlling our own data again.

      I have a budget of around £300 (I could perhaps push to £400 if needed) and I'm honestly not sure at all where to start. I have knowledge on how to build brand new, medium to high end gaming PCs as I've done it since I was in my late teens and built my first PC with the wages from my very first job but building a budget minded PC for use as a home media server goes completely over my head.

      I've noticed that a lot of the pre-built NAS or media server boxes are very expensive so my first thought was to buy a refurbed workstation or small form factor PC that has enough "oomph" to do the trick but I don't know what ones to even start looking at and then I start to feel a little bit out of my comfort zone.

      Things like getting the right CPU in these refurbed machines that offers the features I'm looking for like hardware transcoding etc., integrated GPU's, ensuring there's enough SATA ports for multiple hard drives and an SSD for a boot drive, and then to top it all off ensuring that while achieving these features the thing shouldn't draw too much power when idling as it'll be on for long stretches of time, if not left on 24/7.

      I've also got no knowledge of Linux, I've never even looked at it but if it's genuinely easy enough (for someone with next to no Linux experience) then I'd be happy to give it a shot if it offers better performance compared to using Windows 10 or something.

      All the server will be used for is watching TV shows, perhaps the odd film, listening to a bit of music perhaps and the odd podcast now and again. Simultaneous streaming will be fairly minimal, perhaps 2 streams as me or my partner watch one thing and our daughter watches another on her tablet. In regards to streaming outside the house that will also be almost non-existent, perhaps, again our daughter watching a kids TV show like Pokemon or Fireman Sam on her tablet when we're out but me and my partner don't tend to watch anything when we're outside the house, certainly not TV shows or movies anyway.

      Redundancy isn't something I'm too horrendously worried about, I wouldn't be storing anything like photos that we wouldn't want to lose on it and while it'd be annoying, losing a drive with TV shows or films on it wouldn't be the end of the world.

      Any help would be massively appreciated, thanks.

      36 votes
    3. Advice on making a full snapshot/backup of a running Linux system (Debian)

      Hi all, I’m looking for advice re making a full snapshot/backup of a running Linux system (Debian). In an ideal world, should an issue occur, I would like to be able to load a live USB with the...

      Hi all,

      I’m looking for advice re making a full snapshot/backup of a running Linux system (Debian).

      In an ideal world, should an issue occur, I would like to be able to load a live USB with the backup, boot and write from that.

      Timeshift seems to be an option but I’m wondering how the above would work in my case. A few questions.

      1. My disk is fully encrypted with LUKS. Would this pose a problem?
      2. I would like to write my backups to a veracrypt container. Would this pose any issue? I’m not sure how I would boot from a live USB in this case I could not decrypt the USB.

      Essentially I’d like a step-by-step guide to backing up my full system (including all files in home) in such a way that I can easily roll back should the worst happen. Do any of you know of such a guide or can perhaps offer some help?

      10 votes
    4. Have you ever compiled a custom Linux kernel?

      I was stubbornly determined to get my new Yubikeys working for FIDO2 SSH on WSL, which led me down the road to compiling my own custom Linux kernel for WSL with HIDDEV and HIDRAW enabled. This was...

      I was stubbornly determined to get my new Yubikeys working for FIDO2 SSH on WSL, which led me down the road to compiling my own custom Linux kernel for WSL with HIDDEV and HIDRAW enabled.

      This was my first time ever trying anything like this, and by the end of it I realized that it's not actually so scary to compile your own custom Linux kernel!

      Have you ever compiled a custom kernel before? What was the sequence of events that led you to do it?

      20 votes
    5. Is there an updated NixOS guide for first timers?

      I want to finally try NixOS and build a desktop OS from the ground up with sway, iwd, waybar, foot terminal, cmus, etc. I'm not a developer, but I'm a seasoned Linux user. Used Gentoo for years,...

      I want to finally try NixOS and build a desktop OS from the ground up with sway, iwd, waybar, foot terminal, cmus, etc.

      I'm not a developer, but I'm a seasoned Linux user. Used Gentoo for years, Void Linux and now I'm on OpenSUSE TW.

      I'm finding all sorts of guides and it seems confusing. In the past there wasn't any mention of home-manager and flakes, now it seems there are these things. Those are all things I need to care about? Is it all configured in one file?

      9 votes
    6. Pop!_OS hardware compatibility

      I want to upgrade my gaming setup, but I want to move towards a desktop replacement laptop for the compact form factor to free up desk space or even get rid of a desk altogether. I also want to...

      I want to upgrade my gaming setup, but I want to move towards a desktop replacement laptop for the compact form factor to free up desk space or even get rid of a desk altogether. I also want to try out Pop!_OS since I know it has good Nvidia drivers and that most games are compatible with Linux nowadays.

      Has anyone had any experience with switching to Pop!_OS from Windows? What is software compatibility like? Pros and cons?

      Also is anyone here using an 18 inch gaming laptop? I'm interested in huge laptops since I'm not really planning on taking it on the go.

      10 votes
    7. I want to learn more about linux

      I know the basics commands, command substitution, redirection, pipelines, and I know about .bashrc, .vimrc etc. but I feel like I still don't know a lot and I feel a bit lost as to where to learn...

      I know the basics commands, command substitution, redirection, pipelines, and I know about .bashrc, .vimrc etc. but I feel like I still don't know a lot and I feel a bit lost as to where to learn more. I know I'm being a bit vague, but that's on purpose, I don't really know what's possible. feel free to suggest any book or resource that you think would help me learn more about linux (I also haven't been keeping up with it lately, so any new stuff like what's NixOS would help)

      41 votes
    8. Graphics glitch on new install of Ubuntu

      So I have an old MacBook Pro (mid-2014) Core i5 which I've just installed Ubuntu 22.04.2 on. Most things are working fine but the screen randomly flickers and then goes black and then after...

      So I have an old MacBook Pro (mid-2014) Core i5 which I've just installed Ubuntu 22.04.2 on. Most things are working fine but the screen randomly flickers and then goes black and then after varying lengths of time will pop back on again. I've been googling around and found lots of instances of similar graphics glitches but can't quite find a solution.

      Any suggestions?

      7 votes
    9. Volunteer software developers for open source projects

      Where do you find volunteers to help with open source projects? Such as: https://www.codeshelter.co https://hacktoberfest.com https://summerofcode.withgoogle.com For example, with KeenWrite, I'm...

      Where do you find volunteers to help with open source projects? Such as:

      For example, with KeenWrite, I'm looking for help help with a specific feature that could be applicable to a wide audience (i.e., academia and technical writers). The lion's share of the effort for cross-references would be an extension or change to the flexmark-java library: parsing a de facto standard cross-reference syntax, rather than direct changes to my text editor.

      7 votes
    10. What are the benefits of using Linux for the less computer competent?

      I've been experimenting with Ubuntu and Mint on VirtualBox for a few days, and I fail to see the utility for less tech savvy people such as myself. I have experience in HTML and CSS as well as...

      I've been experimenting with Ubuntu and Mint on VirtualBox for a few days, and I fail to see the utility for less tech savvy people such as myself. I have experience in HTML and CSS as well as dabbling in Codecademy for recreation, but higher level computing is new to me. I don't know how to navigate a terminal nor how to stop Windows from crashing, but I'm open to learn.

      72 votes
    11. Best Linux Distro for gaming/noob

      Hey y’all. Recently picked up a Cyberpower prebuilt. Looking to install a Linux distro on it for gaming. Currently have Ubuntu on my laptop, so I’m not a total noob, but my experience is still...

      Hey y’all. Recently picked up a Cyberpower prebuilt. Looking to install a Linux distro on it for gaming. Currently have Ubuntu on my laptop, so I’m not a total noob, but my experience is still low. Not a big fan of having to use the terminal. Any distros y’all would recommend? Am leaning toward Pop_OS or SteamOS.

      7 votes
    12. Linux Question: I think my sys m.2 is failing and want to copy my / data for backup via cli

      So, I'm using Arch i3wm. I have multiple copies of my /home/username (I am the sole user), and I have a "Spare" drive with media, games, and other goodies, some of which are also stored on...

      So, I'm using Arch i3wm. I have multiple copies of my /home/username (I am the sole user), and I have a "Spare" drive with media, games, and other goodies, some of which are also stored on partitions on the m.2 in question, but they have backups.

      And the reason I ask this question is because while I've had my m.2 fail at the end of '21 (I didn't even know that was a thing, but it barely lasted a year, and things are acting shoddy now... though the original failed without a warning), I just bought a second m.2 for my games. I guess I could swap most of the whole thing over, but I know the boot partition is easier just rebuilt from scratch... which I had to do last week.

      Ultimately, what's making me suspicious is when I upgraded to the new drive and unplugged all my non-m.2 satas, I also added some memory and a new power supply. But then after the upgrade (Monday of last week, so the 5th), the system wouldn't boot up. I used a usb to troubleshoot and my /boot partition was apparently no gouda. I redid that, and everything was fine... until this week. Then my new Games partition (basically the new drive) failed fsck and it got stuck in a boot loop on Tuesday. I could boot emergency to root, but not skip the fsck and keep the Games disk auto mounted (I know I changed something to randomize fsck on bootup, but that's something I'm still kinda looking into how I managed...), so I just removed it from my fstab and it booted fine. For two times. I just manually mounted the drive, all was great, then my SO sent me a screenshot today while I was at work stating that my / partition (on the older m.2) apparently rebooted because it bypassed my screen lock, and was stating EXT4-fs error, reading directory lblock:0 and whatnot.

      So, that's my history on what's going on, and if anyone can offer any advice [mostly] on the backup stuff, though as I said, /home and the important tangible stuff is saved, but if you also have any input on something more than I suspect the drive is failing (since the /boot partition and now the / partition are crapping out), please feel free to share.

      (Also, thanks for letting me in. This is what I'd typically post on reddit and probably have to repost 10 times depending on the sub to get the right keywords and tags and yes, I already searched the internet but my search will not match yours... sigh)

      6 votes
    13. Dual-boot with a shared partition?

      Hey, I use Windows 10 and Arch in a dual boot configuration. I use both of them for software development and want a shared partition to store all the projects. Unfortunately, it's not as easy as I...

      Hey,

      I use Windows 10 and Arch in a dual boot configuration.

      I use both of them for software development and want a shared partition to store all the projects.
      Unfortunately, it's not as easy as I had thought.

      Initially, I tried NTFS as the Linux support seemed fine. I tried both, ntfs-3g and the kernel implementation.
      Besides the issue that hibernate could lock the drive - which you can disable - it periodically caused problems during compilation and other stages.

      Especially Rust based projects have thrown weird errors during builds, but I also had this on certain Go projects as well.
      It sometimes felt like, that the NTFS driver returned the wrong files when the compiler asked for them. Unmet dependencies, missing files, etc. Usually, when the project is huge.

      In certain scenarios symbolic links didn't work and permissions were not set correctly - which you can fix by adding some args to the fstab mount - never got it really stable though.

      I then tried to format to Ext4, and all issues were instantly gone on the Linux side.

      Fortunately, there are tools such as Linux FileSystem from Paragon which promise to make it work (I even bought a proper license) - and it did for a while, until it didn't.

      I once copied a bigger folder that included a bigger node_modules folder and during copy, files were missing, corrupted, the copy process hung - then crashed.

      I was so desperate that I even tried out FAT32, but I quickly found out that it doesn't support symbolic links at all, and therefore breaks Git and other tools depending on it.

      Is it still so hard in 2023 to have a shared partition between two OS? Has anyone made better experiences?
      I really don't want to split the partitions as I sometimes work on the same project on different OSes.

      Thanks in advance!

      7 votes
    14. Linux gamers? If so, what games?

      Curious how many of you use Linux as your main gaming OS? I started 3 years ago and switched to Arch about a year and a half ago. I play a lot of total war (mainly historical). Recently got into...

      Curious how many of you use Linux as your main gaming OS? I started 3 years ago and switched to Arch about a year and a half ago.

      I play a lot of total war (mainly historical). Recently got into Isonzo which has been a lot of fun.

      61 votes
    15. Local DNS resolution for server?

      I have to preface this question with a disclaimer that I am an eager learner of Linux and servers in general, but I'm still a beginner and often run into roadblocks. Current setup: Raspberry Pi 3...

      I have to preface this question with a disclaimer that I am an eager learner of Linux and servers in general, but I'm still a beginner and often run into roadblocks.

      Current setup:


      • Raspberry Pi 3 with Adguard Home acting as primary DNS
      • unRAID server with Adguard Home acting as secondary DNS
      • About a dozen other containers running on same server
      • DHCP is handled by my router

      Goal:


      • provide local DNS names for the containers running in unRAID so I don't have to enter IP:Port (e.g, calibre.local) which also has the side benefit saving the various username/password combos into Bitwarden with an actual domain attached to it instead of 14 occurrences of 192.168.x.x

      Additional info:


      I had PiHole running on the Pi before as the primary and only DNS previously. And I seem to recall you could put IP:Port as a custom DNS and have it resolve. AGH does have a feature for DNS Rewrites but it does not allow for port numbers, IPs only. I switched to AGH because it seems to be more effective at blocking ads, which is likely more a function of the provided DNS blocklists out of the box as opposed to what I was doing in Pihole. I would prefer to stick with AGH for adblocking/DNS if possible.

      I looked into just modifying host files on the main computers I touch these apps from, but again, can't include port. What is a good solution for this? Preferably something approachable for a newb like me.

      11 votes
    16. Best word processor for Ubuntu?

      Hey folks, looking for recommendations. What's your go to word processor on Ubuntu? (EDIT: For regular writing, not a text editor for coding.) I haven't been the biggest fan of Libre office tbh...

      Hey folks, looking for recommendations. What's your go to word processor on Ubuntu? (EDIT: For regular writing, not a text editor for coding.) I haven't been the biggest fan of Libre office tbh (please don't hate me...) There were just several bugs in Writer that made it unusable for me. I'm curious about alternatives. I read that WPS office is on ubuntu, but I've always found it to run kind of slow (however, my experience was on Windows.).

      I don't need a lot of fancy utilities, but would enjoy something a little more beautiful than notepad++ :) My biggest concern is just that it's a stable software. I'm OK with glitches or UI bugs, just nothing that's going to crash and burn and corrupt my work. (I mention this because there are several newer word processors made by single developers, and I'm a little weary to use them because I don't genuinely know how stable the software is.) I'm also not a fan of software that saves in some special format where you rely on that software to open it (or have to go through hoops to convert it.)

      Any recommends?

      EDIT: I'm new to Ubuntu, in case it makes a difference.

      31 votes
    17. How to clean up the space taken by old Snap and flatpak files

      When Snap and\or flatpak install or update packages they do not always do so cleanly Snap for example can keep up to 3 previous versions on updating and if you are struggling for space then this...

      When Snap and\or flatpak install or update packages they do not always do so cleanly

      Snap for example can keep up to 3 previous versions on updating and if you are struggling for space then this can be a Bad Thingtm

      These couple of pages show a good reliable way to tidy up and get back some disk space
      Snap

      Flatpak

      Please note, I am not the author. The articles are on a website called debugpoint.com and does not carry a credit

      4 votes
    18. Fixing overscan on an uncooperative TV-monitor

      This is mainly so I can find this again and not have to rediscover this for the third time after I forget. I can't find this exact solution anywhere else so I figured I should put it somewhere. I...

      This is mainly so I can find this again and not have to rediscover this for the third time after I forget. I can't find this exact solution anywhere else so I figured I should put it somewhere.

      I have a terrible Insignia tv that locks the overscan option so you can't even turn it off, and linux mint for whatever reason doesn't recognize it as a TV so I can't use their automatic TV adjustments. This is just for x11 afaik.

      So in the end, I used the underscan to defeat the overscan and it works great:

      xrandr to get the output name the TV is using, then

      xrandr --output <name-of-tv-output> --set underscan on --set "underscan hborder" <0-128> --set "underscan vborder" <0-128>

      to enable underscan and tweak the border values which squash the edges of the screen, undoing the effects of the overscan.

      for me the optimal values are 128h 40v but you can just experiment by typing the command into the console before you make it permanent.

      8 votes
    19. What does your self-hosted server setup look like?

      Hoping we can get some discussion on self hosting setups throughout the community and help anyone who may be interested with common setups and finding interesting software. Hardware Currently...

      Hoping we can get some discussion on self hosting setups throughout the community and help anyone who may be interested with common setups and finding interesting software.

      Hardware
      Currently running everything on a Dell 7050 SFF (intel i5-7500 and 16GB RAM) which suits my needs perfectly. Had used an older SFF before (i forget which) and a cheap older model mac mini (2012 I think) for self hosting before, but those were not the right choice as I didn't properly understand what hardware encoding was at the time. The i5-7500 handles all the media I have when transcoding is needed. Only thing it can't do is AV1, but my setup avoids those anyway.

      Operating System
      Distro Hopping habits are hard to break and that "itch" unfortunately carry over to the server. Currently running Ubuntu 22.04 LTS for a few months now, but feeling like a change is needed soon. I've used Ubuntu, Debian, and Fedora for servers before and they each have their own little problems that make me eventually switch. I am considering maybe doing a Proxmox setup so I can spin up a VM whenever that itch comes, but not sure if they added complexity is worth it in the long run.

      Software
      Yay, the best part! My self hosting stack has changed a ton over the years. Everything in my stack is in a docker container through a set of badly written compose files (planning on redoing things, cleaning things up, making things consistent, etc.). I'll just do a rundown of everything with a brief description of what it is:

      • Plex Gives me a Netflix like streaming experience at home. Currently working on shifting things over to JellyFin as Plex is starting to grow increasingly buggy for me.
      • Sonarr Automatically tracks and downloads all my shows. I have two instances of this running, one for normal tv shows and another for anime
      • Radarr Automatically tracks and downloads all my movies.
      • Prowlarr Sowers the high seas for what Sonarr and Radarr are looking for and gives them the "linux iso".
      • rdt-client Probably different to most peoples setups. I use a debrid service (not sure why people call them that), to download my "linux iso's" for me and I do a direct download from them. Much quicker and no torrenting traffic on my end. Also it's also cheaper than paying for a VPN usually.
      • File Browser A good web ui for managing files
      • Nginx Proxy Manager Is a reverse proxy for all of my services and gives me HTTPS for everything. Gets rid of the annoying browser warnings.
      • Tailscale The most recent addition to my setup. Allows me to access my network anywhere. Similar to a VPN (I know it uses wireguard under the hood), but does a lot of magic for you and just makes everything work and connect together, its really cool.
      • Adguard Home Gives me a local DNS server that does DNS level ad blocking. Never given me problems and it works well, but I am thinking of reducing the complexity of my setup and removing it. There tons of DNS servers out there that can do the same thing and I don't mind trusting a few of them (like quad9 or mullvad dns).
      • Watchtower It monitors all my docker containers and keeps them up-to-date. If a new version is out, it will automatically download the latest version and restart the container and delete the old container version. I know its not the best idea, but its only cause a break 1 time with 1 container in the couple years I've run this setup.
      • Homepage Literally the homepage for all my services. I've tried a lot of different ones and Homepage is easily the best. Simple, but powerful to configure.

      Keen eyes may have noticed the lack of backup software. I'll get around to that, eventually.

      47 votes