Linux Questions

1181 readers
15 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
1
19
submitted 1 year ago* (last edited 8 months ago) by possiblylinux127 to c/linuxquestions
 
 

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
42
submitted 1 day ago* (last edited 1 day ago) by [email protected] to c/linuxquestions
 
 

It's been several months since I switched to Linux mint and it's been great so far. My biggest headache has been dealing with Linux audio and trying to use JACK. I have an electronic drum kit and I use Reaper for recording and using VSTs with yabridge. I managed to get this to work but it only works with ALSA. I want to have YouTube open and play along to songs and this does not work with ALSA. I've researched and experimented with JACK for way longer than I cared to. When I switch to JACK, reaper doesn't recognize my e kit, even tho ita connected with patchbay, and it also makes my default audio output a dummy output. I've gotten to the point of just going back to windows cuz this has been a nightmare. Pulse audio does what I want but the latency is too high.

Is getting a second drive with windows on it the best solution?

EDIT: I have made some progress, I switched to bitwig, uses pipewire, mapped my pads to midi notes and assigned them sounds. I got the latency good and I'm able to play with YouTube. The only problem is bitwig doesn't recognize all the zones in my cymbals. I'm not sure how to fix that, when I was using Steven slate in reaper it registered all the zones.

3
 
 

I was planning on upgrading to a NVIDIA GPU because of its superior ray-tracing capabilities. In general I don't trust proprietary software and the only proprietary applications I use reguraly are Steam and MakeMKV. Even being closed source, wouldn't we be able to tell if the NVIDIA drivers and/or software was collecting telemetry and phoning home? Are there any other concerns beyond that? Sorry if this is a dumb question.

4
6
submitted 1 week ago* (last edited 3 days ago) by [email protected] to c/linuxquestions
 
 

I want to hide the about tag in rEFInd. So, I did according to the info in config and website, which is to add a showtools line with no options.

And, nothing happens. I still see About, Shutdown, Reboot, Firmware tools in the rEFInd screen

# Default is shell,memtest,gdisk,apple_recovery,windows_recovery,mok_tool,about,hidden_tags,shutdown,reboot,firmware,fwupdate
# To completely disable scanning for all tools, provide a showtools line
# with no options.
#
#showtools shell, bootorder, gdisk, memtest, mok_tool, apple_recovery, windows_recovery, about, hidden_tags, reboot, exit, firmware, fwupdate
showtools

Eventhough the previous showtools line is a just a comment, I removed it too. And still nothing happens.

Does anybody have any idea?

I only want Shutdown, Reboot.


SOLVED

It seems like a rEFInd problem in latest version.

https://lemmy.frozeninferno.xyz/comment/16257252

Looks like I have to edit and rebuild it myself. Unfortunately, I'm not really that familiar with building packages myself.

Guess, I have to wait it out.

5
 
 

Heya, I'm currently on Opensuse Slowroll with KDE-Wayland and came from Leap for more recent updates. Even if Slowroll promises monthly big updates, the rolling snapshots still seem to replace most of the system weekly with ~4GB downloads. I don't like that. I looked at Fedora, but found that I would like .deb-compatibility, if I'm already switching. Debian stable is as stale as Leap from what I can see. Debian testing is in flux, and people don't agree on stability. Kubuntu has built-in reliance on snaps, which makes me hesitant to switch. I'm currently trying Mint-Xfce with post-install KDE, it doesn't seem to have wayland support.

Are there any good daily-drivers with sane updates and good support, I should try? I'm not willing to do proper Arch yet, never mind that that would be bleeding-edge-rolling. ^_^

6
 
 

Like where I could buy my songs drm-free and keep them forever.

7
13
submitted 2 weeks ago* (last edited 2 weeks ago) by [email protected] to c/linuxquestions
 
 

I've got this command in a bash script:

TEST=$(curl -o /dev/null -s -k -w "%{http_code}" -u "${USERNAME}:${PASSWORD}" "${URL}/dashboard/")
echo "${TEST}" #debug

When the script runs, the output is "000".

When I run the same curl command from the shell, the output is "200" (which is correct, since the URL is valid).

