The Linux Thread - The Autist's OS of Choice

Just carry your desktop PC + Screen and keyboard everywhere tbh. Best performance. What are you, a wuss?
 
I have a youtube video downloaded. I want to take a couple of seconds from the middle and turn it into a gif/png. Can anyone recommend the best way of doing this on Debian?
 
wasn't the original post 2030

tbh Linux/FOSS GUIs always look like they were cobbled up with random bits of scrap metal
I think there's a touch of an elitist "why aren't you using the command line like a real man" going on there.
I have a youtube video downloaded. I want to take a couple of seconds from the middle and turn it into a gif/png. Can anyone recommend the best way of doing this on Debian?
ffmpeg -i horseporn.mp4 -ss 00:03:20 -t 00:00:10 -c:v copy -c:a copy output1.mp4

This command would start at 3:20 and clip 10 seconds. Not sure if it's automatically in your distro but it should be easy enough to add ffmpeg (so many things require it you probably already have it). You just have to find your start and end points.

Also you can use something like 00:00:01.111 to add milliseconds to the end. I'm not sure whether it rounds up or down to choose which frame it ends on if you choose some oddball number not on a frame.
 
  • Winner
Reactions: Ahriman
1652993017292.png

KDEbros... we can't stop winning!
 
I think there's a touch of an elitist "why aren't you using the command line like a real man" going on there.
Unintentional, considering I'm on Windows right now.

FOSS GUIs tend to just leave a lot to be desired quite a lot of the time, and in particular will disrespect theming within the OS (or the user's choices) inconsistently - which is quite a major annoyance for a paranoid twat like me who likes things to be consistent. Once you've decided to actually optimise it for 'whatever' platform so you respect its general conventions in GUI you've bloated it up quite a bit.

(There's a reason, for instance, that K-Meleon, an old, long-dead FF fork actually came about: it was because the dev realised that drawing the UI functionality with native Win32 functions was far more optimal than Mozilla's XUL language. Another great example of a FOSS project that uses native UI functionality to make the application feel more 'at home' is the MacOS-exclusive OpenEmu, an implementation of libretro which I remember spinning up on a MacBook Air years ago - RetroArch itself just felt alien on that computer in comparison, I'm gonna be honest.

Another example I could use is how 'out of place' UWP applications feel in Windows 10, they feel 'tacked on top' of the Win32 API, alongside everything else added post-Windows 8 Consumer Preview...)

At least 'cross-platform' these days doesn't tend to mean something like Java though, thank fuck. Back then a different runtime environment could cause chaos (and then there was Microsoft doing their weird shit with the JVM after actually writing a pretty good implementation that beat Sun's own one by quite a bit).

I don't work in software dev, I'm just an end user, but I hope what I'm saying makes sense.
 
  • Like
Reactions: Knight of the Rope
I have a youtube video downloaded. I want to take a couple of seconds from the middle and turn it into a gif/png. Can anyone recommend the best way of doing this on Debian?
ffmpeg -i horseporn.mp4 -ss 00:03:20 -t 00:00:10 -c:v copy -c:a copy output1.mp4

This command would start at 3:20 and clip 10 seconds. Not sure if it's automatically in your distro but it should be easy enough to add ffmpeg (so many things require it you probably already have it). You just have to find your start and end points.
To add on to Anom's bit, you can get your gif using ffmpeg too, so the full command would be something like e.g.
Code:
ffmpeg -ss 00:00:08 -i copereddit.mp4 -t 00:00:06 -vf "scale=320:-1,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" clipped.gif
That -vf string is the important bit. scale=320:-1 says we want a gif that's 320px wide (and the -1 means "whatever gives us the same aspect ratio as the original vid"). The split;palettegen;paletteuse nonsense is essentially a quality tweak that has it rip the color palette from the vid to use so that it doesn't end up spotty like you often see in gifs. There's other optimizations you can do (mostly to get the file size down since these end up pretty beefy).

Voila!
clipped.gif
 
wtf is that real
The cat dancing up on its hind legs and clapping like it's a person? Fuck if I know, but I'm pressing X.

I took the clip from the "Cope Reddit Nigger" vid that I happened to have on hand for the ffmpeg demo, which is how I know of the cat:
 
  • Like
Reactions: Dork Of Ages
Unintentional, considering I'm on Windows right now.
I didn't mean you, I meant the general attitude that excuses absolutely shitty design in favor of functionality. This is actually a good thing if functionality is why you're in, but it is not a great sales pitch for an OS if it looks like hot vomit on the screen.
 
  • Like
