Linux - Reddit – Telegram
Linux - Reddit
764 subscribers
4.19K photos
207 videos
39.9K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
ZFSBootMenu with / and /boot on separate datasets

I have / and /boot on separate datasets. I have all the properties set at the dataset for /. It cannot find kernels, so I have to boot via command line.

Will I be able boot using ZFSBootMenu with this setup? Can anyone relate?

Or should I must copy over the contents of /boot and drop the dataset for /boot?

https://redd.it/1mzdfg8
@r_linux
This is an excellent patch review by an expert, i.e., Thomas :) And it should be like this. Oh, a few days back I saw one from Greg too, a similar kind.... in turn, we ordinary people learn.
https://lore.kernel.org/all/871pp14pkr.ffs@tglx/

https://redd.it/1mzitda
@r_linux
Do you also have a increased number of human checks online?

Nearly everytime I vist websites which have google captch or the cloudflare equivalant enabled my linux machine gets flagged and I have to check the box or complete some other challenge, but if I visit the same websites on Windows I just get let through. Does this only happen to me or is everyone targeted because most webscrapers use linux or is there another reason?

https://redd.it/1mzjjyj
@r_linux
I've been daily driving and developing mobile linux for the past decade. AMA

My story with mobile linux started a decade ago when i was roughly 18, and I was getting into linux and mentioned to my friend that "I wish I had linux on a phone", and they mentioned SailfishOS. Back then I didn't even know english, had no money, and the only SFOS (sailfishos shortened) available was released year ago Jolla Phone.

So how do I get my hand on SFOS? Well the only option was to port it to my phone. Action of porting is adjusting OS to a device so that every feature works, unlike desktop, where thanks to ACPI and drivers and generalized hardware stuff generally just works. Phones are not really generalized hardware and each has its quirks so it needs a wee bit of work.

So I've acquired, then vastly uninteresting Motorola Moto G2, back when Motorola was under Google. And with my trash english in hand and my motorola in other I went to #sailfishos-porters on freenode IRC.

Now up till this point I've had quite an experience flashing custom ROMs on my old htc explorer. So I went to IRC and started porting sfos with help of very nice and very helpful people there.

Now fast forward cause I don't want this to be too long, I've ported g2, then went to port nexus 7, moto x2, moto x force, huawei p8 lite, moto z, moto x, moto x play, moto x pro, moto g2 LTE, moto g3, fxtec pro1 asus zenfone 5z, 8, and recently oneplus 6 and xiaomi pad 6. Yeah, I've been busy.

https://preview.redd.it/lhy6m920p4lf1.jpg?width=4032&format=pjpg&auto=webp&s=b65fafc5514dec873d1f40cc3715a7f5542550f2

Beside doing more ports than Jolla (SailfishOS owner) at the time, I've been studying software engineering and decided to make an app, then another, and another. Currently I've developed 10 apps, and as of today I'm supporting 6 devices, including Motorola moto G2 from a decade ago. Yes its still alive. Yes I'm still using it daily. Some of my apps worth noting are youtube client and telegram client. Youtube client people praise to be better than android/ios ones.

People when talking about mobile linux just tend to flat out ignore the biggest alternative to android/IOS we have to date like it never even existed which is very weird, and tad annoying. Some people say that "SailfishOS is proprietary" but no, no it's not. I couldn't have contributed to it if it was closed source don't you think? Yes, it's partially proprietary but in places you wouldn't even notice. All the OS part and hardware adaptation is *opensource, thanks to that, other OSs like ubuntu touch or mobian or halium could exist, because people forgot where libhybris comes from, and it comes from Sailfishos. The only closed source parts is the gui and in very small amount because all libraries surrounding it are opensource. It's quite difficult to come across something closed source.

