Linux

8398 readers
58 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
201
 
 
202
203
 
 

cross-posted from: https://lemmy.ml/post/21048016

Plasma 6.2 will be released in just three days! In the end we did revert the notification changes, so users of Plasma 6.2 won’t experience any new issues with notifications. The list of verified 6.2 regressions is extremely small, with most being low importance. We will of course eventually get them fixed anyway! But they aren’t release blockers.

204
 
 

So recently it was brought to my attention about a new(ish) filesystem being created. BcacheFS has some really cool features, some for example are

Copy on write (COW) - like zfs or btrfs
Full data and metadata checksumming
Multiple devices
Replication
Erasure coding (not stable)
Caching, data placement
Compression
Encryption
Snapshots
Nocow mode
Reflink
Extended attributes, ACLs, quotas
Scalable - has been tested to 100+ TB, expected to scale far higher 
High performance, low tail latency
Already working and stable, with a small community of users

I learned about BcacheFS as i am currently going through an Gentoo install and wanted to try out a new filesystem. i originally went for ZFS until i learned there is no active maintainer for OpenZFS on Gentoo as of now. and looked at Btrfs and eventually found BcacheFS. The features look very amazing, however i couldnt find many people daily driving it? i saw a few posts on Arch wiki about trying to get it to work. and i try installing it, as my main FileSystem, but ran into trouble when trying to install grub. its exact complaints was something along the lines of "cant install grub on /dev/sdc3 /dev/sdd ". i was trying to make staggered storage with a 500gb SSD and a 2TB HDD. But eventually gave up after watching a few videos of immolo which he eventually got it working but only thought Unified grub with Systemd. which for my Gentoo systems i really prefer openRC. But enough about me, do any of you fellow linux users use BcacheFS? if so whats your setup and experiences?

also if you have recently looked at lore.kernel.org Mr.Torvald says he regrets merging it into the mainline kernel because of bug fixes. https://lore.kernel.org/lkml/CAHk-=wj1Oo9-g-yuwWuHQZU8v=VAsBceWCRLhWxy7_-QnSa1Ng@mail.gmail.com/ which i thought rather interesting

205
206
 
 

Hello,

I am currently using a dual boot Windows 10 + Manjaro KDE.

Right now i'm using Windows for gaming and Manjaro for pretty much everything else (Development, music production, web surfing, text editing, etc.).

Seeing that gaming on linux is way more accessible than before with to proton, and that the end of life of windows 10 is in roughly a year, I would like to use linux for pretty much everything (including gaming) and keep Windows on the side, as an emergency solution in case something goes wrong.

To do that, i would like to reorganize the partitions, but I am unsure of the safest way to do it.

Right now, my disks look like this :

> lsblk -f 
NAME   FSTYPE FSVER LABEL          UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                                    
├─sda1 ntfs         Recovery tools F65647105646D153                                    
├─sda2 vfat   FAT32 SYSTEM         A848-DA23                             969,9M     3% /boot/efi
├─sda3                                                                                 
├─sda4 ntfs         Windows        388E60108E5FC4D2                                    
└─sda5 vfat   FAT32                3171-9208                                           
sdb                                                                                    
├─sdb1                                                                                 
├─sdb2 ntfs         New Volume     5CF414E0F414BE68                                    
└─sdb3 ext4   1.0                  52d29b2c-8d6d-4ed6-b6eb-5d31e292c14b   17,8G    81% /
sdc                                                                                    
└─sdc1 ntfs         TOSHIBA EXT    6630DF0630DEDC5D                                    
sr0                                                                                    
> lsblk /dev/sda              
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 238,5G  0 disk 
├─sda1   8:1    0   500M  0 part 
├─sda2   8:2    0  1000M  0 part /boot/efi
├─sda3   8:3    0   128M  0 part 
├─sda4   8:4    0 235,9G  0 part 
└─sda5   8:5    0  1000M  0 part 
> lsblk /dev/sdb    
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sdb      8:16   0 931,5G  0 disk 
├─sdb1   8:17   0    16M  0 part 
├─sdb2   8:18   0 803,5G  0 part 
└─sdb3   8:19   0   128G  0 part /

sda is a ~200 Gb SSD and sdb a 1Tb HDD. The windows partition is on sda4 and the manjaro partition is on sdb3, meaning that windows takes about 10s to launch while manjaro takes 1 or 2 minutes. To fix this, I would like to move my Manjaro partition on sda, alongside windows.

My best guess to do this would be to :

  1. Backup all important data from windows and Manjaro (on an external hard drive)
  2. Use window's partition tool to create a partition for Manjaro on sda
  3. Install Manjaro on sda
  4. Reorder the sdb partitions to clear the old Manjaro data