I verified that the USERNAME, PASSWORD, and URL vars are being passed to the subshell.

I'd appreciate it if you could point out what I'm doing wrong here. :)

UPDATE: This has been solved.

8
 
 

So I got a 180hz monitor and installed Sway (Garuda Linux) in my new machine, the only problem I have is that I can unlock my FPS for the PC as a whole using the display software that comes with Garuda, but not specifically for games or full screen programs. I don't want to use Firefox at 180hz, I just want my games to run at the maximum refresh rate my monitor can handle.

Thanks.

9
10
submitted 1 month ago* (last edited 3 weeks ago) by [email protected] to c/linuxquestions
 
 

I'm looking to buy a drawing tablet, specifically the XP-Pen Deco L to use with Krita. I'm running Fedora KDE with Wayland on my desktop and was wondering if anyone has experience using drawing tablets on Wayland, and if all works as it should. I checked the digi-mend driver and it supports this tablet and XP-Pen themselves publish a driver on their website, but from a quick search it seems to be X11 based.

Followup: The tablet arrived today and after plugging it in it got recognized and started working immediately! All buttons are mappable in Plasmas system settings, both on the pen and the tablet itself. This is with Fedora kernel 6.11.10-200.fc40.x86_64

10
 
 

I tried making the switch fully from Windows earlier this month but the fact that VR wasn’t working well was a big issue that caused me to have to go back to Windows.

I contemplated just having a smaller partition for Windows for VR gaming, but I really want to make the switch fully if possible. I’ll keep Windows on a spare laptop, but that’s it. I want all my main computers to be on Linux.

Are there any distros that work best for this or any tips to share?

I have a Meta Quest 3 that I like using for VR gaming on PC. I’ve been really into Skyrim VR lately and modding in it too. So to find a way to both mod Skyrim VR and play VR would be my goal to accomplish. Wireless VR is not a must but it’s nice. If it has to be one way, whether USB or wireless, that’s fine with me. I’m not strictly needing one way or the other. All of my VR games are in Steam so far, so any tips would be great for this setup.

I tried Bazzite and KDE Neon and both were giving me issues with VR. I had ALVR since Steam VR doesn’t work in Linux natively.

11
 
 

Problem: new kernels not showing up in boot menu

I can install new kernels, and I see them in /boot/efi/{PARITION_UUID}, but they don't show up in the systemd-boot menu.

Data

Normally, Fedora shows the 3 latest kernels (plus a recovery kernel) in the boot menu. I only see up to 6.11.6 in the systemd-boot menu. On the /boot partition, I see much newer kernel versions (both labeled fc40 and fc41)

➜  ~ sudo ls /boot/efi/808f2c9ae4464f1ab2f0a7d367da1b30 -l
total 20
drwx------. 2 root root 4096 Jul  4 19:25 0-rescue
drwx------. 2 root root 4096 Nov  8 12:42 6.11.6-200.fc40.x86_64
drwx------. 2 root root 4096 Nov 18 17:57 6.11.7-200.fc40.x86_64
drwx------. 2 root root 4096 Nov 12 16:47 6.11.7-300.fc41.x86_64
drwx------. 2 root root 4096 Nov 20 10:10 6.11.8-300.fc41.x86_64
➜  ~ sudo ls /boot/efi/808f2c9ae4464f1ab2f0a7d367da1b30/6.11.8-300.fc41.x86_64 -l 
total 72484
-rwx------. 1 root root 57917440 Nov 20 10:10 initrd
-rwx------. 1 root root 16304488 Nov 20 10:10 linux

Systemd-boot

I started with other distros on this disk before I settled on Fedora. Since I was happy with systemd-boot and its automatic discovery of boot entries, I chose to use systemd-boot when I installed Fedora. I know that Grub is the default bootloader and manager for Fedora, but I have systemd-boot. It's an option in the installer.

Major OS upgrades and rolling back the rollback

Last weekend I upgraded from Fedora 40 KDE Spin to Fedora 41. On the next Monday morning, screensharing in Edge Browser had stopped working, so I rolled back to a Fedora 40 snapshot with BTRFS Assistant. This turned out to be an issue in the latest Edge version, not in the underlying OS, so I rolled back the rollback and went to the Monday evening snapshot, then upgraded my packages.

