Linux Questions

1066 readers
19 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
76
17
submitted 11 months ago* (last edited 11 months ago) by [email protected] to c/linuxquestions
 
 

Ok so I have a Macbook Pro 12,1 and the keyboard/trackpad has been dead for a few months, or so i thought. I installed linux in a seperate partition and when it booted, lo and behold, a working damn keyboard and mouse! Boot camp/windows hadn't fixed the issue and it still is broken when i go back to MacOS.

Now i have to wonder, is there a way I can get those drivers from linux that make the keyboard function work on MacOS? I'm running linux lite 6.6 (which i guess is a branch of ubuntu) and MacOS Monterey if that helps..

Sticking with ubuntu lol

77
7
submitted 11 months ago* (last edited 11 months ago) by Blxter to c/linuxquestions
 
 

Hello, I am trying to setup sunshine (the RPD client) to work on linux using Nobara distro and am running into a "Fatal: Couldn't find any working encoder" I also told me to run -Dvideo-codecs=h264enc,h265enc but that returns "Command not found". Any help would be appreciated. Also just tips in general new here.

Edit: Or if someone has a better or easy RDP solution that helps too I don't mind streaming games through steams own remote play but I wish to be able to remote in from my phone elsewhere to do non gaming things.

Thanks

78
20
submitted 11 months ago* (last edited 11 months ago) by [email protected] to c/linuxquestions
 
 

How to run/install a game repacked for windows on Linux? Is it possible?

79
 
 

I use multiple systems, and all seem to have some kind of way to ease the use of password prompts:

On MacOS you can use the fingerprint reader, or the Apple Watch to authorize operations (yep, even sudo)

On Windows, Windows hello allows you to authorize using a fingerprint reader or specific camera setup

Fingerprint readers are not as widely supported in Linux as in Windows because of vendor limitations (they just don’t care).

Is there any other recommended way to authorize operations on a desktop computer using something similar to the other systems? (Fingerprint readers, Bluetooth auth, etc)

80
 
 

I'm seeing programs freeze when I start any operation that would open a 'save as' dialogue box. The behavior is happening with all programs and started suddenly last week.

I've been able to trace the problem to a mounted SMB network drive that I access through a VPN. I have the mount specified in /etc/fstab. If I manually unmount (sudo umount -l /path/to/mount/) then all of these 'save as' freezes go away, and programs which appeared frozen suddenly come back to life. But if I remount (sudo mount -a) then the freezes return when I try to save anything.

So I have a workaround solution (unmount whenever saving, remount to continue working), but I'm at a loss for how to fix this more permanently. Weird that it began all of a sudden like this, everything used to be fine. I've tried updating and that hasn't helped. Any thoughts are much appreciated!

OS: Ubuntu 22.04.3 LTS x86_64

Kernel: 6.2.0-36-generic

DE: GNOME 42.9

WM: Mutter

81
 
 

Wine works really well on popular games. But when I want to run a more obscure program I have spotty luck.

On a few of occasions I was able to get a few programs to run via Wine, but after an OS wipe I was unable to get them to work again. In those circumstances I know the programs CAN work, & I realize how terrible I am at troubleshooting Wine problems. Internet searches turn up very little advice for how to go about troubleshooting.

Do any of you have any procedures, rules of thumb, advice etc for troubleshooting Wine issues?

82
 
 

My backups don't complete because of the following error:

bup "-d" "/media/backonmybs/BackupSSD/KDENeon Backup" "init"
bup "-d" "/media/backonmybs/BackupSSD/KDENeon Backup" "index" "-u" "/home"
b'/home/': [Errno 13] Permission denied: b'chamaco/'                  
read Linux attr: [Errno 13] Permission denied: '/home/chamaco/'       
WARNING: 2 errors encountered.

Exit code: 1
Kup did not successfully complete the bup backup job: failed to index everything.

The main account with admin rights is backonmybs. The other account which has full admin rights is chamaco.

How can I change permissions so that backups complete successfully?

83
 
 

I am running KDE on Ubuntu and I'm trying to type in traditional Chinese using fcitx-chewing, but it only outputs simplified I believe that I have all the necessary packages installed: fcitx5-chinese-addons, fcitx5-table-extra But on the fcitx settings page I can't find any option of switch between traditional and simplified. Is there any hidden settings or configuration file that I am missing?

84
 
 

History:

When trying to adjust the appearance of my KDE Neon setup, I made a mistake and now I can't figure out how to undo it. I was editing the applications in the stock Application Launcher. I can't remember exactly what I did, but I made a second entry to an application (Ferdium) that was already installed and tweaked the "Program:" entry for it. Since then, I haven't been able to use it. I even uninstalled the app, which removed the original application item, but I can't remove the copied version.

