omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Dev: blank omarchy-startup cursor persists in GSettings after login; pointer remains invisible

Open zigmoo opened this issue 1 month ago • 13 comments

System details

Omarchy dev channel, active dev-linked checkout 902fd8aebd98b6eedaa58276886a2f9f2876755f (Play matching background intros at boot and on theme switches, #9639); installed omarchy-dev 4.0.0.r6720.g8e02fc8-1. Framework Laptop 16 with AMD Ryzen AI 9 HX 370 / Radeon 890M plus NVIDIA RTX 5070 Laptop GPU. Hyprland 0.56.2, kernel 7.2.8-5-omarchy-bore; Qt 6.12.0 and quickshell 0.3.1-1. Detailed hardware/display configuration follows below.

What is wrong?

After the October 7 update and reboot, the mouse pointer remained persistently invisible during normal desktop use. It was still invisible after the bar/menu were recovered from #14469. Mouse devices were detected and Hyprland cursor coordinates changed.

The decisive observed state was:

gsettings get org.gnome.desktop.interface cursor-theme
  → omarchy-startup
hyprctl getoption cursor:invisible
  → false
hyprctl getoption cursor:inactive_timeout
  → 0
hyprctl getoption cursor:enable_hyprcursor
  → true
hyprctl getoption cursor:sync_gsettings_theme
  → true
hyprctl getoption cursor:no_hardware_cursors
  → 2 (auto)
hyprctl configerrors
  → empty

The session user-manager environment had XCURSOR_THEME=default and XCURSOR_SIZE=24; /usr/share/icons/default/index.theme inherits Adwaita. Thus the persistent GSettings value disagreed with the normal session theme. The pointer was invisible well beyond the 15-second startup recovery timeout.

Recovery verified live

gsettings set org.gnome.desktop.interface cursor-theme Adwaita
hyprctl setcursor Adwaita 24

Both commands succeeded. GSettings read back Adwaita, configuration errors remained empty, and the user immediately confirmed the pointer was visible again. No compositor restart, reboot, GPU setting change, or hardware reconnection was needed for this recovery. Both commands were applied together, so we have not isolated which one alone is sufficient.

Relevant startup code / suspected mechanism

The current default/hypr/startup-cursor.lua deliberately sets XCURSOR_THEME to omarchy-startup and temporarily disables cursor visibility, Hyprcursor, and GSettings synchronization. default/hypr/autostart.lua restores the application environment, and the startup restoration callback is intended to restore the normal compositor cursor. The deliberately blank asset exists under default/hypr/cursors/omarchy-startup/cursors/left_ptr.

The observable bug is that omarchy-startup was left in the persistent desktop cursor-theme setting during an otherwise running desktop session. A startup theme synchronization/restoration ordering issue is suspected, but the exact write/ordering that produced it has not been traced. The startup animation itself need not be removed; its temporary blank cursor should not survive in normal desktop cursor settings.

Reproduction scope and confounders

Observed sequence: update the dev channel, reboot into a three-display session, recover the Qt Color naming-collision failure, then observe the pointer still persistently invisible and the GSettings state above. We have not rebooted again to reproduce the cursor failure or validated next-login persistence of the recovery.

This machine simultaneously experienced #14469. A local workaround pins import QtQuick to 6.11 in 66 core Color-using shell QML files; this restored the bar and menu but did not restore the mouse pointer. The separate Quickshell build/runtime mismatch remains. These may affect startup timing; we are not claiming the cursor issue reproduces independently of that environment.

Expected: after boot/intro completion (or its timeout), the normal pointer is visible and GSettings does not retain the deliberately blank startup theme. Actual: invisible pointer with cursor.invisible=false and cursor-theme=omarchy-startup, resolved by explicitly restoring Adwaita.

No before-state cursor screenshot was captured. The evidence above is from live command reads and user-confirmed recovery, not a synthetic reproduction.

Hardware and active display configuration

  • Machine: framemoowork — Framework Laptop 16 (AMD Ryzen AI 300 Series), system revision A9, mainboard FRANMHCP09.
  • CPU: AMD Ryzen AI 9 HX 370, 12 cores / 24 threads; microcode 0xb204037.
  • Memory: 46.3 GiB usable RAM reported by Linux. DIMM capacity/model/speed was not available through unprivileged inspection.
  • Integrated GPU: AMD Radeon 890M (PCI 1002:150e), amdgpu driver; Mesa 26.2.4-1.
  • Discrete GPU: NVIDIA GeForce RTX 5070 Laptop GPU (PCI 10de:2d58), 8151 MiB reported VRAM, NVIDIA driver 615.71.09. Both GPUs are present; all three active connectors below belong to the AMD GPU (DRM card2, PCI c2:00.0).
  • Firmware: Insyde BIOS 03.04, dated 2025-11-06.
  • Storage: WD_BLACK SN850X 4000GB NVMe SSD (3.6 TiB reported).
  • Network: MediaTek MT7925 / RZ717 Wi-Fi 7 160 MHz, MediaTek Bluetooth, Realtek RTL8153 USB Gigabit Ethernet.
  • Attached dock: Anker A83B6 charging docking station; VIA/Genesys/Realtek USB hubs detected. Connector-to-dock cabling was not independently traced.
  • Other detected hardware: Framework 2nd-generation webcam, Framework Laptop 16 ANSI keyboard, two Framework LED Matrix modules, Goodix fingerprint reader.
  • Kernel: 7.2.8-5-omarchy-bore; Wayland / Hyprland 0.56.2. omarchy channel current explicitly reports dev.
Display Connector Active pixel mode Scale Orientation Logical position
Internal BOE NE160QDM-NZ6 eDP-2 2560 × 1600 @ 165.000 Hz 2.0 Landscape, transform 0 1836, 901
External Dell U3417W DP-10 3440 × 1440 @ 59.973 Hz 1.6 Landscape, transform 0 3116, 536
External LG HDR WFHD (EDID model name) DP-11 2560 × 1080 @ 59.978 Hz 1.0 Portrait, transform 1; effective 1080 × 2560 5267, -455

All three displays are extended (not mirrored), enabled, using XRGB8888 and sRGB; VRR and direct scanout were inactive at inspection. The bar reserves 26 logical pixels at the top of each display. The Dell is the focused display. Display serial numbers are omitted. LG retail model beyond its EDID-reported name was not established.

USB4 / Thunderbolt detail: boltctl records a CalDigit, Inc. Element 5 Hub (generation USB4, stored authorization policy iommu). It was last connected at 2026-10-08 01:59:29 UTC and authorized at 01:59:31 UTC, but reports disconnected at this inspection after the reboot. Only the two host USB4 routers are present in current Thunderbolt sysfs topology. The separate Anker A83B6 dock is currently enumerated in USB, including 10 Gbit/s hub links and its RTL8153 Ethernet adapter at 5 Gbit/s. Host controllers are AMD USB4 Router 0 (1022:151c) and Router 1 (1022:151d), with Strix USB4 bridges (1022:150a). No IEEE 1394/FireWire controller was detected. These are observed hardware/topology details; no causal connection to the QML Color collision is claimed.

zigmoo avatar Oct 08 '26 02:10 zigmoo

Thanks, this is a really thorough report. Two follow-ups that would help narrow it down:

  1. Does it come back on the next login? #14553 (the Qt 6.12 Color fix) merged this morning, so after updating, could you reboot once more and run gsettings get org.gnome.desktop.interface cursor-theme before touching anything? That tells us whether omarchy-startup gets written at every startup or was a one-off from the #14469 session.
  2. Is HYPRCURSOR_THEME set in your session? (hyprctl getoption cursor:enable_hyprcursor is true, but I can't see the env var in the report.)

Here's why I'm asking about #2. In default/hypr/startup-cursor.lua, the restore path runs hyprctl setcursor <xcursor> while sync_gsettings_theme is still off, then re-enables sync. After that it only calls setcursor again when a Hyprcursor theme is known. So if GSettings ever picked up omarchy-startup, nothing re-syncs it afterwards. One possible fix is to always run a final setcursor (or an explicit gsettings set … cursor-theme) after sync is back on.

Possibly the same root cause as #14561 (transparent X11 root cursor after startup; candidate fix in #14580).

jandrusk avatar Oct 08 '26 13:10 jandrusk

Another data point for this, from a build that already has #14553, plus one thing I think matters for #14610.

System: omarchy-dev 4.0.0.r6815.g50d687a-1, hyprland 0.56.2-4, aquamarine 0.15.1-1, hyprcursor 0.1.13-7, kernel 7.2.8-5-omarchy-bore, Ryzen 9 5900, NVIDIA RTX 3080 (nvidia-open-dkms 615.71.09). Single display: a Samsung Smart M70D TV on HDMI-A-1.

Symptom: after updating to r6815 and rebooting, the pointer was invisible for the whole session; clicks and hover still worked.

State before touching anything (answers to the two questions above, from my machine):

HYPRCURSOR_THEME                                  → unset
XCURSOR_THEME                                     → default   (size 24)
gsettings get … cursor-theme                      → 'default'   (not omarchy-startup)
hyprctl getoption cursor:invisible                → false
hyprctl getoption cursor:enable_hyprcursor        → true
hyprctl getoption cursor:sync_gsettings_theme     → true
hyprctl getoption cursor:no_hardware_cursors      → 2
omarchy_startup_cursor_pending   (hyprctl eval)   → false
omarchy_startup_cursor           (hyprctl eval)   → nil

So here GSettings was not left on omarchy-startup, yet the pointer was still invisible.

Recovery: hyprctl setcursor default 24 plus a hyprctl reload brought it back. I ran both together, so I can't say which one did it.

Why omarchy_startup_cursor was nil: Lua globals do not survive a Hyprland config reload. Checked directly:

hyprctl eval '__probe = 42'
hyprctl reload
hyprctl eval '<write tostring(__probe) to a file>'   → probe=nil

startup-cursor.lua keeps its whole restore state in globals (omarchy_startup_cursor_pending, omarchy_startup_cursor) and a hl.timer. If a reload lands while the restore is pending, the config.reloaded handler runs in a fresh state, sees monitors, sets pending = false, and omarchy_startup_cursor_restore() then returns on its first line — from BackgroundIntro.qml and from the 15 s timer alike. No setcursor is ever run. pending=false with omarchy_startup_cursor=nil is exactly that end state.

A reload during startup is something Omarchy can trigger itself: omarchy-hyprland-monitor-watch (recover_modeless) calls hyprctl reload while a monitor reports no mode, which is the normal boot state for a TV that is still waking up. Hyprland's reload-on-file-change would do the same.

Not verified: I did not capture which reload happened during that boot, so the monitor-watch reload is a suspect, not a proven trigger, and I have not re-tested across a fresh login yet.

Relevance to #14610: a final setcursor at the end of the restore path would not help in this case, because the restore function exits before reaching it. The restore probably needs to not depend on Lua state — e.g. treat "the compositor's XCURSOR_THEME is still omarchy-startup" as pending, or have BackgroundIntro.qml run hyprctl setcursor with the user's theme directly.

Workaround I'm using in ~/.config/hypr/autostart.lua:

hl.on("hyprland.start", function()
  hl.exec_cmd("sleep 20 && hyprctl setcursor default 24")
end)

avdrav1 avatar Oct 09 '26 02:10 avdrav1

Confirmed on this machine (answers to the two questions upthread).

State before touching anything:

HYPRCURSOR_THEME  -> unset
HYPRCURSOR_SIZE   -> 24
XCURSOR_THEME     -> default (size 24, /usr/share/icons/default inherits Adwaita)
gsettings cursor-theme -> 'omarchy-startup'
gsettings cursor-size  -> 24
cursor:invisible             -> false
cursor:enable_hyprcursor     -> true
cursor:sync_gsettings_theme  -> true

So this box hit the first variant: GSettings stuck on the blank omarchy-startup theme with HYPRCURSOR_THEME unset — exactly the path #14610 describes (no final setcursor after sync is re-enabled, so nothing ever re-syncs GSettings). Pointer invisible, clicks/hover still worked. Observed on a dev-linked checkout at integration-prs pre-#14610 (upstream quattro 9d48fc40 era), Hyprland 0.56.2, dual display (eDP-1 panel + DP-1 Vestel TV).

Recovery: hyprctl setcursor default 24 alone was enough — GSettings read back 'default' and the pointer came back immediately, no restart needed.

#14610 tested here: added 14610 to extra-prs and ran omarchy-dev-sync (integration-prs 3e7c5065, shell restarted). Focused suite passes (test/shell.d/hyprland-startup-cursor-test.sh), and GSettings survived the restart at 'default'/24 instead of falling back to omarchy-startup.

ekollof avatar Oct 09 '26 16:10 ekollof

Additional evidence for the reload/state-loss variant described above, from a Dell XPS 13 DX13260 (Intel Core 5 320 / Intel Graphics), Omarchy dev-linked checkout 9d48fc402edf51ae089a7c8c1f7b1a8611744bd8, Hyprland 0.56.2-4.1 (a local package carrying a separate focus-restoration patch), and OWE 0.2.10-4.

The original symptom was a persistently invisible pointer after updating/rebooting, despite cursor.invisible=false. Explicitly restoring Adwaita recovered the pointer. We subsequently instrumented startup across several reboots.

Direct rendering trace

A temporary read-only Hyprland plugin sampled IHyprRenderer::shouldRenderCursor() and Pointer::CPointerManager::currentCursorImage(), including the nonzero-alpha pixel count of its current SHM cursor buffer, every 100 ms.

In the affected diagnostic boot:

  1. Initial startup state: pending=true, cursor.invisible=true, XCURSOR_THEME=omarchy-startup.
  2. A configuration reload occurred before the shell's restore request. The new Lua state had pending=false and no saved startup cursor table. cursor.invisible became false.
  3. The shell called omarchy_startup_cursor_restore() approximately two seconds after startup. The function returned immediately because pending=false; no normal-theme setcursor was dispatched.
  4. The renderer permitted cursor rendering, but the actual pointer buffer was fully transparent. It remained transparent until an independent recovery selected Adwaita.

Representative plugin samples (elapsed time is relative to plugin initialization):

elapsed_ms=500   invisible=0 hyprcursor=1 renderer_should_render=1 pointer_has_buffer=1 pointer_buffer=24x24 pointer_nonzero_alpha=0
elapsed_ms=15467 invisible=0 hyprcursor=1 renderer_should_render=1 pointer_has_buffer=1 pointer_buffer=24x24 pointer_nonzero_alpha=0
elapsed_ms=20750 invisible=0 hyprcursor=0 renderer_should_render=1 pointer_has_buffer=1 pointer_buffer=48x48 pointer_nonzero_alpha=1109

The last sample follows recovery via disabling Hyprcursor and hyprctl setcursor Adwaita 24. These changes were applied together, so this does not isolate which change was sufficient.

Reproduction limits

The measured reload in this boot was induced by loading the diagnostic plugin. This is a controlled demonstration that a startup reload can bypass restoration, not proof that plugin loading or any particular monitor watcher caused the original uninstrumented failure. Other startup traces showed a successful restore before a subsequent reload. Software cursor rendering (no_hardware_cursors=1) was retained during the tests. No clean-install reproduction or GSettings write trace was performed.

Local workaround verified by the user

A user-owned replacement preserves pending startup state outside the reload-sensitive Lua globals, reloads the normal Xcursor before clearing invisibility, and retains a recovery fallback. It also waits for OWE to report intro=false, media_ready=true, and job_running=false before restoring the pointer. The user confirmed on reboot that the pointer stayed hidden during the intro and returned at playback completion; hide-while-typing continued to work.

The OWE completion wait is a separate behavior choice: the existing BackgroundIntro.qml signal fires at startupFade.onStarted, while the intro video is being revealed, rather than at video completion. It should not be conflated with the restoration bug.

This is evidence and a local workaround, not a proposed portable upstream patch: our replacement pins Adwaita/software cursor settings and is not suitable for merging verbatim. A general fix should retain the user's cursor theme/settings and make restoration survive a fresh Lua state. The always-final-setcursor change in #14610 is complementary, but cannot run if the initial pending guard has already returned. Also related: #14650.

Investigation and local workaround were developed with Codex assistance; startup behavior was verified by the user on the affected machine.

xiaogwu avatar Oct 09 '26 19:10 xiaogwu

Merging my responses from a prior thread in Missing mouse cursor #14650

Note: I have updated to dev (61263219) and am running wayland not X11

~ ❯ echo $XDG_SESSION_TYPE
wayland
  1. Does it come back on the next login? Fix shell palette collision with Qt 6.12 #14553 (the Qt 6.12 Color fix) merged this morning, so after updating, could you reboot once more and run gsettings get org.gnome.desktop.interface cursor-theme before touching anything? That tells us whether omarchy-startup gets written at every startup or was a one-off from the Qt 6.12.0 update breaks the shell: quickshell 0.3.1-1 still built against Qt 6.11.2 #14469 session.

After a reboot the cursor is invisible and running gsettings get org.gnome.desktop.interface cursor-theme 'Adwaita' does not restore visibility of the cursor.

  1. Is HYPRCURSOR_THEME set in your session? (hyprctl getoption cursor:enable_hyprcursor is true, but I can't see the env var in the report.)>

HYPRCURSOR_THEME is not set in env. My current env variables related to cursor are

~ ❯ hyprctl getoption cursor:enable_hyprcursor
bool: true
set: false

~ ❯ printenv | grep -i cursor
GUM_WRITE_CURSOR_BACKGROUND=#f3f0e7
GUM_FILTER_CURSOR_TEXT_FOREGROUND=#0f0d0a
XCURSOR_PATH=~/.local/share/icons:~/.icons:/usr/share/icons:/usr/share/pixmaps
GUM_WRITE_CURSOR_LINE_FOREGROUND=#2a2721
XCURSOR_SIZE=24
GUM_WRITE_CURSOR_LINE_NUMBER_BACKGROUND=#f3f0e7
GUM_FILE_CURSOR_FOREGROUND=#0f0d0a
GUM_FILE_CURSOR_BACKGROUND=#f3f0e7
GUM_INPUT_CURSOR_FOREGROUND=#0f0d0a
GUM_FILTER_CURSOR_TEXT_BACKGROUND=#f3f0e7
GUM_WRITE_CURSOR_LINE_NUMBER_FOREGROUND=#837d6a
GUM_INPUT_CURSOR_BACKGROUND=#f3f0e7
GUM_CHOOSE_CURSOR_FOREGROUND=#3059c9
GUM_CHOOSE_CURSOR_BACKGROUND=#f3f0e7
GUM_WRITE_CURSOR_FOREGROUND=#0f0d0a
XCURSOR_THEME=default
GUM_WRITE_CURSOR_LINE_BACKGROUND=#c8cfe0
UWSM_FINALIZE_VARNAMES

There is no cursor definition present in ~/.config/hypr/

~ ✗ rg --hidden -i cursor ~/.config/hypr/
~/.config/hypr/hyprland.conf
32:env = WLR_NO_HARDWARE_CURSORS,1

Jon-5 avatar Oct 09 '26 23:10 Jon-5

https://github.com/omacom/omarchy/blob/61263219b55250b79a7332d4d8ab3904b8cdecbb/default/hypr/startup-cursor.lua#L31-L34

  1. hyprcursor should have a fallback default value if HYPRCURSOR_THEME is not set, "default" should suffice (points to Adwaita according to my /usr/share/icons/default/index.theme)
  2. I tried editing startup-cursor.lua to set a fallback default for hyprcursor but that leaves my mouse cursor invisible

Next steps, questions:

  • Simply setting HYPRCURSOR_THEME=default && hyprctl reload does not cause the mouse cursor to become visible. If HYPRCURSOR_THEME is now expected to be set by the system, the system should be reading it maybe in ~/.config/hypr/input.conf
  • HYPRCURSOR_THEME should be set somewhere, including a manual configuration through omarchy setup -- I'm not clear that it is set anywhere right now
  • Is there an assumption that the lock screen must be shown at startup? I have my home server configured to not show it so that I can remotely reboot

Jon-5 avatar Oct 09 '26 23:10 Jon-5

#14837 fixes the reload variant: the restore now survives a config reload. It's complementary to #14610 and #14818. Testing on an affected machine would help.

yamz8 avatar Oct 10 '26 09:10 yamz8

Still reproduced on a packaged dev-channel install, not a dev-linked checkout.

System: Lenovo ThinkPad T14 Gen 6, Intel Core Ultra 7 258V, Arc Graphics 130V/140V (8086:64a0, xe). Omarchy 4.0.0.r6863.ga15636b-1, Hyprland 0.56.2, kernel 7.2.8-5-omarchy-bore. One display: internal eDP-1, 1920×1200 at scale 1.25.

What happened: Updated and rebooted on 2026-10-10. After login the pointer stayed invisible for the whole session. Movement and clicks still worked (hyprctl cursorpos changed). cursor:invisible was false.

State before changing anything:

gsettings get org.gnome.desktop.interface cursor-theme  → 'omarchy-startup'
cursor:invisible             → false (unset)
cursor:enable_hyprcursor     → true (unset)
cursor:sync_gsettings_theme  → true (unset)
cursor:no_hardware_cursors   → 2 (unset)
HYPRCURSOR_THEME             → unset
XCURSOR_THEME                → unset in the Hyprland process environment
hyprctl configerrors         → empty

/usr/share/omarchy/default/hypr/cursors/omarchy-startup/cursors/left_ptr is an Xcursor whose pixel payload is all zeros. ~/.config/dconf/user was rewritten at session start, so omarchy-startup was stored on this login.

default/hypr/startup-cursor.lua in r6863 still runs hl.env("XCURSOR_THEME", "omarchy-startup") while sync_gsettings_theme is at its default (true). The restore path calls setcursor again, after sync is turned back on, only when HYPRCURSOR_THEME is set. It was unset, so nothing wrote the real theme back.

Recovery: gsettings reset org.gnome.desktop.interface cursor-theme (schema default Adwaita) and hyprctl setcursor Adwaita 24. Both succeeded and GSettings read back Adwaita. No compositor restart.

This is the GSettings variant on a single internal panel, so it is not the monitor-wake reload case. The installed startup-cursor.lua matches the unfixed copy; #14610 and #14837 are not in r6863.

A local override in ~/.config/hypr/looknfeel.lua now sets XCURSOR_THEME=Adwaita and cursor.sync_gsettings_theme=false, so this machine will not reproduce cleanly until that override is removed.

odcpw avatar Oct 10 '26 15:10 odcpw

Adding a cross-ref with the same reload/state-loss variant confirmed on another box (Omarchy 4.0.0.r6863.ga15636b-1, Hyprland 0.56.2, AMD Strix Halo, single DP-1, HYPRCURSOR_THEME unset). End state matched: omarchy_startup_cursor_pending=false, omarchy_startup_cursor=nil, cursor:invisible=false, pointer invisible until hyprctl setcursor.

I posted a reload-proof user-side workaround in #14836. In short: instead of a fixed sleep after hyprland.start, re-assert on config.reloaded (user config loads after the helper, so this runs last on every reload and wins), and pin a cursor theme in the launch environment:

-- ~/.config/hypr/autostart.lua
hl.on("config.reloaded", function()
  hl.config({ cursor = { invisible = false } })
  hl.exec_cmd("hyprctl setcursor Adwaita 24")
end)
# ~/.config/environment.d/90-cursor.conf
XCURSOR_THEME=Adwaita

Full details: #14836.


Disclosure: this comment was written and posted with AI assistance (opencode). The workaround described was applied and verified on the affected machine by the user across two reboots.

jotapesse avatar Oct 10 '26 22:10 jotapesse

Update: #14837 is closed, since #14935 (now merged) fixes the reload case. #14922 fixes a separate race where the restored cursor theme wasn't drawn until the pointer was hidden and shown again. The GSettings case odcpw reported is #14610's.

yamz8 avatar Oct 11 '26 13:10 yamz8

Checked against quattro at b5f8593df by reading the source; nothing was reproduced on a live compositor. This thread describes two separate failures, and only one of them is still open.

Reload variant: fixed on quattro. f5170dd07 (#14935) keeps the pending reveal in the compositor environment (OMARCHY_STARTUP_CURSOR_SESSION and OMARCHY_STARTUP_CURSOR_THEME). A reload during startup now rebuilds the restore state and re-arms the 15 s timer, so omarchy_startup_cursor_restore() no longer returns early with pending=false and omarchy_startup_cursor=nil. That is the state avdrav1, xiaogwu and jotapesse reported.

GSettings variant: still present on quattro. In default/hypr/startup-cursor.lua, the restore loads the normal Xcursor theme while sync_gsettings_theme is still off (line 48). It turns sync back on at line 36 and runs setcursor again only if HYPRCURSOR_THEME is set (line 37). When it is unset, which is the case on every machine in this thread, nothing writes the real theme back. A GSettings value already stuck on omarchy-startup stays that way. This matches what zigmoo, ekollof and odcpw saw.

Fix: #14610 is the open fix for this. It always runs setcursor after sync is back on, and when sync is enabled it writes cursor-theme and cursor-size to GSettings directly. cursor.xcursor can never be omarchy-startup there, because cursor_theme() filters that value out. #14610 already closes this issue, so the issue closes when it merges. #14922 is a separate fix, for the pointer not redrawing in the restored theme until it is hidden and shown again; it does not touch GSettings. Until #14610 lands, running hyprctl setcursor default 24 once fixes an affected session.

Codex Medium gave a second opinion on the same questions and reached the same conclusions on its own. Because it agreed with a diagnosis already written down, its independence is not guaranteed. #14610 will be reviewed and run on a worker as its own item. This issue is waiting on the maintainer's decision about #14610.

omarchybot avatar Oct 19 '26 02:10 omarchybot

Follow-up on the same T14 login (since 2026-10-10 17:36 CEST; that session has not ended).

GSettings stayed fixed: org.gnome.desktop.interface cursor-theme is Adwaita. The looknfeel override from the comment above is still in place (sync_gsettings_theme = false, and hl.env("XCURSOR_THEME", "Adwaita")). The Hyprland process environment currently has no XCURSOR_THEME at all. None of that updated the systemd user activation environment, which is still the cold-start placeholder:

XCURSOR_THEME=omarchy-startup
XCURSOR_SIZE=24
XCURSOR_PATH=/usr/share/omarchy/default/hypr/cursors:~/.local/share/icons:~/.icons:/usr/share/icons:/usr/share/pixmaps

That path prefix is assigned only in the cold branch of default/hypr/startup-cursor.lua. gsettings reset and hyprctl setcursor do not publish it, and nothing later in this session replaced it. D-Bus activation still passes those values to new processes.

omarchy-startup contains only cursors/left_ptr. There is no cursor named default. imv 5.0.1-2 looks up default, logs No default cursor shape, then segfaults in pointer_enter by reading wl_cursor_image.hotspot_y through a null cursor_image (kernel: segfault at c, SEGV_MAPERR; the faulting instruction is mov 0xc(%rsi), %eax with rsi == 0).

On 2026-10-19 17:48 CEST, Nautilus (dbus-:1.1-org.gnome.Nautilus) opened two intact images. imv-wayland crashed three times at that same instruction, on two different files. The core's own environment is the block above. The files were not modified.

The null dereference is imv's (Arch still ships 5.0.1-2; upstream master null-checks this). It fired here because the activation environment is still omarchy-startup.

Now omarchy-dev 4.0.0.r7083.g81fd2d2-1, Hyprland 0.56.2-4, kernel 7.2.8-5-omarchy-bore. Display unchanged: eDP-1 1920×1200 at scale 1.25.

Filed by Grok 4.7 via Grok Build.

odcpw avatar Oct 19 '26 16:10 odcpw

Following up on odcpw's report that the systemd activation environment still had XCURSOR_THEME=omarchy-startup and the default/hypr/cursors path prefix. I checked it against quattro at 82662dd26 and on a freshly booted worker running omarchy-dev 4.0.0.r7191.

Activation environment: fixed for new logins. The restore now publishes the normal values with dbus-update-activation-environment --systemd XCURSOR_PATH XCURSOR_THEME (default/hypr/startup-cursor.lua:45). f5170dd07 (#14935) added that line, after r6863. On the worker, after the reveal, the user manager had XCURSOR_THEME=default and an XCURSOR_PATH without the Omarchy cursor directory, and the compositor had pending=false. odcpw's session started on r6863, which had no such step. Updating packages does not touch a running session's activation environment, and neither does a config reload (lines 55–62 do nothing once the compositor's own theme is normal). That session keeps the old values until the next login. How the blank values reached the activation environment in the first place on r6863 is not established; r6863's autostart.lua already restored both variables before publishing. odcpw, if a fresh login on r7083 or later still shows omarchy-startup in systemctl --user show-environment, that would be a new finding worth posting here.

imv crash: the null dereference in pointer_enter belongs to imv, as odcpw says; Omarchy's part was leaking the blank theme to applications, which the step above prevents.

GSettings variant: unchanged, still open on quattro. With HYPRCURSOR_THEME unset, the restore still does not write the real theme back to GSettings (lines 36–39). #14610, at head 0e297a2ff, fixes it and closes this issue when it merges.

Codex Medium reviewed the same questions and reached the same conclusions. It agreed with a diagnosis already written down, so its independence is not guaranteed. It added the point that only a new login repairs activation values that are already stale. The worker booted once with a single virtual display; it confirms the activation path on a normal login but does not reproduce the GSettings variant. This issue is waiting on the maintainer's decision on #14610.

omarchybot avatar Oct 21 '26 17:10 omarchybot