Linux

63443 readers
557 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
51
 
 

I'm installing 3x2TB HDDs into my desktop pc. The drives are like-new.

Basically they will replace an ancient 2tb drive that is failing. The primary purpose will basically be data storage, media, torrents, and some games installed. Losing the drives to failure would not be catastrophic, just annoying.

So now I'm faced with how to set up these drives. I think I'd like to do a RAID to present the drives as one big volume. Here are my thoughts, and hopefully someone can help me make the right choice:

  • RAID0: Would have been fine with the risk with 2 drives, but 3 drives seems like it's tempting fate. But it might be fine, anyhow.
  • RAID1: Lose half the capacity, but pretty braindead setup. Left wondering why pick this over RAID10?
  • RAID10: Lose half the capacity... left wondering why pick this over RAID1?
  • RAID5: Write hole problem in event of sudden shutoff, but I'm not running a data center that needs high reliability. I should probably buy a UPS to mitigate power outages, anyway. Would the parity calculation and all that stuff make this option slow?

I've also rejected considering things like ZFS or mdadm, because I don't want to complicate my setup. Straight btrfs is straightforward.

I found this page where the person basically analyzed the performance of different RAID levels, but not with BTRFS. https://larryjordan.com/articles/real-world-speed-tests-for-different-hdd-raid-levels/ (PDF link with harder numbers in the post). So I'm not even sure if his analysis is at all helpful to me.

If anyone has thoughts on what RAID level is appropriate given my use-case, I'd love to hear it! Particularly if anyone knows about RAID1 vs RAID10 on btrfs.

52
 
 

I like the idea of X forwarding, but it doesn't work in real world anymore. As far as I know, it has to do many round-trips for everything. Launching something like LibreOffice Writer is funny, it will be loading bit by bit, icon by icon for several minutes. It was only usable for me on < 1ms network.

Unlike say VNC, it opens windows locally.

And now there's Waypipe which does the same thing, but for Wayland. And it actually works! Even better than VNC.

BUT, it doesn't work for X programs. It can somewhat work with rootful Xwayland... but that's basically a desktop for X-only programs.

Welp, I just wanted to check something on the remote desktop, so I launched VNC, and WOAH, I didn't expect to get XFCE invasion.
I didn't know XFCE can do Wayland now.

Anyway, this cursed thing does actually work pretty fine. xfce4-session works with Waypipe, good to know.

53
 
 

I have a program that require all keywords to be in a single paragraph, most of the time, separated by commas

For example:

I have those terms

1-Term
1.1-Term
2-Term
3-Term
4-Term

That i collected and organized into groups and subgroups with Titles and subtitles

Title

  • 1-Term

  • 1.1-Term

  • 2-Term

    • Sub-Title
      • 3-Term
      • 4-Term

But then i want to turn them into:

1-Term, 1.1-Term, 2-Term, 3-Term, 4-Term 
 

Removing certain marked words(Titles and sub-Titles), any Empty/Blank space, and Line breaks, while adding the commas between The Terms. I want to keep certain dashes "-"(like in words )

1-Term,1.1 -Term,2-Term,3-Term,4-Term

54
 
 

Setting up Sunshine and Moonlight for high performance game streaming on Linux

55
 
 

made it so i just click file and paste YouTube url

Linux is amazing

#! /usr/bin/bash
echo "Enter a url"
read a

yt-dlp -x $a
56
 
 

I'm on CachyOS and trying to set up a multi-room system with one PC. I have a 4-monitor setup, and I have monitor 4 connected to my TV in another room (room 2), and 1-3 in my studio (room 1) with the PC.

I'm trying to set it up so that my 3 monitors in room 1 use my speaker setup in that room only, and monitor 4 to use the TV soundbar for anything running on that monitor in room 2 only.

I can't seem to find a way change the output for specific monitors if it's at all possible.

57
 
 

My keyring autounlocks at login when I put my password, that is good because I have a few apps that I want to autostart.

Now, it seems it stays unlocked after that. I don't need it after start up because I have my vault in keepass and really only use keyring for the couple of autostart apps I have. So it would make sense from a security standpoint that it would autolock eg after 1 minute of start up. Is this even ppssible? Does it make sense?

On q separate topic, I have other apps that do not seem to be requiring the keyring to sign in when opening them, like Steam, or my email account on the browser. Where are those passwords stored then if I don't see them in the keyring?

58
 
 

I've been ricing my Debian daily driver the last 24 hours or so and I feel as if I have gotten to a point where it can't get any better (without implementing hyperspecific mods that might be difficult to reproduce after an update).

