Vintage

xrayspx's picture

Wayland and Big Desktop Need To Get Their Shit Together.

Music: 

The Coup - Yes 'em To Death

Note: This ugly disjointed ramble has been in my "Notes to myself that I'm never going to post" queue for a couple of weeks. But JWZ has recently tried to finally engage the enemy and released XScreenSaver 6.11.

I've been running Linux with XScreenSaver since the very early days of KDEs usable existence on my daily driver machines as a senior sysadmin, network admin, tools hacker. Overall this has been the correct choice even though for several years there in the 2000s sysadminning my workstation seemed to be like 60% of my job. At the end of the day, I'm just some guy. I'm not a developer, and I'm not part of The Community of circle jerking Thought Leaders and Influencers. Just a worker bee with 30 years of workflow and tools I want to keep working. Most of my personal productivity tooling has survived migration to Wayland, but several things I rely on, such as Synergy (copy buffer sync) are major blockers. XScreenSaver is a pretty major blocker for me too.

However in their utter dismissal of tools like XScreenSaver, Big Desktop (Wayland, KDE, and I assume GNOME) are really pissing me off as a user and pushing me back off the platform. It's just emblematic of how emphasis is moving away from users being able to define their own environment to their needs and toward more control from RH et al.

I don't know why Wayland and/or DE projects don't even entertain the opinions of the developer who's been consistently locking screens on Unix for over 30 years. I don't hear Jamie even really wanting to handle locking the screen necessarily, only that there's no framework to work within the existing locking mechanisms to show hacks at lock time. XScreenSaver works (with hurdles of course since nothing can ever be painless in JWZ-world) just fine on MacOS with Apple handling the locker as far as I can tell.

It baffles me to see responses from leaders of distros that boil down to in a post-CRT world your use case is irrelevant, your machine should be asleep to save power, Consumer. Screensavers are not a RedHat approved use of electricity. So no one should play video games because it's a gluttonous waste of energy. Nevermind the fact that with modern monitors and SSDs a NUC can run for days on screensaver before you approach my power draw for 5 minutes in 2000, with my 3x 21" Trinitrons and spinning drives grinding away. Man, the heat that used to come off of all that shit. The power consumption argument is as dismissive as it gets.

Wayland and DE people talk "security", and I get that things such as KMag can't work because windows shouldn't be able to know what is being displayed by other windows. Get it. But my security profile isn't "I'm on an NSA workstation on an airgapped network". My systems are all inside my house. I habitually lock screens out of A: Good Security Practice and B: keyboard-typo-safety. If I get up to pat my cat or get a snack, I want my machine to be Hacking the Gibson when I get back in 5 minutes. I do not want my machine to sleep since I probably have 30 RDP / SSH sessions open to other hosts. If someone needs to sit at my terminal to get the Secret Missile Codes I've got bigger problems. They've probably already killed me and my cat.

Microsoft and Apple figured out how to securely let a third party display a screensaver while the OS handles locking decades ago.

It should be embarrassing to Big Desktop that XScreenSaver works better on my goddamn phone as a live background than it does on Wayland.



"What never was cannot be broken" / "Works well and as designed" -- Guy Who Isn't The Whole of the Problem.

I guess someone needs to write "Why Cooperation With Wayland is Impossible".

I can't fucking wait until ssh forwarding breaks with applications I care about. I'm sure it'll happen one day and just make my systems that little bit less useful. Remote Display / Tunneling is a Worthless Legacy Feature. You should use RDP now or VNC or whatever...

xrayspx's picture

Dammit Stupid Tarriff Antennas

Music: 

I need one of these antennas but I don't know exactly which size I should get. So rather than just buy 3 of them a month ago I've been waffling :-) If I could get it to make solid contact without opening the case on this otherwise totally pristine boombox I'd just use the wire I have there now.

It doesn't have to look great it just needs to receive FM from the other room. These are both favorites of mine among the dozen or more radios we have scattered around the house and barn. When I took this picture I hadn't even cleaned them after bringing them both home for five whole bucks.









xrayspx's picture

We made a swag light

Music: 

A couple of years ago Natalie rescued a 1960s Moe Lighting resin pull-down light from the flea market. The mechanism was rusted to hell, half the "egg" was missing, but it was absolutely gorgeous looking.

Yesterday we flipped it upside down and wired it up over our video game cabinet:

The new lamp adds some really nice light at the video game cabinet and we've got another Moe pull-down light in that room already so it's pretty matchy and nice.

xrayspx's picture

Hey Shelley

Music: 

I got your genuine artifact...





For the record, I don't see this as mindless consumerism. It's preservation. I'm not a hoarder, I'm a collector. If things are on display, it's a "collection".

xrayspx's picture

The Proper Way To Watch Television

Music: 

Tom Waits - Such a Scream

I've been threatening for quite some time to post my TV playlist workflow. I'll put up my music video builders as well just because for some reason they're different.

