Linux

7888 readers
105 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 1 year ago
MODERATORS
1
 
 

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.

2
 
 

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

3
 
 

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?

4
5
 
 

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?

6
7
 
 

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.

8
 
 

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.

9
 
 

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.

10
11
12
 
 

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.

13
0
Attack Surface Diet (www.evilsocket.net)
submitted 5 days ago by xylogx@lemmy.world to c/linux@lemmy.world
 
 

"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?

14
15
 
 

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!

16
60
submitted 1 week ago* (last edited 1 week ago) by Steamymoomilk@sh.itjust.works to c/linux@lemmy.world
 
 

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.

17
18
 
 

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.

19
20
 
 

For some years, I just used directory-organized audio files. I used emacs's emms to control the playlist, and had it set up to have mpv play audio files.

Some years back, I used at mpd for a while, but it's really oriented towards accessing audio via metadata, which wasn't really what I wanted to do: that really entails getting correct metadata on all of an audio collection.

Then recently, I ran into beets, which is a utility to do semi-automated metadata cleanup (compute and apply ReplayGain tags, insert metadata using a variety of techniques, etc) en masse and finally got my metadata in a reasonable state, and flipped back to using mpd. I was pretty impressed with beets; it takes some setup, but runs what it can in parallel, doesn't block the process when it needs human guidance on metadata, and can be set to automatically set metadata when its confidence is above certain levels but ask below that.

Mpd is probably especially useful when one has an audio server that one controls remotely with a other devices, though I just use the thing locally. It supports a bunch of frontends; can be controlled from GUI software, from the command line, from TUI clients like ncmpc or ncmpcpp or a few others, from various emacs software packages, can keep running if you bring down your graphical environment. A lot of OSD/"bar"/"dock"/"wharf" software can display MPD information out-of-box; I'm currently using waybar in sway, which can display mpd information.

I'm not always directly at the media-serving machine, and I'm using unison to synchronize my music files to a laptop. New files or removals or whatever will get propagated in either direction. That lets me have a replicated media library accessible for disconnected use.

All of the above stuff is packaged in Debian bookworm; should be available in at least Debian-family distros out-of-box, and probably others.

Anyone else want to describe their favored music-playing setup, stuff that they've found works well for 'em? Maybe give other folks who might be looking for something similar useful ideas?

21
22
20
submitted 1 week ago* (last edited 1 week ago) by dono@lemmy.world to c/linux@lemmy.world
 
 

Hey everyone,

I've been experiencing a really strange visual glitch on KDE Plasma (6.1) running Wayland on Arch Linux, and it happens across various Proton versions and games, though it’s especially frequent in Cyberpunk 2077 and Assassin's Creed Origins. Most games however seem totally unaffected, even when they are similar in GPU usage. I'm hoping someone has come across this issue or has some advice on how to fix it!

When opening certain in-game elements like menus, the entire desktop gets covered with a small, dotted grid-like pattern. This affects the whole screen, not just the game window. It only ever affects the screen that the game is running on, never my second one.

If I move another window (like a browser or file manager) over the game, that window becomes partially see-through, revealing the game underneath.

After exiting the game, parts of the game image linger on the screen and are, dimly visible as if it’s "burned" in.

The glitch appears and disappears randomly, even while the game is still running, regardless of whether the window is in focus or not. It mostly happens when opening in game menus or overlays. Rebooting fixes the issue, but it reappears after playing certain Proton games. One of the first things I tried was replacing the Display cables, but that had no effect. Turning the monitor off and on doesn't fix it. While this glitch is active, I sometimes get random brightness flashes, almost like a strobe effect. The flashing stops and starts randomly, as long as the grid pattern is visible.

If I take a screenshot while the glitch is happening, the visual bug (grid pattern and shine-through) does not show up in the screenshot. The image looks perfectly normal. So all pics are shot with my phone camera.

I’ve looked through the Proton and system logs but can’t find anything that stands out to me (though I’m not an expert). I’ve also searched online quite a bit but couldn’t find anything that looked similar to my issue.

My GPU is an Nvidia RTX 4080 with the latest nvidia-open-560 drivers I'm running KDE Plasma 6.1 (Wayland) on Arch.

I’d appreciate any help or ideas on troubleshooting this further!

23
6
submitted 1 week ago* (last edited 1 week ago) by RayJW@sh.itjust.works to c/linux@lemmy.world
 
 

I have an issue on my Lenovo Laptop where the Lenovo Active Pen 2 under Arch / CachyOS with GNOME on Wayland always recognises the eraser as pressed. While this is probably a libinput issue, I can’t wait for possibly months to get a fix on that side. While I will report this issue to them, I would like to fix the problem intermediately.

This was never a problem under Fedora with GNOME on Wayland. I think the problem might be that libinput on Arch loads the Wacom driver, while Fedora probably just fell back to the generic libinput driver. I got that idea because in GNOME settings my screen now is configurable in the Wacom settings, that never was the case on Fedora.

I stumbled across this thread, however, that is not viable in Wayland any more since there is no config file available for libinput. Is there any way I can force the libinput driver for the “Wacom HID 52C2 Pen” device under Wayland, while GNOME is not specifically exposing this setting?

Any pointers would be greatly appreciated :)

Edit: Scratch all that, I just tried the live ISO for Fedora 41 and found out it's not related to Arch. After some trial, it seems like this might actually be an issue with the 6.11 Kernel. After downgrading to 6.10.10 everything works fine again. I guess my new question is now where would I report this? Is this still a libinput or a Kernel upstream issue?

24
 
 

I've been having issues with my PC not waking from sleep, the fan keeps spinning, but the screen stays black, and it won't respond. I could just keep it on all the time, but it uses a lot of electricity, so I prefer not to.

So far I've tried:

  • Using Wayland / X11
  • Secure boot off/on
  • Installing the latest BIOS update
  • Waking with keyboard presses, mouse movement, power button

Some more information:

  • Sleeps works fine on Windows.
  • I'm using an AMD CPU & GPU
  • I'm using OpenSUSE Tumbleweed, and I'm fully up-to-date (version 20240919).
  • I'm using kernel 6.10.9-1-default (64-bit)
  • I have a swap partition with the same size as my memory
25
 
 

Hey guys, I currently have two separate 2TB SSD's, one still has my old Windows 11 install and the other has Bazzite. I bought a 1TB SSD so that I can move my Windows install to that for the few things I still need Windows for, so I want to install CachyOS on what will eventually be an empty 2TB SSD.

First off, what's a good way to clone my current Windows install to my new 1TB SSD? I'd prefer to avoid re-installing just because that's a pain in the ass, but I'll do that if necessary.

Second, what's the best practice for managing two separate /home folders? I know I can just point Steam to my Bazzite /home directory to get my games to show up in another install (I think?) but are there any problems that may arise due to having two distros installed across two different SSD's? As far as I know, Bazzite already uses BTRFS which is also what I want to use in CachyOS so that I can create snapshots in case I break something, so the file systems should be compatible with each other.

Thanks!

view more: next ›