![Community banner](https://lemmy.world/pictrs/image/def77409-9fd6-4c3c-9874-bdf9ed77d0b3.png)
-
How to stop audio device from changing?
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.
-
Unable to figure out directory permissions
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 theCONTAINERFILE
, thebind
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! - tinkerbetter.tube Demystifying "find" and "find -exec" ...Lil' Linux Lesson!
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 ...
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?
-
Sell us on your favorite exotic/niche distro
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!
-
>##### 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).
-
Wine 9.13 released
gitlab.winehq.org Wine 9.13 · wine / wine · GitLabThe Wine development release 9.13 is now available. What's new in this release: Support for loading ODBC Windows drivers. More user32...
cross-posted from: https://lemm.ee/post/37095616
-
Since upgrading from Plasma 6.0 to Plasma 6.1 my journald.service takes a longtime to boot.
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…
- hackaday.com Transcend Wifi SD Card Is A Tiny Linux Server
[jamesone111] bought a Transcend WifiSD card, presumably for photography, but it may just have been because he heard that they’re actually tiny Linux servers. He read a post about these cards…
- news.opensuse.org Aeon Desktop Introduces Comprehensive Full Disk Encryption
Full Disk Encryption is planned to be introduced in the forthcoming release candidate of the Aeon Desktop to enhance data security for its users. The feature...
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. -
Waydroid media controls?
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.
- gld.mcphail.uk Ubuntu Security Updates Are a Confusing Mess | Grey Lumpy Dinosaur
I’ve been struggling to understand why Canonical would withhold security fixes on a Long Term Support release
-
PureOS Optional Subscription Added to Advance Development
puri.sm PureOS Optional Subscription Added to Advance Development – PurismPurism makes premium phones, laptops, mini PCs and servers running free software on PureOS. Purism products respect people's privacy and freedom while protecting their security.
-
Which linux podcast do you guys listen to?
I personally watch Linux User Space. No drama, no politics only Linux :D
https://www.youtube.com/channel/UCMePQAfCxotiG_2B5qYv4aQ
-
cross-posted from https://reddthat.com/post/21846504
-
Reviving a TUI podcast manager shellcaster -> hullcaster
github.com GitHub - gilcu3/hullcaster: Terminal-based podcast manager built in RustTerminal-based podcast manager built in Rust. Contribute to gilcu3/hullcaster development by creating an account on GitHub.
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.
-
Btrfs snapshots vs immutable distro?
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?
-
CVE-2024-6387 OpenSSH Server Authentication Bypass
> 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().
-
HowTo: add the OBS Pipewire Plugin to the Flatpak, also for use with NoiseTorch
discussion.fedoraproject.org HowTo: OBS Flatpak Pipewire microphone/speakers input, use NoiseTorch with OBS-StudioProblem The OBS Flatpak is the recommended way for installing on Linux. At least from the Terminal, finding and installing plugins is easy: flatpak search obsproject But to use NoiseTorch (COPR), which allows to mute background noise from audio input, you need to use Pipewire input. Pipewire all...
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.
-
Ladybird announcement
YouTube Video
Click to view this content.
cross-posted from: https://lemmy.zip/post/18335723
> Exiting news for the lady bird browser. https://ladybird.org/
-
Questions about installing linux on dual boot on a single drive ?
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 ?
-
The Art of Command Line
github.com GitHub - jlevy/the-art-of-command-line: Master the command line, in one pageMaster the command line, in one page. Contribute to jlevy/the-art-of-command-line development by creating an account on GitHub.
-
Nvidia issues?
Hi all, I've been having more and more trouble. I came here for some help with Bazzite, which ended up being solved or so I thought. I got to play Elden Ring for a few hours after which I turned off my PC. Everything ran perfectly smoothly with absolutely no issues. The next time I turned it on, the hard freezes started back up. I thought it might have been an Nvidia driver issue or an issue with Plasma, so I tried just about everything I could find to no avail. The next step was to see if reinstalling from the installation media would work, no boot. Tried again, no boot. Tried switching to bazzite gnome, no boot. Tried switching to Pop OS and the installation media won't boot. Every time, the one of the two same things happen with all of these attempts: a flash of artifacting, then a hard freeze, sometimes with the artifacting stuck, or everything but the cursor freezes for ~30sec then it freezes too. Both scenarios require a hard restart, but then the same thing happens. One useful price of information is that Tails works flawlessly, I run it on occasion from a USB (lately moreso to look things up because it's my only way to use my PC since this has been happening). I've checked that my GPU and drives etc are seated properly, all seems fine on the hw end. I'm at my wits end and I don't want to go back to windows. I clearly have a lot to learn still, but I never expected this to end up as difficult as it's been. Does anyone have any suggestions for me? I would love to be able to play Elden Ring, but at this point I just need a working system other than Tails.
-
How to achieve this audio setup in linux ?
Hi linux folks I'm considering installing linux as dual boot on a second partition and want to achieve the same audio setup I have on Windows using software to get better quality audio than defualt Windows audio
The setup is:
Audio > Vb-Audio Hifi Cable Input > Vb-Audio Hifi Cable Output > VST host with plug-ins for equalisation > Voicemeeter Virtual ASIO Input > Voicemeeter WASAPI output to headphones with equaliser apo eq on the voicemeeter output for hesuvi virtual surround sound
I have tried searching online and have only become aware of ALSA but not how to implement the setup I have above and I'd rather it not go through port audio because I heard it messes with audio quality
-
The Wine development release 9.12 is now available.
gitlab.winehq.org Wine 9.12 · wine / wine · GitLabThe Wine development release 9.12 is now available. What's new in this release: Initial support for user32 data structures in shared memory....
cross-posted from: https://reddthat.com/post/21374246
> What's new in this release: > > - Initial support for user32 data structures in shared memory. > - Mono engine updated to version 9.2.0. > - Rewrite of the CMD.EXE engine. > - Fixed handling of async I/O status in new WoW64 mode. > - Various bug fixes.
-
Tiny Laptop suggestions
Hi, just looking for suggestions for sub 12 inch laptops, I got a very poorly running Acer Aspire ONE recently but still enjoying my time with it despite the fact it can't even play a youtube video.
Edit: No budget or requirements besides being small,can be new or old as well. Mainly interested in good linux support.
- arstechnica.com Linux market share passes 4% for first time; macOS dominance declines
Report: Linux was on 6.34 percent of computers last month if you count ChromeOS.
I know this might be a couple months old, but I didn't know we already passed 4%.
-
Synchronizing user (files, configs, etc) between 2 machines
Not a stranger to using linux, but never bothered with keeping things synchronized between devices.
I have a laptop, and a desktop both running Arch (I use Arch BTW) and wanted to investigate the best way to synchronize things from device to device. Just to outline some details, both are running KDE on Wayland, both BTRFS, as well as a number of other similarities such as username.
I want to be able to synchronize certain config files, Documents and Files, and was going to go the Syncthing route.
What are you doing, or what would you recommend to setup in order to have parity between two devices?
-
Please avoid BusyBox
This is kind of a rant, but mostly a plea.
There are times when BusyBox is the only tool you can use. You've got some embedded device with 32k RAM or something; I get it. It's the right tool. But please, please, In begging you: don't use it just because you're lazy.
I find BusyBox used in places where it's not necessary. There's enough RAM, there's more than enough storage, and yet, it's got BusyBox.
BusyBox tooling is absolutely aenemic. Simple things, common things, like - oh, - capturing a regexp group from a simple match are practically impossible. But you can do this in bash; heck, it's built in! But BusyBox uses ash, which is barely a shell and certainly doesn't support regexp matching with group capture. Maybe awk? Well, gawk lets you, with
-oP
, but of course BusyBox doesn't use GNU awk, and so you can't get at the capture groups because it doesn't support perl REs. It'd be shocking if BusyBox provided any truly capable tools like ripgrep, in which this would be trivial. I haven't tried BB'ssed
yet, because sed's RE escaping is and has always been a bizarre nightmarish Frankenstein syntax, but I've got a dime riding on some restriction in BB's sed that prevents getting at capture groups there, too.BusyBox serves a purpose; it is intentionally barely functional; size constraining trumps all other considerations. It achieves this well. My issue isn't with BusyBox, it's with people using it everywhere when they don't need to, making life hell for anyone who's trying to actually get any work done in it.
So please. For the sanity of your users: don't reach for BusyBox just because it's easy, or because you're tickled that you're going to save a megabyte or two; please spare a thought for your users on which you are inflicting these constraints. Use it when you have to, because otherwise it doesn't fit. Otherwise, chose a real shell, at least bash, and include some tools capable of more than less than the bare minimum.
-
Any operating system, you said?
Text: Hi.
This is your last chance to prevent unpleasant consequences and save your reputation. Your operating systems on every device you use to log into your emails are infected with a Trojan virus. I use a multiplatform virus with a hidden VNC. It works on any operating system: iOS, Android, MacOS, Windows.
-
Touch Friendly Distro Recommendations
Hey all!
I currently utilize Debian and used KDE Plasma on my old computer as a Plex server, RetroNAS, and also run protonVPN when i need to use it for downloading files for Plex to server on my network devices. The only problem is, I have to leave a keyboard and mouse plugged in for when i need to use it, but don’t have much space in the corner it stays in.
I happen to work for a touch screen company and have a glut of touch screens laying around my home office and I’ve got a VESA mount in the corner this PC lives in, and one of my spare touch monitors can go there. Unfortunately I’ve had trouble with touch friendliness with Linux distros. I’d love to find one that can support my usage needs with just the touch screen. So an on screen keyboard, and support for scrolling web pages (Wayland?) and other scrollable areas would be stellar.
Does anyone have any suggestions on a distro that would be great at this kind of thing? My PC uses an intel chipset with integrated graphics, if that matters.
-
SaumonNet/proxmox-nixos: The Proxmox Hypervisor, on NixOS
github.com GitHub - SaumonNet/proxmox-nixos: The Proxmox Hypervisor, on NixOS [maintainers=@camillemndn @julienmalka]The Proxmox Hypervisor, on NixOS [maintainers=@camillemndn @julienmalka] - GitHub - SaumonNet/proxmox-nixos: The Proxmox Hypervisor, on NixOS [maintainers=@camillemndn @julienmalka]
> This project is a port of the Proxmox Hypervisor on NixOS. > > ⚠️ Proxmox-NixOS is still experimental and we do not advise running it on production machines. Do it at your own risk and only if you are ready to fix issues by yourself. > >📬 Help / Discussions > >There is a matrix room for discussions about Proxmox-NixOS. > > Thanks This project has received support from NLNet.
-
Should I use zram?
Hello, I came across zram recently and I'd like to know if I should use it, my laptop only has ~4GB of ram, and for the most part it'll only stutter when I open multiple programs or a game, so would zram be adequate in my case?
Also, would the compressing and decompressing have a significant impact on my cpu?
-
Anti Malware with Linux
Hello! Sorry maybe for this beginners-question: do I need dedicated anti-virus / anti-malware software for my Linux System?
I'm not using my laptop for anything shady: no filesharing, no pirating, etc. Just the usual boring bit of work or streaming or surfing the web. Do I need dedicated safety measures? Like ClamAV for example? I read a bit about it but there where mixed messages, where people said it's not needed.
I'm running Linux Mint and Cinnamon on a laptop since a few months and couldn't be happier with an operating system. Everything works fine and until now I had no trouble at all (besides this little annoying bug, where my touchpad gets randomly set to "deactivated", but this really is a minor issue and maybe just a "stupid user"-Problem).
Before I suffered through decades of windows. But no more!
-
Are offline updates going to be the future?
I use PCLinuxOS as my primary Linux OS. They are a bit conservative to adapt new updates until they are sure of stability because of rolling nature. KDE is still at 5 there. Heard about Neon and wanted to try KDE 6. I find that they have adopted Windows style approach to updates where we need to reboot to apply the updates and we cannot do anything on the system while the updates are processing. Recently managed to install Fedora because I heard that their EFI is secured or something and can survive clobbering by Windows updates in a dual boot setup. But they also seem to have gone with offline updates.
Are offline updates necessary due to them using SystemD or is the Linux world in general moving in this direction?
-
SDesk OS, and frowned on open sourced?
I recently spent some time browsing my favorite website, Distrowatch.com, where they provide weekly news updates on the latest developments in the world of Linux distributions. This week, I noticed that a new distro had been added to their list: SDesk. Given its intriguing name, I decided to take a closer look and discovered that it utilizes a programming language called 'Blue'.
What caught my attention was that to use this Blue programming language, one must pay $131! As someone who values open-source principles, I found this surprising, especially since many Linux distributions are built on the idea of free and open collaboration.
Other websites also features links to a previous GitHub page for Blue, which was removed. Without knowing the original license used by that project, it's unclear whether using paid-for programming language in an open-source operating system would be legally acceptable. As I'm not a lawyer nor an expert online, I'd love to hear from anyone who might have insight into this matter.
To me, it seems counterintuitive for a Linux distro to incorporate proprietary programming tools that require payment to edit or modify code. This goes against the fundamental nature of open-source collaboration, where code is freely shared and repurposed. It's an interesting development, to say the least what are your thoughts?
dead-github link https://github.com/SteveStudios/Blue
--edit also when finding the link duck duck go said it was GPL V3 !