I entered the list of ips into nftables to whitelist them (wrapping it in a define like https://wiki.nftables.org/wiki-nftables/index.php/Simple_ruleset_for_a_server) 173.245.48.0/20 103.21.244.0/22 103.22.200.0/22 103.31.4.0/22 141.101.64.0/18 108.162.192.0/18 190.93.240.0/20 188.114.96.0/20 197.23...
If you have btrfs snapshots and delete them, df command doesn't immediately update. Sometimes when there's a very large number of snapshots deleted it could take a couple of minutes to finish updating. Is there a way to see the progress of this update task? I noticed that sometimes my computer fan s...
Switched recently to pipewire. I'm using Dunst notification manager and when I log in to the computer on startup I get 2 Dunst notifications from pipewire. I never got these with pulseaudio. Is there a setting to disable this?
It happens to me around once a week that my internet just stops working for some reason. I have to restart iwd.service and within a few seconds everything is up and running again. Does it happen to you too? It's just my computer that this happens on. Phones connected to the same wifi network don't h...
I have my own user account on Linux (arch) I am logged in as. Currently all files in my home directory are owned by me. But how can I set everything in a particular directory within the home directory to be accessed only by a couple of programs rather than all the programs I use? This is to prevent...
I have my own user account on archlinux I am logged in as. Currently all files in my home directory are owned by me. But how can I set everything in a particular directory within the home directory to be accessed only by a couple of programs rather than all the programs I use? This is to prevent a m...
I used ffmpeg -framerate 60 -f x11grab -i :0.0 -vsync vfr -pix_fmt yuv420p file.mp4 to capture my screen but the recording is quite choppy even though I have a pretty good system. I'm using X not wayland. I want to record the full screen in its original full resolution and using a high frame rate, s...
I'm on HiDPI and on firefox the devicePixelRatio is 2 and in chromium it's only 1.75. This is making all sites look a lot smaller in chromium. Could you please check if you are seeing these same values? (Can check by opening developer tools in the browser and typing devicePixelRatio to see what it r...
I'm using pipewire and pulseeffects and would like to hear my own mic input through my speakers to see how the changes I make to pulseeffects presets happen in real time. Do you know how to do that? As a workaround I tried to just record the audio and play it back after using arecord but that says a...
With smartctl --scan I see the first device which is my USB drive and the second which is my computer hard drive. Both are identical NVMe drives, so why does the external one show up as ATA? The enclosure for the external USB drive is NVMe compatible so shouldn't it show NVMe as well? /dev/sda -d sa...
If secure boot is set up with systemd-boot, can we create a .efi file from the archlinux iso? We could then sign that .efi file and store it on EFI partition and launch with secure boot. Is this possible?
sudo systemctl start fwupd fails, so I run sudo /usr/lib/fwupd/fwupd --verbose to see more and this is the last part of the output, leading to a segmentation fault. Could the "error opening file" part have caused this? FuPlugin fu_plugin_device_registered(thunderbolt) FuPlugin fu_plugin_device_regis...
I've been trying to set up Secure Boot but I'm stuck on https://wiki.archlinux.org/index.php/Unified_Extensible_Firmware_Interface/Secure_Boot#Using_sbkeysync. When I do sudo sbkeysync --verbose and sudo sbkeysync --verbose --pk I get an error. Inserting key update /etc/secureboot/keys/db/db.auth in...
To prevent ctrl s and ctrl q from starting and stopping the running terminal program, you need to use stty -ixon. Which file is the right place to put it into when using zsh? There are many zsh config files so don't know the proper location.
I tried doing pactl set-source-volume @DEFAULT_SOURCE@ 100% in my ~/.xsession and restarting but it doesn't change the volume on starting. When I run this command in my terminal it does work so the problem probably isn't with the command but where it's being run. I had the same problem on wayland ru...
I have 2 systemd timers that run their own script on different intervals. The timers sometimes occur at the exact same time, but these scripts aren't supposed to run together. Can I configure systemd to tell it that these 2 timers (or their associated service files) can't run in parallel. One should...
https://man.archlinux.org/man/systemd-resolved.8#/ETC/RESOLV.CONF has 4 options for how to set up /etc/resolv.conf. I need to use dnsmasq because it doesn't seem like systemd-resolved lets me set a wildcard internal domain like dnsmasq allows (such as address=/customdomain/127.0.0.1). dnsmasq is run...
I installed arch and created a file under /etc/sudoers.d that contained a single line for a user. I checked the file a day later and below that line were these 2 lines. Defaults !sudoedit_checkdir # Prevents sudoedit: $FILE: editing files in a writable directory is not permitted Defaults sudoedit_fo...
Is there a command I can run to find all fonts on my system that match a certain family such as monospace? I'm using fc-list | grep Mono but this is just matching on the name. Is there a more accurate way for various font family types?
I'm trying to install elasticsearch package but using an existing database directory under /var/lib/elasticsearch. Because that folder already exists on my system, it doesn't work failed to commit transaction (conflicting files). I tried the --overwrite option of pacman but that overwrites what I ha...
I installed a new system and noticed that /var/cache/pkgfile is empty. This is the output of systemctl list-unit-files UNIT FILE STATE VENDOR PRESET pkgfile-update.service static - pkgfile-update.timer enabled disabled systemctl list-timers shows that the timer passed 16h ago. If
In the dircolors file, the one that's used with the dircolors command, what are all the keywords available, such as file or blk or orphan? They're not in man dircolors and I'm not sure where else to look.
I have a machine with 10gb free space but 100gb of files that need to be moved from one btrfs subvolume to another on the same disk. Because the mv command works by copying the files then removing, the system runs out of space and the command fails before it can complete. Is there a way to force mv...
I am getting a nvme drive and a sata drive of the same number of TB storage. I'd like to use the dd command in Linux to clone one to the other, but this requires that the source can't be larger than the destination. If both drives are listed at the same number of TB such as 2TB, is it guaranteed tha...
Since many packages were removed from base a while ago, what packages do I need to install manually during arch installation to make sure I'll have connection to internet once I restart? If I install iwd (for iwctl) and systemd (for systemd-networkd) during installation process and restart the syste...
I've had my system for a long time and changed a few files long ago without remembering what they were originally. Some things aren't working correctly and I'd like to restore those files without having to reinstall the system. Is there a way through a pacman command maybe to get what the values of...
A friend wants to try linux for the first time, so I thought setting up a Live USB distribution would be the best way, so that it doesn't need to be installed. But since it might take a few uses to get the hang of linux, it would be good if it came with persistent storage by default. I saw some guid...
I have a 500gb drive (m2 nvme) that I use in my laptop, and I have another 2tb drive. Noob question but if I use dd command to copy the content of the smaller drive to the larger drive, and use the larger drive in the laptop instead, would the laptop still start up and work as expected? Or dd can on...
This old post https://www.reddit.com/r/linux/comments/2i34t1/a_pdf_reader_that_supports_smooth_scrolling/ says that zathura pdf reader has smooth scrolling. But I'm using the latest version and the scrolling is totally abrupt, not smooth at all. So every time I go down a page I lose the visual cue o...
I have an installation ISO file of a linux distribution that I can boot from to install that OS or do recovery tasks. Normally I'd put that ISO image onto an entire USB flash drive and restart the computer, and it would automatically know to boot from that ISO image. But what if I have a large USB f...
I used to do pacstrap /mnt base base-devel as part of installation until https://wiki.archlinux.org/index.php/Talk:Installation_guide#Changes_for_the_base_package was changed. The documentation (https://wiki.archlinux.org/index.php/Installation_guide#Install_essential_packages) says now you have to...
I don't always have an arch ISO USB on me and sometimes am stuck where I need to boot into the arch ISO to fix something. Would it be possible to create a separate partition on the hard drive that I could copy the arch ISO to and boot from that, eliminating the need for having a USB on me? If that's...
Once every 1-3 days on average I lose my wifi connection for no apparent reason. I thought maybe the issue could be using netctl and wpa_supplicant so I recently switched to systemd-networkd and iwd which didn’t help. When I lose the connection I check ip a and the wlan0 wifi interface no longer has...
https://wiki.archlinux.org/index.php/AUR_Trusted_User_Guidelines#Rules_for_Packages_Entering_the.5Bcommunity.5D_Repo says the requirements from an AUR package to enter official community repo. I also read that there's some restrictions on the licenses of the packages that are allowed. Where can I fi...
I want to get an m2 SSD to use as an external drive, to connect to my computer through USB to use for transferring files. 1- Is there any advantage to getting an m2 SSD drive that is NVMe rather than SATA if you're going to use it as an external USB drive? Or are NVMe drives only worth it when you'r...
Firefox uses the system color scheme setting of dark or light to determine the value of https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme. This can be set in certain operating systems like Windows 10 but how can I set it in archlinux? I'm using i3 window manager and no des...