Now I said "biggest alternative to android/IOS to date", this is true. People who have been in this space for as long as I've been know that. SailfishOS is the oldest one, and has the most amount of apps, AND they're most polished. Second place on the podium would've been taken by ubuntu touch, as its also using libhybris and it has many apps but ecosystem is not as great as SailfishOS. Then is the rest of small fries but pmos as a project to port mainline kernel would probably take a third spot. But libhybris is way faster and way easier to achieve compatibility.

So ye, if you read all that, thanks, now AMA. I'll be here all day (+- next 12h)

https://redd.it/1mzla4h
@r_linux
Best Distro + DE for Laptop with detachable screen

I have a old small laptop that can work as a tablet. I would like to make it run faster as it it currently running windows (which is also not great for touchscreen support.) It has 2 GB of RAM, so I would prefer a lighter distro but can handle some heavier stuff. I currently use Debian 13 + KDE on my primary system. I would like a DE that has plenty of touchscreen support and good customization for that support. I'm fine using distros for more advanced users. Any Ideas?

https://redd.it/1mzqd3f
@r_linux
Happy 34th to Linux!!

Ah, I have been clinging to it for too long(precisely from 15th January, 2000), and the end is not in sight :) Having fun despite my serious limitations. Never mind, I am being exposed to do better. Trivialities stuck with me, so I opted for the "low-hanging fruit" of it.

https://redd.it/1mzrmtv
@r_linux
KDE is working on improving On-Screen Keyboard support

https://preview.redd.it/erl1gkyr77lf1.png?width=6959&format=png&auto=webp&s=032939cd10feb142197a62c7b4856a7176e1acab

KDE devs have been working on improving On-Screen Keyboard support in computers, mobile devices and TVs as part of the We Care About Your Input - KDE Goals initiative. Check out what has been done so far in Plasma Virtual Keyboard and tell them what you'd like to see next.

https://discuss.kde.org/t/plasma-virtual-keyboard-feedback-needed/39008

https://redd.it/1mzwhmw
@r_linux
TuneD 2.26 by Red Hat, released !

Noteworthy changes since the previous release:

