The Linux Thread - The Autist's OS of Choice

Any opinions on the PinePhone, by the way? I must admit I'm desperately searching for a phone disconnected from both Google, Apple, and Huawei.
Sounds very WIP. You might want to check out puri.sm's Librem phone, I've heard good things about it and it seems much more polished.
 
Any opinions on the PinePhone, by the way? I must admit I'm desperately searching for a phone disconnected from both Google, Apple, and Huawei.
IMO until it comes along a little more get something compatible with Lineage OS.

Android is actually a Linux based fully open source operating system. All the Google shit that tracks you is separate from the OS itself. Custom Roms like Lineage OS allow you to install the base operating system without the tracking bullshit. Then you can install F-Droid, an open-source app store, for your apps. Obviously the apps are not as slick as the ones in the official store, but they generally get the job done.

I tracked the packets coming from a Nexus 7 tablet running Lineage OS for 24 hours. It's clean as a fucking whistle. Nothing went in and out that I didn't want to go in or out.

Personally I've gone back to a flip phone because it's $100, indestructible, the battery lasts for a week, and I only need a phone for texting, email, making calls and a camera, but that's me.
 
IMO until it comes along a little more get something compatible with Lineage OS.

Android is actually a Linux based fully open source operating system. All the Google shit that tracks you is separate from the OS itself. Custom Roms like Lineage OS allow you to install the base operating system without the tracking bullshit. Then you can install F-Droid, an open-source app store, for your apps. Obviously the apps are not as slick as the ones in the official store, but they generally get the job done.

I tracked the packets coming from a Nexus 7 tablet running Lineage OS for 24 hours. It's clean as a fucking whistle. Nothing went in and out that I didn't want to go in or out.

Personally I've gone back to a flip phone because it's $100, indestructible, the battery lasts for a week, and I only need a phone for texting, email, making calls and a camera, but that's me.
Isn't that dangerous for my phone, though? Forgive me if the questions are silly, but I'd rather start with the basics, rather than play the dilettante.
 
Isn't that dangerous for my phone, though? Forgive me if the questions are silly, but I'd rather start with the basics, rather than play the dilettante.
Depends on the phone. If you have a phone where the bootloader is easy to unlock and you can follow instructions it's not that dangerous. There's always a chance you may brick your phone if you don't know what you're doing, but once it's done it's done.

I've done two phones and a tablet and never had an issue besides ending up with the Verizon version of Galaxy Note 3 and having to use some obscure tool out of Yeoman to unlock the bootloader.
 
Depends on the phone. If you have a phone where the bootloader is easy to unlock and you can follow instructions it's not that dangerous. There's always a chance you may brick your phone if you don't know what you're doing, but once it's done it's done.

I've done two phones and a tablet and never had an issue besides ending up with the Verizon version of Galaxy Note 3 and having to use some obscure tool out of Yeoman to unlock the bootloader.
You sound like a seriously impressive individual. Can you point me to any step-by-step guide on how to do it? I have a Xiaomi Black Shark 2 Pro, if it makes any difference.
 
Custom Roms like Lineage OS allow you to install the base operating system without the tracking bullshit.
LineageOS is great, but I was forced to stop using it because they don't support VoLTE except maybe on a few obscure Indian phones. It doesn't look like this is ever going to change, either. At this point, I'd check what your carrier's requirements are in that regard before setting up a new phone with LOS.

As for Pinephone: I like the idea, but giving up all Android/Apple apps just isn't quite practical, at least for me.
 
Any opinions on the PinePhone, by the way? I must admit I'm desperately searching for a phone disconnected from both Google, Apple, and Huawei.
Don't, it's practically unusable. I have one and it's a nice paper weight. Buy a dumbphone if that's your aim or install LineageOS and don't install any gapps.
If you want a model which would probably be supported for a long while consider a OnePlus
 