Can something go wrong with this method ? And what are the partitions I should ABSOLUTELY do not modify ?

As a subsidiary question, I am wondering if Manjaro KDE is a good distro for my needs.

I have been using for about two years so far with no major issue, but I have heard that for some people this ditro can break pretty easily. That being said, I use almost no package from the AUR, so maybe that's why ?

Do you have any recommendations regarding distros for mainly dev/gaming? And is it possible to put KDE on it easily ? I like the way it feels/looks

Anyway, thank you if you have any advice or opinion on this.

207
 
 

I am using TimeShift on my Kubuntu PC with BTRFS snapshots and I have to say that it's the most wonderfully easy and practical backup tool I've ever used. I recommend it to anyone using any distro, especially if you're using one that's less stable like rolling release, or bleeding edge ones. The cost of storage is minimal to a point you can make snapshots everyday and there are other tools you can install to update your Grub to allow you to boot into any snapshots and recover your filesystem in case of problems. But beware! TimeShift was implemented with Ubuntu's way of configuring BTRFS volumes in mind.

I was testing out Debian in a VM and trying to set up Timeshift to see if I can make snapshots and Timeshift didn’t work because of how Debian sets up volumes with BTRFS.

Since Timeshift uses Ubuntu’s way of setting up volumes and nothing else. Check this video to find out how to install Debian (or any other distro) on BTRFS so it works with Timeshift.

208
23
ZLUDA's third life (vosen.github.io)
submitted 3 months ago by woelkchen to c/linux
 
 

ZLUDA is a compatibility layer for Nividia's CUDA on other processors

209
 
 

I'm considering replacing my Nvidia Shield in the future and plan to build a small TV box as its replacement. I'm curious about what operating systems people typically use for these types of TV-specific devices, as well as which desktop environments are preferred. Is KDE or GNOME better optimized for use on TVs?

210
211
 
 

Despite having an external drive where I try to install all software that isn't related to the OS, I have somehow found my SSD 70% full. Is there a tool out there that will let me see used storage with a tree-loke GUI that will let me sort by file size?

212
213
48
submitted 3 months ago* (last edited 3 months ago) by mayo to c/linux
 
 

This is my most needed feature in linux. I want zero 'connect/disconnect' sounds and if the laptop is asleep I don't want it to wake up in the middle of the night for no reason.

I have an infinite supply of Windows laptops from work but I hate them with a burning passion and I can't afford to replace my Macbook.

If someone can tell me what linux distro is the most silent and least annoying I will erase my entire Windows partition this weekend.

214
 
 

Hey, how would you go about this:

I have let’s say hundreds of files, most of which contain some emoji characters in the filenames. How to script - or if an app can do it great! - parsing all these files and removing those … idiotic characters.

Not for nothing but yeah Unicode is great, lots of languages yada yada, but emojis? Fucking emojis??? Ian Malcom thinks just because we could, doesn’t mean we should!

So yeah. Back in the day when I did some developing in VB, I guess I’d load the filenames into memory as strings and then do an instring replacement to null of any character that is within the char() range. So… if I could find out the range wherein lay the damned-to-hades-for-eternity emoji character set, I’d null those out or replace them each with an E for Evil.

So… anyone know the easy approach to scripting this? Or is there an app that will already do it?

I’m gonna look through all the options in krename kfind etc. all those but I doubt any of them has this.

Anyway thanks if you have any ideas. Especially something I can save and just use on a directory of files anytime.

215
216
217
 
 

I just ordered an Aoostar R1N100 mini PC to replace my aging Synology NAS. Now I'm thinking about what to install on it. It's supposed to work as a NAS but I also want to host some services on it like papeless-ngx and Jellyfin, which I both run in Docker containers on a different machine right now. Plus anything that takes my fancy in the future. Current candidates are OpenMediaVault and TrueNAS. My priorities are ease of installation and administration, as well as reliability. Which one would you recommend or are there any alternatives I'm not aware of? I've also considered Unraid, but I'd prefer something FOSS.

218
0
Attack Surface Diet (www.evilsocket.net)
submitted 3 months ago by xylogx to c/linux
 
 

"A remote unauthenticated attacker can silently replace existing printers’ (or install new ones) IPP urls with a malicious one, resulting in arbitrary command execution (on the computer) when a print job is started (from that computer)."

Just spent some time removing CUPS from my Linux servers where it is not needed and only added to my attack surface. What other services should be removed from Linux servers?

219
 
 

cross-posted from: https://lemmy.world/post/20356859

https://gitlab.com/christosangel/magic-tape

Magic-tape is an image supporting fuzzy finder tui YouTube client.

https://gitlab.com/christosangel/magic-tape/-/raw/main/screenshots/main.png