It's in every way better than Windows and more user-friendly than all the Apple stuff should you know how to use search engines, seriously. It also simply looks better and the trimming I did reduces cognitive load significantly. I don't have to make that many decisions during use.

All of this produces a feeling of anguish. I don't know if it's because it felt to easy or something else entirely. Maybe I cannot stand knowing that this could be the standard everywhere.

Colemak and various other efficient keyboard layouts exist. So do BT ergo splits and orthos. We don't have the limitations of typewriters anymore, QWERTY and staggered keys are indeed optional. How this example from the world of keyboards isn't the default is rather puzzling. Or take Python, why do universities, some would say even respected universities, teach this language when Go and C/++ exist? I have similar feelings about the lack of alcohol taxation and the low rate of rice cooker adoption in the west.

It really makes me want to get active to proselytize because we live in a world with all the tools available to us to create lives for at least 80% of all people that are entirely fulfilling and within personal control. Until I work somewhere where I can affect change in the direction of sustainability I have several VMs to take apart and put back together.

I hope you can forgive the weltschmerz. How do you feel about this?

59
 
 

Airport advertising sign, looks like they forgot to make the looping video full screen.

60
 
 

Hi everyone!

I'm a 90% satisfied Gnome user only looking for more customization possibilities.

I had tried KDE on a VM, but, since I have a Steam Deck (Steam OS), I thought I should try to fully make it usable as a computer in case I'd need it.

I kind of managed to recreate the Gnome workflow where you switch between workspaces.

I've also set up kwin rules telling, for instance, Firefox to open on workspace No 2 on startup.

I don't know why, but that doesn't work for 2 of my main applications.

I use Evolution mail and it always starts on the wrong workspace. Same for OnlyOffice, but for this one I can't even create a kwin rule as I don't have that option while right clicking on the far right of the app. They're bot installed as Flatpaks.

I wanted to take a screenshot of the issue, but Spectacle doesn't allow me to take a screenshot when the right click menu is open..

Also, Evolution can't seem to remember my passwords despite allowing them to be saved in the keyring. Since I have around 10 calendars, it means entering 10 passwords at startup..

Suffice to say that my experience with KDE isn't great so far even if I'd really want to try it a bit more..

Does anyone knows how to solve these issues?

Thanks in advance!

Edit: In the end, using alt+F3 did the trick in order to apply window rules to OnlyOffice (but not to Evolution) and I switched to Thunderbird for my KDE install in order to avoid the keyring issue

61
62
 
 

kinda bonkers that global software availability hangs on such a thing

63
64
175
Keep Android Open! (keepandroidopen.org)
submitted 1 week ago* (last edited 1 week ago) by inari@piefed.zip to c/linux@lemmy.ml
65
21
submitted 1 week ago* (last edited 1 week ago) by inari@piefed.zip to c/linux@lemmy.ml
66
67
 
 

I've been a linux server admin for almost 20 years but I've never been able to fully switch from Windows for my daily driver. With all the Windows 11 bullshit I want desperately to switch but I feel like I can't win with a desktop distro. I've had nothing but issues related to hardware/drivers with each distro I've tried.

Fedora KDE Plasma Desktop 43 has given me the most luck but it's left me with one glaring issue which has me writing this post from Windows - how the fuck do I configure the OS to wake the monitors properly after going to sleep? If my monitors go black either from display sleep, OS sleep, or OS hibernation, the system can wake just fine but the displays show no detected input. I've tried both the open and proprietary nvidia drivers with no luck. I've also configured s2idle as the only sleep configuration and while it sometimes allows the monitors to wake without issue, it doesn't always work.

Am I just missing something? Is there a different distro I should try? I've now been through Manjaro, Fedora, Ubuntu, Pop_os, Arch, and Kali with nothing fully working for my hardware.

Really feeling like I should just give up and give it another few years and try again - any advise otherwise? I'd really really like to abandon microslop.

MSI MS-7E16 (X670E Gaming Plus Wifi)
AMD Ryzen 9 9950X
Nvidia RTX 4080 Super
64 GB DDR5
Latest Bios and firmware for everything; all software/os features up-to-date

68
 
 

So im a noob as some say, theirs certain games and software i use on windows that wont work on linux. ive tried linux but i found myself switching back to windows. I really do want to stay with linux but im not sure how or if i should duel boot or something? also what flavor of line do you enjoy or would suggest?

69
 
 

Hi,
I am looking for a PIM that would allow me when I create an event in the calendar to link it to local contacts.

