Skip to content

u/Gozenka

In this archive from Aug 2022 to Nov 2026

10
posts
1.5k
comments
0
media
5.1k
score
3 saved before deletion

Your reasons 1 and 2 are not really unique to Arch Linux, and arguably should not be main decision criteria for choosing Arch as a distro. However, they may be topics for discussion.

Otherwise this post mostly propagates the "arch btw" meme, which may be referenced for fun, but we try to avoid it as a focus in posts.

Arch Linux is a great fit for many people though; it is where they feel most comfortable with their system. And I'm glad you enjoy using it!

1 points

small laptop keyboard, since ctrl alt and win are all squished together in the corner.

I guess your CapsLock key is rather easier to use. If you wish, you can swap your CapsLock to a modifier key such as Super / Alt / Ctrl.

You can do this easily with xkb_options in your Hyprland config. These options are system-wide.

As mentioned by others, using Space as a modifier would be a horrible experience.

Here's the list of available xkb_options: /usr/share/X11/xkb/rules/base.lst

Some useful ones for you:

caps:ctrl_shifted_capslock Make Caps Lock an additional Ctrl and Shift + Caps Lock the regular Caps Lock
ctrl:swapcaps        Swap Ctrl and Caps Lock
caps:super           Make Caps Lock an additional Super
caps:menu            Make Caps Lock an additional Menu key
shift:both_capslock  Both Shifts together enable Caps Lock

I personally make my CapsLock work as Escape, using such a one line configuration.

2 points

As far as I can see, the core systemd components (which you would need to handle somehow with external software anyway on any other system without systemd), seem to take at most 40MB RAM on my system. That includes things like journal, logind, udev.

1 points

Location does not matter much, and you can get faster mirrors by not specifying location too.

Here is my reflector command for example:

sudo reflector --verbose --age 12 --completion-percent 97 --latest 100 --score 10 --sort rate --save /etc/pacman.d/mirrorlist

It gets recently updated and complete mirrors, takes 10 with the best score, then sorts them by download speed. You could use --fastest N before --score N, if download speed is really an issue for you.

1 points

Mirrors are hosted by third-party volunteers. Apparently the one you mention may not be available as a mirror for the latest image. But, maybe this is not the case, as it is still available here:


Your posts are getting auto-filtered because you have a fresh account. No need to make new posts. If a moderator sees it, the post may be approved.

19 points

Interesting issue.

There was a recent change to /etc/makepkg.conf that enabled OPTIONS=(debug). This is meaningful for Arch devs and package maintainers testing and building packages, but it is not meaningful for almost any other user. So, most users that utilize the AUR or makepkg should disable it by putting a ! in front.

Apart from this issue, when installing things from the AUR, it also causes a duplicate -debug version of some packages to be created and installed, unless the AUR maintainer explicitly specified !debug in the PKGBUILD to override this behavior.

3 points

If you like navigating in the terminal, you can check out alternatives to any GUI app you use. A good amount of users here prefer such tools.

You can get used to tools such as fzf, fd, rg for file navigation and search on the terminal. fzf in particular integrates into bash or zsh, for a seamless and real fast experience on the commandline.

You might like neovim for a terminal-based test editor that is very extensible.

I personally only have my browser, Spotify, and games as GUI. The image viewer (nsxiv), media player (mpv), document viewer (zathura) are technically GUI too.

If you wish to get to know your Arch system and maybe "improve" it, be sure to check these Archwiki pages:

5 points

Although it is a nice challenging project that will likely be a good teaching experience, BLFS is not really a practical thing.

I could suggest that you instead go deeper into your Gentoo installation, tinkering with your system; reading Gentoowiki, Archwiki and other sources, maybe the (B)LFS manual too.

Then, as a quite valuable project, you can pick some type of open-source software and play around with hacking it; learning one or more programming languages in the process. Soon afterwards, you can start contributing and maybe create your own project. Some examples could be: a Wayland compositor (dwl would be a nice choice for C), a system monitor, a Python web scraper, a mobile note-taking application.

10 points

OK, seeing the older kernel's module files there is weird. It might be an indication that the update did not complete properly. Just try reinstalling linux, then check the directory again, remove the old kernel's files then.

Also, you have a separate /boot/' and 'efi setup for some reason. What is your /boot like? Is your bootloader properly accessing the updated initramfs file? Was this your first update with this setup?

Can you please share:

sudo tree -D /boot

1 points

SSH keys are not particularly relevant, although the hack involves SSH.

If you were indeed susceptible to the attack, and if your were actually targeted by the attacker (the answer to both are thankfully no), along with the SSH keys, anything and everything on your system were vulnerable. Because the attack seems to allow arbitrary code execution and is not limited.

5 points

Packages

  • Typical package overview via:
    • pacman -Qm
    • pacman -Qdtt
  • The rusty_packages script by u/Kicer86, to find never used dependencies that are still forced to install.
  • makepkging my own PKGBUILD that just "provides" some of those dependencies and others, so they do not get installed at all.

Files

  • NoExtract= in /etc/pacman.conf to avoid installing a bunch of unnecessary files from installed packages.
  • pacreport --unowned-files / lostfiles to find rogue files in root.

Misc

  • No cache for pacman, makepkg, yay / paru; by putting it all in /tmp.
  • Chromium cache in /tmp too.
  • Journal size limited to 20MB.
19 points

This might be related, if you do not have that part in your .xinitrc:

https://www.reddit.com/r/archlinux/comments/1bv63jt/comment/kxxgese/

https://wiki.archlinux.org/title/Xinit#xinitrc

Note: At the very least, ensure that the last if block in /etc/X11/xinit/xinitrc is present in your ~/.xinitrc file to ensure that the scripts in /etc/X11/xinit/xinitrc.d are sourced.

1 points

Yes, I was just suspicious of this:

XDG_RUNTIME_DIR is invalid or not set in the environment.

If launching via startx, that could be related to not including this in your .xinitrc, but with a display manager, it should not be the case:

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
    for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
        [ -x "$f" ] && . "$f"
    done
    unset f
fi

which imports this:

systemctl --user import-environment DISPLAY XAUTHORITY
if command -v dbus-update-activation-environment >/dev/null 2>&1; then
    dbus-update-activation-environment DISPLAY XAUTHORITY
fi
2 points

152 : At startup, after opening just alacritty + zsh + ps 199 : With a bazillion chromium tabs, spotify, neovim, terminal instances

Most of the processes there would be from the kernel and threads.

pstree -T is useful to give a more meaningful outline of things running. Here is mine at startup:

systemd─┬─dbus-broker-lau───dbus-broker
        ├─iwd
        ├─login───sx─┬─Xorg
        │            └─dwm───alacritty───zsh───pstree
        ├─polkitd
        ├─rtkit-daemon
        ├─systemd─┬─(sd-pam)
        │         ├─aslstatus
        │         ├─dbus-broker-lau───dbus-broker
        │         ├─pipewire
        │         ├─pipewire-pulse
        │         └─wireplumber
        ├─systemd-journal
        ├─systemd-logind
        ├─systemd-resolve
        ├─systemd-timesyn
        └─systemd-udevd───(udev-worker)
6 points

You may have got the beta version, but it seems to have the same version as the default package right now. Or you may have got a different packaging for the driver, with specific patches.

Otherwise yay -S nvidia = pacman -S nvidia; calling yay just runs pacman, and gets the official nvidia package from Arch repos.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.