Linux Questions

1401 readers
52 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 2 years ago
MODERATORS
1
 
 

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
 
 

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

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!

3
28
submitted 1 day ago* (last edited 1 day ago) by gpstarman@lemmy.today to c/linuxquestions@lemmy.zip
 
 

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.

1001090084

I would really appreciate URGENT help

If you need any more details I can provide.

4
 
 

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?

5
 
 

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.

6
 
 

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.

7
 
 

While playing and someone is using their microphone to talk, my own headphones quality drops at the point that my game sounds like someone is talking through a tunnel, and I didn't even using my own mic, I'm just listening to their mic through some game channel or platform.

Another example is while I'm on some Teams meeting, my overall audio goes to shit even if I'm just listening...

I have read some older posts on Reddit that says that this happens because Bluetooth headphones with included mic cannot handle well both communications and they have to lower all the audio in order to keep the stability, but there's really no another way to fix this other than buying wired headphones or using an external mic? It sounds dumb to me, I just don't want to use my mic, why in the first place is my own PC/Headphone deciding when lower quality just because someone else is chatting through their mic?

Edit: I'm using Sennheiser Accentum Plus

8
 
 

Linux boots fine from USB*, but I can't install any distro (I get a generic "read-only filesystem" error every time I do). Is there any way to circumvent this?

* (unrelated problem)For some reason, BookwormPup and other modern Puppy Linux releases completely halt the system from booting (not even MacOS will boot, and I have to hard-shutdown to get it to turn off).

9
 
 

root@cube:~# df -h / Filesystem Size Used Avail Use% Mounted on /dev/sda2 116G 41G 70G 37% /

Is it time to clean up?

10
 
 

I have followed this wiki guide: https://wiki.archlinux.org/title/Localization/Japanese#Japanese_Input, picking Fcitx5 and Mozc, but I still don't have a functioning setup after spending 3 evenings on it.

I have the IME selector in the top bar where I can select Mozc and the Mozc menus display just fine.