There are often more "not-quite-official" LineageOS builds to be found on the XDA-Developers forum, you might check there.
Please keep in mind that you're having a conversation with a person whose technical skills are akin to that of a brain-dead duckling. I've spent the past hour searching for phones which are completely free of Google's foul taint, and have yet to succeed. Keeping in mind all of your sound advice, I'm going to avoid the PinePhone., and definitely have a closer look at Librem. Any opinions on that phone in particular, Ladies and Gentlemen?
 
Librem. Any opinions on that phone in particular, Ladies and Gentlemen?
Are you planning to use it as an actual phone, to make voice calls through your phone carrier?
Unfortunately, this whole VoLTE situation seems to mean there's no way out of the Zuckergoog death grip at present. Looks like a few people in that thread might have had some success with a Librem, but I wouldn't gamble on buying a $2000 phone unless I'm sure it'd work.

The most practical de-googing solution at the moment seems to be just to buy a Samsung phone and run one of the commonly available "debloat" scripts to disable the Google apps. That'll have to be good enough.
 
I'm thinking about switching to Debian at some point. I know the team is full of cringe progressive types. But from an OS stand how does it fare? Just wondering
 
I'm thinking about switching to Debian at some point. I know the team is full of cringe progressive types. But from an OS stand how does it fare? Just wondering
Depends on what you want from an OS. Stable is the server distro (especially now that CentOS is gone). But it makes for a bad desktop, because of how fucking stable (i.e. old) everything is. It's light enough for containers. Not as light as Alpine, but the platform stability and apt more than make up for it IMO. Testing is on par with Arch and Gentoo for an enthusiast desktop. The wiki is worse, the packages are a bit (usually days) older, and the package selection might seem smaller (No AUR, no USE flags. You have to search for individual repositories or make your own packages.). But you get The Debian Administrator's Handbook, and the awesomeness of apt more than makes up for the rest because of how easy it makes it to create and maintain your own packages.
 
I've read through some of the reviews of the Librem 5 phone. To say the phone has been lambasted would be an understatement. Apparently it's more akin to an expensive piece of junk, with extremely low battery life; constant software problems (though that may have been fixed in the meantime), and a general feeling of overpriced sloppiness.
 
Crossposting this from the "No Stupid Questions" general thread.
I recently started doing a dual boot of W10 with Linux Mint Cinnamon. Things went smoothly for a little until I tried adding some AppImages programs to the menu taskbar and that somehow borked Cinnamon. I can boot back and run terminal and programs fine, but Cinnamon gives me a crash notification and Mint's main menu icon is gone, so I can only reboot via terminal. Due to that, I can't search for the Backup Tool to run on a separate drive so I can reinstall Mint and add my stuff back. Does anyone know the command to open Backup Tool from the terminal? (I have a Timeshift restore point that I created on first install that I tried rolling back to, to no avail). I have a lot of stuff I installed copied to my thumb drive, so its already sort of backed up. But If I can restore back easily again, then it'd help. Btw, W10 and Mint are both installed in their own separate drives.

Also, how can I make sure my hibernated session stays within W10 if I reinstall Mint? I think the bootloader seems to reinstall together with Mint and that messes with my W10 hibernation.
 
Crossposting this from the "No Stupid Questions" general thread.

I recently started doing a dual boot of W10 with Linux Mint Cinnamon. Things went smoothly for a little until I tried adding some AppImages programs to the menu taskbar and that somehow borked Cinnamon. I can boot back and run terminal and programs fine, but Cinnamon gives me a crash notification and Mint's main menu icon is gone, so I can only reboot via terminal. Due to that, I can't search for the Backup Tool to run on a separate drive so I can reinstall Mint and add my stuff back. Does anyone know the command to open Backup Tool from the terminal? (I have a Timeshift restore point that I created on first install that I tried rolling back to, to no avail). I have a lot of stuff I installed copied to my thumb drive, so its already sort of backed up. But If I can restore back easily again, then it'd help. Btw, W10 and Mint are both installed in their own separate drives.