Ever since, I'm not seeing new Kernels in the systemd-boot menu. Any idea how I can fix this, short of a fresh install of Fedora 41 KDE?

12
 
 

I had some missing libraries like libmtp, after extracting the tar, what do I do with the folders? do I need to extract to a specific area? can I move them after installing?

13
 
 

Hello. I want to write an Udev rule to change my laptops's EasyEffects profile whenever I connect a speaker set or headphones to the 3.5mm jack. The concept is relatively simple: when I connect something to the jack, I want it to fire a script that will set this Dconf setting:

gsettings set com.github.wwmm.easyeffects last-loaded-output-preset 'None'

And when I unplug the speakers/headphones, it'll set this:

gsettings set com.github.wwmm.easyeffects last-loaded-output-preset 'Laptop'

("None" and "Laptop" are EasyEffects profiles).

Unfortunately, I haven't been able to find useful info, since almost all of the results I found online refer to Bluetooth or USB devices. I checked within /sys/class/sound/ and /dev/ for a file where I could query the status of the jack (something like "connected"/"disconnected") but I can't find something relevant. I have a similar rule that changes GNOME's font scaling when I plug my HDMI display, and it does that by running this script:

function monitorConnected () {
  statuses=$(cat /sys/class/drm/card1-HDMI-A-{1,2,3,4}/status 2>/dev/null)    
  for status in ${statuses[@]}                                                
  do                                                                          
        [[ ${status} == "connected" ]] && return 0                              
  done                                                                        
  return 1                                                                    
  }

So I thought that I could do something similar for the 3.5mm jack. Or maybe there's another method? Any hints? My OS is Fedora 41 and I'm using Pipewire, btw.

14
8
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/linuxquestions
 
 

If I want to install and use a different desktop environment than came with my distro, what (if any) problems can I expect to encounter?

I currently use Debian with GNOME and I want an optimised system for music production and graphic design. As far as I can tell, the two main options I have are to make some tweaks to my current system's configuration (rt kernel, swap use, cpu behaviour and others) or to switch to a dedicated media distro which is configured already. The creative distros that I like the look of don't use GNOME though.

Which option will be easiest for me?

15
 
 

I've seen these pop up before but didn't have a specific use for them, as I do all my own containers on a couple docker host VMs using compose. But for someone getting into it, it would seem like the way to go, maybe as a Docker-within-Docker container, or a full distro.

I know Portainer does a bit of this with it's Stacks, where you can choose some containers to deploy a pre-built app, as does some NAS software like Unraid. I'm looking for something that has a fairly well maintained stockpile of pre-configured containers that it can deploy (maybe after editing) and manage. I'm sure I've seen github projects that do this but I'll be arsed if I seem to be able to find anything right now. Bonus points if it deploys a Traefik proxy for its applications and configures them to it.

I imagine there's a dozen projects like this that the community can point me at.

16
 
 

Partially related to my previous post here, but instead of support this is more of a general question.

(tl;dr: AntiX boots fine on the aforementioned laptop, while other distros need a custom kernel argument in order to boot, why does this happen?)

While messing around and trying to get Linux to boot on my friend's laptop, I noticed that AntiX specifically booted without needing to mess with any kernel arguments (unlike Fedora [and forks], and presumably others too [I only checked Fedora-based distros since that's what I was trying to install]). What's different with AntiX compared to (at least) Fedora to where Fedora has issues booting while AntiX boots perfectly fine?

I kinda want to guess that AntiX uses a different bootloader, but then why would a kernel argument be the thing that fixes Fedora?

17
 
 

I tried to install Aurora on a friend's Acer laptop, but ran into this issue which was resolved in the same thread, and the temporary fix works the same. When I tried to modify the grub config to apply the permanent fix, /etc/default didn't hold anything relating to grub. Where is the config file for grub, and is it editable?

18
 
 

Good day people!

(This paragraph is fluff, feel free to skip) First I'd like to thanks everyone who has answered my questions thus far. A of now I'm daily driving CachyOS on my "laptop" and Bazzite on my gaming PC. I've settled on Hyprland after running with sway for a few days and have been forcing myself to solve problems and do file management using the CLI exclusively (excluding firefox for duckduckgoosing help). I've gotten semi-comfortable manipulating files, but haven't had to do anything too skill intensive yet.

