New answers tagged

0

Archlinux says, try dhcpcd in case your installer can't connect automatically. This worked on the spot for me AFTER installation. Just type "dhcpcd" as a command, wait a few seconds, and then "ip route" or "ping 8.8.8.8" to check if it works. I even used "watch ip address" to see how fast these inet and inet6 addresses pop up. Instead of using dhcpcd, I ...


0

The memory.min parameter in the cgroups-v2 memory controller should help. Namely, let me quote: Hard memory protection. If the memory usage of a cgroup is within its effective min boundary, the cgroup’s memory won’t be reclaimed under any conditions. If there is no unprotected reclaimable memory available, OOM killer is invoked. Source : https://...


0

That looks like a bug. Try running 'virt-manager --debug' from a terminal, and see if you get a backtrace when clicking the 'New VM' button


0

Here is a Firefox addon / Chrome extension that allows you to save your current page. with Ctrl+S. in a HTML file. This would work well, but would require a pressing something every page. There is also a Chrome extension that POSTs all of the pages you visit to your local webserver (if you don't have one you'll need to set one up). This would take more time ...


1

Replace TZ=UTC with env TZ=UTC. TZ=UTC is bash (POSIX shell) syntax. env, on another hand, is a program in itself. This is why when you run the command in terminal it works. You can find more info in the env manual page.


1

tl;dr The fix: Completely reset the iptables rules and chains Re-apply the firewall setup This was caused by a combination of things: -P INPUT DROP in my iptables rules left over from earlier work on securing the system. Mistaken assumption that the Puppet firewall "purge" directive would completely reset the firewall. We all know what assumptions do… ...


2

The solution is to prevent rEFInd to scan for bootloaders automatically, and to only keep the manually defined entry menus. In refind.conf, uncomment and modify the following line: scanfor external,optical,manual (I removed the internal scanning)


0

I changed my secure boot settings (honestly I just added a password to allow all bootable drives to appear). If you also had this problem, reboot into the recovery partition (command-R when the apple appears on boot-up), and go to Utilities > Secure Boot Settings or something like that — the top one anyway.


0

Not sure if you're the one that posted on the AUR page for fluxgui, but it looks like that is a bug with the package itself. The README for fluxgui mentions that it is only a GUI; it doesn't actually provide the flux program itself, This project -- https://github.com/xflux-gui/fluxgui -- is only concerned with the fluxgui indicator applet program, not ...


0

The solution is in the file /etc/shells as documented in man 5 shells. To cut it short "[that] is a text file which contains the full pathnames of valid login shells". Traditionally /etc/shells only contains /bin/sh and /bin/bash. So, in order to "fix" that issue, you either add /usr/bin/bash to /etc/shells or change the user's shell to be /bin/bash for ...


3

This is expected behaviour. All git sub-commands are installed to there — you will also find git-commit there, though probably as a link to the main binary for efficiency these days — and the main git command knows where to find them. Any executable git-X there becomes available as git X automatically, and that's the expected way to access them rather than ...


0

It's not clear to me if you are trying to boot the USB stick directly on the Mac or using the QEMU emulator. I didn't see anything about QEMU in your numbered list. If your intention is to run Arch Linux on to of QEMU, and you want to do it using UEFI firmware, then you will have to use UEFI firmware with QEMU. Because QEMU emulates a whole machine, ...


2

There is no default terminal emulator. If you attempt to invoke XTerm, and it is not installed, there is no default terminal emulator that gets run instead. This is even more of a misnomer than "default shell" (for login shell set in the account database, preferred shell set in an environment variable, or supplier of sh). There is the individual user's ...


3

In Arch, it is quite common to see AUR packages of a project’s releases alongside packages of regular snapshots the same project. These snapshot packages are commonly suffixed with -git (at least, when they involve snapshots of a git repository). In some cases, typically when the project doesn’t publish releases, there is no corresponding non--git package. ...


0

I don't think there is a more solid convention here than "it probably has something with Git to do". Searching for Debian packages which contain matches brings up files for which I can observe the following rough patterns; Some version control tools have modules or components which are specific to git; you would expect to find similar modules with suffices ...