TL;DR: Here's the primary TV script.

Warning

This was banged out over a few nights of non-sober hacking. It's not "good", but it's "good enough" until I can dig in and fix all the inconsistencies. You can get the idea.

The Executive Summary

I believe the correct way to watch TV is to throw the TV on, pick a "channel" and not have to think too super hard about what you want to see beyond choosing where to start watching. With Netflix and Amazon and stuff you're paying some number of dollars per month for access to content, but the way they present it is that you have to find a thing you want to see, then dig into that and play an episode of a TV show. This is let's say inefficient for anything other than single-show binging. Which is why single-show binging got huge when everyone dropped cable for Netflix and Amazon. When you have 400 or 500 TV series to choose from, do you really want to dig into "Season 6, Episode 12" of Cheers, and then choose to hit "Season 5, Episode 9" of King of the Hill, or would you rather hit "Sitcoms" and let the computer do the work?

The Methodology

I prefer the TNT method of "you throw on TNT and now you're watching a block of Friends" or you put on Nick at Nite and you might get Mary Tyler Moore followed by Speed Racer and a Drew Carey Show. So that's what I've built.

I have full runs of many many TV shows, I build daily playlists, around 120 at the moment, for various Genres, as well as several dozen shows to run as "blocks". I mix in commercials, though I need lots more commercials and I need to tailor them a little better so I'm not getting Underoos ads between episodes of The Wire.

So the menus are sort of:

  • TV Shows
    • Blocks - Individual 50 episode playlists for ~100 series or so. So we're watching a block of Star Trek, or Seinfeld or whatever.
    • BritBox - Comedies, Cozy Mysteries and Doctor Who, pretty much
    • Sitcoms
    • Nick at Nite - All stuff from Nick at Nite, TV Land etc
    • Buddies - Buddy Cop / Detective type shows. Cagney & Lacey, Columbo, Barnaby Jones, Starsky and Hutch, Burn Notice, all that stuff.
    • Saturday Morning Cartoons
    • Superheroes - The Live Action shows mainly from the 70s. Hulk, Wonder Woman, Six Million Dollar Man, Bionic Woman, that sort of thing.
    • Variety Shows - Laugh In, Kids in the Hall, SNL, blah blah blah, SCTV...
  • MTV
    • 120 Minutes
    • Yo! MTV Raps
    • Arcade / Pizzaria - This is like the ubiquitous music from my youth pretty much
    • I create playlists of specific lengths because media players really don't deal too well with massive playlists. Though Kodi does better than most. My "MTV" playlist is around 12000 songs if I just let it rip and Kodi handles it just fine. But the main reason for creating playlists and not just say, go into a folder and hit "Shuffle" is that I get to choose my entry point and find a run of TV shows that I want to watch, or skip the first few music videos to start with something "good".

      The Workflow

      These playlists are the simplest possible .m3u files. Just basically lists of absoluterelative paths to individual files with no metadata or context. This requires all the files to be named appropriately such that they're all uniform and informative. "Show Name -SeasonEpisode - Episode Name".ext.

      The Simpsons - S03E07 - Treehouse of Horror II.avi

      Kodi does not automatically add metadata for .m3u playlists in the way Jellyfin/Emby does for theirs. It's on my to-do list to scrape the series name and episode title from Kodi's database and add it in before inserting the file path.

      To create these M3Us I have a few cron jobs on my home server, the steps are pretty simple:

    • Build a master filelist of my TV Shows directory.
    • For each genre + blocks, scan the filelist for shows listed in my /cfg/$playlist.txt file
    • Scan against a master "exclusions" list so I don't include like .nfo files, subtitles, text files, ISOs, "dvd extras" etc.
    • Insert commercials according to a cfg file for each playlist. (Number of episodes before a commercial break, number of commercials per break)

      To build the playlist itself, I scrape all this into an array and randomize it:

      vids=()
      sed "s/^/\/Volumes\/Filestore\/Common\/TV Shows\//" $cfgdir/$vfil.txt > $cfgdir/$vfil.txt.bob
      mapfile -t vids

      That works out to, using Nick at Nite as our example:

    • Create the vids array as an empty set
    • Strip the base filesystem path from all ....../cfg/nickatnite.txt and create nickatnite.txt.bob. This doesn't make sense to me as "nickatnite.txt" doesn't have all that path info anyway.
    • Populate the "vids" array by grepping for all the shows in nickatnite.txt.bob within the overall file list. Remove anything in the global exclusion list, then do a random sort on all that and shove it into "vids". I suppose I could limit this to only the top 50 or however many files right here....

      From there I just iterate through the vids() array in increments of however many shows between commercials. Then I insert the commercials from a similarly populated array and resume iterating through episodes until I hit the total number of episodes I want.

      I do testing to see if a show is part 1 of 2, or part 2 of 2. If so it will grab the other part and place it appropriately in the playlist so you're not stuck with a single episode and have to dig for the other one like some kind of animal. Currently I only handle those two cases for two reasons. Empirically there aren't that many things with more than 2 parts in the entire corpus of Shit I Own. Those that are tend to be things like Rocky & Bullwinkle which stretch out a story arc over half a season, or vintage Doctor Who. Rocky & Bullwinkle really doesn't matter, you get the jist. If I really care about watching a whole arc in a 50 year old Doctor Who, I'll just go watch it. It's not like I can't browse for files. But I don't need 5 hours of shows popping up in the middle of my list.

      I just don't want to have to dig for Time's Arrow part 1 just because Part 2 was fed into the SciFi playlist. I'm usually watching TV as I go to sleep so two hours is plenty.

      Fun fact, I don't count these episodes in the total, so you end up with like a few extra episodes in the playlist if there are multipart ones. Also, if the file I pull is Part 1 of 2, then Part 2 goes in at the end of the bus. So you'll get "part 1", "Some other show", "part 2". Again, on my Todo.

      Anticipating some Qs:

      • "Why don't you just"
        • Use "shuffle mode"?
        • Really good question. I'm being polite and I really shouldn't be. Anyway because with Shuffle Mode on a folder of TV shows, I don't get to choose my entry point. I can't for instance skip the first 12 episodes and enter at one I haven't seen in a while.

        • Use Kodi or Jellyfin's playlists?
        • One, because this is 100% automated with new playlists every day and I never have to think about it. And it's platform agnostic. I can pull an M3U into VLC or whatever and play it there. I'm not naive enough to believe that Kodi or Jellyfin or whatever is going to be around in 20 years. You know what will be around? Something that can play a bog standard M3U on my TV.

      • Ew absolute paths
      • There are reasons for this. One time I owned a Mac. By default that Mac put CIFS mounts into /Volumes/ along with other mounted filesystems. I haven't used a Mac in like a decade, but I standardized on that, and now every machine I have uses the /Volumes/... paradigm for our main file storage.. This can get awkward when I use something like a phone or an Amazon Fire Stick. All of this can be switched at a moment's notice to relative paths from wherever the playlist file is though no problem.

        Also I am now generating both so I can "upgrade" to a Flatpak Kodi since their apt repo isn't going to work anymore.

      • Ew bash
      • Get bent. I'm not a developer, clearly, but I know how to get pretty much anything I want to get done, done. Bash doesn't make a habit of introducing breaking changes and it works every goddamn where.

