Linux

7409 readers
17 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
 
 

Currently running Nobara, and having audio annoyances.

Any time any app loads anything new, it will switch my audio device back to default. For example, if I open a playlist in VLC and choose my speakers as the output device, when it's done playing one file, it will open the next one and start playing audio through the headphones.

If I'm watching a video on Youtube and choose speakers, as soon as I leave the page it goes back to headphones.

Is there a way to prevent the device in use from switching back? If I switch device, I just want it to stay on that device until I choose to switch back. I literally never want it to switch on its own. ATM, the only way is to manually go it and change the default every time instead of just clicking the checkbox in the volume popup.

2
 
 

cross-posted from: https://infosec.pub/post/15386345

Hi everyone,

This is my CONTAINERFILE for Bind9:

FROM debian

ENV LC_ALL C.UTF-8

# Update and upgrade system
RUN apt-get update -y && apt-get upgrade -y && apt-get dist-upgrade -y

# Install BIND 9 and sudo (for debugging if needed)
RUN apt-get install -y bind9 bind9-dnsutils bind9-libs bind9-utils sudo

# Configure permissions for BIND directories
RUN mkdir -p /var/cache/bind /var/lib/bind /var/log/bind
RUN chown -R bind:bind /var/cache/bind /var/lib/bind /var/log/bind
RUN chmod 664 /var/cache/bind /var/lib/bind /var/log/bind
RUN chmod -R 664 /var/cache/bind /var/lib/bind /var/log/bind