Problem:

When I click on it in the KDE Menu Editor, it immediately crashes the editor and suggests that I report a bug. The bug error details read "Executable: kmenuedit PID: 3,152 Signal: Segmentation fault (11) Time: 10/25/23 6:16 PM". I've submitted the bug, but haven't heard anything about it in weeks. I might have submitted it without contact information, and if I try to resubmit it, it appropriately prevents me from submitting the bug again.

When I click on the application entry as if it to open it, I get an error stating, "execvp: No such file or directory".

Any ideas on how I can remove the application from my application menu?

85
5
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/linuxquestions
 
 

[Look at comments for solution]

Yeah, can't really explain why either...

#* /dev/nvme0n1p4 LABEL=Gentoo_ROOT UUID=1904b32b-44e0-47c0-9896-f2a72462ba35 / ext4 rw,relatime 0 1

#* /dev/nvme0n1p5 UUID=da7160d5-2c7b-4dee-99a2-f77fd94fd50c /home ext4 rw,relatime 0 2

#* /dev/nvme0n1p6 LABEL=GENTOO_BOOT UUID=3549-4E88 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2

^^Work

#* /dev/sdb3 LABEL=2TB\134x20HDD\134x20P2 UUID=3abcc113-850d-4e7a-88fb-f183907b3b55 /run/media/presi300/2TB\134x5cx20HDD\134x5cx20P2 ext4 auto,rw,relatime 0 2

#* /dev/sdc1 UUID=35bb39b3-650d-45d5-bf13-795edf483ca2 /run/media/presi300/35bb39b3-650d-45d5-bf13-795edf483ca2 ext4 auto,rw,relatime 0 2

#* /dev/sdb1 LABEL=2TBP1 UUID=0c9f4f41-5129-4829-8666-c1c7ee6b0ff0 /run/media/presi300/2TBP1 ext4 auto,rw,relatime 0 2

#* /dev/sda1 LABEL=1TB UUID=199a489b-a592-4546-9b38-8ba1f0365a34 /run/media/presi300/1TB ext4 auto,rw,relatime 0 2

^^Ignored

I've tried changing pretty much everything in /etc/fstab to no effect, another weird thing is that the system can boot without /etc/fstab being present... Though only the ROOT partition gets mounted. Any Ideas? (Ignore the *s, they are so that the # appears instead of lemmy enlarging the text)

86
 
 

I would like to install Ungoogled Chromium, but I can only find ungoogled Chromium as an older version on Arch AUR and a "Ungoogled Chromium XDG" as a newer build. Can someone please explain me what's the difference between Ungoogled Chromium and Ungoogled Chromium XDG?

87
 
 

Now that RedHat shut down their security mailing list, are there any good alternatives? It's super useful seeing the various exploits and patches to be able to be alerted to anything relevant you should take care of immediately.

If you have any recommendations for adjacent security topics (outside of Linux), those are welcome too.

88
 
 

I've tried Apacer AS2280Q4 2TB and ADATA SWORDFISH 500 GB. Both report nvme nvme0: globally duplicate IDs for nsid 1 since Linux 5.19, if I attach more than one.

Only the first drive is seen by the system. Workaround so far has been to stay on 5.15, but that's not a viable long-term solution.

This error has been known for quite some time, and has been fixed downstream for specific distros and ssd models. Is there any chance the manufacturers will start to assign unique ID's to each drive, or mainline implements usable a universal workaround?

89
 
 

I am using gdb to look at assembly but I want to print the assembly instructions and function names to a file for further analysis.

90
 
 

I'm going nuts here. I hope dual boot questions are ok here.

For backstory, I was dual booting windows 10 and linux mint. Things were fine, until I think when windows was trying to update and on a restart it went to linux, and afterwards I wasn't able to boot up windows. I tried repairing windows with a usb but that was giving me hell about drivers, so I just wiped that hdd and installed windows fresh. Worked fine, got to play a game on there which was why I wanted to get back on windows, lol, all good.

UNTIL, I try to boot back to linux. Getting the grub screen, everything I'm seeing online about setting root to the harddrive where grub is was not working. Back to my tried and true method of wiping it all and starting fresh. I wipe it, get a new linux usb iso, boot into it, install linux, it says to remove media and hit enter to continue. I do that. reboot, get this zoomed in grub window where I can't type at all.

So I'm on windows, trying to hope someone here has had this happen before and knows what I'm missing or what I did wrong because this is really making me crazy.

