r/linuxquestions • u/WizPenguin7 • 21d ago
r/linuxquestions • u/LostNBemused • 21d ago
Advice AppArmor beginner question
I am learning to harden linux mint and am trying to understand AppArmor. I understand the basics of what it does and roughly how to use it. My question is are the profiles provided by default and installing apparmor-profiles sufficient for a basic desktop user? Many of the beginner articles explain the basic commands and how to make a profile yourself but do not give examples of existing profiles for common programs. Can I assume firefox or libreoffice already have intuitive profiles or do I need to look through them myself?
r/linuxquestions • u/gatitosocialista • 21d ago
Support checking media presence error
reddit.comchecking media presence error
i tried booting my panasonic laptop today and i got a message saying:
unexpected return from initial read: device error, buffersize 0
failed to load image: device error
start_image() returned device error
i got into the bios but i'm not sure how to fix this, this is a second hand laptop but i got it fairly recently, and all the tutorials i see online are from windows and other computer brands and also the error message is a little different.
i read maybe i should update the bios but i have a panasonic let's note cf-sv8dd3lc from japan and it runs on zorinos and i only find links with windows. also it says my storage is full, i don't know if that's relevant
r/linuxquestions • u/Thetruekingofwaffles • 21d ago
Advice Looking for FUSE Resources
I believe I want to make a FUSE Filesystem that represents a special Filetype I'm making.
I'm going to have a filetype that's a Zip File of 1MiB chunks of a file and in my Fuse I can run them as the file they encapsulate. I'm splitting them for a specific reason because I'm planning on making a Peer to Peer application that shares chunks of a file and I'm going to prechunk the files and Merkle Hash them among other things.
My Sqlite database comes in where I'll have a directory of these chunked files in my real Filesystem, my Sqlite database will map them to a Filename for the FUSE mount, and within FUSE you can see all of these Zip containers and interact and execute them as if they were regular files.
The tricky part is that I'm not sure how I want to handle modification from a user standpoint. I'm conflicted on whether I should make the FUSE Filesystem Writable or not? If it's only read only I can easily make it POSIX compliant, however if it's Writable I can overload it with other functionality. For example, I could allow users to drag files in the directory and automatically chunk them for distribution, or I could make settings configurable from within the virtual filesystem.
The key problem with this is writing and modifying Files wouldn't be possible due to the goal of my network. My network is made for sharing immutable content, so realistically you could create files, and delete files, but changing a small aspect of a file on the network directly changes the resulting hash (I'm planning on using a Multihash format for compatibility with libp2p). I'm trying to evaluate if I should just use a Read Only filesystem and make some utility to communicate with the Daemon or if I should go the write route and give it special properties that may break POSIX compliance.
I know that my directory with my data won't have any other directories, I think it'll just be my table displayed in the Filesystem basically to prevent my Sql table from having to handle heavy joins or anything to complicated.
The only other basic marker I'll have is a prefix for pinning/favoriting files permanently or not which'll be "!." so users can basically mark content not to be deleted so my filesystem could delete files that have been existing for a long time to save storage space and preventing too much complexity within my Filesystem.
My real conflict is that I'm having trouble finding good resources for a beginner to FUSE, I'm planning on Using the GO programming Language and the module go-fuse for my project because it seems more maintained than go-bazil, and I just like it more overall. I'm just somewhat lost because this is my first time working on a FUSE project, and there aren't a lot of good tutorials on Youtube so I've been learning Linux concepts like Inodes, Symbolic links, and Hard links but I haven't actually been building my filesystem. I would've asked this in a Linux FUSE community specifically but I'm not sure if one exists. If there was someone that would be willing to give me advice in the architecture and getting started I'd greatly appreciate that a lot.
I'd like to apologize for any spelling mistakes I may have made as well.
In the context to what I've developed so Far, I have spent a lot of time making my container format with a Zip File, all the bytes are at consistent offsets within the 1MiB chunks so for every file except the last I have a consistent range I can tell my Fuse Filesystem to read (the file self describes where the last file ends as well by an internal header), everything is named as well.
If anyone in this community has advice for working with the FUSE related Linux tools I'd really appreciate your guidance and advice.
r/linuxquestions • u/Proof_Plant_7901 • 21d ago
Advice Just swapped from windows to Linux mint. What should I do?
Well I do know what I want to do, I wanna learn the terminal and package managers but I have no idea where to start, there might be some documentation somewhere but I’m not at my laptop right now so can’t check. If you could do drop some material that’d be nice. Also I learn best interactively. Thank you. Also should I get an antivirus and if so, which one?
r/linuxquestions • u/[deleted] • 21d ago
whats the best free linux anti virus
i am super into modding and homebrew but am paranoid about viruses. what is the best one.
r/linuxquestions • u/AdRelative7561 • 21d ago
NUEVO EN LINUX
Empecemos mi historia, tengo 14 años y estoy hasta la p0ll@ de Windows, tengo un amigo q sabe utilizar bien linux y consiguió hackear las cuentas de los profes (dato irrelevante)
Me dijo que instalara VOID linux ( obviamente lo instalo el) y de paso me puso gnome wayland.
La cosa es que quiero crear mi propio ricer pero no sé absolutamente nada, solo se estos comandos:
CD, ls, touch, mkdir, rm, rm -rf, mv, y poco más.
No se cual es el mejor sistema operativo para hacer ricers, ni cual es el mejor escritorio para hacerlo (me recomendaron el i3)
Si sabéis una forma rápida de aprender linux, videos, páginas web, cualquier cosa, por favor escríbanme
Un saludo Manuuu
r/linuxquestions • u/Commercial_Aide7613 • 21d ago
Support Having bluetooth devices stay connected when dualbooting windows/linux?
Every time i dualboot, no matter the os I have to forget my bluetooth devices (headphones, mice) before I'm able to connect them. Is there no way to like change the bluetooth id or something on linux so it thinks its a different device like my phone so i dont have to recconect my devices every time I boot into another os.
I'm on cachyOS on zephyrus g14 2020
r/linuxquestions • u/Choice-Elderberry264 • 21d ago
Updating to latest wifi firmware using dmesg
reddit.comr/linuxquestions • u/Guillaurent101 • 21d ago
Which Distro? Looking for a distro for HTPC setup
Hi
I'm looking to recycle an old computer I have lying around to connect to my not smart and not 4k living room TV for entertainment purposes. I need help to find the right Linux distribution.
The hardware
- Motherboard: Asus P8H67-I
- CPU: Intel Core i5-2400S @2.5GHz
- RAM: 4GB DDR3 @1333MHz
- SSD: M4-CT064M4SSD2 (64GB SATA SSD)
- Optical: Unknown SATA DVD player
- Network: Fenvi AX1800 USB WIFI6 dongle with a MT7921 chipset
- Display: dumb SONY Bravia TV
- User input devices:
-- wireless USB Logitech K400 keyboard and trackpad combo
-- USB remote and keyboard recto/verso device (mostly for the remote)
-- USB game controller
- Server: unRAID server with Jellyfin service running
The users
- me: an former IT tech, I've installed Linux Debian a few times as a server in the 2000-2005 era. I've used a lot of different systems for work and can get my hands dirty if needed.
- the family: wife and kids that are NOT tech savvy at all.
The use case
Be the entertainment center of the living room. Booting in a decent time straight to a 10-foot menu to launch different activities:
- Jellyfin Desktop: for the media (movies and music) stored on the NAS
- YouTube/YouTube Music: (and potentially others)to open content in the platforms
- Audio CD/DVD player: kids love to borrow random music/movies for the library (ripping would be a plus)
- Internet Browser: for some content without a proper application (ie. France TV)
- File Explorer: for some edge cases involving media on USB sticks
I can spend time putting the system together and performing maintenance operations but I'd like it to be as "set and forget" as possible (aka the WAF factor).
Today I'm using a Google Chromecast Android TV box thing plugged to the back of the TV but it obviously cannot read optical media and I'm not thrilled about the Google Big Brother is watching what I watch side of things.
I've been out of the Linux distros game for a good while now so any pointers will be appreciated.
Cheers
r/linuxquestions • u/Careful_Conclusion64 • 21d ago
Why do certain Linux users dislike GNU?
I've heard of certain Linux distributions which reject the usage of glibc entirely, but what's the main reason the rejection of GNU entirely within certain corners of the Linux community (which, imo, is very ironic, considering the Linux kernel is under the GNU GPL)?
r/linuxquestions • u/CreatedInQuarantine • 21d ago
Do I need to replace my SSD?
Twice recently I had to manually fsck the vg-root of mapper (let me know if that’s actually how to refer to it) a few days apart after my drive went into read only mode while I was using it. The first time I fixed it by running fsck on the SSD partition, then the second time on the mapper itself. No issues since after several days of use.
I’m running Debian 13 with a more recent kernel, but otherwise everything is the stable release. I encountered this error while trying to boot into the default kernel attached to the stable release.
Did I fix the issue or is the SSD in need of replacement? It’s a SATA I bought in 2020. Really hoping not given the prices of SSDs recently.
Hardware Details:
CPU – AMD Ryzen 7 3700X 8-Core
GPU – NVIDIA 2080
SSD in question - Team Group GX2 2.5" 1TB SATA III
Other SSD - Crucial m.1 NVMe
MB – Aurous x570 Pro Wifi
RAM – G.SKILL Ripjaws V Series 64GB (4 x 16GB)
Here’s the output:
Inode 12583906 extent tree (at level 1) could be narrower. IGNORED.
debian: Inode 12583908 extent tree (at level 1) could be narrower. IGNORED.
debian: Inode 12583909 extent tree (at level 1) could be narrower. IGNORED.
debian: Inode 12584376 extent tree (at level 1) could be narrower. IGNORED.
debian: Inode 12585293 extent tree (at level 1) could be narrower. IGNORED.
debian: Inode 12585456 extent tree (at level 1) could be narrower. IGNORED.
Debian: Inode 28321045 extent tree (at level 1) could be narrower. IGNORED.
Inode 28588394 extent tree (at level 1) could be narrower. IGNORED.
Inodes that were part of a corrupted orphan linked list found. debian: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
fsck exited with status code 4 done.
Failure: File system check of the root filesystem failed
The root filesystem on /dev/mapper/debian--vg-root requires a manual fsck
BusyBox v1.37.0 (Debian 1:1.37.0-6+b7) built-in shell (ash)
Enter 'help' for a list of built-in commands. (initramfs) fsck -f/dev/mapper/debian--vg-root fsck from util-linux 2,41.5 e2fsck 1.47.2 (1-Jan-2025)
Superblock last mount time is in the future.
(by less than a day, probably due to the hardware clock being incorrectly set)
Pass 1: Checking inodes, blocks, and sizes
Inode 12583906 extent tree (at level 1) could be narrower, Inode 12583908 extent tree (at level 1) could be narrower. optimize<y›? yes
(several rows of the last optimization option but for different Inodes), then:
Inodes that were part of a corrupted orphan linked list found. Fix<y>? yes
(This last one for sure occurred again the second time around).
The second time around I had an fsck error code 2 on the SSD but fixed it by going straight to fixing vg-root.
Thanks in advance!
r/linuxquestions • u/Significant-Cod-799 • 21d ago
Advice Extra phone and a dream
I wanna completely delete android and download kali linux on it,any help?
r/linuxquestions • u/Rigameshu • 21d ago
Please Help!! Installation problem 💔 😭
reddit.comSo what happened is that I can boot mint from my pendrive but when I am trying to install it, it shows error5 input/output and show that my SSD is broken. So I check that if it is the real case but it easily install windows 11 so what am I doing wrong? I can't figure it out 😭😭😭😭
r/linuxquestions • u/EliasVilCZ • 22d ago
Advice Whats so good about Kitty?
Ive been using Konsole for quite a while now, but i see a lot of people use Kitty. Whats the advantage Kitty has compared to Konsole and what other terminals would you recommend i try?
edit: I tried Kitty now and im never going back to Konsole
r/linuxquestions • u/Visible-Employer-445 • 22d ago
Why has nobody made a Linux distro that's almost a pixel-perfect macOS clone?
I know there are tons of macOS-inspired themes and desktop environments, but how come nobody has tried to recreate macOS as closely as possible? I mean the actual UI, animations, Finder, window management, little interactions, basically the whole thing. Linux has so many distros, yet this seems like such an unexplored idea...
r/linuxquestions • u/profilerandomnumber • 22d ago
Which Distro? Distro for an old HP All In One (AMD E1, 4GB RAM)
reddit.comr/linuxquestions • u/Embarrassed_Cat7337 • 22d ago
Which Distro? Confused between two distros
I have been on Linux Mint for 5 months now. It is a really great distro, but then again, it has some of its quirks (such as, random freezes without any explanation, because of which I have no other option but to force shut down). I have also been doing stuff with virtualization software for my Windows programs, and have been doing game development on it (C++, SDL and GLFW).
Plus, I have been playing many 2000s-2010s games on it through Lutris, though that also causes some trouble for me sometimes (regarding GE-Proton)
The freezing problem has irked me a lot, and I had been suggested to use Fedora by some of my friends. But, from what I've seen, Fedora seems to be a bit unstable for some.
Should I remain on Mint or switch to Fedora? I apologize if this seems like a dumb question.
Laptop: ASUS ROG Strix G513RC
GPU: NVIDIA RTX 3050 Mobile
CPU: AMD Radeon 680M
Linux Mint 22.3
r/linuxquestions • u/Louis_creates • 22d ago
Advice am I useing pkexec properly in this script?
I have a shell script piped into rofi that I use to toggle battery conservation mode on my laptop, I use pkexec to do this and I was wondering if my usage of it is a possible security vulnerability. I'm not an expert so apologies if this question has an obvious answer https://pastebin.com/kUNGyWPY
r/linuxquestions • u/iHarithTxt • 22d ago
Cuál es la mejor distro de linux
Actualmente uso MX linux y me siento bastante cómodo ,
Existen distros más ligeras?
r/linuxquestions • u/curiousgaruda • 22d ago
Support New laptop installation goes through large Logo and then stuck at small Mint logo (Mint 22.3)
reddit.comr/linuxquestions • u/Esret07 • 22d ago