Linux - Reddit – Telegram
Linux - Reddit
776 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
Dual-Booting Fedora and Windows 11 (with TPM, SecureBoot and BitLocker) was surprisingly easy

I just installed Fedora on my newer thinkpad. Because it is a work laptop, I did not want to disable disk encryption and secure boot. When googling this, it seemed like there would be some difficulties with this, as all the articles are older and assume some hoops to jump through. The only things I had to do where:

1. Shrink the main Windows partition (worked without issues in windows' partition manager, completely without decrypting the drive)

2. Enable third-party CA for secure-boot in the UEFI (TPM is still on!)

3. Install fedora from a live-usb on the freed space

4. When booting into windows again, put in the BitLocker key once

Now both OSs work, seemingly without issues. Even the fingerprint works on Fedora

https://redd.it/1k2d90z
@r_linux
Where is Linux at with post-quantum encryption?

The new NIST encryption protocols haven't had a ton of time to be integrated, but some applications have added CRYSTALS-Kyber. For example, Signal added it as a second layer of encryption.

So does anyone have news about where Linux is at with post-quantum full-disk encryption?

https://redd.it/1k2ok2m
@r_linux
How to avoid AI

In the past few months I've been more and more annoyed about 'AI'. I don't want to use it, and i don't want companies using it on my personal data to maximise their profits.

The problem is, it's in everything now, and most of it is proprietary and it is not clear what it does with your data past the point of 'we're training it on your data'. M$/Google/Facebook etc... all shove this crap down their users throat, it's even getting packaged into text editors now.

Has anybody found a managable yet effective way to exist on the internet and avoid 'AI'?

https://redd.it/1k2u27a
@r_linux
Are there any linux handheld devices that i can use for just reading books and listening to music?

I want to have a seperate device from my phone that (preferably) has a physical keyboard and i just want to use it for books, music and notes.

I saw Mecha Comet which looks pretty cool but is probably going to be an overkill for what i want. I just want a device i can use when i don't want to get distracted on commute.

https://redd.it/1k2tjh8
@r_linux
Retro-looking DEs ?

I'm very fond of older user interfaces in general, because they're very simple and there's a charm that only they have. How would I go about finding other DEs that could achieve such goals ? Currently I have Trinity on Fedora, but UIs like HaikuOS or other retro systems are very welcome as well.

https://redd.it/1k2vx9i
@r_linux
Linux on LG G7 ThinQ

I'm pretty new to all this Linux stuff and I was wondering if I could get Graphene OS or Ubuntu Touch on my LG G7 ThinQ (2017 I believe) just to test it out in case I want it on my newer phone. I'm guessing its not compatible but lemme know if it is or if you recommend any other operating systems that are similar to those and are Linux based that may be compatible.

https://redd.it/1k2z7ec
@r_linux
Even after using Linux for a decade I made this blunder. Here's how you can avoid it.

In my home directory I had a bunch of zip files I needed to delete, so of course I did this:

rm .zip

Or so I thought. In reality I typed

rm
.zip

Notice the difference? A single space. So all my files except those in folders, or hidden files, were deleted. Lesson learned. Here's my advice, add this to your .bashrc:

alias rm='rm -i'

And back up your files on the cloud! I'm sure glad I did.

https://redd.it/1k316jr
@r_linux
Anbernic, manufacturer of popular portable linux emulator gaming consoles will no longer be shipping to US from China.
https://redd.it/1k375et
@r_linux
Shout out to nautilus-noscripts (which, despite the name, work in Caja, Dolphin, Nemo, PCManFM-Q, and Thunar, too)

https://github.com/cfgnunes/nautilus-noscripts

This project is probably my single most used tool outside of the core OS software, and after it saved me a bunch of time yet again, I figured I'd rave about it a bit, if you'll indulge me.

I'm not much of a customisation devotee. I rawdog basically vanilla Gnome with only a few strategic extensions, and that's the way I like it.
But the one place where this radical turn towards simplicity has presented challenges are file managers.

Back years ago in my Windows days, I used to us Directory Opus and loved it, but none of the third party file managers really stuck with me on Linux. But I still missed some of the cool features. Well, this project fills the gap.

It is a set of noscripts that you can invoke from context click to execute all kinds of useful actions. The selection is extensive, and I use the following the most:

- copy filepath to clipboard (the path box doesn't contain name of the specific file, this lets me yoink the path and the file name in one go)
- paste from clipboard as a file (paste text directly into a file, without needing to create the file first)
- list the largest files/directories
- combine multiple PDFs into one (great for merging multiple PDFs into one before feeding it to my document storage solution)
- optimise PDFs/images for web
- strip exif data via ExifTool
- verify checksum files (to verify my linux .isos, naturally)
- convert webps to pngs/jpgs
- paste as hard links (recursively paste whole folder as hard links, equivalent of cp -al, my MVP)
- permanently delete via shred
- git operations, especially pull

There are a bunch more too. If you find the sheer number overwhelming, you don't have to use them all, the install noscript lets you pick what you want.

If you ever felt your file manager needed a bit more oomph, give it a look.

https://redd.it/1k37s2f
@r_linux
After reading the umpteenth post about cli operation on files went wrong: why Linux user are so scared of file manager?

Really, the first thing I do is to install midnight commander if I can't have a gui because I'm paranoid about any small typo destroying all my data .
I would never write rm in the cli, not even on someone else server!

https://redd.it/1k3a8pz
@r_linux
[UPDATE] Successfully fixed the problems of QCA9377 802.11ac Wireless Network Adapter!

This is a guide. If you have a Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter and you're facing issues in Linux, this is for you only.

This is based on the previous post regarding Qualcomm (written by me): [https://www.reddit.com/r/linux/comments/1jzcx7d/update\_qualcomm\_fsck\_you/](https://www.reddit.com/r/linux/comments/1jzcx7d/update_qualcomm_fsck_you/)

I have switched from KDE Neon to Fedora Workstation, and honestly, it works mostly fine (except the Night Light). However, I faced the same Wi-Fi problem initially. As I was trying out everything, I noted down the quirks of all the techniques out there on the Internet.

The issue here is that there are two kinds of problems with this particular WLAN adapter: the disconnection problem and the network speed problem. In my case, I'll be mainly dealing with the disconnection problem, but in case anyone knows about the network problem (especially how to implement Roaming Aggressiveness in Linux), then I'll cover it in a separate post. Experts are encouraged to chime in :)

# Methods:

A simple note that some of these methods might work in one distro, but not for the other ones. However, I'll only be stating the ones which worked for me in Fedora 41 & 42.

# 1) Disabling Power Management of your Wi-Fi device (Didn't work)

* In your terminal, open this file`/etc/NetworkManager/conf.d/wifi-powersave.conf` using whatever editor you prefer. (Neovim or Nano or Emacs or whatever)

Write this down or change it appropriately:

[connection]
wifi.powersave=2

Restart your computer after that.

For me, it absolutely didn't work. **The wlp1s0 network interface was disappearing as a whole.**

# 2) Copying the firmware code from CodeLinaro (didn't work and not much recommended)

This one might not actually work because linux-firmware has already merged the last commit, so this might not be the fix.

At first, check if this is the file tree:

/lib/firmware/ath10k/QCA9377
├── firmware-6.bin.xz
└── hw1.0
├── board-2.bin
├── board-2.bin.xz
├── board.bin
├── board.bin.xz
├── CNSS.TF.1.0
├── firmware-5.bin.xz
├── firmware-6.bin.xz
├── firmware-sdio-5.bin.xz
├── notice_ath10k_firmware-5.txt.xz
├── notice_ath10k_firmware-6.txt.xz -> ../../QCA6174/hw3.0/notice_ath10k_firmware-6.txt.xz
├── notice_ath10k_firmware-sdio-5.txt.xz -> notice_ath10k_firmware-5.txt.xz
├── untested
├── WLAN.TF.1.0
└── WLAN.TF.2.1

You just need to ensure that there is content within this `hw1.0` directory; it's optional for the files to match.

* Go to this website: [https://git.codelinaro.org/clo/ath-firmware/ath10k-firmware/-/tree/main/QCA9377](https://git.codelinaro.org/clo/ath-firmware/ath10k-firmware/-/tree/main/QCA9377)
* Click on the Code icon in blue, then scroll down to "Download this directory". Under that section, you can download in any format.
* Download that archive, then extract it.
* Through your terminal, use `cd` to go to the folder where you have extracted it all.
* Go to the directory/folder named `QCA9377`. Under that directory, there will only be one item called `hw1.0`.
* While being under this `QCA9377` directory in the terminal, as a protective measure, write `ls /lib/firmware/ath10k/QCA9377/`. Check if there's only `hw1.0` or not.
* Press the up arrow, then replace that`ls`with `sudo cp -rv *` . Then it becomes`sudo cp -rv * /lib/firmware/ath10k/QCA9377/`.
* Press Enter. Wait for the files to go.
* Restart your computer.

Just so you know, it didn't work in this case.

***3) Copying firmware files (didn't work but this can fix your issue)***

* As usual, check what `ls /lib/firmware/ath10k/QCA9377/hw1.0/` leads to. What are the names of the firmware files?
* I think you guys have seen it... the names are like firmware-6, firmware-5. Basically, the one with the highest number is the one being run.
* Suppose N is the highest number. Then, you will use `cd
/lib/firmware/ath10k/QCA9377/hw1.0/` .
* Notice the file you see resembling `firmware-N.whatever.extensions` . Copy it to the parent directory. In simpler terms: `sudo cp -v firmware-N.whatever.extensions ..`
* Restart your computer.

Even this one didn't quite work. At first, it could resolve the network interface disappearance issue for some time. I even attended a class through Google Meet. But just after classes ended, I used Suspend/S3 Sleep. After waking, the Wi-Fi wasn't working at all, just like the previous solutions. On a different note, you guys can try this out if you can make a startup noscript with root access (but this might be tedious): [https://github.com/pop-os/pop/issues/1470#issuecomment-2029119116](https://github.com/pop-os/pop/issues/1470#issuecomment-2029119116)

***4) ath10k-custom.conf (hyphen) and ath10k\_core.conf (underscore) (Read it carefully, skip\_otp is an important aspect after all)***

At first, I tried to create ath10k-custom.conf. That's what helped someone in the previous post. However, my problems were resolved ONLY after wrting ath10k\_core.conf.

Just execute these commands ONCE and you'll be fine. *Note that the following commands are case-sensitive.*

* For ath10k-custom.conf: `echo -e "options ath10k_core skip_otp=y\noptions ath10k_core rawmode=0" | sudo tee -a /etc/modprobe.d/ath10k-custom.conf`
* For ath10k\_core.conf: `echo "options ath10k_core skip_otp=y" | sudo tee -a /etc/modprobe.d/ath10k_core.conf`

Restart your PC after executing the first command, and after executing the second command (basically twice).

# Conclusion

I have tried my best to propose all the solutions to this problem I could find, and now I'm tired. It's already 3:58 AM. To the firmware/NetworkManager experts, it'd be a pleasure for me to know how can roaming aggressiveness be increased. To the normal users, in case you find anything problematic, you can ask me in the comments.

That's it. Thanks a lot.

https://redd.it/1k387ef
@r_linux
How the init process works in Linux

I am not sure if this is considered spamming self promotion or not, but I made a video about an aspect about the Linux boot up process I think is cool. Let me know if I get something wrong in it too

https://youtube.com/shorts/XkgoCTuSXTw?si=M-nUV574vn7zcprE

https://redd.it/1k3a0k2
@r_linux
No matter which Distros I install, always Black screen in boot

I am tired and exhausted, I moved from Windows to Linux but I feel thug here. No matter what Linux version I install like Mint, Zorin, Ubuntu, end up with Black screen during boot. :(

If there is a good luck, then it get boot up successfully, but most of the times it end up with black screen for infinite time.

Processor - FX 6300 AMD
Mobo - Gigabyte 78LMT USB3 v4
Ram - 16GB

Please help me to fix. I Installed this in fresh SSD drive, there in partition, everything is new.

https://redd.it/1k3h23q
@r_linux
building a single pc home

Hi, so I want to building a pc for a home server (?) or NAS. I dont really know whats the most appropriate term but what I intend to build is a one pc for my household. currently my requirement is one work 'pc' capable of heavy 3d modeling one light work pc. two 4k gaming tvs. (they most likely wont be used at the same time)

my knowledge of technical stuff is bretty basic so please be patient with me.

before, i used my steam deck to stream my work pc using parsec but i thought i just want to jump all in on linux and using vm to use more niche 3d softwares.

my budget is flexible as long as i dont need to use enterprise hardware. also i heard nvidia is not good for linux so i'd like to confirm if that is still the case as im thinking of using 5090 if not, i hope amd releases an equivalent capable card or if any according my quick research suggest.

as for linux, the only distro (?) i ever used is the steam deck one and i love it. im not a programmer or even remotely capable one so i'd like to avoid anything that has to be manually typing commands at terminal but im open to surface level tinkering.

thank you for your time

https://redd.it/1k3hxux
@r_linux
Linux battery life on laptops

I'm thinking about switching to Mint on my laptop, but found out in most cases the battery life was worse on Linux than on Windows, though the posts I tound were from 2-3 years ago.

Has battery life on Linux improved?

https://redd.it/1k3kncj
@r_linux
No Arch hasnt gotten that much better, its Ubuntu that has gotten progressively worse.

See snap breaking server functionality, desktop functionality and more, I stopped using Ubuntu in a server capacity when snaps started breaking packages and was the preffered or default way of installing key packages that I need on my servers. Whereas in Arch things are working pretty damn well, that I am using it in a server capacity and it hasnt dissapointed me yet, it has dissapointed me in late 2010s when I was using custom AURs or patches to support some things, but it feels like Arch has come very very far nowadays whereas Ubuntu seems to have gotten worse slowly.

https://redd.it/1k3sh49
@r_linux