(Gnome doesn't let me screenshot this menu, for some reason)

  1. But as you can see, the IME name is replaced by a white rectangle, I guess it should be a Japanese character.
  2. When I try typing with Mozc activated, the popup does appear and the output text is written in Japanese characters, which means I have correctly installed the Japanese font, but the popup contains white rectangles instead of Japanese characters.

I think this means that Gnome doesn't find the Japanese font, but I couldn't find in the guide how to tell Gnome to use it.

Can anyone give me a hint?

よろしくお願いします

Edit: For some reason fcitx5-config-qt, which is the UI to control the IME, started saying it could not find shared library libKF6WindowSystem.so.6 and refused to open, even though it did open before. So I had to install the related package kwindowsystem and the UI works again now.

Edit2:

By re-reading, I understood that Gnome already comes the IMF ibus installed. So I decided to remove everything I did for the IMF fcitx5 and just install the package ibus-mozc.

After that, I was able to set Japanese (Mozc) in Gnome Settings > Keyboard > Input Sources > Add Input Source > Japanese > Japanese (Mozc) > Add.

I am back to the point where I can select Mozc in the top bar, just a bit of a different style from fcitx5, and the Hiragana symbol in the bar still looks like a white rectangle.

Now, there's progress in the candidate pop-up that does display Japanese characters. Except it is white on white and basically unreadable unless the item is selected.

This issue is mentioned here: https://wiki.archlinux.org/title/Mozc#Suggestion_window_is_blindingly_white_in_dark_mode, but the fix mentioned to set up an env var to fall back to the default ibus popup just turns my suggestions into white blocks.

The config entry to do the same documented here https://github.com/google/mozc/blob/master/docs/configurations.md#ibus-candidate-window has the same result.

I think I have to solve at least one of these issues:

  1. Have the Mozc candidate popup correctly render with white text on dark background.
  2. Have the default ibus popup correctly use the Japanese font I have installed.

One would be preferred as Mozc popup is supposed to be more helpful.

11
 
 

Hello,

I have been trying to create a system service that would run a script on shutdown (hence why I went for a system service over a user service) and landed on something like this

[Unit]
Description=Run backup script on shutdown
DefaultDependencies=no
Before=poweroff.target halt.target
Requires=network.target

[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=/bin/true
ExecStop=/var/home/blackeco/scripts/backup.sh
User=blackeco
Group=blackeco

[Install]
WantedBy=poweroff.target halt.target

Unfortunately, when the shutdown occurs, systemd fails to execute the script:

backup-on-shutdown.service: Unable to locate executable '/var/home/blackeco/scripts/backup.sh': Permission denied
backup-on-shutdown.service: Failed at step EXEC spawning /var/home/blackeco/scripts/backup.sh: Permission denied

This script is correctly owned by user blackeco and permissions look fine

$ ls -la /var/home/blackeco/scripts
drwxr-xr-x. 1 blackeco blackeco 154  5 Feb. 13:50 ./
drwxr-xr-x. 1 blackeco blackeco 116  3 Feb. 13:07 ../
-rwxr-xr-x. 1 blackeco blackeco 794  4 Feb. 15:44 backup.sh*

I'm very puzzled as to why. I'm running Bluefin 41 (itself based on Fedora Silverblue 41).

12
 
 

There's a particular high level folder that I use a lot across many applications. I'd like it to behave similarly to Documents/Music/etc. in that it is visible in various applications when I go to browsing. I'm able to add my folder to the file viewer either drag/drop into the panel or through favorites but when I do things like try and open a new vault in Obsidian it only shows me the default folders. Is there a way to add a custom folder so everything can view it in the same way as Docs/Music/etc?

Edit forgot to add: I'm using Pop_OS! with Cinnamon DE

13
 
 

Is there anything that could help me memorise the argument order of the ln command?

I'll take anything from little helper phrases over shell extensions to replacements written in Rust. I only use the command occasionally, but I need a fool-proof solution. Do you have any tricks to get it right?

@linuxquestions

#AskFedi #Linux

14
 
 

Heya, I'm currently running Libreelec 12 on an Argon One RPi 4B, but hit a snag when I wanted youtube playback. The "official" youtube addon needs an API key, which just adds complexity when you don't use a google account. I'm fond of Newpipe on android and thought it would be a nice addition but there is no flatpack support. I've hit the limits of LEs atomic nature a couple times and so, wanted to check out alternatives. My requirements are:

  • working Argon One integration (remote and power signaling)

  • Kodi autoboot

  • docker/podman

  • waydroid/flatpack for Newpipe

  • ideally backed by an unrestricted Linux install for background services

Obvious contender would be OSMC, but whenever I search for setups and experiences, people just complain about all the stuff that doesn't work, and there is no listing available for what comes included in the appstore/repo.

I could also go manual with RPiOS/Debian/Ubuntu, but I would like a set-and-forget kodi-box and taking a more generic distro might complicate things.

Can I get some opinions on OSMC, as well as what you are rocking on your Kodi-setups. Thanks in advance.

15
 
 

Did it have more or less compatibility than it does now? Was it difficult to use? I started using Linux around 2016 and switched to it fully in 2020. In all my time I have only used WINE for gaming as most Windows desktop applications I have tried don't really work, not that I'd want to use many anyway. Sorry if this is a dumb question, I'm just curious to hear peoples experiences.

16
 
 

I recently installed CachyOS and went about setting up fstab as I normally would. For some reason one of my HDD's is not mounting on start as it's supposed to. The one called 'Media III' is the one that won't mount automatically. I can mount it just fine in Dolphin. None of the solutions I have tried seem to work. I'd be grateful for any help offered. Thank you!

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=2F40-2396                            /boot          vfat    defaults,umask=0077 0 2
UUID=b1d8992a-192f-4f8a-ba0e-fc438f740670 /              btrfs   subvol=/@,defaults,noatime,compress=zstd,space_cache=v2,commit=120 0 0
UUID=b1d8992a-192f-4f8a-ba0e-fc438f740670 /home          btrfs   subvol=/@home,defaults,noatime,compress=zstd,space_cache=v2,commit=120 0 0
UUID=b1d8992a-192f-4f8a-ba0e-fc438f740670 /root          btrfs   subvol=/@root,defaults,noatime,compress=zstd,space_cache=v2,commit=120 0 0
UUID=b1d8992a-192f-4f8a-ba0e-fc438f740670 /srv           btrfs   subvol=/@srv,defaults,noatime,compress=zstd,space_cache=v2,commit=120 0 0
UUID=b1d8992a-192f-4f8a-ba0e-fc438f740670 /var/cache     btrfs   subvol=/@cache,defaults,noatime,compress=zstd,space_cache=v2,commit=120 0 0
UUID=b1d8992a-192f-4f8a-ba0e-fc438f740670 /var/tmp       btrfs   subvol=/@tmp,defaults,noatime,compress=zstd,space_cache=v2,commit=120 0 0
UUID=b1d8992a-192f-4f8a-ba0e-fc438f740670 /var/log       btrfs   subvol=/@log,defaults,noatime,compress=zstd,space_cache=v2,commit=120 0 0
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0
/dev/disk/by-uuid/3da7d8ac-60c8-4378-ba5d-c7546d5ed4ca /media/user/Games auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/20e5f943-366a-49b4-92c3-fbe013ebb010 /media/user/Media auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/ceaf9b7c-3fb5-4ec1-bf77-c3e45b452d07 /media/user/Media\040II auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/979e1457-7431-4f9c-a5b1-9ce062a6a55a /media/user/Blu-ray auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/27db861a-84ee-4091-aa61-4fda057c5da3 /media/user/Games\040II auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/eb9efe45-bf11-4f30-b9de-26456c5459e6 /media/user/More\040Files auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/a66e2ba8-d4b5-4564-9e4e-c29f34298cad /media/user/Media\040III auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-id/wwn-0x5000cca0b0e052b0-part1 /media/user/Backup auto nosuid,nodev,nofail,x-gvfs-show 0 0
17
 
 

I'm wanting to move my current Linux mint install to a bigger drive that's NVME. I tried clone zilla and did the drive to drive oprion. But I'm unable to boot to the new drive. I read up on it and it seems like I didn't do the clone correctly. I was wondering, can I back up my current system with timeshift, then just do a normal install of Linux mint on the new drive, then use timeshift to restore my backed up system to the new SSD? Or should do I need to stay with clone zilla?

18
43
submitted 2 months ago* (last edited 2 months ago) by WeebLife@lemmy.world to c/linuxquestions@lemmy.zip
 
 

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.

19
 
 

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.

20
5
submitted 2 months ago* (last edited 2 months ago) by gpstarman@lemmy.today to c/linuxquestions@lemmy.zip
 
 

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.

21
 
 

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. ^_^

Edit: I'm now on TuxedoOS, it's snapless Ubuntu with official KDE-wayland support. It handles Nvidia automatically and only corrupted it's home-partition once, so far.

22
 
 

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

23
 
 

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.

24
 
 

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.

25
10
submitted 3 months ago* (last edited 2 months ago) by claymore@pawb.social to c/linuxquestions@lemmy.zip
 
 

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

view more: next ›