* tuned-ppd: renamed thinkpad\_function\_keys as sysfs\_acpi\_monitor
* tuned-ppd: enabled sysfs\_acpi\_monitor by default
* tuned-ppd: fixed inotify watch for performance degradation
* tuned-ppd: pinned virtual files in memory for inotify
* fixed instance priority inheritance ([RHEL-94842](https://issues.redhat.com/browse/RHEL-94842))
* hotplug: added fixes for device remove race condition
* tuned-main.conf: added startup\_udev\_settle\_wait option ([RHEL-88238](https://issues.redhat.com/browse/RHEL-88238))
* functions: silenced errors if module kvm\_intel does not exist ([RHEL-79943](https://issues.redhat.com/browse/RHEL-79943))
* functions: make calc\_isolated\_cores return CPU ranges ([RHEL-75751](https://issues.redhat.com/browse/RHEL-75751))
* scsi: used 'med\_power\_with\_dipm' for SATA ALPM
* scsi: do not set ALPM on external SATA ports ([RHEL-79913](https://issues.redhat.com/browse/RHEL-79913))
* network\_latency: Set non-zero rcutree.nohz\_full\_patience\_delay ([RHEL-61801](https://issues.redhat.com/browse/RHEL-61801))
* realtime: Disable appropriate P-State drivers ([RHEL-85637](https://issues.redhat.com/browse/RHEL-85637))
* plugin\_disk: added support for MMC (MultiMediaCard) devices
* udev: fix possible traceback in device matcher ([RHEL-97087](https://issues.redhat.com/browse/RHEL-97087))
* udev-settle: obey udev buffer size and handle possible tracebacks ([RHEL-92637](https://issues.redhat.com/browse/RHEL-92637))
* daemon: re-raise daemon init exception in no-daemon mode ([RHEL-71304](https://issues.redhat.com/browse/RHEL-71304))
* vm: deprecate dirty\_ratio in favour of dirty\_bytes with percents ([RHEL-101578](https://issues.redhat.com/browse/RHEL-101578))
* gui: fix the profile deleter noscript



[redhat-performance/tuned: Tuning Profile Delivery Mechanism for Linux](https://github.com/redhat-performance/tuned)

[Releases · redhat-performance/tuned](https://github.com/redhat-performance/tuned/releases)

https://redd.it/1n02ixu
@r_linux
New linux user, starting with Kubuntu. Looking for a video editing program with free silence detection and auto captioning.

Hey, I just installed linux on my previous computer and I want to turn it into a dedicated workstation. Something where I'm less likely to get distracted by the other junk on my pc. I'm using Kubuntu, and I make youtube videos. I use silence detection to start my edits so that I can easily remove bad takes and when I make shorts I like to use auto captioning then edit the captions myself to correct them. I'm currently using Filmora Wondershare which is like baby's first editing program so if there is a linux based program that can do the same and I don't need to pay a yearly sub that'd be cool.

In addition any apps that are in kubuntu or can be added that are good for your work flow I'd like to learn more about. I'm pretty much looking for recommendations all around.

https://redd.it/1n0b3xy
@r_linux
To recent converts that started with immutable, (like Bazzite, Nobara, SteamOS and CachyOS) have you since installed a more traditional Distro?

Has anybody that just started noticed any limitations by just using flatpack outside of Steam for doing more niche things and decided to try a more traditional distro and have switched to a more traditional distro or have thought of switching to a more traditional distro or are you just fine with rigidity as long as it "just works"? I switched when Adobe Flash was still relevant on the internet, so I remember when it was way harder to use and I don't know how I would change if I just switched recently.


I see immutable as a transitional safety net state kinda like pools that let you stand with your neck above water. I mean I have no qualms with those that just stay there, maybe they had traumatic experiences that would be way more understandable. In seeing somebody I care about with shallow water and asking "Wanna come to the deep end? If not, that's ok, but you're missing out, I can't imagine swimming if I never went to the deep end" and go about my business.


I'm just curious of the people that started safety swimming. I guess it's too early to tell. Probably a better question to ask in 5 years.

https://redd.it/1n0bb68
@r_linux
Did I miss anything? (Physical System Hardening)

I want to self-evaluate my security knowledge, so these are the steps I'd follow based off my current understanding. Did I miss anything obvious?

1. Get a distribution that's not too far removed from source. I usually go with Debian.
2. Set a BIOS supervisor password and power on password. Make this different than the encryption and user passwords, since BIOS dumps can reveal it. Also, disable USB booting, PXE booting, and booting from anything except your drive with GRUB on it. If you have a TPM, enable it.
3. Set a GRUB password, but allow booting the default without it. That is, if they want to do anything except continue boot, they'll need the password. Make sure the grub delay is 0, so it instantly continues boot.
4. Set the default boot up with flags to hide all the debug information
5. Turn on full disk encryption on your root partition, and use a strong password, different than the BIOS one.
6. Set up SELinux/AppArmor in enforcing mode, and make it mandatory that it's loaded on boot.
7. Disable all network services, and install NFTables. Block all ports, both in and out, except for all the useful ones(80, 443, 67/68, 53). Rate limit incoming connections.
8. Disable ICMP Ping in /etc/sysctl.conf
9. Disable the SysRQ key in /etc/sysctl.conf
10. Install your SSH server if needed, disable root logins, password logins, and set up fail2ban. Since key authentication usually doesn't fail, I recommend a 1d waiting period and a 3 day ban period.
11. Set a strong user password. This can be the same as the encryption password, but avoid using the same one as the BIOS supervisor password.
12. Grab Firefox and harden it with an aggressive user.js, along with some (reputable) add-ons for security.
13. Make sure to apt update and apt upgrade every day, and dist-upgrade every week.
14. Set up auditd to log events to a place protected by SELinux/AppArmor, and if you're REALLY paranoid, have it PRINT that file to a physical printer every so often.
15. If you feel the need, use a VPN, but it's not really needed on a home network.
16. Use Tor/Signal to mask communications if needed . . . .
16. SHUT DOWN the computer when not in use.

Make sure the hardened one is on a VLAN with itself and the router, nothing else.

As for cross-device file movement, take a SHA256 hash of the file, put it on Google Drive, download said file on the other device in a non-executable area, and check that the SHA256es match. Make sure you only handle the files in a non-executable area of the file system, and do a secure erase(e.g. shred) of the file once done with it.

https://redd.it/1n0h6ic
@r_linux
Accessibility for visually impaired users on Linux ?

hello everyone.

I am working as a computer teacher for visually impaired patients in a French hospital, and today is the day one of my new patients ask me to keep using Linux after he lost his vision.

I am not a Linux expert and I've used Linux only a few times, although I'm looking at it because I want to get out of the windows ecosystem and I've started to use fedora.

But this patient is going to be on my planning very soon, and I need some help with the accessibility features, do you guys have documentation, tips, tricks, to learn about it ?

Thank you very much for your help.

https://redd.it/1n0msck
@r_linux
I aged 30 years in a comment

I was on r/linuxmemes and saw a comment about Gentoo teaches you how OSs work by installing everything by tarball. I had a flashback to Mandrake and having no idea what I was doing but following the manual and slowly figuring out what a tarball was and how it word. Untarballing stuff in the wrong place for this version. Hours on forums trying to get my wireless to work. Standard early Linux stuff. Then I looked up when Mandrake was current and I realized I am an old man.

https://redd.it/1n0nz3b
@r_linux
Desktop Linux users, what tangible issues has Linux caused with your hardware/software in recent years?

I'm really curious now since I regularly see people on youtube try out Linux and run into all manner of hardware or software issues with very little action on their part, as in, they have issues out of the box or when trying to perform a very simple task. I find it pretty odd because I have rarely come across any major issues, or issues that couldn't be solved relatively easily with few steps or by picking another distro or app.

So for desktop Linux users (and specially average non-linux-expert users like myself), have you had issues with Linux in recent years that were tangible, annoying, and had impact in your daily use? How easy where they to fix? Here's some examples of a few issues I have come across:

\- OBS hotkeys don't work if the window is not active. It was a wayland issue, fixed by forcing it to fallback to x11 with flatseal.

\- Fedora caused my drawing tablet screen to look washed out. Didn't bother to fix because I was distro hopping.

\- A certain game (towerclimb) refused to launch. Solved by following a guide in protondb with the help of protontricks.

\- Discord doesn't use my custom mouse cursor. No fix yet but it's a minor issue.

\- Very slow downloads on endeavouros. Fixed by re-ranking my mirrors.

\- Localsend refused to connect to my phone. Fixed with small tweaks to my firewall rules.

All these issues are annoying, but most of them have fairly simple fixes that I as a not so knowledgeable user could perform. I see people online with flickering screens, broken ISOs, weird issues when trying to install software, unreliable bluetooth connections... All around very tangible and annoying issues, often out of the box, that somehow I have almost never come accross.

I'd like to hear people's experiences to see whether I'm really lucky or if others might be doing something weird to have so many problems.

https://redd.it/1n0ofx4
@r_linux
dd block size

is the bs= in the dd parameters nothing more than manual chunking for the read & write phases of the process? if I have a gig of free memory, why wouldn't I just set bs=500m ?

I see so many seemingly arbitrary numbers out there in example land. I used to think it had something to do with the structure of the image like hdd sector size or something, but it seems like it's nothing more than the chunking size of the reads and writes, no?







https://redd.it/1n0mdhs
@r_linux
sshPilot, your SSH connection editor/manager releaes new version
https://redd.it/1n0ua9g
@r_linux