I plan on using Ansible to set up an automated install of Arch so it involves installing packages non-interactively. The problem is some packages require a "provider" and in typical updates, users would select one of the available providers to satisfy the dependency. Presumably there's a default pro...
From what I understand, distros might just use default values or set their own for settings like virtual memory. Are there tools that detect hardware and change the defaults of such settings to something more reasonable for their systems? That wiki entry is an example of something where depending on...
I mainly stick with CLI tools like file manager, vim, etc. There's usually a function to update the filesystem, e.g. if files were added/or deleted elsewhere, then you would reload in the application to get the updated list. Why is this necessary and is it relatively resource-intensive to use featur...
I am intending to use Ansible to configure workstations/servers. It manages customized system configs that I can copy over to target systems. I am looking for a way automatically know that system config updates so that I can merge its changes to my custom configs and push them back to the hosts. Wha...
I'm looking to use Ansible to set firewall rules for my machines in the LAN. The firewalld module doesn't support all the firewall-cmd commands I set, and I'm not keen on writing a module to set a couple of basic rules. command module to run the commands would not be idempotent. It looks like the se...
Noob playing around with a VM. I want it to have the same IP address. It seems this can be set either by the VM e.g.: [Match] Name=en [Network] Address=192.168.1.169/24 Gateway=192.168.1.1 DNS=192.168.1.1 Or externally (in my case the host running the guest VM), for example in
I'm currently default NAT networking for libvirt VMs and and was thinking to switch to bridge networking so other machines on the LAN can access it. I was wondering if using bridge networking is meant to be a permanent one-time configuration for the host system to use the interface or if it's more a...
I have temporary snapshots created on /tmp by creating a volume with: virt-install "base-snap1" --disk "path=/tmp/base.snap1.qcow2,backing_store=/home/ateg/vm/base.qcow2..." --import ... then start it with virsh start "base-snap1". It creates the xml definition at /etc/libvirt/qemu. Is it possible t...
On RHEL-based distros, what's the equivalent to Arch's pacnew files where there's an update to the system config file and it's saved as another file because it shouldn't be overwriting your system config file (unless perhaps it's unmodified)? Also, I'm looking for a way to version control system con...
I have some applications that writes to tmpfs (system memory)--is there a way to artificially limit the size they use (i.e. from their perspective, they are writing to a partition of limited size and can't exceed that) but still let system use whatever remaining reserved memory when needed? Is this...
Looking at nftables it seems daunting and I'm not confident I won't mess up setting rules to have good defaults for a server and for a workstation. I intend on using AlmaLinux with is RHEL-based and they use firewalld. By default it is enabled, but besides that, is there a guide or a way to set good...
Looking at nftables it seems daunting and I'm not confident I won't mess up setting rules to have good defaults for a server and for a workstation. I intend on using AlmaLinux with is RHEL-based and they use firewalld. By default it is enabled, but besides that, is there a guide or a way to set good...
For those who work in a Linux-related (or frankly any cs-related job), is there a situation where you can't use your own editor config or programmable keyboard? Obviously not if you're in the IT-field and need to work on other clients' computers, but e.g. if you're working on servers can you just lo...
I want to build polybar from the AUR with support for i3wm and a few other modules. Support is only provided if the dependencies (e.g. i3wm in my case and other modules with associated dependencies) are installed. However, I want to build polybar in a clean chroot for best practices and to keep my s...
I want to automatically turn off the laptop display when the laptop is plugged to an external monitor (i.e. use the external monitor as the only display). Often, I "dock" my work laptop onto my home setup and work on it using my main desktop monitor. How to best achieve this? I'm on Arch Linux. Seve...
On startup, my external keyboard attached to my laptop (XPS 13) doesn't work. If I unplug the keyboard and plug it back in, then it works. Also, the following keyboard settings are not applied: xset r rate 200 25 & # quicker key repeat rate setxkbmap -option 'caps:ctrl_modifier' -option 'shift:both_...
Anyone use multi-boot drive for ISOs? I'm looking for a relatively clean way to create one that houses ISOs like multiple ISOs for Linux distros, rescue disks, diagnostic tools, etc. and ideally Windows ISOs. I took a look at the wiki and it seems using Syslinux is cleaner than using GRUB (presumabl...
I've started having this problem ~2 weeks ago: protonmail.com doesn't connect unless I sudo systemctl restart systemd-resolved.service. Anyone know why or how I can fix this? I just got lucky and found this solved the issue but I need to do it every time I start my system. I haven't configured any d...
It's been nearly 2 years since I have the XPS 13 9630 and I'm still having the continous waterfall sound background problem where by default, I get a constant waterfall sound even when no audio is playing. To fix this, I must run alsamixer and set Headphone from 0 up one notch to 22, where it comple...
I'm currently using btrfs and honestly, the filesystem seems like it's reaching some dead-ends. From the looks of it, developers seemed to do too much too fast and now there are some roadblocks that require major design, with some problems being RAID 5/6 still being an issue, a device on a RAID 1 ap...
I just got a second Easystore so now I can have a 8 TB RAID 1 with 2 WD Red's for my desktop. I have 2 really old internal SATA HDDs and was wondering if I can simply put these in the Easystore enclosure. Would the USB interface(?) board be compatible? Are there any incompatibilities or is it that s...
I want to remote access the Syncthing web GUI via ssh tunneling. So far I have the following shell function: pi-gui() { ssh -L 9999:localhost:8384 pi -o LocalCommand='firefox 127.0.0.1:9999 &> /dev/null &' ;} It will start an ssh session and access the web GUI using Firefox via ssh tunnel. When I ex...
I have a ~/downloads folder with a bunch of files that constantly need to be moved to appropriate locations (e.g. ~/videos, ~/music, ~/pictures). Actually, it's not as simplistic as this where I can simply move all files of a certain file extension like .jpg to ~/pictures--I have lots of subdirector...
I have a ~/downloads folder with a bunch of files that constantly need to be moved to appropriate locations (e.g. ~/videos, ~/music, ~/pictures). Actually, it's not as simplistic as this where I can simply move all files of a certain file extension like .jpg to ~/pictures--I have lots of subdirector...
I have a ~/downloads folder with a bunch of files that constantly need to be moved to appropriate locations (e.g. ~/videos, ~/music, ~/pictures). Actually, it's not as simplistic as this where I can simply move all files of a certain file extension like .jpg to ~/pictures--I have lots of subdirector...
I've always been hesitant to actually make any progress toward a real "home server," because there's so much you can do and I'm not sure what hardware/software is appropriate for my needs. I have experience with setting up a Pi server (currrently only running Syncthing and Deluge) and I use Arch Lin...
I've always been hesitant to actually make any progress toward a real "home server," because there's so much you can do and I'm not sure what hardware/software is appropriate for my needs. I have experience with setting up a Pi server (currrently only running Syncthing and Deluge) and I use Arch Lin...
Does side-scrolling (tilting scroll wheel on mouses such as Logitech G9) work on (Arch) Linux? I couldn't find much information after a brief google search. I currently tap the side scrolls left and right (or hold it left and right) to increase/decrease volume incrementally on Windows. Does hyper-fa...
Originally posted on /r/linux4noobs but was told to ask here for answers despite getting 20+ upvotes. When I install an application to try out, it seems that when I remove the application using pacman -Rns on Arch, it leaves behind the installed services. Several questions: Is there no way to also r...
I switched from synaptics driver to libinput driver as a result of a bug that broke tapping on touchpad. It works fine at the moment except that there is minor stuttering if I hold my index finger on the touchpad without moving--it detects very minor movements. It might be minor but the problem is p...
I started my machine today and tapping the touchpad to click no longer works. I downgraded both the kernel and xf86-input-synaptics to older versions and still could not fix it. Anything else I should try? This laptop is almost unusable because the trackpad button is damaged and requires significant...
Anyone using Session Manager addon for Firefox? I can never get it to properly load the previous session automatically on Firefox start--I always have to manually select previous session. I am using the same settings for Windows and it has no issues. I'm thinking it's because I use mod + c to close...
I see that Arch users tend to be more practical/efficient users and I was wondering what kind of apps benefit best from being CLI-based or GUI-based. The approach for some users is to keep every app CLI-based and I don't think that's the best approach--for some kinds of tasks, perhaps GUI-based tool...
[Windows] I have many external drives and have trouble remembering which files belong to which drive. I'm looking for a software that catalogs (keeps a list of files and preserves its file structure locally) of external media. The software should preferably be open-source and portable and fulfill th...
Some Arch users say it's bad to not update your system frequently (I believe it's something related to dependencies or package management)--I want to know why. For example, lets say I updated today and system seems to have no problems. What makes it not okay to just update the system in 6 months in...