Re: timeshift -
From a working tty, I'd start by trying the command:
timeshift --help
or maybe:
sudo timeshift --help
(I'm not sure about whether you'd need to use sudo because I don't use Mint). If you don't know how to use a command from a Linux terminal, that's probably the best place to start.

If you can't get that to work, I'd normally point you to the official documentation, but it looks like Mint's documentation only covers the GUI. You could also take a look at the upstream repo that Mint gets the tool from. If none of that works, you may have luck with a web search for something like "timeshift from cli" or "timeshift from tty."

Dork of Ages said:
Also, how can I make sure my hibernated session stays within W10 if I reinstall Mint? I think the bootloader seems to reinstall together with Mint and that messes with my W10 hibernation.
Stuff like this is what drove me away from Debian, Mint, etc. Your distro is likely making some choices on your behalf in the name of simplicity. If that's the case, you could fight with your distribution for control of your bootloader, pick another distribution, or live with it.
 
Re: timeshift -
From a working tty, I'd start by trying the command:
timeshift --help
or maybe:
sudo timeshift --help
(I'm not sure about whether you'd need to use sudo because I don't use Mint). If you don't know how to use a command from a Linux terminal, that's probably the best place to start.

If you can't get that to work, I'd normally point you to the official documentation, but it looks like Mint's documentation only covers the GUI. You could also take a look at the upstream repo that Mint gets the tool from. If none of that works, you may have luck with a web search for something like "timeshift from cli" or "timeshift from tty."


Stuff like this is what drove me away from Debian, Mint, etc. Your distro is likely making some choices on your behalf in the name of simplicity. If that's the case, you could fight with your distribution for control of your bootloader, pick another distribution, or live with it.
My problem is trying to open the Backup Tool from terminal instead of Timeshift, because I don't know the command for that and any searches I look up only seem to involve the GUI (unless they removed the Backup Tool in this current edition?). I already tried rolling back to the first restore point I created but that didn't fix the issue. Also, I tested hibernation between the two OSs before this came up and it works for me, but I am specifically asking if I can just boot from the live USB to reinstall it in the drive I have Mint installed on and not have anything mess with the Windows session. Does reinstalling Mint like that reinstall the bootloader too? Because I restored with Timeshift first and that seems to have the bootloader reinstall enabled by default, and that wiped my last session.

It's not too much of a problem. It's just that I take my time opening lots of my programs on W10 everytime I rebootbefore I start doing stuff (and closing them individually before shutdown), and I'd like to avoid that and deal with this quickly by simply hibernating sucessfully when I attempt to reinstall Mint.
 
Last edited:
I've been digging around the 5.8 kernel for relevant settings, and I'm really surprised how little documentation there is for a lot of settings. Then again, kernel customization isn't about to start trending on Twitter.

Anyway...aside from the more general options, like specifying your processor type, so far I've got:
  • CONFIG_PREEMPT=y
  • CONFIG_SCHED_AUTOGROUP=y
  • CONFIG_JUMP_LABEL=y
  • CONFIG_HZ_PERIODIC=y
Plus turning off various debugging options (e.g., CONFIG_DEBUG_KERNEL=n).

I don't quite understand the tradeoffs of using BFQ for IO scheduling vs. just deselecting everything in that section. But one of those is definitely lower-latency than the default.

The clearest impact, by far, is between composition pipeline on vs. off. But I think that's just an X11 problem and not a Linux problem.
You only need BFQ really for "slow" devices, in my experience for reasonably fast, flash based storage no scheduler ("none" option) is really necessary on multicore systems and only adds overhead because it's pretty difficult to overwhelm their controllers with commands/IO. You might want to experiment with patching different schedulers into your kernel if you experience latency that is bothersome but in reality it probably all really won't matter if your machine isn't on the border of being overwhelmed with whatever it is you're doing. Also there's sort of diminishing returns with number of equal (non little.big stuff) cores and clever scheduling and it's quite possible to make things worse. I'd also really go with dynticks these days. It's really hard to find a one-size-fits-all solution for different workloads. A small detail which in my experience always helps no matter the system or the scheduler: Most programmers still aren't using threading in their software in a reasonable way. Pinning a process to one core can stop a lot of cache trashing and inter-core latency and make a noticeable difference in performance. That is some badly written software but hey, it works.
 
Last edited:
Back