Removed orphans, touchpad & other settings broken

At some point, I removed all my orphans with pacman but had to reinstall those packages to resolve some breakages. Those packages are now marked as “explicitly installed”. I am running the latest stable release (2024-06-10) on GNOME 46.2 on Mutter with the LTS 6.6.32-1 kernel. I have never installed anything from the AUR or third-party software.

On May 13, 2022, I removed all orphans by running:

sudo pacman -Qtdq | sudo pacman -Rns -

After rebooting, many things changed. I could no longer tap to left click with my touchpad, fallback serif fonts were being used, theme changed drastically. I did shortly reinstall those packages and everything reverted back to normal.

I saw a post from a user who was having issues due to unmanaged orphans and of course, I don’t want to create issues with my system. So, which packages should I remove or keep? The packages I had removed and then reinstalled were:

t1lib (5.1.2-8)
qt6ct (0.5-4)
qt6-svg (6.3.0-1)
python-pyxdg (0.27-4)
nm-connection-editor (1.26.0-1)
manjaro-gnome-extension-settings (20220418-2)
manjaro-gnome-settings (20220423-2)
xcursor-breeze (5.22.5-1)
ttf-hack (3.003-3)
qgnomeplatform-qt6 (0.8.4-1)
qt6-wayland (6.3.0-1)
qt6-declarative (6.3.0-2)
adwaita-qt6 (1.4.1-1)
qt6-base (6.3.0-3)
xcb-util-cursor (0.1.3-3)
vulkan-headers (1:1.3.212-1)
qt6-translations (6.3.0-1)
manjaro-gdm-branding (20210529-2)
manjaro-base-skel (20171029-3)
adw-gtk-theme (1.1-1)
adw-gtk3 (1.8-1)
libgweather (40.0+r87+g80e5a652-2)
libcheese (41.1-2)
clutter-gst (3.0.27-4)
gnome-bluetooth (3.34.5-3)
colord-gtk (0.3.0-2)

Running the same pacman command to list orphans, my current orphans (besides those listed above) are:

appstream-glib (0.8.2-4)
cython (3.0.10-3)
gcab (1.6-1)
gmime3 (3.2.14-1)
gnome-shell-extension-material-shell (44-1)
gptfdisk (1.0.10-1)
gradience (0.4.1-3)
gtkmm3 (3.24.9-1)
js102 (102.15.1-2)
kiconthemes5 (5.116.0-1)
ldns (1.8.3-2)
lib32-libunwind (1.8.1-1)
libgit2 (1:1.8.1-1)
libindicator-gtk3 (12.10.1-10)
libkate (0.4.1-9)
libportal-gtk3 (0.7.1-2)
libsidplay (1.36.59-10)
libsmbios (2.4.3-7)
libutempter (1.2.1-4)
mbedtls (3.5.2-1)
pkgfile (21-2)
python-importlib-metadata (5.1.0-2)
python-ply (3.11-13)
python-pydantic (2.7.2-1)
python-xlib (0.33-3)
wayland-protocols (1.36-1)
webkit2gtk-5.0 (2.38.6-1)
webrtc-audio-processing (0.3.1-4)
zenity (4.0.1-1)

What should I remove/keep? I still have the “explicity installed” orphans installed.

Neofetch reports:

██████████████████  ████████   user@host
██████████████████  ████████   ------------
██████████████████  ████████   OS: Manjaro Linux x86_64
██████████████████  ████████   Host: Latitude 5480
████████            ████████   Kernel: 6.6.32-1-MANJARO
████████  ████████  ████████   Uptime: 45 mins
████████  ████████  ████████   Packages: 1459 (pacman)
████████  ████████  ████████   Shell: zsh 5.9
████████  ████████  ████████   Resolution: 1920x1080
████████  ████████  ████████   DE: GNOME 46.2
████████  ████████  ████████   WM: Mutter
████████  ████████  ████████   WM Theme: Custom-Accent-Colors
████████  ████████  ████████   Theme: Adwaita [GTK2/3]
████████  ████████  ████████   Icons: Adwaita [GTK2/3]
                               Terminal: gnome-terminal
                               CPU: Intel i5-7300U (4) @ 3.500GHz
                               GPU: Intel HD Graphics 620
                               Memory: 1845MiB / 15874MiB

Tip: Never blindly remove orphans. Lesson learned, eh? :wink:

There are quite a few packages that never should have been orphans. No idea how that happened.

Tip: Check orphaned packages more often and they’ll be easier to manage.

To get you started, pacman -Qm will tell you what foreign packages you have installed (not in the repos). Note that also includes AUR packages. Remove anything that is no longer in the repos and no longer required by anything.

Example: gnome-shell-extension-material-shell was dropped from the repos as it’s no longer developed and not compatible with recent GNOME versions.

Other than that, only you can answer that based on what you want or need. You’ll know the answer once you spend time investigating.

See: pacman/Tips and tricks - ArchWiki for more info using pacman to dig in further.

Feel free to ask any questions you have along the way.


I haven’t removed any orphans ever since then, except maybe 1 or 2. Would you say based on my situation that I may have issues with future updates due to unmaintained or explicitly installed orphans?

What orphans can I remove for sure? I’ll start chipping away at them once I can filter out any obviously unneeded packages.

If you can rollback, it is easy to remove orphans.

Please have a look at :mag: btrfs timeshift snapper