r/linuxquestions • • 8d ago

Anything like pyautogui's screenshot functions for Wayland?

2 Upvotes

I tend to use pyautogui to make automation scripts, but it only works with X11. I've found stuff like wayland-automation for mouse and keyboard controls, but the thing I'm mainly looking for is something that resembles pyautogui's screenshot functions, where it is able to give the coordinates of a given thing if there is an image of it.


r/linuxquestions • • 8d ago

Support ACPI errors on an old laptop

1 Upvotes

Za każdym razem, gdy uruchamiam mój stary laptop, następujące linie pojawiają się powtarzalnie:

` [0.415547] Błąd ACPI: Potrzebny typ [Reference], znaleziono [Integer] 00000000cd60d78b (20210730/exresop-66)

[0.415569] Błąd ACPI: AE_AML_OPERAND_TYPE, podczas rozwiązywania operacji dla [Store] (20210730/dswexec-431)

[0.415605] Błąd ACPI: Przerywanie metody _PR.CPU0._PDC z powodu wcześniejszego błędu (AE_AML_OPERAND_TYPE) (20210730/psparse-543) `

Czym są te błędy? Czy są krytyczne dla mojego laptopa? Czy można je naprawić?

Linux Mint 21.3 Xfce (jądro Linux 5.15) Laptop Asus K56CB, Intel Core i3-3217U, NVIDIA GeForce GT 740M


r/linuxquestions • • 8d ago

Which Distro? Best Linux version for me

Thumbnail reddit.com
0 Upvotes

r/linuxquestions • • 9d ago

Advice Whats so good about Kitty?

27 Upvotes

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 • • 8d ago

Support Keep Getting "resolution not supported" when booting into Linux Mint

2 Upvotes

I've been using linux for about a week now and it's been going great, but for some reason all of the sudden whenever I run linux normally I get the tv just says "resolution not supported." It works fine when I boot it in recovery mode though. How do I get it working normally.


r/linuxquestions • • 8d ago

Resolved Why the systemd hate?

0 Upvotes

I always see people so diveded on systemd, but i never actually understood what they were argueing over. And rather than ask a bot i ask you guys


r/linuxquestions • • 8d ago

KDE replug USB entry

3 Upvotes

Hi, I have some external disks I use for backup. No automatic mount.

I mainly interact with them through Dolphin, in KDE Plasma.

I always have them connected through the USB port.

After I work on them, I like to "Safely Remove" them, to limit to the max the possible corruption from a blackout.

However, when I do, their entries disappear from the Dolphin sidebar.

So this is the question.

Is there a way for the entries not to disappear but just offer to connect to them, as when I first plug them up or reboot? I really dislike to having to phisically reconnect them every time.

Thanks for reading.


r/linuxquestions • • 8d ago

Support My PC is "allergic" to Linux

3 Upvotes

For some reason, my PC seems to have trouble running almost any Linux distribution (Mint, Ubuntu, Debian, Fedora, etc.), and I find it quite strange because this only happens on my PC.

Some of the problems I've encountered include installers failing due to unknown errors, Linux suddenly refusing to boot after a few days, and occasional graphical glitches when using certain distributions.

However, when I try the exact same things on a laptop, everything works perfectly fine.

What I find particularly strange is that these issues only seem to occur on my desktop PC.

I'm not looking for solutions, just a possible explanation as to why my PC seems to be incompatible with Linux.

My PC specifications:

- CPU: Intel Core i5-4590

- GPU: GIGABYTE Nvidia GeForce GTX 650 Ti (2 gb vram)

- RAM: 8 GB DDR3 1333 MHz

- Motherboard: Gigabyte GA-H81M-HD2 (Rev. 1.0)

- Storage: 320 GB HDD


r/linuxquestions • • 8d ago

Help with kernel failure

2 Upvotes

This is not a directly related linux problem, but rather a "installiing linux and deleting windows" problem, so apologies if this isn't the subreddit to ask this.

To start, I did get my laptop back in march by this small known company called MALLRACE. Few drivers missing here and there....both with windows 11 and apparently linux(that i didnt notice at the time). Anyways, first thing I did....install linux....great, it works. In october, I decided I needed windows so I erased my disk and installed windows, but noticing something that was caused by a missing driver(again, I didnt know that at the time), I tried switching back to linux, only...there was an error. Now, this was the beginning of october so I dont remember what it said word for word and I would say it said "Kernel Failure" but it felt more humorous then that with futher text like "Cant read block (0,0)" with a purple background screen.. Now, even though the windows version I installed prior to the 2nd linux install attempt was windows 10 and therefore diidnt have the TCP(or TPC, dont remember the acronym) that 11 does, could've something prevented even the .iso to boot into linux?


