/r/linuxquestions

Photograph via snooOG

A subreddit for asking question about Linux and all things pertaining to it.

This subreddit is for any question pertaining to Linux from beginner to advanced. For general Linux news and info, see /r/linux.

Please try to only make helpful replies to questions. This is not the place for low effort joke answers.

If you find a solution to your problem by other means, please edit and add the steps you used to solve your problem to the bottom of the original post, and edit the flair on your post to [Resolved] (available in the drop-down list).

/r/linuxquestions

279,371 Subscribers

3

No sound or fingerprint functionality on Linux with Huawei MateBook D15 – Seeking advice!

Hi,

I have a Huawei MateBook D15 that I’m trying to run Linux on, but I’m facing two major issues:

  1. No sound on any Linux distribution I try.
  2. Fingerprint reader doesn’t work either.

What's strange is that on Windows 10 and 11, the sound works fine, but Huawei’s PC Manager still shows a "missing sound driver" error during testing. I’ve searched for AMD drivers and updated everything from the official website, but this didn’t solve the issue. Huawei PC Manager keeps indicating a missing sound driver, even though sound works on Windows.

I’m fairly sure the root cause isn’t Linux itself, but I wanted to check here in case anyone has ideas or has faced something similar.

Thanks for any insights you might have!

1 Comment
2024/10/31
17:49 UTC

3

Down arrow problem

My down arrow always get pressed automatically doesn't matter which destro I'm using ( other than windows) any solution?

5 Comments
2024/10/31
17:37 UTC

0

Moving from Linux back to windows. PLEASE HELP ME NOT TO!

I decided it was time to get away from Windows. So I installed Ubuntu 24.04 on a machine I had lying around with moderately decent specs (8th gen i5, 16 GB RAM, 480 SATA SSD) enough to get up and running with a moderately decent experience.

Let me start with a bit of a background. I fix and sell computers for a living, so I have much more than a basic knowledge of computers and how to get things going. I also have a couple of homelab servers running Linux flavors, and Open Media Vault, so I am no stranger to Linux. I would classify my experience with Windows as near expert, and my experience with Linux as intermediate.

The problem is, I am bogged with issues that are going to force me to return to Windows.

First of, my Canon Imagerunner C2020 was hard to set up, and still doesn't work properly. Works fine to print a page to the "default" tray, but no matter what settings I select, it won't print from the manual feed (called the multi purpose tray) on Linux. I have had to sent the file to a windows machine to print to paper placed there.

I have a confidential excel spreadsheet the company considers confidential when it contains no data. I need to open this spreadsheet 2-3 times a day. Libra office takes in excess of 30 seconds to open this document. The Libra office community understandably can't really offer support if I can't provide the document (I have asked). I have managed to get Wine going to work with the version of Office I use, however its use is erratic. Most of the time it works, but at times I can't switch into or out of the window, and at times I can't use it at all. I need to close and re-open it.

My mouse occasionally double right clicks on a single right click. I know this isn't a mouse issue, the same mouse doesn't do this in Windows. There has been no help on the Ubuntu subreddit.

I use a Dymo LabelWriter 450 as part of my business. Although I have not tried it, from my googling I have read that it will not work with the .label files I need it to work with in Linux.

Linphone is what I have selected as a sip phone, and occasionally it just decides to use different audio devices. Very annoying when I go to answer a customer call, and either i can't hear them, they can't hear me, or both.

So in conclusion, this is 1/2 rant, and 1/2 asking for help. Is there a better Linux flavor for people coming from Windows that just need stuff to work? Is there some way to resolve all these issues? Or am I just better sticking with Windows as my daily driver?

14 Comments
2024/10/31
16:12 UTC

2

I have got 2 laptops and i want to use one as an external display

both of them run opensuse hyprland but ive got no idea how to set it up , i do have a hdmi cable connected to both but that doesnt do shit , any help will be amaing!!!

2 Comments
2024/10/31
16:07 UTC

3

About getting a linux Os on a Dbook111 ? to get rid of Android go from it.

Hello everyone,

I do not know if this is the place, but i am looking to install a linux os (any really) to get rid of the android go from a Dbook111 2go ram and 32go of space.

the issue is.. well that model has a keyboard of course but no tactile, so most android app are awnfull to use on such device.

it was given to my old mother, and she would like to be able to use it like her long gone manjaro laptop.

How do i do that ?

Sincerely

2 Comments
2024/10/31
15:20 UTC

1

Good Simple Photo Editing Program (Like Snapseed)

