Skip Navigation
Linux Questions

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

  • stay on topic
  • be nice (no name calling)
  • do not post long blocks of text such as logs
  • do not delete your posts
  • only post questions (no information posts)

Tips for giving and receiving help

  • be as clear and specific
  • say thank you if a solution works
  • verify your solutions before posting them as facts.

Any rule violations will result in disciplinary actions

Members
1,595
Posts
51
Active Today
14
Created
2 yr. ago
  • Linux Questions @lemmy.zip
    MoLoPoLY @discuss.tchncs.de

    How to find the name for Icon in *.desktop file?

    Creating *.desktop files for WIndows/Wine applications, specify sometimes a Icon like this:

     undefined
        
    [Desktop Entry]
    Name=Game to start
    Comment=Play this game on Steam
    Exec=steam steam://rungameid/738520
    Icon=steam_icon_738520
    Terminal=false
    Type=Application
    Categories=Game;
    
      

    with Icon=steam_icon_738520. Is this extracted from the *.exe file and how do i get the name mentioned here? I know, that i can use the path to a *.png, but i would prefer to use the *.exe file itself.

  • Linux Questions @lemmy.zip
    HotsauceHurricane @lemmy.one

    cava module in polybar showing numbers

    the cava module i have in my polybar config isnt showing bars. instead it is showing zeros while no audio is played, then numbers while audio is streaming, executing the polybar.sh file returns the error Failed to parse contents (reason: 1 unclosed action block(s))

    here is the script i used. l

    i cannot for the life of me figure out the problem.

  • Linux Questions @lemmy.zip
    Letstakealook @lemm.ee

    Would you consider Drauger OS noob friendly for gaming desktop?

    I'm backing up my windows device today and plan on installing a Linux distro. My primary use for this PC is gaming, though I do complete some banking and other tasks I find cumbersome on my phone.

    My technical skill level is "knows enough to get into the shit, but not enough to get out." I did use Ubuntu exclusively for a period of about 3-5 years over a decade ago.

    One con I've found regarding this OS is that it has "no browser in Live environment," but I have no idea what that means.

    If anyone has experience with this OS or good tips/recommendations, I would greatly appreciate it. Thanks in advance.

  • Linux Questions @lemmy.zip
    BluescreenOfDeath @lemmy.world

    Apt package updates take longer than expected - where to look?

    I've been daily driving Kubuntu for ages now (currently on 24.10), and I've noticed that updates take a while for seemingly no reason.

    The downloads are slower than my internet is capable of, but they happen fast enough. It's just that some packages take longer than I would expect on the "unpacking" step.

    For example, anytime there's a new kernel release or new headers, apt downloads the packages fast enough, but the unpacking takes time with seemingly no resource usage. No increased CPU load (for possible inflating of a compressed archive), no IOWAIT warnings, my NVMe disk shows very little throughput (and can handle much faster disk operations, like downloading games via Steam), stuff like that. The system seems to be at idle, and yet the unpacking of some packages just... takes a while.

    It's not like it's a huge issue. It's only maybe an extra 30+ seconds, but it's got me wondering if there's anything I could do to improve it.

    sudo apt clean hasn't had any effect, and my Googl

  • Linux Questions @lemmy.zip
    claymore @pawb.social

    Podman container doesn't start after system update

    After an automatic update+reboot of my Debian server my Jellyfin container doesn't work anymore. When I try to run it from the command line I get: Error: crun: make '/home/serve/.local/share/containers/storage/vfs/dir/[string]' private: Permission denied: OCI permission denied

    Here's the list of updated packages, in case it's useful: base-files buildah curl dns-root-data intel-microcode libc-bin libc-l10n libc6 libcurl3-gnutls libcurl4 libmariadb3 libpam-systemd libpq5 librabbitmq4 libsystemd-shared libsystemd0 libudev1 linux-image-amd64 locales mariadb-common systemd systemd-sysv tzdata udev vim vim-common vim-runtime vim-tiny wget

    I tried doing some searching and it looks like a podman issue, but with no real fix for it? Not sure tbh. Do I need to nuke my container and start again? Or is there a way to fix this while keeping my config?

    Small update: I did some digging around in the directories that error out and found that in ~/.local/share/containers/storage/volumes both th

  • Linux Questions @lemmy.zip
    gpstarman @lemmy.today

    Can't boot into snapshots via rEFInd

    What I want:

    To boot into a BTRFS snapshots from rEFind boot manager.


    Additional Info:

    1. So, apparently, to restore the BTRFS snapshot of a root subvolume, I shouldn't do it with the root partition being actively used.
    2. So, I need to boot into the desired snapshot from the boot manager itself.
    3. GRUB has grub-btrfs, which lets you boot into snapshot from OS selection screen itself.
    4. rEFInd has refind-btrfs, which should do the same as grub-btrfs. But it didn't in my case. I am not seeing any way to boot into a snapshot from rEFInd.
    5. I use BTRFS Assistant with snapper to manage snapshots.
    6. I am not seeing any way to restore the snapshot from live environment too.
    7. I am using CachyOS (Arch) with Plasma DE.
    8. I suspect the reason is my unusual /efi /boot partition layout. (attached below)
    9. I did my partition this way because, my initial EFI partition had less sto
  • Linux Questions @lemmy.zip
    daggermoon @lemmy.world

    Is there any reason to use Powershell on Linux?

    I have used bash, zsh, ksh, and now powershell. I am by no means an expert on UNIX shells. I could get all my work done on any one of these. My main shell is Zsh with some oh-my-zsh plugins because I'm lazy. What can you do in powershell that you can't do in any other shell? Also, does the shell you use even matter? Sorry if this is a dumb question.

  • Linux Questions @lemmy.zip
    Mike Wooskey @lemmy.thewooskeys.com

    Question about gum

    Is anyone familiar with gum?

    I have a simple:

     undefined
        
    while true; do
        CHOICE=$(gum choose "one" "two" "three")
        case "$CHOICE" in
            "one")
                <do something>
            "two")
                <do something>
            "three")
                <do something>
        esac
    done
    
      

    If the user hits ESC, gum displays "nothing selected" and exits.

    Is there a way to disable the "nothing selected"? I tried redirecting 2>/dev/null but it suppresses the entire menu. I also tried adding $'\x1b' to the case, but it did nothing.

    I also tried adding:

     undefined
        
        if [ -z "$CHOICE" ]; then
            exit 0
        fi
    
    
      

    directly after CHOICE=$(gum choose...).

    No dice.

  • Linux Questions @lemmy.zip
    Hellmo_luciferrari @lemm.ee

    Managing Updates Across Multiple Arch Based Systems

    Greetings everyone,

    So I have been pondering on how to accomplish something;

    I have multiple Arch based systems, and I want to try to manage updates on all of them so they are all on the same version. So I was wondering how anyone may go about doing this?

    One thought was that I could host my own Arch repo, where I have a server that pre-builds all of the packages I want to be installed across my systems. However, each machine has different hardware, so I would have to build driver packages such as Nvidia related packages for one machine, etc.

    How do you handle managing updates across multiple Arch machines?

    Thank you!

  • Linux Questions @lemmy.zip
    gpstarman @lemmy.today

    How to restore root subvolume BTRFS snapshot?

    I'm using CachyOS (Arch) with BTRFS. And tried to restore snap of root subvolume and it didn't work ( see previous post ).

    If I remember correctly, i successfully restored root subvolume before. Take it with a grain of salt.

    Some people on my previos posts said that I shouldn't have tried restore root subvol while system is actively running through the subvol.

    Now my question is,

    How to restore a snap of root subvolume ?

    Edit: I know how to restore a snapshot. Just need help with root subvol snapshot.

    I use BTRFS Assistant with snapper. And rEFInd doens't have boot to snapshot option. (I installed and it didn't work )

  • Linux Questions @lemmy.zip
    ScientifficDoggo @lemmy.zip

    Finally about to take the homelab plunge with a second hand workstation

    Good day all!

    Thanks to everyone who replied to my first home server question a couple months back. I've since been learning more about linux and recently trying to learn vim motions after improving my touch typing.

    I'm currently negotiating a price to purchase a second hand ThinkStation S30 (mostly for the case) with the following insides:

    • Processor: Intel Xeon E5-1620 V1
    • Memory: Samsung 32GB DDR3 ECC RAM
    • Graphics: Nvidia Quadro K4200

    What Hardware considerations should I plan for in advance? Any upgrades or additional components I should look out for? What price is this even worth it at?

    Any and all guidance appreciated! Thanks in advance!

  • Linux Questions @lemmy.zip
    pathief @lemmy.world

    My audio output is being picked up by my audio input, even when no device is plugged in

    I work remote and I'm constantly on a Teams meeting while working. My colleagues have been complaining for a while that they can hear my youtube video, if I have it a bit loud. I always figured my microphone was picking it up and never paid much attention to it. Reducing the video volume or the microphone volume would fix it.

    Today I accidentally unplugged my headset and they could still hear the video. Nothing is plugged into the computer, yet they can listen to my video. Something is causing a loopback or something, I can't figure out what.

    My system:

    • EndeavourOS
    • Pipewire 1.2.7
    • The folders /etc/pipewire/pipewire.conf.d/ and ~/.config/pipewire/pipewire.conf.d/ are empty, so I assume no filters are being used

    I attached the output of qpwgraph. I'm not really an audio expert but it looks normal?

    Let me know how I can fix this! Thanks!

  • Linux Questions @lemmy.zip
    MoLoPoLY @discuss.tchncs.de

    Icon with Desktop Notifications

    When I send a notification with notify-send -i /path/to/my/icon.png "title" "message" , it appears wonderfully in Gnome 47.4. However, the icon is very tiny. According to the screenshots I saw, the icon can be very large. It is also obviously displayed in addition to the app icon. Is there a way to send such an icon in the message or another way to create desktop notifications?

  • Linux Questions @lemmy.zip
    gpstarman @lemmy.today

    I guess I borked my System

    Context: I updated my CachyOS (Arch) BTRFS system. Some new things caused few problems especially brave browser(missing tabs), some icons missing.

    So I wanted to go back to previous snapshot.

    What I did: I first restored my home subvol which I saved before update. I worked.

    Then I tried to restored my root partition. This is where I got the problem.

    I got this error.

    I would really appreciate URGENT help

    If you need any more details I can provide.

  • Linux Questions @lemmy.zip
    notanapple @lemm.ee

    What has been your experience with Autin? Is it something worth using?

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

    For context Autin (Github) is a shell history replacement that apparently provides a lot of extra functionality.

    Has anyone used it? Im thinking of switching to it but Im worried about its impact on performance and if its worth it.

  • Linux Questions @lemmy.zip
    daggermoon @lemmy.world

    How does one go about switching from an AMD GPU to NVIDIA?

    Can I install the NVIDIA drivers with an AMD GPU plugged in or do I need to do it in tty once the new GPU is installed. Sorry if this is a dumb question, I've never had to do it before. I'm using CachyOS which is Arch based.