Linux Questions

533 readers
1 users here now

Linux questions

Rules (in addition of the Lemmy.world rules)

Tips for giving and receiving help

any rule violations will result in disciplinary actions

founded 1 year ago
MODERATORS
1
 
 

[email protected]

Hello all, As you might be aware, lemmy.world has gotten rather large. It is so large infact that when it goes down it takes a large portion of content with it. I don't know about you but I personally don't like the idea of all lemmy activity happening on one instance. Because of this I have made the decision to move this community to a place that is smaller.

2
 
 

When you delete your posts on this sub, you are deleting a solution to a potenical problem that someone may be having. It is inconsiderate and can result in a ban.

3
 
 

I'm using btrfs for the first time along with default Fedora Workstation. I want to setup incremental snapshots in case of something goes wrong while tweaking my system. Or just be able to take a snapshot right before making a major change. I'm not sure how to get started. When I look up guide, most of them feel a bit too advanced.

4
 
 

Often the LLVM tools (llvm-ar, llvm-strip, etc) are already installed by default, so why include 2 sets of binary utilities?

5
 
 

On login, or when NetworkManager is restarted, an error message from PolicyKit 1 pops up:

System policy prevents enabling or disabling device statistics
An application is attempting to perform an action that requires privileges. Authentication is required to perform this action.
Password for root: ____
OK | Cancel

Call this Message 1.

On attempting to turn Airplane Mode on/off, two more messages pop up in sequence.

System policy prevents enabling or disabling Wi-Fi devices
An application is attempting to perform an action that requires privileges. Authentication is required to perform this action.
Password for root: ____
OK | Cancel
System policy prevents enabling or disabling mobile broadband devices
An application is attempting to perform an action that requires privileges. Authentication is required to perform this action.
Password for root: ____
OK | Cancel

Call these Messages 2A and 2B.

On attempting to connect to Wi-Fi, another message pops up.

System policy prevents control of network connections
An application is attempting to perform an action that requires privileges. Authentication is required to perform this action.
Password for root: ____
OK | Cancel

Call this Message 3.

Nothing happens (visibly) when message 1 is cancelled. When messages 2A and 2B are cancelled, airplane mode cannot be switched. Message 3 appears after I enter the Wi-Fi password. When message 3 is cancelled, Wi-Fi does not connect, and a notification appears.

Failed to add Network_SSID
Not authorized to control networking.

I have modified 2 files in /etc/polkit-1.

/etc/polkit-1/localauthority/50-local.d/10-allow-network-manager.pkla

[Network Manager all Users]
Identity=unix-user:*
Action=org.freedesktop.NetworkManager.*
ResultAny=no
ResultActive=yes
/etc/polkit-1/rules.d/10-org.freedesktop.NetworkManager.rules

polkit.addRule(function(action,subject) { if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 && subject.isInGroup("network")) { return polkit.Result.YES; } });

My user is in the "network" group. After making these modifications, messages 2A and 2B will still appear, but airplane mode will switch if they are cancelled. Messages 1 and 3 still appear. I am on an Acer laptop, with OpenSUSE Tumbleweed and KDE. What is the cause of this, and how can I fix it?
6
 
 

How do I map my motherboard audio ports to all be 5.1 line-out? I'm trying to fully make the switch from Windows to Linux on my gaming desktop. I've messed around with it on my laptop for quite a while.

One of the main things holding me back is configuring the 3.5 audio ports on my motherboard. I have 5.1 surround speakers with 3 3.5mm jacks for center/sub, front and rear speakers. The jacks it uses by default are line-in, line-out and mic. In Widows it automatically detects and changes the ports to all be the correct line-in ports, formally I could use the realtek panel to map them manually. I can't seem to find any option in Mint to do that.

7
 
 

I managed to get an ok deal on a Lenovo Legion slim 5 with the ryzen 5 7640hs and Geforce rtx 4050. My experience with Lenovo's on Linux in the past has been kind of mixed, is there a good way to check all the hardware for levels of compatibility?

8
 
 

I'm moving from lxc to docker but I'm torn on how many docker containers I should assign to a VM. I want to have modularity if something goes wrong but having more VM adds overhead

9
 
 

On my Mint installation, Firefox running causes my sound to crackle. If I try the same site (say, Odysee) in Midori or Chromium, everything is normal while Firefox isn't running, but with Odysee playing, if I so much as open Firefox and let it sit on the landing page, my sound will begin to crackle until I decide to close it, at which time it quits in a few seconds. It also sounds like crap when I try to send Firefox to Odysee. It’s the same for if I send it to another site, like YouTube or Pandora, as well as finding videos on r/BreathOfTheWild via Reddit.

10
 
 
  • right now, i found only raspberry pi, but they were released almost three years ago,[ 1 ] good user support and works out of the box

  • web search has found results for using packages & user support

  • my questions:

    • are there other vendors offering similar products?
    • should i wait another year or any product might be available with more than 8gb?
    • should i consider only ram?
  • why sbc?

    • to compile my most used packages for every release of gcc version including minor dot updates
    • after an year, conpile my own linux kernel

[ 1 ] https://en.wikipedia.org/wiki/Raspberry_Pi#Specifications

regards, jindam

11
 
 

On my Fedora labtop I use podman because its faster but for my homelab I use docker with docker compose because it is easier to administer