I'm getting into photography, so for now I want something pretty simple. I like Snapseed on mobile because it is easy to use and has a lot of nice presets (called "Looks", e.g. "Fine Art", "Morning") and presets for black and white etc. That and cropping images is basically all I need.

I've tried some Photoshop alternatives like GIMP and Photopea, but they don't come with presets the same way Snapseed does.

Xnview is nice but also has no presets.

Does anybody have any recommendations?

0 Comments
2024/10/31
14:50 UTC

1

Want to switch to ZorinLite on my oldass puter, but I don't have other drives and I'm afraid of losing data (questions about backup and does the change makes sense?)

So, I have this really old computer that I've been using until I can get something better, which runs 32-bit Windows 7 and that's a pain in the ass, mainly because of program compatibility, but also performance due to its old Pentium processor and single channel 2GB ram. I've been seeing a lot about Linux recently and decided to switch to Zorin Lite because it seems very light weight (more than the Windows 7 professional I'm using now) and begginer friendly for someone like me who knows absolutely nothing about Linux and just wanna use it casually for browsing, studying, low end gaming and emulation. BUT, I have around 154GB out of 297GB of data that I don't want to lose and I don't have any external HD's for backup. So I'm curious if I can transfer the files from the Windows Partition to the Linux one after setting up dual boot or, if that's not possible, if I can back up everything online using something like Proton Driver and then just download everything again on the New OS. I'm very dumb when it comes to technology so I came here to clarify these things, so if any of you guys can tell me if what I want to do is safe and possible or if this change to Zorin does make sense or not, I'd appreciate a lot, really. Thanks for the patience if you've read anything and I hope you all have a nice day

3 Comments
2024/10/31
14:47 UTC

0

Unable to delete file

