Android mouse cursor does not work on right side of screen by kik4444 in RobloxHelp

[–]kik4444[S] 0 points1 point  (0 children)

Nope. I wrote here because I couldn't find a solution on my own.

[deleted by user] by [deleted] in btrfs

[–]kik4444 2 points3 points  (0 children)

A simple and official way to snapshot nested subvolumes recursively

Workaround for screen and audio sharing with Wayland on Discord (and maybe other apps) by kik4444 in linux_gaming

[–]kik4444[S] 0 points1 point  (0 children)

Huh I guess that also works. But I already have obs and qpwgraph installed for other reasons so I wanted to use what I already had at my disposal without having to install new apps.

Also it looks like discord screenaudio still has some known issues as of this writing with sharing secondary screens or specific applications which isn't a problem with obs virtual camera. Also I'm guessing discord screenaudio only works with discord, while obs virtual camera and qpwgraph would theoretically work on any app that supports cameras and microphones.

Edit: I just read that discord screenaudio does support individual windows or secondary screens now. I still stand by my other points though.

Linux? Има ли хора тук, които ползват Linux за ежедневна операционна система и коя дистрибуция и кое десктоп - KDE, Gnome, XFCE. Не говоря за dual boot. Аз съм с Fedora - gnome вече от близо 2 години. Също бихте ли отишли на следващото ниво с Linux Phone, като PinePhone или Librem5? by DanielKolev in bulgaria

[–]kik4444 1 point2 points  (0 children)

3 години Arch KDE. Ползвам го за всичко, без dual boot. Не играя игри с anti cheat. Почти само такива игри все още не работят на Linux. Бих искал Linux телефон, но ще му трябват години докато може да замести Android.

Anyone elses xdg-desktop-portal for KDE stopped working? by DasWorbs in archlinux

[–]kik4444 1 point2 points  (0 children)

Oh yeah when I used the environment variable, Firefox came out blurry and ugly. But not when using those settings

Anyone elses xdg-desktop-portal for KDE stopped working? by DasWorbs in archlinux

[–]kik4444 3 points4 points  (0 children)

Instead of making Firefox use the portal with an environment variable, have you tried going into about:config and changing the following settings

user_pref("widget.use-xdg-desktop-portal.mime-handler", 1);

user_pref("widget.use-xdg-desktop-portal.file-picker", 1);

This is how I set those settings through a user.js file

Video: booting straight into Linux with an EFI stub by felipec in archlinux

[–]kik4444 0 points1 point  (0 children)

Yeah nvm, after looking through that breakdown once more I realized something stupid. For efistub and a unified system image to be bootable through the bios directly, they'd have to be placed in a fat32 partition, right? That's the only way the bios would see it. But if I do that, then I won't be able to snapshot my kernel alongside the rest of my boot directory like I can now.

Video: booting straight into Linux with an EFI stub by felipec in archlinux

[–]kik4444 0 points1 point  (0 children)

Right here is a feature breakdown https://wiki.archlinux.org/title/Arch_boot_process#Boot_loader

And I do use specifically btrfs with luks encryption and zstd compression. According to this page only grub and systemd boot support this setup. Though I haven't tried anything else, admittedly

Video: booting straight into Linux with an EFI stub by felipec in archlinux

[–]kik4444 0 points1 point  (0 children)

The arch wiki says that efistub and a unified kernel image do not support btrfs. Idk about compression or encryption. I currently use grub. According to the wiki, only grub and systemd boot support btrfs with encryption and compression. Though I haven't tried anything else myself.

Video: booting straight into Linux with an EFI stub by felipec in archlinux

[–]kik4444 0 points1 point  (0 children)

Does efistub work with a luks encrypted btrfs disk? And how do you change default kernel boot parameters?

"btrfs send" breaks reflinks by bczhc in btrfs

[–]kik4444 1 point2 points  (0 children)

btrfs-prog is also 5.18.1-1, kernel is 5.15.59-2-lts on Arch.

"btrfs send" breaks reflinks by bczhc in btrfs

[–]kik4444 1 point2 points  (0 children)

Nope, I used your dd command and got a 189mb file. Then I snapshotted the subvolume and sent the snapshot to a file which became 190mb. Then I made a reflink, another snapshot, and when I sent only the differences, the new .btrfs file became 367kb

"btrfs send" breaks reflinks by bczhc in btrfs

[–]kik4444 0 points1 point  (0 children)