# Create and configure log files
RUN touch /var/log/bind/default.log /var/log/bind/update_debug.log /var/log/bind/security_info.log /var/log/bind/bind.log
RUN chown -R bind:bind /var/log/bind
RUN chmod 644 /var/log/bind/*.log

# Define volumes
VOLUME ["/etc/bind", "/var/cache/bind", "/var/lib/bind", "/var/log/bind"]

# Set the entrypoint to the named executable
ENTRYPOINT ["/usr/sbin/named"]

# Set the default command arguments for the named executable
CMD ["-g"]

I keep getting this error when I run it with podman:

26-Jul-2024 03:18:21.328 loading configuration from '/etc/bind/named.conf'
26-Jul-2024 03:18:21.328 directory '/var/cache/bind' is not writable
26-Jul-2024 03:18:21.332 /etc/bind/named.conf.options:2: parsing failed: permission denied

As you can see from the CONTAINERFILE, the bind user should be able to read and write to /var/cache/bind but for some reason it doesn't.

I have been at this for a while and I'm at my wits end. Your help is appreciated!

3
 
 

cross-posted from: https://tinkerbetter.tube/videos/watch/7a8dcd81-eae4-408c-8a42-7a1f6b89b49a

Has the internet told you Linux' "find" command is too scary to use? Well, they're wrong. Linux' "find" command - also found in lots of other *NIX systems - is a critical tool to learn. > > In today's Lil' Linux Lesson, I'll be demystifying the "find" command, and covering how it works with the "-exec" option, which I promise will make your life easier as a sysadmin, Linux user, or just any nerd who likes to play with the terminal. > > Lastly, this video wouldn't be possible without my monthly sustaining supporters on Patreon and Ko-Fi. Members get a bunch of cool perks- if my unsponsored videos help you, I appreciate your consideration! > > https://patreon.com/VeronicaExplains > https://ko-fi.com/VeronicaExplains > > 0:00 I say "greetings" and tell you why the find command is important > 1:24 Basic use of find, both GNU and BSD variants! > 2:46 Performing magic in the terminal with find -exec > 4:56 Some other parameters for find: -iname, -type, -user, -group, -perm, -size > 6:53 Why does find -exec end with a plus?

4
21
submitted 6 days ago* (last edited 6 days ago) by [email protected] to c/linux
 
 

The Linux ecosystem is vast and diverse, offering a multitude of distributions to suit every need and preference. With hundreds of distros to choose from, it’s a pity that most are rarely mentioned while the popular ones are constantly being regurgitated.

This thread aims to celebrate this diversity and shine a light on smaller projects with passionate developers. I invite you to pitch your favorite underappreciated distro and share your experiences with those lesser-known Linux distributions that deserve more attention.

While there are no strict rules or banlists, I encourage you to focus on truly niche or exotic distributions rather than the more commonly discussed ones. Consider touching upon what makes your chosen distro unique:

  • What features or philosophies set it apart?
  • Why do you favor it over other distros, including the popular ones? (Beyond “It just works.”)
  • In what situations would you recommend it to others?

Whether it’s a specialized distro for a particular use case or a general-purpose OS with a unique twist, let’s explore the road less traveled in the Linux landscape. Your insights could introduce fellow enthusiasts to their next favorite distribution!

5
6
3
Linux Myths (linux-myths.pages.dev)
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/linux
 
 
Linux Myths

A compilation of linux myths and misconceptions, busted and explained

Purpose

To catalog and provide useful responses to common linux misconceptions and myths. To serve as a useful reference for new and old users alike.


I'm not affiliated with the website or its creator(s).

7
41
Wine 9.13 released (gitlab.winehq.org)
submitted 1 week ago by [email protected] to c/linux
 
 

cross-posted from: https://lemm.ee/post/37095616

8
 
 

Since upgrading from Plasma 6.0 to Plasma 6.1 my journald.service takes a longtime to boot.
systemd-journald.service takes 7-8 seconds. Even on a freshly installed system.

systemd-analyze:

Startup finished in 9.534s (firmware) + 6.112s (loader) + 3.281s (kernel) + 9.271s (userspace) = 28.200s

systemd-analyze critical-chain systemd-journald.service:

systemd-journald.service +7.853s └─systemd-journald.socket @428ms

systemd-analyze blame:

7.853s systemd-journald.service 2.152s systemd-modules-load.service 1.147s \x2esnapshots.mount 715ms NetworkManager.service 229ms dev-nvme1n1p2.device

how can I now further troubleshoot and maybe find a solution? has someone experienced same/similar? I can provide further info if needed, would appreciate very much if someone has an idea...

Edit: after working through it I came to the conclusion, that maybe Plasma isn‘t the issue here (since the „error“ happens way before graphical ui shows up), but more kernel related. Trying right now to get an older kernel running to see, if it confirms my assumption, but failed yet to do so…

9
10
 
 

OpenSuse leading the development in regards to boot security, an area in which Linux Distros are lagging behind other operating systems.

Full Disk Encryption is designed to protect data in cases of device loss, theft or unauthorized booting into an alternative operating system. Depending on the hardware configuration of a system, Aeon’s encryption will be set up in one of two modes: Default or Fallback.

Default Mode:

This mode utilizes the Trusted Platform Module(TPM) 2.0 chipset […], Aeon Desktop measures several aspects of the system’s integrity. These including:

  • UEFI Firmware
  • Secure Boot state (enabled or disabled)
  • Partition Table
  • Boot loader and drivers
  • Kernel and initrd (including kernel command line parameters)

These measurements are stored in the system’s TPM. During startup, the current state is compared with the stored measurements. If these match, the system boots normally.

11
 
 

Is it possible to expose the android media player when running an app in Waydroid? I'd like to be able to use my keyboard's physical media keys for controlling songs in a music app.

I'm running on Manjaro and using Wayland if that matters. Even better if it could work with KDE Connect as well.

12
13
14
 
 

I personally watch Linux User Space. No drama, no politics only Linux :D

https://www.youtube.com/channel/UCMePQAfCxotiG_2B5qYv4aQ

15
11
submitted 2 weeks ago by [email protected] to c/linux
16
42
submitted 2 weeks ago* (last edited 2 weeks ago) by [email protected] to c/linux
 
 
17
 
 

I was looking for a TUI modern podcast manager, with support for syncing with the gpodder API, therefore allowing synchronization with Android clients such as AntennaPod. shellcaster was unmaintained and relatively easy to extend (huge thanks to the original author), therefore I aimed at fixing known bugs and adding the features that seemed more important. There is a TODO in the repo, which should be done as soon as I get some feedback from the community.

As far I know I am the only one using hullcaster as a daily driver (for archlinux people, AUR package hullcaster-git). Still, it should work as is in most linux environments.

For people coming from shellcaster, unfortunately I had to make too many breaking changes, therefore it is better to just make a clean install.

Feel free to try it and submit the issues you find. This is my first project using rust therefore there is surely space for improvements in many places.

18
19
 
 

Does immutable distros something significant over btrfs snapshots?

Beacuse if you set up grub or refind to auto-load new snapshots, immutable distros starts to look like over-engineered complexity.

So, am I missing something here?

20
 
 

A signal handler race condition was found in OpenSSH's server (sshd), where a client does not authenticate within LoginGraceTime seconds (120 by default, 600 in old OpenSSH versions), then sshd's SIGALRM handler is called asynchronously. However, this signal handler calls various functions that are not async-signal-safe, for example, syslog().

21
 
 

OBS can use Pipewire for the mic and desktop sound inputs, but it is not yet packaged on Flathub.

Here is how to add it manually.

22
 
 

cross-posted from: https://lemmy.zip/post/18335723

Exiting news for the lady bird browser. https://ladybird.org/

23
24
 
 

Just want to ask some questions as I am considering installing linux as dual boot on a single drive in its own partition

  • what partitions do linux distros need to function ?
  • what linux distros support secure boot with nvidia drivers ?
  • is it bad idea to install linux on a single drive in its own partition ?
  • what precautions should I take other than backing up my hard drive before doing dual boot ?
  • I have heard some linux distros like linux mint and ubuntu have a habit of touching other efi partitions when being told not to, are there any other distros that do that ?
  • Expanding on the previous question qre there any distros that touch or corruption windows partitions ?
  • How can I ensure my dual boot linux install won't touch my windows partition at all if I install dual boot linux ?
  • Is there anything else I should be aware about ?
25
view more: next ›