On to the question! I am currently looking to set up a home server. My use case is for storing media, specifically videos (for watching) and game Roms (for playing older games on emulator). With this use case in mind, what's a good resource to learn how to get started? For those who have home servers set up with similar purposes, how did you arrive at your current set-up? What considerations should i take before, during, and after set-up?

Any feedback is greatly appreciated!

Thank in advance! Hope to hear from you all soon!

19
 
 

@linuxquestions Hi there, could someone please assist me with some Linux advice on setting up an X1 Carbon laptop? Thank you

20
 
 

Good day all!

First I'd like to thank all the people who replied to my first post and provided so much valuable information! Since then I've been trying to force myself to get comfortable with using the terminal! To this end I've been running Sway as my Desktop Environment and printed out a cheat sheet to place next to my screen.

Now, a paragraph deep, for the question(s):

How do y'all customize your terminals? I'm not looking for tutorials, just your preferences. How long did it take for you to settle on your favourite? What did you prioritize when customizing? What customization are you fondest of?

Thanks in advance to any and all replies, hope to hear from you all soon!

21
 
 

I am currently using GNOME Backups (aka Déjà Dup Backups) to backup all my files to a "backups" folder in my Dropbox. This is not a good solution - first because I want to stop paying for dropbox, second because I don't want to keep everything in the cloud, third because everything is stored twice on my laptop and storage is precious.

I therefore want to manage back-ups locally instead. I would like to keep using Déjà Dup, as it has worked really well and effortlessly.

My initial idea is very bare bones. I could keep an old laptop running 24/7, connect a hard drive, and use SSH file transfer in Deja Dup in order to store everything on that machine. That said, I have a few concerns as well.

  1. Is this a good way of doing things? Should I be doing something else instead?
  2. I'm not always at home - will it be a problem if the Backup software cannot find the folder because it's not on the correct network, or will it have the sense to wait until it's connected to the correct wifi?
  3. Will the old laptop use a lot of power, or is it regrettable for any other reason? Is it possible to make it automatically hibernate for example during the nigthtime? Or to have it spend very little power unless anything is connected via SSH?
  4. Would it be better to get a dedicated device, like a Rasberry Pi or something? I don't have all too much faith in my old laptop not making noise with the fan running at random times.

It looks like my partner will be getting a new laptop running Linux soon enough as she has to hand in her work computer, so it would be good timing to get a proper solution into place.

Thank you in advance!

22
5
Roon Server on EndeavourOS (links.hackliberty.org)
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/linuxquestions
 
 

I've been trying to follow documentation on the Roon website to get a roon server set up on a fresh endeavourOS install. I'm getting confused by various forum threads I've come across. Has anyone in this community successfully gotten roon server working on Linux? I'd really appreciate any concrete guidance as to how you got it set up.

I understand that there's no gui and that I'll have to connect to the server with the android app from my phone, but I can't tell that the service is running and when I search for the server from my phone, nothing appears.

Thanks!

23
 
 

I did all the same steps. I downloaded the file. I wrote it to the SD card, but then when I go to start it up, I just get this loading screen that lasted about an hour before I just shut it down.

What am I doing wrong here?

24
 
 

Good day all,

I'm currently about 3 months into using Linux exclusively for personal computing and gaming. I stared out trying EndeavourOs /w the Linux Surface kernel on my Surface, having now settled on Manjaro on my surface and CachyOS on my gaming rig.

So far the experience has been relatively painless. Now, having settled down comfortably into a rhythm of running sudo pacman -Syu, getting lost in the AUR and wiki, I feel like exploring more into what Linux has to offer.

So, on to my question, what do i do now? There's a bit of choice paralysis for me. Where did you all decide to dig in first? What resources did you use? What projects did you take on to deepen your knowledge? What do you feel is essential for crossing the threshold from average user to almost-superuser, then from there and beyond?

Thanks in advance for your time. Hope to hear from you all soon.

25
 
 

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

view more: next ›