• Activity
  • Votes
  • Comments
  • New
  • All activity
  • Showing only topics with the tag "linux". Back to normal view
    1. Any Tilde Town members here?

      A few years ago when I was new to tildes a typed tildes.com directly in the URL bar. I realized I'd forgotten the correct domain extension and did a web search for "tildes community" or something...

      A few years ago when I was new to tildes a typed tildes.com directly in the URL bar. I realized I'd forgotten the correct domain extension and did a web search for "tildes community" or something similar.

      One of the results was for tilde town . At the time I glanced over it and thought about joining but I never got around to it. Last July I somehow stumbled over it again and this time I applied to join.

      It's a pretty cool place.

      The idea is that it's a Linux server that each user gets an account on. You then ssh into it - and that's where the community lives!

      They have a chat system, a forum system, microblogging that's private to that community, command line games (some of which are multi-player) and a bunch of other really neat features. Each user even gets a folder in their home directory that let's them serve up public web pages.

      Technically they have about 2,000 registered users, but the number of actual active users seems to be similar to our community here.

      The vibe reminds me a lot of what we have here except that tilde town is casual "slice of life" only and doesn't do news articals at all. Some of their forum posts are similar to our own, with posts for what people are reading and watching and what projects they are working on.

      Ive enjoyed my time there so far and I'd encourage any one who's interested to check it out. My username over there is grendel84, stop by and say hi!

      17 votes
    2. What is a good "eternal" Linux distribution?

      I need to put Linux on a laptop, but I'm afraid I may not be around to upgrade to major versions (which usually means reinstalling everything) and maintaining the machine. Something like Arch or...

      I need to put Linux on a laptop, but I'm afraid I may not be around to upgrade to major versions (which usually means reinstalling everything) and maintaining the machine. Something like Arch or Manjaro (which I use) might be good because I wouldn't ever need to reinstall the OS, but stability leaves a lot to be desired for a non-technical user. So I was thinking of getting something with an enormous support lifecycle, like Rocky Linux (10 years). Is that a terrible idea?

      16 votes
    3. Is it possible to expand my Windows EFI partition?

      I currently dual-boot Arch and Windows and just use the Windows EFI partition in Arch as well, however I only have about 13 MB of space left on it. I’d like to try installing Gentoo on an extra...

      I currently dual-boot Arch and Windows and just use the Windows EFI partition in Arch as well, however I only have about 13 MB of space left on it.

      I’d like to try installing Gentoo on an extra SSD I have with nothing on it, but don’t really want to have a second EFI partition if I can avoid it.

      So my question is, can I shrink the Windows main partition towards the right and expand the the Windows EFI partition into the newly freed space?

      6 votes
    4. How to edit a podcast on Linux?

      Looking at the available options, I see many programs such as Ardour and Audacity that seems to focus on recording, mixing, streaming, etc. But what should use it to actually edit the thing? By...

      Looking at the available options, I see many programs such as Ardour and Audacity that seems to focus on recording, mixing, streaming, etc. But what should use it to actually edit the thing?

      By that I mean changing the order of things, removing silences, involuntary sounds, and noises, adding music and sound effects, as well as making what I'm saying more concise and intelligible.

      I have a background in video editing, and I'm used to working in the "timeline paradigm" that is common to Adobe Premiere and older versions of Final Cut (I have no idea what Final Cut looks like now...). But I have no idea how to edit stuff using actual audio software, I've only used those to treat audio and then finish editing on other programs.

      I'd use a video editor for that, but I currently don't own any machine powerful enough to use a video editor software comfortably.

      7 votes
    5. Does anybody have any experience with switching to pipewire?

      I'm considering making the switch to pipewire, as my current setup involving a bridge between JACK and PulseAudio is growing frustrating. Even on a fresh boot, Spotify won't play until Pulse has...

      I'm considering making the switch to pipewire, as my current setup involving a bridge between JACK and PulseAudio is growing frustrating. Even on a fresh boot, Spotify won't play until Pulse has been killed and restarted, and the same goes for games through Steam. All the while, Firefox audio works perfectly without doing so, and I can jump straight into recording with reaper without any issues from the get-go.

      I've been reading through the Arch wiki to get a feel for what the process should be like, and it seems like it'll be relatively straightforward, but given that I do a lot of music recording on my computer, I don't want to experience a total breakage of my sound setup. I'm planning to make a full backup of my system before making any changes, so I can roll it back if need be, but if anybody has any experience with switching to pipewire on a production system, I'd be grateful to hear about any pitfalls or problems that you ran into which I should be aware of in advance!

      10 votes
    6. Any Thunderbird aficionados here?

      I've been using Tbird since forever, the past 6-7 years on Linux (Debian/Ubuntu downstreams). A couple years ago, I think during the 68-71 release cycle, there were are lot of panicky blogs about...

      I've been using Tbird since forever, the past 6-7 years on Linux (Debian/Ubuntu downstreams). A couple years ago, I think during the 68-71 release cycle, there were are lot of panicky blogs about "don't upgrade; the new Tbird will irrevocably screw up your Contacts/Calendar/Other Plug-ins", I may even have tried it and experienced issues myself (I don't recall) ... and as a result, I've held my copy at the 60.something release since then.

      Now the 91 update has been out and stable for awhile, and a major overhaul upgrade to 102 is in the offing ... and I'm looking for feedback ... is it safe to upgrade? Might I still hit breaking issues? Or was it always safe?

      16 votes
    7. Tech recommendations request: looking for a Linux-friendly 13" laptop

      Final update: See here. Update: Thank you ALL for your valuable feedback. I'm definitely looking into refurbished models now and I have a lot better grasp on what what I should be considering. I'm...

      Final update: See here.


      Update: Thank you ALL for your valuable feedback. I'm definitely looking into refurbished models now and I have a lot better grasp on what what I should be considering. I'm going to do some digging and a ridiculous amount of overshopping over the next couple of days, and then I'll let you all know what my final pick is!


      Hey techy Tildes! I'm back with another support request from you knowledgeable and helpful folks.

      I need a laptop that does exactly three things: gets me online, displays PDFs, and runs office software. I have a large number of online courses that I have to take in the coming years, and I need something that I can just grab while on my couch or in bed to work on papers and assignments, hence the 13" size preference. Long battery life would be highly preferable.

      I looked for options that come with Linux preinstalled, but there's really nothing available that hits what I'm looking for -- there isn't much of a market for 13". As such, my plan is to just buy a standard Windows laptop and then put Linux on it, but I have no idea which particular hardware will play nice with a Linux installation. Budget would be sub-$500 (if possible). I don't need the laptop to do anything other than stay on for a long time and let me type, so I have no need for a powerhouse.

      Can anyone point me in the right direction with some recommendations?

      13 votes
    8. My experience switching to Linux and the need for guidance

      Hello everyone, This will be a long post because I want to give my post the proper context. I apologize in advance for taking your time. About five months ago, with the help of relatively high...

      Hello everyone,

      This will be a long post because I want to give my post the proper context. I apologize in advance for taking your time.

      About five months ago, with the help of relatively high ceiling of Windows 11's system requirements, I finally pushed myself to use Linux exclusively on my desktop. It was a decision between using Windows LTSC or Linux and I went with the better long term option.

      I am not a programmer but I'm also not unfamiliar with the Linux world. I believe I've used one distro or another on a spare computer for shorts period of time since at least 2008. But those use cases have always been to satisfy the curious side of my brain as I am always interested in technology. So after installing distros ranging from Ubuntu to Arch, my curiosity waned enough to never look deeper into how these systems work. They were, after all, a hobby project on a spare computer that was often gathering dust.

      When I decided to switch exclusively to Linux, the next decision I had to make was to pick a distro. Naturally, I looked for the established players first. Ubuntu was the obvious choice because it has long been the distro for newbies and there are a lot of guides on the internet if I ever needed help, which was inevitable. But then I read about snaps and thought that was a deal breaker. I was moving to Linux specifically because I don't want things shoved down my throat. I had no intention to relive that1.

      So Ubuntu was a no go, but I was certain I wanted a Debian based distro as their support and software availability was unmatched, maybe save for Arch2. At this point, why not Debian right? It's known for being rock solid and it's Debian itself, not some derivation. Well, because I had various issues with Debian before. These issues were always fundamental and not very specific too, so I didn't want to risk wasting a lot of time fixing things I didn't understand, only for them to break again after a couple of days. Then I came across Pop!_OS, which seemed like a perfect fit. It was Ubuntu without its worst parts, came with Nvidia drivers and it had a company behind it that seemed to be committed to Linux. I installed it and everything just worked. I had zero issues.

      But then I started getting that FOMO itch again. GNOME 42 was out and it looked great, but Pop!_OS was two versions behind. I also found out that they're working on their own DE, which might end up being great (it looked nice) but I didn't want to leave an established player like GNOME behind, including all the benefits you get from its wonderful extensions. I started looking for other distos again and Fedora caught my eye. I was obviously aware of Fedora, I even used it once back when YUM was still a thing, but it didn't leave a lasting impression on me. The fact that it wasn't a Debian based distro was also a disadvantage because that meant something different and at this stage of dipping my toes into Linux, I didn't think different might be the best way to go for me. Still, despite my best judgment, I installed Fedora on a USB and used it live. When my gut feeling was confirmed by my research about how Fedora leaves things as stock as possible and is ahead of the curve in terms of upcoming technology (btrfs, PulseAudio, Wayland et al.3) without sacrificing on stability, I was hooked.

      After renewing my Timeshift backup, I formatted my Pop!_OS system and installed Fedora. The installation process could use a facelift, but it handled everything perfectly. I didn't even have some of the issues I had with Pop!_OS right after installation. It was literally problem free. I'm now on day #3 of using Fedora and the experience remains the same. The only issue I had to deal with was trying to get Timeshift to work (apparently it doesn't play nice with btrfs on Fedora), but instead of wasting my time with that, I just installed Déjà Dup and I'm good to go again. Barring any drastic issues, I don't plan on changing my distro again.

      Now, onto my plea for guidance.

      I'm looking for comprehensive resources that will teach me how Linux works under the hood. Considering my non-programming background, I'd appreciate it if the language is approachable. The reason why I want this, for one thing, is to learn more about the system I'm planning to use probably for the rest of my life (in tandem with macOS) but also, I want to do some cool stuff Linux allows users to do.

      Just to give a quick example. Yesterday, I installed Rofi, which is, besides many other things, an app launcher. I got it to work just fine, I even got a configuration of my own with a theme of my choosing, but when it comes to using some scripts, I just couldn't do it. Every video I watched on YouTube told me how easy it is to use scripts with it as if it's a self-explanatory thing, but I was simply clueless. There was a lot of lingo thrown around like environment variables, setting up $PATH, making the scripts executable with chmod etc. I have very little knowledge of these things. I want to learn what they are, why they exist, and how they all tie together. I want to learn how /etc/ is different than /usr/ and the difference between X11 and some DE (or if they're even in the same category of things). Now, at the risk of sounding impatient and maybe even worse, I also don't want to go way too deep into these things. I am not, after all, trying to become a kernel developer. I just want to be better informed.

      There are a lot of information on the internet but most of this information is scattered and out of context. If I try to learn more about one thing, I'm bombarded about other things that I don't know, so in the end I learn nothing. In short, I'm looking for a comprehensive, entry level video series or a book about Linux written in an easy to understand language that assumes no prior knowledge.

      Additionally, I'd appreciate any website, YouTube channel and what have you to keep up with recent developments in Linux. I already found a couple as there are plenty of them, but I'd like to learn more about how people here keep up with this fast changing environment.

      Thank you for reading and sorry for being so verbose! 😊


      1: I know you can remove snaps, but I didn't want to deal with the hassle of any possible issues deleting a core system functionally might bring about.
      2: Despite finding its approach fascinating, I had no intention to get into Arch because it's a rolling distro and I didn't want an advanced system that can break at any moment in the hands of a novice like myself.
      3: To be clear, I don't know how most of these technologies are better than alternatives, but the Linux community at large seems to think they're drastically better than alternatives and are the future.

      21 votes
    9. Can someone explain the systemd controversy to a nontechnical user?

      A project I'm working on requires me to cover a bit of comedy targeting Lennart Poettering as it's tangentially related, and I'd like to have more context even though it's not strictly necessary....

      A project I'm working on requires me to cover a bit of comedy targeting Lennart Poettering as it's tangentially related, and I'd like to have more context even though it's not strictly necessary. I'm a nontechnical Linux user who used the OS before systemd came around, but really the only impact on my life it's had is that I occasionally use systemctl to control services.

      Though I wasn't paying as much attention to the community around the time major distributions switched, I've been casually exposed to criticism of it ever since I came back, and I'd like to make sense of it all and form an opinion beyond "I like Fedora and GNOME and it seems to go hand-in-hand with those". I've read The Biggest Myths, the Wikipedia article, some stuff on freedesktop.org, and of course absorbed the venom slung back and forth over systemd in every FOSS community, but it's hard to get a full picture. And a picture from 2022, for that matter, as a lot of this information comes from its early days. Help me out?

      24 votes
    10. Product recommendation request: low latency wireless earbuds

      Alright, so I fell down a rabbit hole of trying to understand a whole bunch of techy things that I don't fully understand and could use some help: What I'm looking for: a pair of Bluetooth...

      Alright, so I fell down a rabbit hole of trying to understand a whole bunch of techy things that I don't fully understand and could use some help:


      What I'm looking for: a pair of Bluetooth wireless earbuds that I can pair with my computer, with low enough latency that it won't impair my enjoyment in casual gaming/video watching


      What I understand so far: Almost nothing. 😔 I get that Bluetooth will always have some level of latency, but, beyond that, I've got nothing. I'm so confused.

      There are lots of different versions of Bluetooth, and then there are different Bluetooth protocols within that, and then different audio codecs, and each piece of hardware seems to support completely different combinations of those, and I'm not sure if the devices have to match configurations or even how to figure out what my computer supports? It seems Bluetooth will gracefully fall back to worse codecs/protocols if better ones are incompatible, but I don't really want to buy something that's just going to fall back to its worst usecase.

      I also don't know what's an "acceptable" level of latency. What's reasonable versus what's intolerable?

      It also seems like the information I read online is subject to rapid decay. I read a bunch of stuff only a few years old saying I should look for aptX Low Latency capability, but then I read very recent posts saying that's dead and to go with aptX Adaptive instead. Meanwhile there are a handful of gaming-focused headsets that say they're low latency but don't really say how (e.g. Razer's Hammerhead). And some, like Samsung's buds, having a "gaming mode" but it only works on special hardware.

      Also, how do I know what my computer itself will support? Is there anything I can do from the computer side to reduce latency, or is that strictly a function of what my hardware supports and which earbuds I buy?


      My usecase:

      My computer is a System 76 Oryx Pro (5) running Pop!_OS 21.10. I think its Bluetooth adapter is version 5.1 (though I'm not confident on that). I do not know which protocols/codecs it supports, nor how to find that out.

      Audio quality isn't too important. These will be for everyday video-watching and gaming, which is what's prompting the latency requirement. I'd rather them be responsive than rich.

      Active noise cancelling would be nice to have (especially if it has a toggleable transparency mode), but I don't know if ANC adds latency and is therefore incompatible with what I'm wanting.

      I don't have a specific budget for it, and that's honestly the least important requirement. If the solution exists I'm fine paying for it (within reason, of course). These will end up getting used for thousands of hours, so even a big price difference upfront will even out over time.

      I'd appreciate any help anyone can offer in pointing me in the right direction on this!

      12 votes
    11. What are your favorite Linux distributions to use for gaming and as a daily driver, and why?

      I'm curious what experiences people who game on linux have had, what your favorite distros are, and why. Mind sharing them in this thread? I'm in the market. My old GTX770 just bit the dust. I...

      I'm curious what experiences people who game on linux have had, what your favorite distros are, and why. Mind sharing them in this thread? I'm in the market.

      My old GTX770 just bit the dust. I picked up a Radeon 6600 to replace it, only to discover after installing it that while the 6600XT has Windows 7 drivers, the 6600 itself does not. The desktop works, but that's it. A little strange, but not entirely unexpected.

      My ancient frankenstein Win 7 Enterprise has got to go (into a VM, already on its way) and there is simply no way in hell I will ever use any version of the spyware/bloatware mess that Windows has become today. They lost me forever the second they put a marketplace and ads into my start menu. Ain't nobody got time for that, or at least, I don't.

      That means it's finally Linux time, for real - no going back. I'm rather excited. :D

      Side note: My original install date for Windows 7 Enterprise was 11-12-2011, it's lasted nearly eleven years without a BSOD or the need to reinstall. They really did fix windows decay syndrome in v7. That's the longest I've ever had a desktop OS last. Can any desktop linux distro manage to go that long, I wonder?

      The last time I ran a linux daily driver was Ubuntu for two years around '08, until I got sick of the pulseaudio issues. I'm not worried about that anymore, linux is ready for primetime now. That begs the question of which distro to use. I've toyed with or supported just about all of them at work (mint, redhat, suse, ubuntu, arch, deb, slack just to name a few). I'm a sysadmin by trade so I'm not phased by the learning curve, I know linux cold already.

      It's more a question of which distro is going to bother me the least acting as my daily driver. I like to tinker at work, but if I have to do it all the time at home I get cranky. I prefer the 'it just works' experience. The primary requirement is linux gaming, as this is my main gaming rig. That means lots of Skyrim Special Edition, Stellaris, Rimworld, emulators, etc.

      There's so many choices out there I'm not sure how to tell which one is the best and I don't particularly feel like putting a dozen of them through their paces over a month to find out - so I'm asking Tildes. ;) I don't mind trying a couple. Steam is required. Good support for WINE is a bonus. Ditto virtual desktop support - is Compiz still a thing or is there something better?

      Here are the system specs. I'm sure it's all fully linux compatible.

      1. Asus Maximus IV Extreme-Z
      2. Intel i7 2600K (3.2GHz, OC'ed to 4.2GHz with a Noctua air cooler, never breaks 60'C)
      3. Sapphire RX6600 GPU w 8GB of DDR6
      4. 16GB of G.Skill DDR3 2400MHz memory
      5. 500GB Samsung SSD, 4x4TB WD Red NAS drives

      Yeah, it's long in the tooth, and I'm glad I went for the Z/K combo so the new GPU isn't entirely gimped plugged into a much older PCIe 2.0 mainboard. I'll pick up a Ryzen sometime to replace it, but not until after the chip shortage shakes out. It was hard enough getting that 6600 in this market without getting scalped.

      21 votes
    12. Help needed: slow external hard drive

      I've got a 2TB Toshiba drive (formatted as NTFS) that has become very slow and I was wondering if anyone here as any ideas what the problem could be and how I could fix it. All the data I'd need...

      I've got a 2TB Toshiba drive (formatted as NTFS) that has become very slow and I was wondering if anyone here as any ideas what the problem could be and how I could fix it. All the data I'd need off the drive is backed up, but I would at least like a drive to put it back on to!

      In short, it became slow after I had to force power-off the system it was connected to (Pop OS installed on another external drive which I unplugged by mistake) and I haven't bothered to try to fix it in the six months since.

      I've tested it on Pop and it takes about 10-20 minutes to mount, and 2 minutes to unmount and safely remove. The data itself seems fine but performance is slow, accessing a 20MB image takes several seconds and selecting the drive in GNOME Disks caused it to freeze.

      The drive sounded louder than normal, especially after plugging in.

      On Windows, the drive was recognised and browsable immediately, but browsing through folders was very slow - opening some folders causes Windows Explorer to freeze for a while. Some of my double-clicks were mis-recognised as click-to-rename, which took several seconds to activate and during which time Task Manager reported the average response time between 5000 and 11000 ms.

      Attempting to load an audio file resulted in lots of buffering. Task Manager reports an active time of 100% (even when not loading files or folders) and the activity never exceeded 100 KB/s (and doesn't sustain it for more than a second). Ejecting the drive takes forever - after ejecting it using the tray icon, the tray icon is not removed (even though there are no other drives connected or listed) and the active time is still 100% with the indicator LED blinking non-stop. The system did not enter sleep right away after me asking it to either.

      All of that to say, does anyone know what the issue could be, or how I could find and fix it? Thanks!


      Edit: fixed and normal functionality restored (at least so I can check the drive a bit easier) using Scan & Repair in Windows (see my comment).

      4 votes
    13. Whatever happened with UMN vs. Linux Kernel Maintainers?

      Even tech news moves a bit too fast for me to keep up. Did UMN ever get unbanned? I saw a half-hearted apology and then finally this [1], but never heard any update. Most recent article I've seen...

      Even tech news moves a bit too fast for me to keep up. Did UMN ever get unbanned? I saw a half-hearted apology and then finally this [1], but never heard any update. Most recent article I've seen is this ZDNet article [2] from a couple of weeks ago discussing a related issue, but still mentions that UMN is still banned.

      Anyone following this?

      [1] https://cse.umn.edu/cs/statement-computer-science-engineering-confirming-linux-technical-advisory-board-findings-may-9

      [2] https://www.zdnet.com/article/hard-work-and-poor-pay-stresses-out-open-source-maintainers/

      4 votes
    14. A few easy linux commands, and a real-world example on how to use them in a pinch

      This below is a summary of some real-world performance investigation I recently went through. The tools I used are installed on all linux systems, but I know some people don't know them and would...

      This below is a summary of some real-world performance investigation I recently went through. The tools I used are installed on all linux systems, but I know some people don't know them and would straight up jump to heavyweight log analysis services and what not, or writing their own solution.

      Let's say you have request log sampling in a bunch of log files that contain lines like these:

      127.0.0.1 [2021-05-27 23:28:34.460] "GET /static/images/flags/2/54@3x.webp HTTP/2" 200 1806 TLSv1.3 HIT-CLUSTER SessionID:(null) Cache:max-age=31536000
      127.0.0.1 [2021-05-27 23:51:22.019] "GET /pl/player/123456/changelog/ HTTP/1.1" 200 16524 TLSv1.2 MISS-CLUSTER SessionID:(null) Cache:

      You might recognize Fastly logs there (IP anonymized). Now, there's a lot you might care about in this log file, but in my case, I wanted to get a breakdown of hits vs misses by URL.

      So, first step, let's concatenate all the log files with cat *.log > all.txt, so we can work off a single file.

      Then, let's split the file in two: hits and misses. There are a few different values for them, the majority are covered by either HIT-CLUSTER or MISS-CLUSTER. We can do this by just grepping for them like so:

      grep HIT-CLUSTER all.txt > hits.txt; grep MISS-CLUSTER all.txt > misses.txt
      

      However, we only care about url and whether it's a hit or a miss. So let's clean up those hits and misses with cut. The way cut works, it takes a delimiter (-d) and cuts the input based on that; you then give it a range of "fields" (-f) that you want.

      In our case, if we cut based on spaces, we end up with for example: 127.0.0.1 [2021-05-27 23:28:34.460] "GET /static/images/flags/2/54@3x.webp HTTP/2" 200 1806 TLSv1.3 HIT-CLUSTER SessionID:(null) Cache:max-age=31536000.

      We care about the 5th value only. So let's do: cut -d" " -f5 to get that. We will also sort the result, because future operations will require us to work on a sorted list of values.

      cut -d" " -f5 hits.txt | sort > hits-sorted.txt; cut -d" " -f5 misses.txt | sort > misses-sorted.txt
      

      Now we can start doing some neat stuff. wc (wordcount) is an awesome utility, it lets you count characters, words or lines very easily. wc -l counts lines in an input, since we're operating with one value per line we can easily count our hits and misses already:

      $ wc -l hits-sorted.txt misses-sorted.txt
        132523 hits-sorted.txt
        220779 misses-sorted.txt
        353302 total
      

      220779 / 132523 is a 1:1.66 ratio of hits to misses. That's not great…

      Alright, now I'm also interested in how many unique URLs are hit versus missed. uniq tool deduplicates immediate sequences, so the input has to be sorted in order to deduplicate our entire file. We already did that. We can now count our urls with uniq < hits-sorted.txt | wc -l; uniq < misses-sorted.txt | wc -l. We get 49778 and 201178, respectively. It's to be expected that most of our cache misses would be in "rarer" urls; this gives us a 1:4 ratio of cached to uncached URL.

      Let's say we want to dig down further into which URLs are most often hitting the cache, specifically. We can add -c to uniq in order to get a duplicate count in front of our URLs. To get the top ones at the top, we can then use sort, in reverse sort mode (-r), and it also needs to be numeric sort, not alphabetic (-n). head lets us get the top 10.

      $ uniq -c < hits-sorted.txt | sort -nr | head
          815 /static/app/webfonts/fa-solid-900.woff2?d720146f1999
          793 /static/app/images/1.png
          786 /static/app/fonts/nunito-v9-latin-ext_latin-regular.woff2?d720146f1999
          760 /static/CACHE/js/output.cee5c4089626.js
          758 /static/images/crest/3/light/notfound.png
          757 /static/CACHE/css/output.4f2b59394c83.css
          756 /static/app/webfonts/fa-regular-400.woff2?d720146f1999
          754 /static/app/css/images/loading.gif?d720146f1999
          750 /static/app/css/images/prev.png?d720146f1999
          745 /static/app/css/images/next.png?d720146f1999
      

      And same for misses:

      $ uniq -c < misses-sorted.txt | sort -nr | head
           56 /
           14 /player/237678/
           13 /players/
           12 /teams/
           11 /players/top/
      <snip>
      

      So far this tells us static files are most often hit, and for misses it also tells us… something, but we can't quite track it down yet (and we won't, not in this post). We're not adjusting for how often the page is hit as a whole, this is still just high-level analysis.

      One last thing I want to show you! Let's take everything we learned and analyze those URLs by prefix instead. We can cut our URLs again by slash with cut -d"/". If we want the first prefix, we can do -f1-2, or -f1-3 for the first two prefixes. Let's look!

      cut -d'/' -f1-2 < hits-sorted.txt | uniq -c | sort -nr | head
       100189 /static
         5948 /es
         3069 /player
         2480 /fr
         2476 /es-mx
         2295 /pt-br
         2094 /tr
         1939 /it
         1692 /ru
         1626 /de
      
      cut -d'/' -f1-2 < misses-sorted.txt | uniq -c | sort -nr | head
        66132 /static
        18578 /es
        17448 /player
        17064 /tr
        11379 /fr
         9624 /pt-br
         8730 /es-mx
         7993 /ru
         7689 /zh-hant
         7441 /it
      

      This gives us hit-miss ratios by prefix. Neat, huh?

      13 votes
    15. Can anyone recommend a printer? (...ahem...) a Linux printer?

      Last time I owned an inkjet was well over a decade ago. I had a nice HP color laserjet that Just Worked™for almost a decade (and PS, I bought it used), and then I just lived w/o a printer for the...

      Last time I owned an inkjet was well over a decade ago. I had a nice HP color laserjet that Just Worked™for almost a decade (and PS, I bought it used), and then I just lived w/o a printer for the past 3-4 years. Now, I'm window-shopping for inkjets, it sounds like the whole "use-our-ink-or-die" business model has only gotten worse.

      Are there any good inkjet printers where I can just use it like a normal printer, just buy ink (cheaper than the printer was) when I need it, yada? Or should I just write off the entire industry (again), and go straight to the laser printers?

      And does anyone actually have a decent (color, all-in-one) printer that works reasonably well with their (YourDistroHere) Linux machine?

      Danke


      ETA: Thanks for all the feedback. I'm now prioritizing a Brother laser (maybe just mono), or possibly an Epson Ecotank.

      Side-note ... how cool is it that we have so many Linux-folk in our midst!?

      Thanks again.

      13 votes
    16. Share your linux desktop/setup

      I've put quite a bit of work into my i3 set up recently and I'm curious if the people here are interested in that kind of thing. I'd be interested in looking through configs to get ideas, and...

      I've put quite a bit of work into my i3 set up recently and I'm curious if the people here are interested in that kind of thing.

      I'd be interested in looking through configs to get ideas, and sharing screenshots and such.

      Here is what my desktop looks like right now. Let me know what you think.

      26 votes
    17. What should a lay user know about Linux app packaging?

      I’m enough of a Linux lay user that I’m not even sure if I’m using the right terminology in the question (feel free to tweak it if needed!). Here’s what I mean: I’m running Pop!_OS currently, and...

      I’m enough of a Linux lay user that I’m not even sure if I’m using the right terminology in the question (feel free to tweak it if needed!). Here’s what I mean:

      I’m running Pop!_OS currently, and I have at least one app installed via each of the following methods:

      • Deb app from the distro repositories
      • Deb deb downloaded from program website
      • Flatpak app downloaded from Flathub
      • AppImage app downloaded from program website
      • Snap app downloaded from the Snap store

      As someone who doesn’t really know or necessarily even care to know what’s going on under the hood, these all pretty much work identically for me (with the exception of AppImage which doesn’t integrate into my regular programs menu, and the standalone Deb, which requires manual updating). In fact, for most of the programs on my computer I couldn’t tell you which one they’re sourced from. They all just run like they should.

      I’ve looked up differences between all of the options and usually end up finding conversations that go well above my head and get deep into technical details. My question here is basically aimed at cutting through a lot of that depth: what is the important, need-to-know information about these different methods of installing apps? Is there anything I should be aware of if all I’m really going to be doing is running them as a standard, non-power user? Also, if an app is available via multiple methods — is there one that is preferred/better/safer/superior/etc.?

      14 votes
    18. [SOLVED] Tech Support Request: Finding the biggest files of a specific type

      Hey Tildes! I need some help with a specific tech issue, and I'm sure someone here can help me do it way quicker than I would be able to on my own. General Request I'd like to be able to scan a...

      Hey Tildes!

      I need some help with a specific tech issue, and I'm sure someone here can help me do it way quicker than I would be able to on my own.

      General Request

      I'd like to be able to scan a directory and find all of the largest files of a specific type (e.g. the largest .jpg files). I'm running Pop!_OS and I'm assuming there's some way to do this in the terminal, or alternately some utility I could use.

      More Specific Details

      I'm cleaning up my digital music library, and I realized in setting it up I made some errors by saving some very high res cover art. Many of my Bandcamp purchases come with a cover.jpg or cover.png file that is several megabytes large. I made the mistake of writing these into the files (adding, for some albums, an extra, say, 100 MB across all tracks). They also take a lot longer to load when I pull them up in my cloud music player. I'd like to be able to identify the albums with the largest cover.* files so that I can go in and replace the album art with a lower res version and gain back all that wasted space lost to unnecessary duplication.

      I could go folder by folder and take a look at the sizes of each, but I figure there's an easier way to surface the ones that need my attention. Everything I've looked at online so far has helped me figure out how to identify the biggest files in general, but all that will do is surface the actual audio files, when it's the cover art that needs the specific attention.

      Also, in case it's necessary information, the directory structure is Music/[artist]/[album]/cover.*

      Any help will be very appreciated!

      12 votes
    19. Ubuntu sends http requests to Google cloud, here’s a fix

      Ubuntu has this package installed by default: network-manager-config-connectivity-ubuntu It's only purpose is to provide settings for NetworkManager to send requests to...

      Ubuntu has this package installed by default:
      network-manager-config-connectivity-ubuntu

      It's only purpose is to provide settings for NetworkManager to send requests to connectivity-check.ubuntu.com , and based on the result (AFAIK) detect redirection by captive portals and open an ISP's page (think public WiFi, or hotel rooms, where you need to authorize to access the net).

      Well, connectivity-check.ubuntu.com is hosted on Google cloud (you can check that by running:

      dig connectivity-check.ubuntu.com
      whois [the IP from previous query]
      

      ), so by default Ubuntu sends requests to a Google cloud page.
      I don't say Google counts daily active Ubuntu users (because many of those have the same IP), or that Google actively logs and analyzes that data. But some of you guys may not like that behavior.

      So what's the fix?

      Purge the package

      sudo apt purge network-manager-config-connectivity-ubuntu
      

      If you do need a captive portal detection, create your own config file to query some HTTP (not HTTPS) page of your choice, in the example below I have a Debian page used for the same purpose. Use your favorite text editor to create and edit /etc/NetworkManager/conf.d/90-connectivity-custom.conf :

      [connectivity]
      uri=http://network-test.debian.org/nm
      

      Restart NetworkManager

      sudo systemctl restart NetworkManager
      

      If you run an Ubuntu derivative, please report if you have network-manager-config-connectivity-ubuntu installed in the comments.

      11 votes
    20. What is the difference between Linux distros? Why do you use the one you use?

      I still mainly use Windows, although I've dual-booted Linux a few times and I have Linux Mint on an old laptop right now. One thing I've never understood about Linux is all the different...

      I still mainly use Windows, although I've dual-booted Linux a few times and I have Linux Mint on an old laptop right now. One thing I've never understood about Linux is all the different distributions - their different reputations and why they have them. What is the mechanical difference between using one distribution of Linux and another? Or are the differences usually not mechanical?

      For example, Ubuntu and Debian seem to be large families, meaning that a lot of other distributions are based on them (using packages built for them in their package managers at least) as well as being popular distros on their own. But what's different between the two of them, and between each and the other distros based on them? (and what's similar? I gather they all use the Linux kernel at least!)

      I also know that people are quite opinionated on their choice of distro, I wondered what reasons people had for their choice. What things are easier or harder for you in your distro of choice? Is it mainly day-to-day tasks that are important or more how the OS works underneath? How much difference does your preferred distro make?

      For myself, I've only used Kubuntu (though not much) and Linux Mint, which was mainly for UI reasons, and particularly for the latter, ease of use for someone used to Windows (at least that was what I found years ago when I first looked into it).

      Though I doubt I'll ever fully move away from Windows I would like / need to have access to a Linux OS, so maybe this will help me to know what is important to look for. But I also hope it'll be a useful and interesting discussion topic. Also, there are some previous discussions on the latter question so I'd be more interested in learning about the main topic.

      also, please do add more tags

      29 votes
    21. Anyone using a lightweight browser with Linux?

      I've got a crappy Chromebook running GalliumOS (Xubuntu) and Chromium is slow as molasses. I tried a few other browsers like Otter and Falkon. They're alright for most sites -- not Tildes, but...

      I've got a crappy Chromebook running GalliumOS (Xubuntu) and Chromium is slow as molasses. I tried a few other browsers like Otter and Falkon. They're alright for most sites -- not Tildes, but this seems consistent with QT5 browsers.

      Anyway, outside of text browsers, anybody have any light weight browser suggestions?

      14 votes