91
5
ArchWiki and Opensuse (self.linuxquestions)
submitted 1 year ago by canute to c/linuxquestions
 
 

How much effective will be reading pages of ArchWiki if I use Opensuse TW? Is there any better resources for learning linux?

92
 
 

Does it get the uptime of pid 1 or something else?

93
 
 

I have setup a "cloud" desktop (its running in my homelab) and I can access it with ssh forwarding. However, the performance is a bit lower than I expected. I have turned down quality settings but it is still slow. Is there anything else I can do to speed it up? The VM has plenty of CPU and a dedicated GPU.

94
 
 

Pretty straightforward question: I've been using Linux for nearly 3 years now, and the only thing reminding me I was once a Windows user is... well, the Windows key on my keyboard. What's a cheap keyboard (max. €30) I can buy that has something instead of the Win key (e.g. Super, Meta, even Tux or some other logo)?

95
 
 

I bought a HP Stream 11 laptop with an N4120 / 4 GB Ram and 64 eMMC / sd card reader for traveling and one of the main selling points for me was the sd card reader to extend the internal storage easily.

Using Debian 12 / Kernel 6.1 I installed everything but /boot and the EFI partition on a reasonably sized (512 GB) sd card. By default I use nowadays Btrfs with transparent compression and noatime as my root filesystem, so this is what I used on the sd card, too.

I pulled an update for a git repository, around 100 MB in binary files (don't ask) to the laptop, and basically the update was received and afterwards for several minutes there was no progress. When I checked what was going on with htop I saw several Btrfs housekeeping processes working on the sd card and by that time I simply shut down the laptop. (My fault, I didn't record which processes exactly.) RAM was okay (no swapping). The sd card also had much more than 10% free space for Btrfs. Additionally, the git pull did not update any files, so copy on write was not triggered.

After this experience I reinstalled Debian on the sd card, but his time with ext4/noatime. I pulled the exact same git repository, with 400 MB of new binary data, and git pull finished w/o trouble in less than a minute.

I am tech aware enough to set the 'C' attribute for virtual machines on Btrfs and run Btrfs on all my physical and virtual machines for several years now.

My deployment is 100% automated via Ansible, so I am sure the only change was Btrfs -> ext4.

I try to understand, why Btrfs performed so much worse than ext4 for me on exactly the same hardware and for the same workloads. Any explanations or pointers to places to find answers are very much appreciated!

96
 
 

Recently, I ran into an issue where my bluetooth headphones suddenly got super glitchy when working from my parents house. I found out from the Arch Wiki (see Section 2.4.5) that the reason is that in my laptop the Bluetooth and Wifi are on the same card/chip.

I was able to mitigate by forcing my wifi to 5Ghz. But I am wondering the why behind this. I know BT and older wifi protocols operate in the same 2.4Ghz range. But as the wiki states, this is not a problem on Windows, only Linux. So it must be a driver thing? But for it to be not tied to any specific hardware in the wiki, is it just an architectural thing that can't be fixed in the kernel or something?

97
 
 

I have a box running kodi in standalone mode with X11. My TV displays "no signal" if I leave it for too long, does anyone know how to stop this from happening?

I can still ssh into the box and use the remote app Kore so the system hasn't suspended or anything like that.

Pressing up/down etc on the kore remote, which should change what is displayed on screen, doesn't wake kodi up. However, I can wake it up if I tell Kodi to play a video.

98
 
 

I'm looking for a linux kernel for Debian that is 6.4.2 or above (need it to support the AX101 WiFi module).

The Debian package linked below is "linux-image-6.4.0-2-amd64 (6.4.4-3)"

Does that mean the kernel version is 6.4.0 or 6.4.4?

https://packages.debian.org/unstable/kernel/linux-image-6.4.0-2-amd64

99
 
 

Hi! I'm having a hard time finding info about ways to make the lower panel on my desktop do what I want. It seems it only allows me to pin application shortcuts to it. I'd like to add other things. I'm guessing this lower panel is a Gnome tweak, so I suppose I'd like to tweak the tweak. If anyone knows where this mysteriously wonderful lower panel comes from I can probably find docs on it. It has its own settings menu and I've explored those options in the GUI.

100
 
 

I have a new install of Debian 12 Bookworm, and I have added the nonfree firmware sources to my sources list.

However, when I run apt search firmware-linux I see three options

firmware-linux

firmware-linux-free [installed, automatic]

firmware-linux-nonfree

I would like to use nonfree firmware, but I am confused by that first option. what does firmware-linux include or not include that is different from firmware-linux-nonfree? Which should I install?

view more: ‹ prev next ›