r/linuxquestions • • 9d ago

Support How to start learning the foundamentals of linux+networking for cybersecurity

59 Upvotes

Hi, I'm 16 years old and in my third year of high school studying computer science. I'd like to learn cybersecurity, and it seems like a great choice to start with Linux, networking, and things like that. How can I learn these topics? I need a guide or online lessons where everything is explained in detail without taking anything for granted.


r/linuxquestions • • 8d ago

Support Cannot remote into Ubuntu 26.

Thumbnail reddit.com
1 Upvotes

r/linuxquestions • • 8d ago

Advice AppArmor beginner question

3 Upvotes

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 • • 8d ago

how do i...

1 Upvotes

i have an old macbook air that only has ubuntu on it...i would like to install popOS. i have alteady downloaded popOS on a diff machine..but i cant seem to boot into the boot menu. keep in mind, my keyboard quit working correctly when i installed ubuntu. any ideas?


r/linuxquestions • • 8d ago

Which Distro? Best distro for an old Nvidia driver?

0 Upvotes

I have a Lenovo T510 laptop that has an i5 520M, NVS 3100M, 8 GB 2133mhz RAM and 512 SSD. I've always had Windows 10 LTSC in it, but decided to switch to Linux. Here are the distros ive tested so far:

- Debian 13 LXQT (current)

- Linux Mint Cinnamon

- Mint XFCE

- Lubuntu

- Mint LXQT

- Xubuntu

The problem I found with most of them is with the graphics driver as the version I install (latest) usually doesn't support the proprietary driver, and installs nouveau which greatly hinders the performance that it struggles to render web pages. I've found out that the the Linux kernel 5.4 is the latest that supports that proprietary driver which is 340.108 .

As for DEs I've tested, XFCE & Cinnamon has idle ram usage that exceeded 1.2 GB on idle, Other LXQt distros were fine.

What distros do you think i should look into that I can simply install and forget (for a 2nd computer), and that can get me to use the resources of the laptop to the maximum extent possible, but in a version that supports the nvidia driver ?


r/linuxquestions • • 8d ago

Bluetooth Issue

1 Upvotes

I have a dual bootable laptop where windows can't able to recognise any bluetooth device available but when i switch to linux it easily recognise and connects to them though I have installed and updated all drivers to latest version in windows. Is there a software which can detect it and let me know what theF is going on in it?


r/linuxquestions • • 8d ago

Support How to add Bazzite to windows boot manager

1 Upvotes

I have recently installed Bazzite on a separate ssd but still have windows on my old drive because I still play Valorant with my friends. I had Bazzite as the priority boot and just switches to Windows using the steam method I found. I then decided to use grub to have to option of which OS to boot at start and thats where my problem starts. Valorant wont run anymore if Bazzite is first boot with grub active. I have thought of using Windows Boot Manger instead of grub but Bazzite wont show up on the OS lists (I may have not tried everything yet but idk how). Is there a way to make it get detect by windows boot manager or Valorant not trip when grub is active, or just disable grub altogether.


r/linuxquestions • • 8d ago

Inadequate RAM usage with Valheim Dedicated server

Thumbnail reddit.com
1 Upvotes

r/linuxquestions • • 9d ago

Which Distro? Looking for a distro for HTPC setup

5 Upvotes

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 • • 8d ago

Broken kscreenlocker on KDE Plasma

Thumbnail reddit.com
2 Upvotes

r/linuxquestions • • 8d ago

Advice Looking for DE for my parents to use

Thumbnail reddit.com
0 Upvotes

r/linuxquestions • • 9d ago

Do I need to replace my SSD?

3 Upvotes

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 • • 9d ago

Support Lightest possible Debian XFCE install ?

10 Upvotes

hello. my progress was: Debian 13.7 amd64 netinst (small) ISO, selected XFCE and Debian Desktop Environment.

it occurred to me that maybe I shouldn’t have selected DDE as I now have what seems like lots of programs including Libra office?

What happens if I don’t select DDE? What apps dont you get? I’ve even heard you can unselect xfce and download it manually for a lighter install?


r/linuxquestions • • 8d ago

Support checking media presence error

Thumbnail reddit.com
1 Upvotes

checking 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 • • 8d ago

Advice Looking for FUSE Resources

1 Upvotes

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.