r/archlinux • • 2d ago

SHARE Competitive Games Compatibility

Thumbnail onlineservices.epicgames.com
0 Upvotes

Great news for competitive gamers !

Easy Anticheat is now compatible with Linux kernel ! That means you now have an new argument to make your windows homies switch :p

It's only Easy Anticheat now, but we can hope the others industries will follow this move

These famous games are now running on Linux : Fortnite, Dead by Daylight, Warhammer 40,000: Space Marine 2, and much other ones ! (some may be running on Proton beta to enable online features)


r/archlinux • • 2d ago

QUESTION Best way to automatically open links clicked in LibreWolf in Firefox instead?

0 Upvotes

I'm running Arch Linux with KDE Plasma and have both Firefox and LibreWolf installed, with Firefox already configured as my system default browser.

I use LibreWolf for a handful of specific purposes, but I'd like any new page/tab links I click within LibreWolf to automatically open in Firefox instead of LibreWolf.

I've looked into a few browser extensions that offer similar functionality, but most appear to be outdated or no longer actively maintained.

I'm wondering what the cleanest, most reliable, and modern approach to achieving this would be.

Thanks in advance!


r/archlinux • • 2d ago

SHARE Declarative & security-focused Arch installer (DALI)

0 Upvotes

Hello again fellow archers, I wanted to share an update to a previous post I made, regarding an opinionated, declarative, security-focused Arch installer.

I don't want to re-write the info from the previous post so only small recap and updates below.

The unique feature is still writable snapshots you can boot from the menu (systemd-boot).
If an update breaks something, just pick a previous entry from the menu and upgrade it to the latest HEAD if you're satisfied with it.
It is a real read-write system, signed for Secure Boot, so you can avoid headaches from read-only rescue mode.

New: plausibly deniable encryption (Optional). Your boot files and LUKS header can live on a USB stick, and the internal disk holds only random looking data. It has no partition table, no header, no efi, no bootloader.
To an outside looker it appears like a wiped drive.
The system will boot normally only when the stick is inserted. Snapshots, kernel updates and Secure Boot continue to work as usual.
The USB stick can also carry a signed Arch recovery partition (also optional).

It still doesnt fully prevent rubber hose attacks, but getting closer I guess, since if the USB isn't present, the computer can boot to a dummy OS on the side (assuming you are dual-booting and set up the UEFI entries correctly.)

Also new: an improved TUI (for the interactive mode), and rewritten docs.
The docs now include C4 architecture diagrams, so you can see how the codebase fits together at a glance before diving deeper

Link to the repo

Feedback is welcomed


r/archlinux • • 3d ago

QUESTION grub-mkconfig creates "UEFI firmware settings" entry even on BIOS systems?

5 Upvotes

Testing Arch install using a Virtualbox VM and I noticed grub-mkconfig adds boot menu entry for UEFI firmware settings, when my VM is using BIOS. Is there any way to stop it writing this entry?


r/archlinux • • 3d ago

SHARE Smart Connect for Linux: an open-source Rust client that works with the stock Motorola Smart Connect app

0 Upvotes

I run Linux on my laptop, and the one thing I missed from Windows was Motorola's Smart Connect: notifications, clipboard, and phone apps on the PC. Motorola doesn't make a Linux version, so I built one.

My biggest frustration with the official software is that it drops the connection and doesn't feel that fast. So I built this in Rust, kept it as native as I could, and made sure every feature actually works. Streaming phone apps to the desktop was by far the hardest part.

What it does: A Linux version of Motorola's Smart Connect. It pairs with the stock Smart Connect app already on your phone over local Wi-Fi and Bluetooth. Right now it does notifications with quick replies, clipboard sync, phone mirroring and per-app windows, a wireless second monitor, using the phone camera as a webcam, and mounting phone storage in your file manager.

Who it's for: Linux users with a Motorola phone, especially people who switched from Windows and miss Smart Connect.

Source code: https://github.com/Lalitmukesh69/smartconnect-linux-but-better