I downloaded a jpg image, however I cannot delete it. The file was named "téléchargement.jpg" and the special character "é" is represented as \351 in the terminal. However, because of this special character, the backslash is fucking things up, and I am unable to access it because rm or mv relies on the filename. I tried deleting it using the little code shown when doing ls -i but nah. Unlink doesn't work aswell. Also, even worse, this is via ADB console, this file is on my android phone, so I am unable to install an alternative package.. I tried putting the name in "" or '' or using double backslashes but nop.. :'(

15 Comments
2024/10/31
14:32 UTC

2

Running linux on a device capable of UHD resolutions - which device to get

So I want to continue using linux in the future but I want to have a higher resolution and generally a better screen, closer to the Mac Retina display experience.

Which device (preferably an All-in-One PC) should I get that will then be able to run a Linux distro like Debian in ultra high resolutions?

0 Comments
2024/10/31
14:30 UTC

2

Output location with abcde

I know there's not much going on with this anymore, but the tool is still fantastic... I'm currently trying to rip my CD collection to flac. My goal is to output to $HOME/Music/Folder/Artist/Album/Trackfile. I've edited my abcde.conf file to have:

# Give the base location here for the encoded music files.
OUTPUTDIR="$HOME/Music/Folder"
# The default actions that abcde will take.
ACTIONS=cddb,playlist,read,encode,tag,move,clean
# Decide here how you want the tracks labelled for a standard 'single-artist',
# multi-track encode and also for a multi-track, 'various-artist' encode:
OUTPUTFORMAT='${OUTPUT}/${ARTISTFILE}/${ALBUMFILE}/${TRACKNUM}.${TRACKFILE}'
VAOUTPUTFORMAT='${OUTPUT}/Various/${ALBUMFILE}/${TRACKNUM}.${ARTISTFILE}-${TRACKFILE}'
# Decide here how you want the tracks labelled for a standard 'single-artist',
# single-track encode and also for a single-track 'various-artist' encode.
# (Create a single-track encode with 'abcde -1' from the commandline.)
ONETRACKOUTPUTFORMAT='${OUTPUT}/${ARTISTFILE}-${ALBUMFILE}/${ALBUMFILE}'
VAONETRACKOUTPUTFORMAT='${OUTPUT}/Various-${ALBUMFILE}/${ALBUMFILE}'
# Create playlists for single and various-artist encodes. I would suggest
# commenting these out for single-track encoding.
PLAYLISTFORMAT='${OUTPUT}/${ARTISTFILE}/${ALBUMFILE}/${ALBUMFILE}.m3u'
VAPLAYLISTFORMAT='${OUTPUT}/Various/${ALBUMFILE}/${ALBUMFILE}.m3u'

But it is storing the files to $HOME/Music/Folder/flac/Artist/Album/Trackfile. Any idea how I get it to not create the "flac" subfolder?

0 Comments
2024/10/31
14:26 UTC

12

I am interested in learning how to use Linux

I recently started learning coding, but very basic stuff like HTML. I want to start learning Linux, too, just for the freedom it gives you. Can I have some suggestions for a beginner Linux distribution?

33 Comments
2024/10/31
14:14 UTC

2

Error Logs/Crash Reports

What is the best way to deal with all of the errors reported in these logs if the system is still operating seemingly fine.

2 Comments
2024/10/31
14:08 UTC

2

dualbooting several distros, When sharing a home partition how do i keep program configurations across OSes?

I had been using Ubuntu for several years however i had been unlucky as i get always some weird "app has crashed" issues, and recently the lts 24 update has borked my system...

So it's time for me to start anew, and i would like to try something else than debian based distros for some fresh air.

I need to keep Ubuntu as a "backup" as i still need to continue to work normally without "what is the equivalent to <do something in the system>" in this distro
when something urgent comes up i want to be able to just boot ubuntu and go back to my familiar system.

I want grab this opportunity to setup and dualboot other distros, (maybe fedora, opensuse, arch, whatever)

So, as i had been reading around creating a home partition and symlinking the user folders (music, documents, downloads etc) is the good way to go, keeping the same UID and GID also makes stuff easier

However, i would like not to worry about program configs across Distros,

i don't want to rely on "cloud" or "internet" or some "account login" to store my browser\program settings

So how do people keep app configurations across distros?

* example 1: I am writing an email thunderbird in distro X, save it as a draft, some urgent job happened, i fire up ubuntu, while that gets sorted out I can just launch thunderbird and keep writing from the stored draft
* example 2: working on vscode, install an extension, configure vscode interface with some custom setting, change something on git global\user, launch other distro, can keep working as normal without "ho shot, i forgot i had this setting in the other distro, now i need to set it again.)

* example 3: browser without an online sync service... (history, favorites, etc)

4 Comments
2024/10/31
14:03 UTC

1

Really large file or not? What's happening here?

$ df -h /var
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_var 2.0G 1.3G 740M 64% /var
$ ls -l /var/log/lastlog
-rw-r--r--. 1 root root 346300596524 Oct 31 08:19 /var/log/lastlog

2 Comments
2024/10/31
13:39 UTC

3

Need help with running a script at boot

This is the first type of script I've tried creating so I most likely messed something up. Also for what is worth, running Manjaro on a Surface Laptop Go 2. I've looked into a bios setting to allow waking up from usb but the surface bios is very limitied.

I have a dell dock that connects with usb-c to my work laptop. I bought a usb-c 2 way switcher that can allow me to plug in my laptop as well. It works fine if my laptop is awake but once it goes to sleep the dock will not wake up the laptop. I have to open the screen and hit the power button.

grep returns

/sys/bus/usb/devices/usb1/power/wakeup:disabled
/sys/bus/usb/devices/usb2/power/wakeup:disabled
/sys/bus/usb/devices/usb3/power/wakeup:disabled
/sys/bus/usb/devices/usb4/power/wakeup:disabled

Running this under su for usb1-4 allows my laptop to go to sleep and be woken up from the mouse or keyboard connected to the dock without opening the lid. However upon restart I need to re-run the commands.

echo enabled > /sys/bus/usb/devices/usb*/power/wakeup

I tried to create a systemd service following this post. However once rebooted the states revert to disabled.

I'm not sure if there is a better way or if maybe I just messed up the formatting for my service. Here are the 2 files I created.

wakeup-events.service

#!/usr/bin/bash
    
[Unit]
Description=Enable wakeup-events on startup

[Service]
Type=oneshot
ExecStart=/bin/bash /home/user/scripts/wakeup-events.sh

[Install]
WantedBy=multi-user.target

and the wakeup-events.sh

#!/usr/bin/bash
#enable wakeup events for usb devices
echo enabled > /sys/bus/usb/devices/usb1/power/wakeup
echo enabled > /sys/bus/usb/devices/usb2/power/wakeup
echo enabled > /sys/bus/usb/devices/usb3/power/wakeup
echo enabled > /sys/bus/usb/devices/usb4/power/wakeup

Manually running the service outputs this

wakeup-events.service: line 3: [Unit]: command not found
wakeup-events.service: line 4: wakeup-events: command not found
wakeup-events.service: line 6: [Service]: command not found
wakeup-events.service: line 8: /home/user/scripts/wakeup-events.sh: Permission denied
wakeup-events.service: line 10: [Install]: command not found

and checking the status through systemd outputs this

wakeup-events.service - Enable wakeup-events on startup
     Loaded: loaded (/etc/systemd/system/wakeup-events.service; enabled; preset: disabled)
     Active: failed (Result: exit-code) since Wed 2024-10-30 16:44:10 EDT; 16h ago
 Invocation: 29aea61a28a047009aea1fcdfba6534f
   Main PID: 663 (code=exited, status=127)
   Mem peak: 1.4M
        CPU: 11ms

Oct 30 16:44:10 surfacelaptopgo2 systemd[1]: Starting Enable wakeup events on startup...
Oct 30 16:44:10 surfacelaptopgo2 bash[663]: /bin/bash: /home/user/scripts/wakeup-events.sh: No such file or directory
Oct 30 16:44:10 surfacelaptopgo2 systemd[1]: wakeup-events.service: Main process exited, code=exited, status=127/n/a
Oct 30 16:44:10 surfacelaptopgo2 systemd[1]: wakeup-events.service: Failed with result 'exit-code'.
Oct 30 16:44:10 surfacelaptopgo2 systemd[1]: Failed to start Enable wakeup events on startup.

I'm sure its a simple fix that I just don't know enough to do. I'm wondering if its some sort of permissions issue? Any help would be greatly appreciated!

6 Comments
2024/10/31
13:33 UTC

2

GPM Mouse sensitivity

Not sure if this is the right place to post this but does anyone know how to configure mouse sensitivity in GPM (General Purpose Mouse)? Haven’t been able to find any documentation on how to do it

Edit: I did see someone on youtube who was provided that option when running "dpkg-reconfigure gpm" but dpkg is for Debian, and I’m on the Asahi Fedora remix

It’s really annoying cause I’m trying to use Twin and it has buttons that when clicked open a menu, and if I stop pressing the touchpad that menu disappears, but I can’t reach all the options in the menu since my touchpad ends before my cursor reaches those options, and in order to then reach them I have to lift my finger and place it back at the other end of my touchpad to continue moving the cursor, but that makes the menu disappear!! So now I just can’t access some of the options in that menu.

7 Comments
2024/10/31
13:25 UTC

2

How do you execute a script as part of sleep or shutdown?

Basically the title: When I put my laptop to sleep or shut it down, I would like a script I wrote to automatically run every time, at least as part of the graceful process (because I would imagine there's no way to do this if it's an abrupt battery loss or holding down the power button but lmk).

How do you do this? If you happen to know, what would it be for macos as well please?

4 Comments
2024/10/31
13:19 UTC

6

How to reduce the power consumption of an i3 12100?

I installed Proxmox on an i7-3770 with 16GB DDR3 and had been using it for months as a home server, running OPNSense, OpenMediaVault and a couple of other virtual machines, as well as a few services in both LXC and Docker containers (Jellyfin, SearXNG, Vaultwarden, Linkding, Kavita, etc). The problem is that I wasn't satisfied with two things: the power consumption and the impossibility of proper Jellyfin transcoding. So I decided to change hardware and after some research and reading good reviews about the low power consumption of the i3 12100 I decided to go with it. Here is the list of my current hardware:

Motherboard: AsRock H610M-HVS/M.2 R2.0 Processor: i3 12100 Memory: 32 GB DDR4 PSU: Zalman ZM700-GLX Storage: nvme 1 GB, 1 8TB SATA disk, 1 4TB SATA disk, 1 2 TB SATA disk

What I can say is that after about a week of use I am quite disappointed. The consumption is always around 50W (which is even more than my old i7) and I have no idea what to do to reduce it. The information I have been finding is conflicting and there seems to be no consensus on what numbers I should consider acceptable for this processor nor on what are the best fine-tunings to make.

I'll post some additional info below and would greatly appreciate it if someone with more experience in this area could give me some pointers.

Changes I made to the BIOS:

  • Disabled Hyperthreading
  • Enable all C-States
  • Disabled Turbo Boost
  • Enabled ASPM (there are a couple of configurations I changed. I don't remember by memory but I may give more details if neeeded)

root@proxmox:~# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors

performance powersave

root@proxmox:~# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

powersave

root@proxmox:~# uname -a

Linux proxmox 6.8.12-2-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-2 (2024-09-05T10:03Z) x86_64 GNU/Linux

root@proxmox:~# lspci

00:00.0 Host bridge: Intel Corporation Device 4630 (rev 05)
00:01.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x16 Controller #1 (rev 05)
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-S GT1 [UHD Graphics 730] (rev 0c)
00:14.0 USB controller: Intel Corporation Alder Lake-S PCH USB 3.2 Gen 2x2 XHCI Controller (rev 11)
00:14.2 RAM memory: Intel Corporation Alder Lake-S PCH Shared SRAM (rev 11)
00:15.0 Serial bus controller: Intel Corporation Alder Lake-S PCH Serial IO I2C Controller #0 (rev 11)
00:16.0 Communication controller: Intel Corporation Alder Lake-S PCH HECI Controller #1 (rev 11)
00:17.0 SATA controller: Intel Corporation Alder Lake-S PCH SATA Controller [AHCI Mode] (rev 11)
00:1c.0 PCI bridge: Intel Corporation Alder Lake-S PCH PCI Express Root Port #1 (rev 11)
00:1c.4 PCI bridge: Intel Corporation Alder Lake-S PCH PCI Express Root Port #5 (rev 11)
00:1f.0 ISA bridge: Intel Corporation Device 7a87 (rev 11)
00:1f.4 SMBus: Intel Corporation Alder Lake-S PCH SMBus Controller (rev 11)
00:1f.5 Serial bus controller: Intel Corporation Alder Lake-S PCH SPI Controller (rev 11)
01:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
02:00.0 Non-Volatile memory controller: Kingston Technology Company, Inc. NV2 NVMe SSD SM2267XT (DRAM-less) (rev 03)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

Change I made to grub, inserting parameters into the kernel to force the use of ASPM.

root@proxmox:~# cat /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt pcie_aspm.policy=powersave pcie_aspm=force"

As seen below, it didn't help, since ASPM remains disabled.

root@proxmox:~# lspci -vv | awk '/ASPM/{print $0}' RS= | grep --color -P '(^[a-z0-9:.]+|ASPM )'

00:01.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x16 Controller #1 (rev 05) (prog-if 00 [Normal decode])
                LnkCap: Port #2, Speed 16GT/s, Width x16, ASPM not supported
                LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
00:1c.0 PCI bridge: Intel Corporation Alder Lake-S PCH PCI Express Root Port #1 (rev 11) (prog-if 00 [Normal decode])
                LnkCap: Port #1, Speed 8GT/s, Width x4, ASPM L1, Exit Latency L1 <64us
                LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
00:1c.4 PCI bridge: Intel Corporation Alder Lake-S PCH PCI Express Root Port #5 (rev 11) (prog-if 00 [Normal decode])
                LnkCap: Port #5, Speed 8GT/s, Width x1, ASPM L1, Exit Latency L1 <64us
                LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
01:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
                LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <128ns, L1 <64us
                LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
02:00.0 Non-Volatile memory controller: Kingston Technology Company, Inc. NV2 NVMe SSD SM2267XT (DRAM-less) (rev 03) (prog-if 02 [NVM Express])
                LnkCap: Port #0, Speed 16GT/s, Width x4, ASPM not supported
                LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
                LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s unlimited, L1 <64us
                LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+

I installed the powertop application, but if I'm analyzing it correctly, the C-States are not being used.

PowerTOP 2.14     Overview   Idle stats   Frequency stats   Device stats   Tunables   WakeUp                            

Summary: 921.4 wakeups/second,  0.0 GPU ops/seconds, 0.0 VFS ops/sec and 5.3% CPU use

                Usage       Events/s    Category       Description
              2.2 ms/s     363.8        Timer          tick_nohz_highres_handler
              8.9 ms/s     232.4        Process        [PID 1193] /usr/bin/kvm -id 100 -name opnsense,debug-threads=on -no-shutdown -chardev socket,id=qmp,path=
              3.6 ms/s      59.2        Timer          hrtimer_wakeup
            583.6 µs/s      39.8        Process        [PID 9757] janus --config=/usr/local/etc/janus/janus.jcfg --disable-colors --log-stdout --full-trickle --
              4.8 ms/s      37.0        Interrupt      [3] net_rx(softirq)
            278.8 µs/s      20.9        Process        [PID 9744] janus --config=/usr/local/etc/janus/janus.jcfg --disable-colors --log-stdout --full-trickle --
             23.8 µs/s      19.4        Timer          napi_watchdog
            128.2 µs/s      17.1        Process        [PID 1793] /usr/bin/syncthing serve --no-browser --no-restart --logflags=0
             98.0 µs/s       7.8        Process        [PID 1728] /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
            179.8 µs/s       7.2        kWork          psi_avgs_work
              0.8 ms/s       5.0        Process        [PID 1297] /usr/bin/kvm -id 107 -name omv,debug-threads=on -no-shutdown -chardev socket,id=qmp,path=/var/
             68.7 µs/s       4.9        Process        [PID 17] [rcu_preempt]
             13.4 µs/s       4.7        Timer          sched_cfs_period_timer
            165.0 µs/s       3.9        Interrupt      [140] vfio-msix[1](0000:01:00.0)
            210.9 µs/s       3.3        Timer          apic_timer_fn
             28.2 µs/s       3.3        Timer          pit_timer_fn
            139.0 µs/s       3.3        Interrupt      [139] vfio-msix[0](0000:01:00.0)
             38.1 µs/s       3.2        Process        [PID 1552] /usr/bin/containerd
             21.5 µs/s       2.8        Process        [PID 3144] ./gotify-app
            470.8 µs/s       2.6        Process        [PID 1296] /usr/bin/kvm -id 107 -name omv,debug-threads=on -no-shutdown -chardev socket,id=qmp,path=/var/
            202.7 µs/s       2.7        Process        [PID 6242] ./Kavita
             23.8 µs/s       2.7        Process        [PID 7553] /usr/bin/containerd
             39.5 µs/s       2.7        Process        [PID 9715] nats-server -c /etc/nats.conf
            473.9 µs/s       2.2        Process        [PID 9370] redis-server *:6379
             46.0 µs/s       2.3        Process        [PID 7735] /usr/sbin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
              4.1 ms/s       0.6        Interrupt      [7] sched(softirq)
PowerTOP 2.14     Overview   Idle stats   Frequency stats   Device stats   Tunables   WakeUp                            


           Pkg(HW)  |            Core(HW) |            CPU(OS) 0
                    |                     | C0 active   3.1%
                    |                     | POLL        0.0%    0.0 ms
                    |                     | C1E        31.9%    0.3 ms
C2 (pc2)    0.0%    |                     |
C3 (pc3)    0.0%    | C3 (cc3)    0.0%    |
C6 (pc6)    0.0%    | C6 (cc6)    1.7%    | C6         13.8%    0.8 ms
C7 (pc7)    0.0%    | C7 (cc7)   32.1%    |
C8 (pc8)    0.0%    |                     | C8          3.0%    0.7 ms
C9 (pc9)    0.0%    |                     |
C10 (pc10)  0.0%    |                     |
                    |                     | C10        42.3%    3.6 ms

                    |            Core(HW) |            CPU(OS) 1
                    |                     | C0 active   4.0%
                    |                     | POLL        0.0%    0.0 ms
                    |                     | C1E        21.9%    0.3 ms
                    |                     |
                    | C3 (cc3)    0.0%    |
                    | C6 (cc6)    2.0%    | C6         10.9%    0.7 ms
                    | C7 (cc7)   26.7%    |
                    |                     | C8          9.1%    0.8 ms
                    |                     |
                    |                     |
                    |                     | C10        48.3%    3.3 ms

                    |            Core(HW) |            CPU(OS) 2
                    |                     | C0 active   3.3%
PowerTOP 2.14     Overview   Idle stats   Frequency stats   Device stats   Tunables   WakeUp                            


            Package |             Core    |            CPU 0
                    |                     | Average     1232 MHz
Idle                | Idle                | Idle

                    |             Core    |            CPU 1
                    |                     | Average   1.5 GHz
                    | Idle                | Idle

                    |             Core    |            CPU 2
                    |                     | Average     1344 MHz
                    | Idle                | Idle

                    |             Core    |            CPU 3
                    |                     | Average   1.7 GHz
                    | Idle                | Idle
PowerTOP 2.14     Overview   Idle stats   Frequency stats   Device stats   Tunables   WakeUp                            


              Usage     Device name
              5.8%        CPU misc
              5.8%        CPU core
             1111 pkts/s  nic:veth102i0
             1111 pkts/s  nic:fwpr102p0
             1111 pkts/s  nic:fwln102i0
            812.9 pkts/s  nic:tap100i0
            494.1 pkts/s  Network interface: enp3s0 (r8169) 
            100.0%        PCI Device: Intel Corporation Alder Lake-S PCH PCI Express Root Port #1
            100.0%        PCI Device: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
            100.0%        PCI Device: Intel Corporation 12th Gen Core Processor PCI Express x16 Controller #1
            100.0%        PCI Device: Intel Corporation 82574L Gigabit Network Connection
            100.0%        PCI Device: Intel Corporation Alder Lake-S PCH SATA Controller [AHCI Mode]
            100.0%        PCI Device: Intel Corporation Alder Lake-S PCH PCI Express Root Port #5
            100.0%        PCI Device: Intel Corporation Alder Lake-S GT1 [UHD Graphics 730]
            100.0%        PCI Device: Kingston Technology Company, Inc. NV2 NVMe SSD SM2267XT (DRAM-less)
            100.0%        PCI Device: Intel Corporation Alder Lake-S PCH SPI Controller
             85.1 pkts/s  nic:fwln107i0
             85.1 pkts/s  nic:tap107i0
             85.1 pkts/s  nic:fwpr107p0
             27.3 pkts/s  nic:fwpr101p0
             27.3 pkts/s  nic:fwln101i0
             27.3 pkts/s  nic:veth101i0
             26.2 pkts/s  nic:veth109i0
             26.2 pkts/s  nic:fwpr109p0 
             26.2 pkts/s  nic:fwln109i0
             25.0 pkts/s  nic:vmbr0
              7.1 pkts/s  nic:veth111i0
PowerTOP 2.14     Overview   Idle stats   Frequency stats   Device stats   Tunables   WakeUp                            


>> Good          NMI watchdog should be turned off                                                                      
   Good          VM writeback timeout
   Good          Enable SATA link power management for host7
   Good          Enable SATA link power management for host5
   Good          Enable SATA link power management for host3
   Good          Enable SATA link power management for host1
   Good          Enable SATA link power management for host6
   Good          Enable SATA link power management for host4
   Good          Enable SATA link power management for host2
   Good          Enable SATA link power management for host0
   Good          Runtime PM for I2C Adapter i2c-10 (i915 gmbus tc6)
   Good          Runtime PM for I2C Adapter i2c-6 (i915 gmbus tc2)
   Good          Autosuspend for USB device xHCI Host Controller [usb2]
   Good          Runtime PM for I2C Adapter i2c-0 (SMBus I801 adapter at efa0)
   Good          Autosuspend for USB device xHCI Host Controller [usb1]
   Good          Autosuspend for USB device USB Receiver [Logitech]
   Good          Runtime PM for I2C Adapter i2c-3 (i915 gmbus dpb)
   Good          Runtime PM for I2C Adapter i2c-8 (i915 gmbus tc4)
   Good          Runtime PM for I2C Adapter i2c-4 (i915 gmbus dpc)
   Good          Runtime PM for I2C Adapter i2c-2 (i915 gmbus dpa)
   Good          Runtime PM for I2C Adapter i2c-9 (i915 gmbus tc5)
   Good          Runtime PM for I2C Adapter i2c-7 (i915 gmbus tc3)
   Good          Runtime PM for I2C Adapter i2c-5 (i915 gmbus tc1)
   Good          Runtime PM for I2C Adapter i2c-1 (Synopsys DesignWare I2C adapter)
   Good          Runtime PM for port ata7 of PCI device: Intel Corporation Alder Lake-S PCH SATA Controller [AHCI Mode]
   Good          Runtime PM for port ata3 of PCI device: Intel Corporation Alder Lake-S PCH SATA Controller [AHCI Mode]
   Good          Runtime PM for port ata6 of PCI device: Intel Corporation Alder Lake-S PCH SATA Controller [AHCI Mode]
   Good          Runtime PM for PCI Device Intel Corporation Device 4630
6 Comments
2024/10/31
13:06 UTC

2

DNS problems while on Uni Campus (Eduroam wifi and Ethernet)

Hello,

I am currently experiencing a very strange error in which only some of the subdomains of my university website are accessible.
For example take two domains
a.myuni.test
b.myuni.test

Sometimes A will work, but B will not. To fix this issue I just disconnect from the internet, and reconnect. However this then usually breaks another subdomain.

If I try to ping one of the inaccessible domains, I get an error of name or service not found.

This only happens on the Uni website. I have tried manually setting up the DNS server but this yields the same results, and trying to use a third party DNS server like Cloud flare, but we are blocked from custom DNS servers.

This happens both on Wifi and when connected to ethernet. I really don't know what could be causing this.

I am running Linux Mint 22

Thanks.

6 Comments
2024/10/31
12:47 UTC

2

Recommendations for a minimal / lightweight Arch setup?

Hello, I just finished my Arch Setup on a qemu VM as a test for future implementation, and I installed some basic functional packages (I have internet, ssh, firewall and a few other things). But now I want to try some programs that I always use, but I don't want a whole desktop environment to used them (for that I would just install manjaro) I want something relatively lightweight and I need help from people with more experience in Arch to suggest me packages for this.

Some of the apps I intent to use: Librewolf, Brave (appimages) Nicotine+, SoulseekQt LibreOffice, Onlyoffice (appimages) Telegram Desktop Qemu, Pcem, Genymotion VLC, mpv, haruna Qbittorrent, BiglyBT, Wine/Lutris.

And I want a customizable tray where I can put some of these apps, shortcuts to some scripts I have, and some widgets (weather, prices, time, date, system performance stats, etc)

What window manager and/or display manager is recommended to run these apps?

2 Comments
2024/10/31
12:42 UTC

3

How can a service send a message to all users?

I'm currently writing a small systemd service. This service will do some background monitoring and may need to inform users currently logged locally onto a e.g. X/Gnome environment that something is going to happen (e.g. "system will shutdown in 20 minutes, please make sure that you have saved any open file").

If it was for terminal users, I'd be using wall, but it's for Gnome users. Since Gnome implements Freedesktop notifications, I expect htat a Freedesktop-based solution would work, but I'm at a loss of how to send a message from root to all users through freedesktop.

What's the best way to broadcast such information? At this stage, I don't care about localization, just about getting the info in the eyes of the users.

9 Comments
2024/10/31
10:22 UTC

3

How come one-of-a-kind application end up without maintainers

Hello all, I wanted to ask about a phenomenon I see with open-source software. I was recently looking at Remmina, which is the main Linux RDP client (from what I could see). And I could not stop wondering how a good project such as that, could end up with the amount of unmaintained information.

How do these things happen?

21 Comments
2024/10/31
10:18 UTC

1

Install Ubuntu on Macbook Air 2015 fails

So I’m trying to install Ubuntu on my Macbook air 2015 A1466 as a second boot. I manage to boot from USB, and at some point in installation process it stops with message:

We're sorry, but we're not sure what the error is. You can try restarting your computer and start the Installation process again.

I’ve looked in logs and the error is that there is not enough space in EFI.

I am using an empty partition on my harddrive for /.

Any ideas?

3 Comments
2024/10/31
10:08 UTC

7

Debian 12 Stable(kernel=6.1.0) and 14th Generation Intel

Hi, I'm considering buying an i5-14400 and running Debian stable 12 on it.

I've read something about an issue with 14th generation chips - and intel are producing a microcode fix - whatever that is?

Will this older kernel that comes with Stable work on the PC? And do debian update these microcode fixes?

0 Comments
2024/10/31
09:32 UTC

3

VM no access to network

Hi everyone, any help or insight into the below is appreciated.

I had a windows 11 vm running fine on Fedora 40, once I updated to Fedora 41 a couple of days ago the VM wouldn't load and kept trying to go into "Automatic Repair" and would blue screen. I tried a couple of things and decided to reinstall the VM. I've tried a couple of ISOs both in "Virtual Machine Manager" and "Gnome Boxes" and every install or live boot has no access to internet/network.

I've tried different network sources in the VM but I think it might a setting that has reloaded or reset in the upgrade to Fedora 41? If anyone has any suggestions I could try or look for it would be appreciated.

1 Comment
2024/10/31
08:44 UTC

3

Inconsistent mouse movements.

Hello,

I recently tried Fedora on a virtual machine, and it worked perfectly without any issues. However, when I boot into Fedora directly on my system, I experience significant problems with the mouse movement. Despite adjusting the sensitivity settings, the cursor remains either too fast or too difficult to control, making it hard to accurately point at buttons.

It’s worth noting that this issue occurs with every Linux distribution I’ve tried, not just Fedora. I’m using a 1680×1050 monitor, and the problem doesn’t exist when running Windows 11 on the same setup.

Could this be a problem with my display or the way Linux handles my monitor? Any advice on how to fix this would be greatly appreciated.

3 Comments
2024/10/31
08:17 UTC

2

Can I re-enable fast boot in UEFI and still dual-boot? And how can I change boot priority to make Linux automatically boot?

i keep changing the boot order in UEFI, but it always defaults to windows

4 Comments
2024/10/31
01:49 UTC

Back To Top