xrayspx's picture

DVD Ripper

Download the dvdrip bash script

This is the correct way (for me) to rip hundreds of DVDs. I still wish there was a global hash table of discs whereby we could automatically name individual files, but this does the job and I'll describe my overall workflow. Ripping TV shows is stupidly time consuming compared to audio CDs and I've done everything I can to reduce the time wastery involved. It's not perfect, but I can just feed disks through my machine all day then take an hour or so a week and rename everything I've done.

xrayspx's picture

Legacy Forums Taken Down

This is something no one should care about. I have removed the legacy Wolfeboro Online forums from my site. It all still exists but I've stopped publishing it.

The reason for this is that my most "popular" content is the most vile racist trolling shit from assholes in that forum and I don't want to serve it anymore. It's not content I want associated with me, so I'm not going to keep hosting it anymore.

Carry on.

xrayspx's picture

What Do I Win, Internet?

Music: 

Rod Serling

I don't honestly know if this says more about me winning the Internet, or me losing at sanity. You be the judge. I was pretty much just playing Geoguessr, saw that restaurant, noticed the name and remembered exactly the place from the TV show from 15 years ago or whenever. And that they were in Wales so it was pretty likely. Also I play an unseemly amount of Geoguessr. Probably as much as any non-bot user.

xrayspx's picture

And The Phone Company Taketh Away

Music: 

And just like that, the balance is restored as I was just informed by The Internet that my phone is no longer supported. Did the phone mention it? Not a chance. Did Verizon? Nah. If I manually go and update it goes out and checks, says it was successful and that I'm up to date with the last Security Update on August 5. As I read it service stopped on August 19.

Why is nothing alerting that fact at all.

And Natalie just replace her battery a couple of months ago. Like she didn't get the battery replaced, she replaced the battery. She's going to be really disappointed that the correct solution really was to just toss it on the pile of perfectly good hardware that gets instabricked by capitalists.

Before I replace my phone I'm going to try and install KDE OS on it or something and try and keep it going.

Fixed Tags:
xrayspx's picture

Daily Driving Haiku

Music: 

I've been testing Haiku OS pretty regularly as they'd release a new beta, but I hadn't ever really given it a fair shake. I saw it simply as a way to make old computers run somewhat modern software and load a wikipedia page or something. But with the release of Beta 4 I decided to give it a real chance and installed on an i7 laptop with 16GB of memory. Pretty much the same as my main Linux laptop.

Pages

Subscribe to RSS - Vintage