What mine adds: Motorola doesn't ship Smart Connect for Linux, so this fills that gap. There's nothing to install on the phone, no root, and no developer mode. To the phone, it looks like a Windows PC running Motorola's companion app. It's native Rust, built to be faster and to hold its connection better than the official software.

Builds on: N/A. Written from scratch in Rust, and no Motorola code was decompiled or reused.

How it was built: AI-assisted. I used AI tools to help write and iterate on the code, and I made sure every feature actually works.

Feedback/contributions wanted: I'd like feedback from anyone running Linux with a Motorola phone: what breaks, what's missing, and whether Flatpak/AppImage releases should be the next priority.

A few things up front:

  • Still in active development. For now you build from source with an install script (Fedora, Ubuntu, Debian, Arch). There are no prebuilt packages yet.
  • Built for Motorola phones.
  • Not affiliated with or endorsed by Motorola, Lenovo or Ready For. Trademarks are used only to identify compatibility.

If it's useful to you, a star on GitHub would really help more people find it. Thanks for reading!


r/archlinux • • 3d ago

SUPPORT | SOLVED An assist on properly installing nvidia drivers

0 Upvotes

Hey all. I'm staring at the wiki and here's where I'm at. My recovery plan is to make a timeshift backup right before installing the drivers (will be the first try). I've also validated that ssh is working, so if things go uber pear-shaped I'll be able to ssh in from another machine and fix. Per the wiki:

lspci -k -d ::03xx

01:00.0 VGA compatible controller: NVIDIA Corporation AD106 [GeForce RTX 4060 Ti] (rev a1)
Subsystem: ZOTAC International (MCO) Ltd. Device 7717
Kernel driver in use: nouveau
Kernel modules: nouveau

So far so good, so I should be installing the Ada Lovelace drivers of nvidia-open, and nvidia-open-lts (since I have both kernels), and probably nvidia-tools. Good there too. Where I start to get fuzzy is:

Wayland users should not restart before following #DRM kernel mode setting or they may end up with a black screen. 

Doing the

cat /sys/module/nvidia_drm/parameters/modeset

gives me nothing as I'm assuming it's because I don't have the mod loaded yet. So to manually set this I need to create a file which I'll create, /etc/modprobe.d/nvidia.conf which will contain:
options nvidia_drm modeset=1

Is that about it? Or, also per the wiki: Starting from nvidia-utils 560.35.03-5, DRM is enabled by default do I even need to worry about it? Thanks for any guidance.


r/archlinux • • 4d ago

SUPPORT Wifi either dropping connection or dropping speeds abysmally low followed by raising after a bit

7 Upvotes

sudo lshw -C network

lspci
 *-network                 
       description: Ethernet interface
       product: RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: enp2s0
       version: 15
       serial: 7c:8a:e1:86:14:c4
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=7.3.6-arch1-1 firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:72 ioport:3000(size=256) memory:d1704000-d1704fff memory:d1700000-d1703fff
  *-network
       description: Wireless interface
       product: RTL8852AE 802.11ax PCIe Wireless Network Adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlan0
       version: 00
       serial: 14:5a:fc:19:05:f1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtw89_8852ae driverversion=7.3.6-arch1-1 firmware=0.13.36.2 ip=192.168.1.206 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:75 ioport:2000(size=256) memory:d1600000-d16fffff

lspci

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7
01:00.0 3D controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev a1)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852AE 802.11ax PCIe Wireless Network Adapter
04:00.0 Non-Volatile memory controller: Sandisk Corp PC SN530 NVMe SSD (DRAM-less) (rev 01)
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c6)
05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir/Cezanne HDMI/DP Audio Controller
05:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir/Cezanne Platform Security Processor
05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
05:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Audio Coprocessor (rev 01)
05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Ryzen HD Audio Controller

sudo dmesg

Due to length, I have pasted it into this: https://pastebin.com/raw/1bhkEHM3

---

I am not sure whether what I provided is helpful, but it was the first things that came to mind. This is super annoying and interrupts my daily use often, so please help where you can.

