1
9
submitted 1 year ago* (last edited 4 months ago) by possiblylinux127@lemmy.zip to c/linuxquestions@lemmy.zip

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

2
8

I am looking to run a desktop in a container. I know I can pass the display in with /dev/dri but I am not sure about keyboard and mouse input

3
13

cross-posted from: https://lemy.lol/post/30887473

I sometimes play games and also open my music player, but the sound from the game drowns out the music, so I need to go into the sound mixer on KDE and manually lower the game's volume every time.
I was wondering, is there a way to do this process automatically? As in setting up conditions like "if music is playing (some MPRIS API?) then lower all other apps' volumes)", maybe even crazier "if some app is outputting voice then set its volume back up and lower music app's volume or pause its playback altogether for some specified timeout that keeps being refreshed for as long as voice is heard".
I imagine the latter is a bit of a dream, but maybe for the first, even some quick sound profile selector would go a long way, say switching from "normal profile" to "background music profile", etc. which specify preconfigured volumes for those apps.
Is that a thing?

4
6

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

As a lifelong Windows user I've just for the first time switched to Ubuntu and I'm learning how to navigate the system but I haven't found an easy way to update my Carbon's X1 Gen 6 BIOS from its hard disk and would appreciate any advice.

I'd be also happy to hear what I should do as a newcomer to Ubuntu to make my experience with it better and have an easier time overall.

5
4
submitted 1 week ago* (last edited 2 days ago) by dabster291@lemmy.zip to c/linuxquestions@lemmy.zip

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

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

EDIT: Turns out my login information was slightly wrong, and had nothing to do with security.

My school uses EAP for its student WiFi, but there's no option for "EAP" security (PEAP, LEAP and every other option in KDE's WiFi security settings wouldn't connect). I'm pretty sure there was an option for EAP on Linux Lite (my previous OS before kinoite) which connected successfully. Is it possible to use EAP in Kinoite, and how do I enable/use it?

6
5
submitted 2 weeks ago* (last edited 2 weeks ago) by possiblylinux127@lemmy.zip to c/linuxquestions@lemmy.zip

I am looking to write a playbook that updates and reboots each system one at a time. It need to verify that the node comes back healthy before starting on the next one. If it fails it should stop altogether.

I think I can just wait for a reboot and then check a condition before starting on the next one. Has anyone done this before? I think it is doable but I am curious on the thoughts of others.

For content I am looking to not kill my kubernetes cluster.

7
5

I recently bought a Corsair HS55 Wireless Headset. They stated it supports Dolby 7.1, IF you use the iCue software, which doesn't work on Linux.

Using pavucontrol, I can change the profile between Analog Stereo Output, Digital Stereo (IEC958) Output and Digital Surround 5.1 (IEC958/AC3) Output, but the Analog one is the only one that works. The other 2 just results in broken audio. There's not even a 7.1 option.

I don't have high hope about this, and I expected it to not work when I bought it, but it would be nice if anyone has some ideas.

8
23

Now that we're a week in and most people have probably repaired their PCs from the shitty Windows Update breaking GRUB I have some question.

I have a dual boot as well and thought I was safe, as I installed my Linux Mint on an independent disk. My friend laughed and told me that won't protect me.

I logged into Windows some days ago as I had to write a document in MS Word for university and the windows update told me it was ready with a very threatening red dot in the tray. I expected it to take control over my PC and to reboot 10 times, do some typical Windows stuff, but nothing happened.

Now I have this update waiting and I am scared my Linux will break. I know there are fixes out there, but is there a way to prevent it BEFORE it happens? Can I somehow upgrade the vulnerable GRUB version?

Thanks a lot for your help my fellow penguin fans.

9
10

As a Linux newbie, all I know about Arch Linux is that it is a DIY distro where you assemble the entirely of the OS by scratch. Somehow it feels like it is too easy than it needs to be, even if it is primarily meant for experienced users. I imagine it to be less like building your PC from parts bought from the market and more like building each and every component of the PC by scratch along with building the PC, which I assume to be much harder for the average consumer. It seems absurd how it is possible for a single person to incorporate the innumerable components required for functionality in a personal system that does not crash 100% of the time due to countless incompatibility errors that come with doing something like this.

I would like someone to elaborate on how it feels to 'build' a system software by yourself with Arch and how it is reasonable to actually do so in a simple language. I do have some experience in programming, mainly in webdev, so it's not like I need a baby-like explanation in how this works but it would be nice to get to know about this from someone who could understand where this confusion/curiosity is coming from.