Reactions: Wright
I'm by no means opposed to GUIs. GUI on Linux just doesn't really convince me. As the selection of DEs and window managers already don't, really.

In a good graphical computer environment, I'd strongly prefer consistency and consistency is something the Linux GUI landscape does not have on the menu. I already hated that about windows in the 90s since there it had the tendency to completely derail workflows and was just plain unattractive, and I doubt it has changed there in the meantime either. Until some company with big boy money (and willingness to eat losses for an unspecified amount of years while not completely alienating the tiny userbase of linux in the process) moves in and standardizes the experience this is also never going to change, and I don't really want that for Linux either because current attempts of Red Hat to do exactly that show where that would lead us. Guess you simply cannot have both freedom and modularity and consistency.

Also on top of that, DEs on Linux just tend to be designed really poorly; usually ripping off other operating systems by cargo culting and hyper focusing on certain looks while missing the point what makes certain things unique or useful. Developers here really need to get away from their "Look we are just like <X>, plz start using linux" mindset and come up with their own thing. Nobody will ever like "poor man's version of <X>"

You can shit on Apple as I love to do too, but they know how to make computing look attractive. It already starts by giving people really nice screens in their devices. I have spent some time on that topic in the last weeks after ignoring it for years and I am in awe that <100 ppi screens are still pretty much the standard in the PC world and nobody seems to care.
 
There are no women in tech like this. It's just not a thing. Any true and honest woman in this thread - raise your hand.
**raises hand**

I’m fairly new to linux tbh but have been meaning to try it for years and wanted to try it on my old laptop to see if I can get it running a bit less shit than it does. So me being me, I put linux on the gaming PC first (as you do) and besides a game randomly remapping a mouse button that I can’t figure out for the life of me, it’s going ok.

Anyway, hi frens. I give it a week before I break it irretrievably. When I do you may all mock me.

Edit: me retard
 
Last edited:
Why can I have literal weeks of uptime on "unstable", "bleeding edge" Arch Linux, and proceed to have a display driver crash within the first day of trying out the latest version of Ubuntu? Also I fucking hate Snaps. Cold start is always upwards to waiting 10 seconds, and then sometimes Firefox just doesn't open at all and I have to click the icon again in Ubuntu. Yes I know this can be remedied by obtaining a non-Snap version of Firefox though alternate means but more and more packages are going the way of Snaps. I wanted to give Ubuntu a fair shot, but the distro-hopping-to-Arch pipeline is real and I can't fathom a reason to not just use Arch at this point. Any stability advertised by other distributions as a result of being downstream is a meme. And installing Arch is easier than ever in current year. It's not even an elitist thing because there isn't a barrier to entry anymore. It just works.
 
Last edited:
Anyone have experience with VeraCrypt? (specifically on anything arch based). I'm wondering if I can encrypt my root and home partition in place without having to reinstall my whole OS or delete data
 
Anyone have experience with VeraCrypt? (specifically on anything arch based). I'm wondering if I can encrypt my root and home partition in place without having to reinstall my whole OS or delete data
Not sure how you could use VeraCrypt to do that, I use it for creating encrypted containers (basically folders) and the other common use is to encrypt portable media like USBs.
I've not heard of people encrypting entire Linux partitions with it and it seems like an inferior method compared to using LUKS. I think this is only practical if it's on a device you tote around or have a genuine concern someone in your house will remove/unplug a disk and access data on it.
 
  • Informative
Reactions: kūhaku
Anyone have experience with VeraCrypt? (specifically on anything arch based). I'm wondering if I can encrypt my root and home partition in place without having to reinstall my whole OS or delete data
If you're doing drive encryption on Linux you use LUKS.

TrueCrypt used to support 'full disk' encryption back in the Windows XP days, for Windows boot disks. It also advertised encryption in place at your own risk in the same time period, for Windows.

Using TC/VC: It might be technically possible to use TrueCrypt/VeraCrypt to encrypt your root file system in Linux, I think it uses the same kernel module as other things cryptsetup handles. But I have no idea if the functionality that allows you to be prompted for a LUKS passphrase at boot would work for VeraCrypt. It probably doesn't.

Encryption in place: Not for Linux with TC/VC. I've seen projects that claim to do this with LUKS. You would only use them if you have full system backups and know how to manipulate the various crypttab and fstab entries, and you like adventure. If you want everything you have encrypted at rest for safety's sake, then just back everything important up to another drive, preferably an encrypted one (could be VC, could be LUKS, who cares), then reinstall with drive encryption from the start, then copy things back. It will take less time.
 
Back