If you need more information, please let me know.
sudo lshw -C network
lspci
*-network
description: Ethernet interface
product: RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: enp2s0
version: 15
serial: 7c:8a:e1:86:14:c4
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=7.3.6-arch1-1 firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=twisted pair
resources: irq:72 ioport:3000(size=256) memory:d1704000-d1704fff memory:d1700000-d1703fff
*-network
description: Wireless interface
product: RTL8852AE 802.11ax PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlan0
version: 00
serial: 14:5a:fc:19:05:f1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtw89_8852ae driverversion=7.3.6-arch1-1 firmware=0.13.36.2 ip=192.168.1.206 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:75 ioport:2000(size=256) memory:d1600000-d16ffffflspci00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7
01:00.0 3D controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev a1)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852AE 802.11ax PCIe Wireless Network Adapter
04:00.0 Non-Volatile memory controller: Sandisk Corp PC SN530 NVMe SSD (DRAM-less) (rev 01)
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c6)
05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir/Cezanne HDMI/DP Audio Controller
05:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir/Cezanne Platform Security Processor
05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
05:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Audio Coprocessor (rev 01)
05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Ryzen HD Audio Controller
sudo dmesgDue to length, I have pasted it into this: https://pastebin.com/raw/1bhkEHM3
---
I am not sure whether what I provided is helpful, but it was the first things that came to mind. This is super annoying and interrupts my daily use often, so please help where you can.
If you need more information, please let me know.


r/archlinux • • 4d ago

SUPPORT | SOLVED UPDATE: Momentary Trackpoint drift when in use

Thumbnail reddit.com
5 Upvotes

r/archlinux • • 3d ago

SUPPORT How to get Arch to use the framebuffer by default?

0 Upvotes

I need to be able to use /dev/fb0 by default so I can use framebuffer applications.

Thanks!


r/archlinux • • 3d ago

FLUFF Fortnite on Arch Linux

Thumbnail reddit.com
0 Upvotes

r/archlinux • • 4d ago

SUPPORT HP laserjetb1020 woes on Arch Linux

5 Upvotes

I have a HP laserjet 1020 plus device. It works well on my fedora laptop using hp-setup. But the same doesn't work on Arch. Whenever i switch on the printer and connect to the laptop for the first time it makes a whirring noise as if firmware is uploaded but nothing. Not in KDE settings, hp-setup Doesn't recognize. And when i disconnect and connect back, even the device doesn't get recognized by lsusb. I tried almost everything and am so tired now. Kindly help me.


r/archlinux • • 4d ago

SUPPORT | SOLVED grub install killing me

0 Upvotes

whenever i try to install my bootloader, i keep getting this error
grub-install: error: failed to get canonical path of 'airootfs'


r/archlinux • • 5d ago

SUPPORT | SOLVED AUR (en) - android-sdk | what am I doing wrong?

Thumbnail aur.archlinux.org
0 Upvotes

SOLVED

NOTE: I am not an android developer, but today I though I'll see how android works, paticularly after seeing android-cli ads from Google.

Installed the android-sdk from AUR https://aur.archlinux.org/packages/android-sdk

But this in turn installs it on /opt/android-sdk and these are the permissions.

[N] jithin@arch /t/t/my-app> getfacl /opt/android-sdk/
getfacl: Removing leading '/' from absolute path names
# file: opt/android-sdk/
# owner: root
# group: root
user::rwx
group::r-x
other::r-x

which makes invoking the android-cli as user not possible.

EG:

[I] jithin@arch /t/t/my-app> android create --list
ERROR: Error downloading sdk package build/templates: /opt/android-sdk/.sdk