Therefore after when I open the card of a contact I could list all the events linked to that contact and also all the notes, tasks or whatever.

This was easily done in Microsoft Outlook 2007 !

Do you know any Linux PIM software that can do the same ? and if not natively in GUI then trough CLI? Or do you know where to look for?

Thanks.

70
 
 

Hey! Hope this is a good place for these types questions!

I've been on Linux for the last couple of years. Tested a few distros before landing on Mint. Its perfect for a half-techie like me.

Towards the end of last year I had to replace my laptop due to a hardware failure. I landed on a Lenovo which was sold without an OS. Unfortunately I've been having some audio issues, and support hasn't been super helpful. Ive been doing tons of troubleshooting to solve ir, but to no avail. To make it more frustrating, I briefly installed windows just to check, and there everything works as intendes. So it doesn't seem like a hardware issue...

Before actually returning the device I figured it would be worth a shot to see if the issue persisted in the latest kernel. The problem is that I dont really know the best way to do that, and searching isn't really helping since I dont really fully understand what I'm asking.

So Im turning to you for help in the hope that some kind soul can point me in the right direction. What is the easiest way for me to get the latest kernel running on my machine? I don't mind wiping the computer, or if its unstable, or installing another distro to get there. I just want to see if it can get the audio working and I don't know where to start. Everything I find seems to be a bit behind.

Thanks!

71
72
47
submitted 1 week ago* (last edited 1 week ago) by MonkderVierte@lemmy.zip to c/linux@lemmy.ml
 
 

Please add a comma to your short options (-o, --option). This makes it easier to look it up.

Just something i wanted Linuxers to be aware of.

73
 
 

This is the 1.6 release that is API and ABI compatible with previous 1.4.x releases. This release contains some of the bigger changes that happened since the 1.4 release last year, including:

  • An LDAC decoder was added for bluetooth.
  • SpanDSP for bluetooth packet loss concealment.
  • Safe parsing and building of PODs in shared memory.
  • Added support for metadata features. This is used to signal that the sync_timeline metadata supports the RELEASE operation.
  • Node commands and events can contain extra user data.
  • Support for more compressed format helper functions to create and parse formats.
  • Support for compile time max channels. The max channels was increased to 128.
  • Support for audio channel layouts was added. This makes it possible to set "audio.layout" = "5.1" instead of the more verbose audio.position = [ FL, FR, FC, LFE, SL, SR ]
  • Support for Capability Params was added. This can be used to negotiate capabilities on a link before format and buffer negotiation takes place.
  • More HDR colortypes are added.
  • Loops now have locking with priority inversion. Most code was adapted to use the faster locks instead of epoll/eventfd to update shared state.
  • Channel position are parsed from EDID data.
  • Channel maps are now set on ALSA.
  • The resampler now supports configurable window functions such as blackman and kaiser windows. The phases are now also calculated with fixed point math, which makes it more accurate.
  • Many bluetooth updates and improvements.
  • The filter-graph has an ffmpeg and ONNX plugin. The ffmpeg plugin can run an audio AVFilterGraph. The ONNX plugin can run some models such as the silero VAD.
  • Many AVB updates. Work is ongoing to merge the Milan protocol.
  • Support for v0 clients was removed.
  • The jack-tunnel module can now autoconnect ports.
  • ROC support multitrack layouts now.
  • Many RTP updates.
  • rlimits can now be set in the config file.
  • Thread reset on fork can now be configured. JACK clients expect this to be disabled.
  • node.exclusive is now enforced.
  • node.reliable enables reliable transport.
  • pw-cat supports sysex and midiclip as well as some more uncompressed formats. Options were added to set the container and codec formats as well as list the supported containers, codecs, layouts and channel names.
  • Documentation updates.
74
 
 

Just wanted to share an alias I have in use and found it useful again. It's a simple wrapper around xargs, which I always forget how to use properly, so I set up an alias for. All it does is operate on each line on stdout.

The arguments are interpreted as the command to execute. The only thing to remember is using the {} as a placeholder for the input line. Look in the examples to understand how its used.

# Pipe each line and execute a command. The "{}" will be replaced by the line.
#
# Example:
#   cat url.txt | foreach echo download {} to directory
#   ls -1 | foreach echo {}
#   find . -maxdepth 2 -type f -name 'M*' | foreach grep "USB" {}
alias foreach='xargs -d "\n" -I{}'

Useful for quickly operating on each line of a file (in example to download from list of urls) or do something with any stdout output line by line. Without remembering or typing a for loop in terminal.

75
view more: ‹ prev next ›