UPDATE

Now introducing a new feature: the video description as well as the comments written by YT viewers will be shown in the terminal window, while the video is reproduced.

https://gitlab.com/christosangel/magic-tape/-/raw/main/screenshots/comments.png

https://gitlab.com/christosangel/magic-tape/-/raw/main/screenshots/comments1.png

https://gitlab.com/christosangel/magic-tape/-/raw/main/screenshots/comments2.png

Thus, the user can be satisfied reading other viewers having a swing at the politicians/celebrities/stars they love to hate, or, watch closely to their heart's content, as cyber nuclear attacks are launched between self-righteous, valiant and livid keyboard fighters.

Comment loading is asynchronous to video loading, so it is possible that there will be some delay in the appearence of the comments. That depends on the number of comments, network speed etc.

220
221
 
 

I've been using it for months now .. I love that I can play droidfish (cuckoo chess engine is great for lower rated games.. really good practice partner). I started with the default (degoogled) image, but gave in and installed the Google play enabled one. Now I can read google play/kindle/o reilly/blinkist.

Recently installed Minecraft education for a young family member... Runs like a charm too.

Go waydroid!

222
60
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/linux
 
 

For about 4-5 years, I have been off the deep end of Gnu/Linux operating systems. During this time period, many things in my life have changed, new social groups, and friends. After the social rebirth and exodus from high school, a few friends stuck around. Granted, this group is smaller than usual but is more closely intertwined. And yes, I know that's already off-topic for a Linux-based community. But when I like to tell a story, I like to paint a full picture. However, I will try to cut out the fluff, but I digress.

So, like many others on this community of Unix-like operating system enthusiasts, I began the plunge from Windows to Linux. First, I originally started with Manjaro because I learned about it from my very first Linux install on a Raspberry Pi model B+. I used that for a few months and eventually used the "AUR". Much like Icarus, I flew too close to the sun, and my naivety of dependencies and the underlying parts of the OS reared its ugly head. To which, my system became irrecoverably broken, and after much mental berating, I switched to Kubuntu for a year, then back to Arch. Then, my home was Nixos and Gentoo on all my machines, using Gentoo has taught me a lot about Linux as a whole.

Now, to the meat and potatoes: myself and two other individuals have done various things to fill our free time. It originally started with heading over to Friend A's house to play on his Xbox. Which became tiresome quickly, as many people know Xbox series S games are expensive, along with the "fast" NVMe-based storage stick for "internal only games". Friend B saved up for a laptop and bought an MSI Cyborg 15, and I cobbled together a LAN rig from Facebook Marketplace. Lovingly named the Ybox, as a joke of not being an Xbox and running Baztite Linux with Steam Big Picture, we had such a great time playing couch co-op games on the Ybox featuring Ultimate Chicken Horse, Unrailed, and speedrunners. But eventually, everybody in the group grew tired of couch co-op as although quite delightful became limiting in screen real estate and three-player genres. So, we started doing LAN parties like many gamers before have done in the days of Pepsi Free and parachute pants. We played many games locally and online together, and it has been great with fairly minor issues involving Steam and spotty internet.

So over this time period, I have been taking online computer classes specifically a Google IT class which is grossly outdated and feels very cobbled together as it was originally released in 2015. But it has still been useful in basic computer concepts like DNS, TCP/IP, and various Windows and Linux utilities. So, we all have played Minecraft since early days and have all played vanilla. So I said, "Screw it," and looked at some guides. Installed it on a spare laptop and recently switched it to run as a Docker container to run on my NAS and looked for help on port forwarding on Lemmy, to which the very kind people of C/Selfhosted pointed out Tailscale and Wireguard. Which has been rock-solid and much better solution got my friends all wired up to my tailnet, and it has been smooth since!

So we are now at the present where the previous night I was on call with Friend A, and he was honestly confused when there was a GUI installer and buttons. He was used to watching me use SwayWM and Kitty on the Ybox. I guess he thought Linux is for hackers and command-line only. The install went without a hitch; he booted into KDE and felt instantly at home! I showed him how to use the KDE store, in his words, "it's like the Microsoft Store?" and the touchscreen worked out of the box, and man it was PURE BLISS.

Honestly, shoutout to this great community and the very talented people behind Linux and its many, many distributions.

223
224
 
 

cross-posted from: https://feddit.org/post/3179293

Install instructions for OpenSuse Tumbleweed/ MicroOs using Full Disk Encryption secured by a TPM2 chip and measured boot or a FIDO2 key.

Nice to see OpenSuse pushing forward on securing the Linux Desktop with FDE and measured boot. Hope to see other distros following.

225
view more: ‹ prev next ›