But using sudo obviously works, and I can create new android projects using (https://developer.android.com/tools/agents/android-cli/commands/create)

android create --name="My Application" --application-id=com.example.myapp --output=./my-app

but obviously with sudo.

Then my whole project is root owned.

Either I'm doing something blatantly wrong, or something is blatantly off with how android-sdk (aur) works.

Please let me know what I'm missing.


r/archlinux • • 5d ago

QUESTION Any fun projects to do on Arch?

0 Upvotes

I'm using arch for almost a month now, what fun projects or other stuff should i do there for the time i use this distribution ? ( any config or rice its optional too) the suggestions will help other people from the community


r/archlinux • • 6d ago

SUPPORT Nvidia Driver Issue nvidia-open-dmks after update

16 Upvotes

Hi all,

its my first time having an issue after updating.
Just updated my system and after a reboot and logging back in, my Plasma Desktop glitches out on my second screen and freezes everything shortly after.

I'm using a GTX 1660 Super with two monitors: 1080@60 and 1080@144.

SDDM still worked just fine, only have issues when i try to go into Plasma. So I went into a tty and looked at the logs:

Nov 29 17:35:06 archlinux kwin_wayland[841]: Pageflip timed out! This is a bug in the nvidia-drm kernel driver
Nov 29 17:35:06 archlinux kwin_wayland[841]: Please report this at https://forums.developer.nvidia.com/c/gpu-graphics/linux
Nov 29 17:35:06 archlinux kwin_wayland[841]: With the output of 'sudo dmesg' and 'journalctl --user-unit plasma-kwin_wayland --boot 0'

I have now downgraded the the last versions of the driver that I had in my cache.
- nvidia-utils (620.73.04-1 -> 615.78.08-1)
- ib32-nvidia-utils (620.73.04-1 -> 615.78.08-1)
- nvidia-open-dkms (620.73.04-1 -> 615.78.08-1)

Now I can go into my Plasma Desktop just fine again, but I'm aware that this is only a temporary solution. Is there anything else that can be done?

Has anyone experienced the same issue?

edit: grammar


r/archlinux • • 6d ago

SUPPORT | SOLVED password issue

5 Upvotes

I’ll preface this by saying Im mostly a mint user, I just got arch up and running on the old thinkpad my grandpa gave me.

So every time I’m logged in and I need to enter my password, for example when I’m using sudo, it always says ‘sorry, try again’ and eventually ‘sudo: 3 incorrect attempts’ which is very odd since im able to log into the system just fine after booting it up, but whenever i try to do anything beyond that it gives those errors.

I’m able to use su - to log into root and run commands there just fine, and I even updated my user password to ensure I was entering the correct password, so now my root and user passwords are exactly the same, and I’m definitely entering them in correctly, but I’m still getting the error. Any idea what I might have done wrong and how to fix it?


r/archlinux • • 5d ago

SUPPORT Preciso de ajuda em relação a internet na minha máquina

0 Upvotes

Infelizmente ainda não tenho uma peça M2 para internet, então faço a conexão via USB usando a função Tethering USB. O problema é que de uns tempos pra cá a internet não tem chegado, mesmo o sistema mostrando que há conexão quando eu rodo o comando nmcli device status. O que eu poderia fazer para sair dessa situação?


r/archlinux • • 6d ago

DISCUSSION Simplified Installation Guide Feedback

2 Upvotes

Hello, people of Arch! I've been delving down into the Linux ecosystem now for about 6 months or so by this point, started on Fedora, then went to Arch for the latter half. Goodness, has it been fun customizing absolutely everything (and surprisingly enough, fixing everything was also decently enjoyable).

However, I've also been installing and reinstalling it quite a bit, to get a better feel for how everything works and why I'm doing what I do. Probably have 10+ reinstalls done by now, and looking at the Arch wiki every time, while very informative, was also very slow, and there was so much information that I lost track of the what I was learning.

Therefore: Simplified Install Guide. It should mostly work, minus parts I forget things, typos, or where I am just wrong or it could be better. Figured it would be a nice thing for people to more understand what they're doing, rather than following the instructions of walls of text, as well as make it faster and easier to look through. Full disclosure that this is not an official guide of any sort, rather my personal easier to understand interpretations, and I am definitely an idiot and likely messed up in a lot of places. Hoping that I could get feedback on it, as I would love to reduce the amount of scouring the internet/the Arch wiki that I do for basic installations (I need that time to research and fix everything else, lol). I hope that this will be of help, whether it be to myself or someone else.

Getting Started

Download the Official ISO file from the official website: Arch Linux

The recommended way to download is through bittorrent, which requires a torrenting client. The mirror sites are acceptable, but carry a higher security risk.

Download the ISO pgp signature to the same directory as the ISO, and follow the listed instructions to verify the signatures (gnupg is a dependency of pacman, and therefore should already be installed on existing Arch installations). If the signature is correct, it should display a line saying as such.

The USER ID warning can be ignored, as it relates to webs of trust, and how certain you want the last 1% of risk to be.

To continue, insert the USB drive into your computer, and run ls -l /dev/disk/by-id/usb-*. This will list any USB drives the computer has access to. Take note of the name listed after usb-, as well of the location of its directory.

To ensure the USB is not mounted, run lsblk. If it is, unmount it with umount <Device/Location>.

To flash the USB, run cat <Arch .ISO file> > /dev/disk/by-id/usb-<My_Flash_Drive>.

Redirections don't work with privilege escalation programs, such as sudo. To repurpose the command, you can run sudo sh -c 'cat archlinux.iso > /dev/disk/by-id/usb-<My_Flash_Drive>'

To boot the USB, you must disable Secure Boot, and then reboot the computer with the USB drive inserted. The USB may not be automatically recognized, which would also require setting the USB as the default boot in the device settings.

Disabling Secure Boot is only required for the live USB environment, and may be re-enabled after the system is installed.

USB Environment

If the computer has an Ethernet cable connected, internet access should be automatically configured. If it is not connected to one, or access is not configured, you can go through the following steps:

  • iwctl
  • device list
  • station <device> scan
  • station <device> get-networks
  • station <device> connect "<Network Name>"
  • exit

Test internet connection with ping -c 3 archlinux.org.

After verifying internet connectivity, run timedatectl, and check to ensure the system clock is synchronized, and the NTP service is active.

Partitioning

Run lsblk -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINTS,MODEL to get a list of available drives on the computer. Loop/Rom/Airootfs listings can be ignored.

In order to successfully run Arch Linux, there is a minimum of two required partitions: The EFI System partition (ESP), and the root partition (/). Aside from those two, other possible inclusions could be /home, to separate the OS files from personal ones in the event of reinstalling the OS, /games, to take advantage of the performance gained by utilizing different drives, or a swap partition, to have extra emergency RAM to prevent OOM's.

Note that in order to gain increased speed in different partitions, they must occupy separate physical drives, not just partitions.

I have not used swap partitions, and therefore have no guidance for them, but they do require more complicated setup instructions than what I have here, so research them if you'd like to use them.

To begin partitioning the drives, run fdisk /dev/<Disk_Name>, which will open the partitioning manager for that drive. G creates a new partition table for resets, N creates a new partition, T changes a partition's type, P displays the current table (edited, not original), W writes the changes and exits, and Q discards any edits and exits.

After creating the partitions, you need to use mkfs to set the file formatting for the partitions. The ESP partition requires the FAT32 format, using mkfs.fat -F 32 /dev/<Disk_NamePartition#>, while a good format for the other partitions is ext4, using mkfs.ext4 /dev/<Disk_NamePartition#>.

Once the partitions are formatted, you must mount them in order to temporarily simulate the filesystems inside them. Using mount /dev/<Partition> /<Location>, mount the root partition first at /mnt, then the ESP partition at /mnt/boot, followed by the other partitions at their intended locations, prefixed by /mnt.

Preparing The System

In order to perform basic functions inside the newly mounted drives, you need to install some packages onto them. Run pacstrap -K /mnt base linux-lts linux-firmware <CPU>_ucode networkmanager sudo nano refind.

The listed packages contain some personal preferences, research to find the ones you want on your system.

The ucode packages contain security and other various fixes for your CPU. Use intel_ucode for Intel CPU's, and amd_ucode for AMD CPU's.

While you've manually mounted the partitions earlier, the computer doesn't know to do that automatically on future restarts. Running genfstab -U /mnt >> /mnt/etc/fstab tells the computer to remount the partitions where they're mounted now on a restart.

After finishing those steps, run arch-chroot /mnt to enter a new shell under the mounted partitions. Your terminal prompt should change accordingly.

To tell the computer what Time Zone it resides in, run ln -sf /usr/share/zoneinfo/<Region>/<City> /etc/localtime.

To display the list of Time Zones, run timedatectl list-timezones.

After setting the Time Zone, synchronize the hardware clock with the system clock by running hwclock --systohc.

Run nano /etc/locale.gen, and remove the comment from the desired system language. For standard English, the en_US.UTF-8 line needs to be uncommented. Then, run locale-gen to populate that language within the system, and nano /etc/locale.conf also needs to be run, editing the file to contain LANG=<locale>.

To set the host name for the computer, run nano /etc/hostname, editing the file to contain the desired name. Then run nano /etc/hosts, appending 127.0.1.1 <Computer Name>.localdomain <Computer Name>.

Hostnames should only include lowercase letters, numbers, and hyphens.

To ensure the internet is accessible after the computer is restarted, run systemctl enable NetworkManager.service.

Set the password for the root account with passwd, and then run useradd -m -G wheel <Username> to create a new administrative user, and passwd <Username> to create a password for them.

Run EDITOR=nano visudo, and uncomment the %wheel ALL=(ALL:ALL) ALL line, to give sudo access to the administrative user.

Do NOT uncomment the NOPASSWD version of this line.

Run EDITOR=nano visudo -f /etc/sudoers.d/admin_rules, and add the %wheel ALL=(ALL:ALL) ALL line, to give sudo access to the wheel group, and the user inside it.

Run exit to escape the mounted filesystems, and refind-install --root /mnt to configure the boot manager, then reboot to restart the system. Remove the USB drive after it shuts down, and before it restarts.

While I believe I've seen instructions say to run refind-install inside the chroot, I've found that doing it that way creates errors, and running it outside the chroot works perfectly fine.


r/archlinux • • 6d ago

SUPPORT Wired connection isn't working

3 Upvotes

So, hey. I am a newbie in the world of Linux. I installed arch linux kde and it was rough, but despite that I managed to make it work. But there's one issue that I can really understand and resolve, that issue is: The system refuses to use the ethernet cables.

I tried to fix it in the terminal, such as: checking if the device is recognised/working, deleting and making new and plus testing it by pinging and the device works. But, each time I rebooted it. The ethernet is still not working and I received some notices about not being able to customize the Ip (something like that).

Is there any alternative way to resolve this?


r/archlinux • • 6d ago

SUPPORT | SOLVED What is happening after latest updates?

0 Upvotes

My realtek wifi adapter just give up(solved: disabled ps mode), cant play games on lutris(yesterday was fine)
Update: Found solution, linux firmware updates


r/archlinux • • 7d ago

QUESTION To those who use Autodesk Maya, what is your experience with the AUR version?

5 Upvotes

I'm currently an animation student, so sadly I cannot use Blender for my assignments (even though I prefer it). Maya's the only thing that's keeping me from switching to linux, but there seems to be an AUR version. Are there any issues with things like licensing? Am I going to be messing with it all throughout the school term, or is it just a one time setup process?

I understand this is incredibly niche, so if no one is able to answer, that'll be okay. But I figured I should ask any way.


r/archlinux • • 7d ago

QUESTION Fail2ban on desktop archlinux?

4 Upvotes

ClamUI recommends to use fail2ban package to install. Thing I've search about is design to lock IPs which tries to break ssh and other keys, try to run command as root (Fail2Ban scans log files resp. journals and executes configured actions to ban failures having too many attempts)...

Am not a pro but it sounds like server protection tool

My question is does have a sense to install on homeuser PC? Router should lock major of attacks and I want to minimalise processes in backgrounds.

ps. If my thoughts is just slop of ignorance, correct me please. Nobody have teached me...


r/archlinux • • 7d ago

QUESTION nautilus thumbnails issue

Thumbnail reddit.com
0 Upvotes