10
15

Hey guys I kind of have a little probleme here:

So during the upgrading of Mint 21.3 to Mint 22 there appeared some errors, and while trying to fix them a lot of library-packages were deleted and most of the programs gone.

Now after that I tried to reset my system back to tze last timeshift-backup but timeshift only ever deleted more packages and never installed the old files from the backup (i guess).

So now this is where I am at, a kernel panic and nothing boots. I guess i need a new (fresh) install and could try to use the backup of timeshift on that one?

Or is there any other elegant way to get out of this?

Thanks already for reading and tips <3

11
6
submitted 1 month ago* (last edited 1 month ago) by s12@sopuli.xyz to c/linuxquestions@lemmy.zip

I've been using Linux for at least 2 years. I have Linux Mint on my main computer and Debian on my old computer. Trying to apt update says that the connection failed to security.ubuntu.com, deb.debian.org, ftp.uk.debian.org, etc.

Updating directly from sources such as for the Brave Browser still works. Sites not necessary for updating still work. Accessing them through browser doesn't work (It would give a "Connection was reset" error (for Debian) or an error that mentioned DNS (for main computer)). Pinging them seemed to work. Accessing these sites on my phone still works (though it didn't until I accessed them through mobile data and switched back to wifi). Connecting my Linux Mint computer through mobile data to apt update and switching it back to wifi resolved the issue for my Linux Mint computer, but I wasn't able to get my Debian system to connect through my phone.

Any ideas for causes/resolutions?

12
14