1

grim is a screenshot tool for wayland that seems to be able to do that: grim -g "$(slurp -p)" -t ppm - | convert - -format '%[pixel:p{0,0}]' txt:-


0

Check out the cross-platform OpenAudible. You can connect to your Audible account, manage/download your Audible audiobooks, and convert to mp3.


1

Your script works just fine, but you need to zero pad your individual frame names; otherwise it creates the gif with frames in a jumbled order. I fixed that and tried it on a few giphy webp animations (including your example) and the output is what you'd expect. Below is just your script with two changes. First, an altered for loop to zero pad those frame ...


0

I found out the issue, I was just plain stupid before. But this still really confuses me as I was sure that when I checked this many days ago it wasn't the case. But anyway the issue is: Hard disk 0 & Hard disk 4, the physical hard disks I added to my Arch Linux vmware guest, were one and the same! No wonder it was telling me about superblock errors. ...


2

I had the same problem: make-bcache --block 4k --bucket 2M -C /dev/nvme0n1p1 caused the write error: Invalid argument. Specifically, it was the --block 4k that caused the problem. make-bcache --bucket 2M -C /dev/nvme0n1p1 Worked perfectly.


0

I hit the same issue. There is a bug in the installer that sets the root shell to /usr/bin/ https://github.com/spookykidmm/zen_installer/issues/2 sudo chsh -s /bin/bash root #this should fix, if your user has sudo su -s /bin/bash - # or specify the shell in su


1

You can use pacman -Si to get the Installed Size of a package. So it all becomes a matter of awk scripting. You can define the following function and use it. pkgsize(){ pacman -Ss $@ | awk '{if(NR%2) {system("pacman -Si "$1" | grep Ins | cut -d\":\" -f 2 | tr -d \" \n\" "" "); printf " "$1"$";} else print $0}' | sort -h | tr "$" "\n" } You can also ...


1

When you visit the page you linked to, you open the network tab of your browser (press Ctrl+shift+c and go to network tab) and then refresh. One of the requests gives back a JSON response. Right click on that and copy that url and you can use it to download the data. You could then define a manual function using curl and awk as follows: statpkg(){ ...


1

Please note that the installed glibc is an incomplete C runtime. In order to complete the C runtime you may need to copy in additional headers that match the compiler you are using since the use of --sysroot will restrict their lookup to the sysroot. It is very possible to have multiple versions of glibc on the same system (we do that every day). ...


1

There are lots of common methods for doing that. Details depend on how exactly your installation looks like, which you told us nothing about. Assuming for exampler you installation uses a single partition /dev/sda1, one of the simpler methods is to create a single partition of exactly the same size both on your backup drive and the drive that's going to end ...


0

There's a difference between having one partition and having what's called a superfloppy (no partition table). If you plan on booting from the disk, then you need a partition table and possibly extra partitions. If you're booting using EFI, then you will need to have a EFI System Partition. If you're booting using BIOS interface, then you may need a BIOS ...


0

Hi @Androis A disk needs to be partitioned even if you have only one OS running. After wiping your disk it will have un-allocated space which can be taken as a single partition. But I would recommend that you have two partitions: 1. /root -- to keep your installation of packages 2. /home -- to have your files and documents here This has quite a number or ...


1

Just new to Arch, so maybe I am missing something. For me pacman did not resume file downloads by default and together with my flaky Internet connection it was impossible to install packages bigger than about 1MB. It just started over again and again and never finished. After some investigation in the pacman.conf docs, I used... DisableDownloadTimeout ...


0

Try nomacs. It supports rotating in single degree increments as well as cropping while functioning primarily as a viewer.


1

Try mounting the Windows partition and running sudo grub-mkconfig -o <path-to-grub.cfg> now that you have os-prober installed. On my system the path is /boot/grub/grub.cfg.


0

After posting the same question in Manjaro forums, it turned out that I needed to change the display of the VM from VMSVGA to VBoxVGA. It's worth noting that it didn't work on my existing machine, and I had to create a new VM with this setting.


Top 50 recent answers are included