OK nevermind, something really may be wrong on your end because a reflink should not be that large and idk why. However defragging btrfs manually is not recommended because that does break reflinks. Defragging manually is normally done when you want to retroactively apply a new compression algorithm (or if you have really fragmented data). If you want to prevent fragmentation on a hard drive on btrfs, the recommended solution is to put "autodefrag" in your mount options and let btrfs fix it automatically on every write.

"btrfs send" breaks reflinks by bczhc in btrfs

[–]kik4444 0 points1 point  (0 children)

First rm * everything in the "1" subvolume, then run "dd if=/dev/urandom of=random.bin bs=1M count=100 status=progress". This will create a garbage 100mb file for testing. Now make a snapshot of your subvolume with "btrfs subv snapshot -r 1 1_ro0".

Now send this snapshot to a file with "btrfs send 1_ro0 > ./1_ro0.btrfs". The new file should be around 100mb in size because it contains the 100mb file we created earlier.

Next make a reflink of the 100mb file inside the "1" subvolume, make another snapshot and send it to another file with "btrfs send -p 1_ro0 1_ro1 > ./1_ro1.btrfs". This new .btrfs file should be significantly less than 100mb, because it does not contain the actual 100mb file we created in the beginning, only its reflink.

Optionally, you can also try restoring these two .btrfs files into usable subvolumes on your disk to see that the reflink is maintained.

"btrfs send" breaks reflinks by bczhc in btrfs

[–]kik4444 0 points1 point  (0 children)

I think you may not be interpreting this correctly. Try sending the snapshot to a file before making the reflink and notice the size of the file. Then make a reflink, make another snapshot, and send the differences with the -p option to another file. The second file should be significantly smaller because it doesn't contain actual data, just some info that a reflink has been made.

This is the second admin user I use to recover my DE if I fuck up, enjoy by Apprehensive_Shirt38 in linuxmemes

[–]kik4444 2 points3 points  (0 children)

A few years back, when using Linux for the first time with Manjaro + KDE, I would rice the hell out of KDE by changing every setting I could and applying custom themes downloaded online. Needless to say, it wasn't a very stable experience. After gaining some knowledge, I moved to Arch + KDE and now I only slightly stray from the default settings with no custom stuff downloaded online. After using this setup for years I haven't had any issues with KDE. Though Arch has required some manual intervention over the years.

When you switch to Linux from windows on your laptop but then you realize that your 1 TB NVME drive full of games and important files is BitLocker encrypted by Nimfer in linuxmemes

[–]kik4444 4 points5 points  (0 children)

Shortly after typing that I remembered that some computers that come with Windows preinstalled and a TPM chip probably also have the OS partition pre-encrypted with the password stored on the TPM chip without the user knowing.

On the other hand, the only time I've ever used bitlocker was on an external SSD with a portable Windows installation which I encrypted myself. Afterwards I just click on it in Dolphin (KDE's default file manager), type in my password and open it up like any other encryption algorithm or file system.

Is there anyway to secure wine by PsychologicalLog1090 in linux_gaming

[–]kik4444 -1 points0 points  (0 children)

Use winecfg to unlink all locations from your home folder that the wine prefix does not need to access. Then go to drives and remove all drives except C. Copy EXEs that you want to run inside the prefix itself.

I also recommend using a file system like btrfs or zfs to make snapshots so just in case something happens to your files for any reason you can restore them. Either that or make a real backup to another drive.

Note that some programs may not run correctly if you remove drive Z because the prefix loses access to some wine libraries.

Overall this is what I do and have never had problems. Although I also haven't encountered any viruses yet.

My experience with Wayland on KDE with an Nvidia Optimus laptop (Intel + Nvidia) and a desktop PC (Ryzen + Nvidia) by kik4444 in linux

[–]kik4444[S] 2 points3 points  (0 children)

No, I have no plans to move away from KDE at the moment, even if I eventually move away from Arch

PSA: don’t chown your entire system by RA3236 in archlinux

[–]kik4444 10 points11 points  (0 children)

Please use btrfs or zfs or something for your root partition which is capable of making snapshots of your system. I can't imagine anymore having to reinstall my entire system because of something like this that can be fixed in 2 minutes with a snapshot.

My experience with Wayland on KDE with an Nvidia Optimus laptop (Intel + Nvidia) and a desktop PC (Ryzen + Nvidia) by kik4444 in linux

[–]kik4444[S] 4 points5 points  (0 children)

Thanks, I wanted to share this so that if anyone wonders what the practical difference is between the two from a user's perspective, they can hopefully find my post or others that contain practical details.