After selecting the boot option (no matter if it's the live iso or the installed distro, and no matter the kernel version) I get stuck on that screen, at that point the only thing I can do is reboot by pressing the power button.

This only seems to happen on this computer.

Here are some system information :

  • motherboard : ASUS PRIME A320M-K
  • BIOS version : 5603 (latest available version)
  • CPU : AMD Ryzen 5 2600
  • GPU : Nvidia GeForce GTX 1660

The only way I was able to install the system was by using the acpi=off boot option but I understand it can negatively impact the system. Does anyone know why this happens and how to fix it ?

13
6
submitted 2 months ago* (last edited 2 months ago) by Telorand@reddthat.com to c/linuxquestions@lemmy.zip

cross-posted from: https://reddthat.com/post/21668140

I have a VPN daemon that needs to run before the client will work. Normally, this would have been set up automatically by its install script, but the system is immutable.

I've created the systemd service via sysyemctl edit --force --full daemon.service with the following parameters:

[Unit] 
Description=Blah
After=network-online.target

[Service]
User=root
Group=root
ExecStart=/usr/bin/env /path/to/daemon

[Install]
WantedBy=multi-user.target

I've verified that the daemon is actually executable, and it runs fine when I manually call it via sudo daemon. When I try to run it with sudo systemctl enable --now daemon.service, it exits with error code 126.

What am I missing?

Edit: Typo, and added the relevant user and group to the Service section. Still throwing a 126.

Solution: the system wanted /usr/bin/env in ExecStart to launch the binary. The .service file above has been edited to show the working solution.

14
5

Title. Tried to search, found instructions on how to do it in debian-adjacent distros, but I'm in openSUSE, which doesn't use dpkg.

I also checked the manpage for zypper and found nothing that seemed the part, though I don't exclude the possibility that I just failed to read it properly.

15
27

I dual boot Windows 10 and Linux. Whnever Windows freezes or boot gets interrupted etc. I lose access to Linux because UEFI offers only Windows as boot options. On checking EFI partition still has rEFInd and PCLinuxOS entries needed.

I wonder why it cannot see them?

16
7
submitted 3 months ago* (last edited 2 months ago) by VinesNFluff@pawb.social to c/linuxquestions@lemmy.zip

Went away from my computer for a bathroom break. When I came back I noticed it took a very long time to wake up. But that was the least of my worries, as Plasma seems to now be really bugged out:

Two things: Window decorations (like the ones at the top with the buttons to close and such) do not render properly. That's the simple part

The other, weirder one, is harder to explain in text so I made a video -- The short version is that whenever I mouse over any icon in a panel, be it a tray icon or something on the taskbar thingie -- it seems to jump to the top-right corner of that panel. Though only visually (as in, to interact with it, I still have to click the blank space the icon once occupied)

I have also noticed that icons within qt6 windows do not show in the proper place

These persisted after reboots.

Other info:

  • Linux/KDE Plasma: OpenSUSE Tumbleweed 20240531
  • KDE Plasma Version: 6.0.5
  • KDE Frameworks Version: 6.2.0
  • Qt Version: 6.7.1
  • Kernel: 6.9.3-1-default (64-bit)
  • Graphics platform: X11

Extra details about system (idk maybe it helps?):

  1. I have an AMD Processor and GPU
  2. All the things I have installed are either from the official SUSE Repos or from Flatpak. There's also some appimages and local executables in my user folder. There is 1(one) application I compiled from source and installed system-wide, and that was Orbiton, a text editor for terminal.
  3. When I update the system I get a notification about how updating glibc-32bit would break Steam. So I marked it as untouchable on YaST. Maybe this broke something else? Idk.

Things I have already tried:

  1. Updating the system
  2. Rebooting
  3. Changing theming configurations back to system defaults (hey, you never know)
  4. Moving widgets around in panels
  5. Disabling fancy effects
  6. Disabling and re-enabling my second monitor/changing which monitor is the primary
  7. Asking nicely

Things I have not tried:

  1. Switching to Wayland (I would do so permanently but it breaks Inkscape for me and that's part of my workflow -- Plus I'm new to SUSE, and the last time I switched from X to Wayland was on EndeavourOS, dunno if the process is any different)
  2. Crying

I have also posted this to the kde bug tracker. Posting it here to in hopes of getting an answer sooner :P

EDIT: I gave it some time to see if it would stick and it did. So. "Going into the Plasma Renderer settings and switching it to OpenGL" was the solution to my issue, even if I have no idea what caused it, I at least seem to have fixed it

17
41

Hello there. Was wondering if anyone had any suggestions for a Linux distro for grandparents? They are over 70 years old, with an old HP desktop and laptop running Windows 10. All they need is a Web browser, so no need for special software or wine to run Windows programs. Would preferably like something that is low maintenance so I don't have to be constant tech support for them (apart from the initial install and setup). Thanks for any suggestions.

18
15
submitted 3 months ago* (last edited 3 months ago) by electro1@infosec.pub to c/linuxquestions@lemmy.zip

I tried the following

sudo cryptsetup luksChangekey /dev/nvme0n1p3 < new passphrase > 

It then asks for the Sudo password, then asks for the old passphrase, but then it prints this error message

Failed to open key file.

what went wrong ?

Edit: turns out using GNOME Disks is way more straightforward.. 😅, thank you all

19
14

I am looking for a way to play HDR content on Linux. From what I understand KDE 6 has experimental support for HDR, but isn't available on Pop OS 22.04. Apparently Cosmic desktop will support HDR when it's released, but I don't know if the experimental version will.

Can anybody help me here? Will I need to change distro?

20
7
submitted 3 months ago* (last edited 3 months ago) by luciferofastora@lemmy.zip to c/linuxquestions@lemmy.zip

My use case is splitting audio into separate channels in OBS for Twitch Streams so I can play music live without getting my VoDs struck. If my approach is entirely wrong for the use case, I'm happy to scrap the whole thing and sign it off as learning experience.

My solution is to use virtual sinks that I record through Audio Sources in OBS. I've got two loopback-devices (config at the end) with media.class = Audio/Sink, assign my playback streams to the relevant output capture.
The loopback of each is then passed on to the common default (physical) output device, namely my headphones.
So far, this has been working great for me, aside from minor inconveniences:

The first is that I want certain apps or playback streams to automatically be assigned to the capture sinks upon starting the app.
I had a working pulseaudio¹ setup on Ubuntu where I used pavucontrol to set the output once per app and it remembered that setting. Every time I opened that app, it would direct its playback streams to that sink.
I migrated to Nobara and opted to try configuring pipewire (directly)² instead. The devices are created correctly but every time I (re-)start a relevant app I have to go set its capture device again.

The second is that occasionaly upon logging in, one loopback stream will initially be passed to the other sink instead of the default output, which resolves upon restarting pipewire³. Is something wrong with my config?
Both have the same target.object and restarting it fixes it, so I'm guessing it may be some race condition thing where the alsa_output isn't initialised at startup yet, but I don't know how to diagnose or fix that


1: I have since learned that apparently it's actually still pipewire parsing that config, but the point is I configured it through ~/.config/pulse/default.pa

2: ~/config/pipewire/pipewire.conf.d/default-devices.conf

3: Trying to set it in pavucontrol doesn't work and keeps resetting that playback's output to the given sink if I try to select the correct capture device. Repatching them in Helvum does the job, but then pavucontrol just shows blank for the device (doesn't interfere with controlling the volume, but maybe it's relevant for diagnosing)


My current ~/.config/pipewire/pipewire.conf.d/default-devices.conf:

context.modules = [
    {   name = libpipewire-module-loopback
        args = {
            audio.position = [ FL FR ]
            capture.props = {
                media.class = Audio/Sink
                node.name = vod_sink
                node.description = "Sink for VoD Audio"
            }
            playback.props = {
                node.name = "vod_sink.output"
                node.description = "VoD Audio"
                node.passive = true
                target.object = "alsa_output.pci-0000_00_1b.0.analog-stereo"
            }
        }
    }
    {   name = libpipewire-module-loopback
        args = {
            audio.position = [ FL FR ]
            capture.props = {
                media.class = Audio/Sink
                node.name = live_sink
                node.description = "Sink for Live-Only Audio"
            }
            playback.props = {
                node.name = "live_sink.output"
                node.description = "Live-Only Audio"
                node.passive = true
                target.object = "alsa_output.pci-0000_00_1b.0.analog-stereo"
            }
        }
    }    
]
21
4
submitted 3 months ago by ikidd@lemmy.world to c/linuxquestions@lemmy.zip

I'm looking for a lowish priced laptop that I can put at least 2 extra monitors on. I want a second landscape 4k and a portrait 1080. Don't need anything special. One monitor has DP and HDMI, but the other just HDMI. Do I just get a DP hub and use a converter dongle for the second?

What would be a recommended laptop for this scenario? I only want AMD CPU and GPU as I can't be arsed to fight with noVideo and Intel doesn't deserve my business.

22
4

Yesterday I bought a new laptop that should be arriving to my home sometime next week. In the mean time, I've been digging around and researching some details in order to get Linux running on it as comfortably as possible. My main concern with the laptop is the fact that it has an RTX2050 Mobile on it (I couldn't find any dedicated AMD laptops within my budget), and my concerns include the fact that I prefer using Wayland on my systems and possible impacts on battery life as I know hybrid graphics in Linux are quite a nightmare.

I'd like to use this system for some casual gaming, however other than that my use cases for the laptop mostly consist of coding and web browsing, so I thought of the following idea: Leaving the dedicated graphics card as a pass-through device for a Windows VM where I could play all my games (though I'm not really sure on how VMs impact anti-cheat for multiplayer games and such), and leaving the Radeon 660M graphics on the Ryzen processor for the Linux system itself, which should be plenty capable of handling any DE and accomplishing my daily tasks, while also preserving battery life as the laptop is not running on the 2050 100% of the time

Does this make sense? Does anyone have a similar setup on their laptop and has it worked for them? Are there any possible consequences I should be wary of when attempting this?

If the laptop model is relevant in any way to answering this question, it's an HP Victus 15 with a Ryzen 5 7535HS, an RTX2050 Mobile (4GB) and 16GB of RAM.

23
6
submitted 3 months ago* (last edited 3 months ago) by areyouevenreal@lemm.ee to c/linuxquestions@lemmy.zip

Is there a way to move distro without loosing data in /home? I am currently running Pop OS and want to move to Nix OS while keeping the data. Normally I could use an external hard drive or my server, but most of my equipment is in storage at the moment. Current partition setup is using LUKS and LVM with ext4. I am guessing there is a way to manipulate the LVM to make it work by adding another partition and installing into it.

I know this is probably a convoluted idea. I am trying to avoid spending money an another external drive.

24
17

I am finding it difficult to fill in forms made with MS Word in LibreOffice. The formatting seems to end up all wrong among other things, and LibreOffice feels slow and clunky to use.

I've tried OnlyOffice, but it tends to crash and be slow as well.

At this moment in time I am trying to get MS Office 2010. Is there a better solution?

25
7
submitted 3 months ago by SoleInvictus to c/linuxquestions@lemmy.zip

Hey all! I've been having an issue I can't figure out. Suddenly, I realized I'm in the heart of Linux users! I can ask here! I'm a total noob, so please be gentle.

I installed Xubuntu and got everything but the touchscreen working properly. The touchscreen works but the cursor is consistently off a bit, with the least error in the center of the screen and increasing as it moves to the sides. I've tried running xinput_calibrator but it doesn't help. I attempted to run libinput.calibrate-touchscreen but keep getting a "is a Wayland compositor running?" error message.

Any suggestions?

view more: next ›

Linux Questions

990 readers
1 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 1 year ago
MODERATORS