Skip to content

No hyprctl dispatch command is working #3320

Description

@yhkq1

Step 1. Before you submit

  • I have read the Troubleshooting and Usage pages.
  • I've successfully updated to the latest version following the guidance.
  • I've successfully updated the system packages to the latest.
  • I've ticked the checkboxes without reading their contents

Step 2. Quick diagnose info

Quick diagnose
<!-- Run `./diagnose` inside the repo, and paste the result here! -->
/========================\
| Checking git repo info |
\========================/

[===diagnose===] git remote get-url origin
https://github.com/end-4/dots-hyprland
[---SUCCESS---]

[===diagnose===] git rev-parse HEAD
412b2222c212eb8f444662e7df22dc72a388360e
[---SUCCESS---]

[===diagnose===] git status
On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean
[---SUCCESS---]

[===diagnose===] git submodule status --recursive
 e31ec4cb4ebf6a46b267f5c42eabf6874916fa16 dots/.config/quickshell/ii/modules/common/widgets/shapes (heads/main)
[---SUCCESS---]

/=================\
| Checking distro |
\=================/

[===diagnose===] _check_distro_id
distro ID: arch
distro ID_LIKE: 
[---SUCCESS---]

[===diagnose===] cat os-release
cat: os-release: No such file or directory
[---EXIT 1---]

/====================\
| Checking variables |
\====================/

[===diagnose===] declare -p XDG_CACHE_HOME
./diagnose: line 36: declare: XDG_CACHE_HOME: not found
[---EXIT 1---]

[===diagnose===] declare -p XDG_CONFIG_HOME
./diagnose: line 36: declare: XDG_CONFIG_HOME: not found
[---EXIT 1---]

[===diagnose===] declare -p XDG_DATA_HOME
./diagnose: line 36: declare: XDG_DATA_HOME: not found
[---EXIT 1---]

[===diagnose===] declare -p XDG_STATE_HOME
./diagnose: line 36: declare: XDG_STATE_HOME: not found
[---EXIT 1---]

[===diagnose===] declare -p ILLOGICAL_IMPULSE_VIRTUAL_ENV
declare -x ILLOGICAL_IMPULSE_VIRTUAL_ENV="\$HOME/.local/state/quickshell/.venv"
[---SUCCESS---]

/============================\
| Checking directories/files |
\============================/

[===diagnose===] ls -l /home/janis/.local/state/quickshell/.venv
total 12
-rw-r--r-- 1 janis janis  43 May 13 15:45 CACHEDIR.TAG
drwxr-xr-x 1 janis janis 454 May 13 15:45 bin
drwxr-xr-x 1 janis janis   8 May 13 15:45 include
drwxr-xr-x 1 janis janis  20 May 13 15:45 lib
lrwxrwxrwx 1 janis janis   3 May 13 15:45 lib64 -> lib
-rw-r--r-- 1 janis janis 189 May 13 15:45 pyvenv.cfg
[---SUCCESS---]

/===================\
| Checking versions |
\===================/

[===diagnose===] Hyprland --version
Hyprland 0.55.0 built from branch v0.55.0 at commit af923e30d1d24f1f4a4f5cb8308065173c1d9539 clean (version: bump to 0.55.0).
Date: Sat May 9 13:35:27 2026
Tag: v0.55.0, commits: 7290

Libraries:
Hyprgraphics: built against 0.5.1, system has 0.5.1
Hyprutils: built against 0.13.1, system has 0.13.1
Hyprcursor: built against 0.1.13, system has 0.1.13
Hyprlang: built against 0.6.8, system has 0.6.8
Aquamarine: built against 0.11.0, system has 0.11.0

Version ABI string: af923e30d1d24f1f4a4f5cb8308065173c1d9539_aq_0.11_hu_0.13_hg_0.5_hc_0.1_hlg_0.6
no flags were set

[---SUCCESS---]

[===diagnose===] _check_quickshell_version
illogical-impulse-quickshell-git 0.1.0.r1-8
qt6-base 6.11.0-4
[---SUCCESS---]

[===diagnose===] _check_PKGBUILD_version
illogical-impulse-agsv1-debug 1.9.0-1
illogical-impulse-audio 1.0-3
illogical-impulse-backlight 1.0-2
illogical-impulse-basic 1.0-3
illogical-impulse-bibata-modern-classic-bin 2.0.6-2
illogical-impulse-fonts-themes 1.0-6
illogical-impulse-hyprland 1.0-5
illogical-impulse-kde 1.0-3
illogical-impulse-microtex-git r494.0e3707f-3
illogical-impulse-microtex-git-debug r494.0e3707f-3
illogical-impulse-portal 1.0-3
illogical-impulse-python 1.1-5
illogical-impulse-quickshell-git 0.1.0.r1-8
illogical-impulse-screencapture 1.0-2
illogical-impulse-toolkit 1.0-3
illogical-impulse-widgets 1.0-7
[---SUCCESS---]

/==============================================\
| Finished. Output saved as "diagnose.result". |
\==============================================/

Step 3. Describe the issue

This is happening since i updated to hyprland 0.55 today. I did copy dots/.config/hypr to ~/.config.

hyprctl dispatch commands dont work:

error: return hl.dispatch(exit):1: hl.dispatch: expected a dispatcher (e.g. hl.dsp.window.close())

 → Note: dispatch in lua is a shorthand for hl.dispatch(...), your syntax might need to be updated.

Therefore $lock_cmd = hyprctl dispatch global quickshell:lock & pidof qs quickshell hyprlock || hyprlock

does not lock my screen. I haven't seen any other usages of hyprctl dispatch
Also, loginctl lock-session doesnt work as well, might be related

Logs
INFO: Launching config: "/home/janis/.config/quickshell/ii/shell.qml"
  INFO: Shell ID: "c6fa0fea720f7f585e851a4999ddf5d1" Path ID "c6fa0fea720f7f585e851a4999ddf5d1"
  INFO: Saving logs to "/run/user/1002/quickshell/by-id/f04knezet/log.qslog"
  WARN: QSettings::value: Empty key passed
  WARN qt.qml.propertyCache.append: Member implicitWidth of the object QQuickItem_QML_278 overrides a member of the base object. Consider renaming it or adding final or override specifier
  WARN qt.qml.propertyCache.append: Member implicitHeight of the object QQuickItem_QML_278 overrides a member of the base object. Consider renaming it or adding final or override specifier
  WARN qt.qml.propertyCache.append: Member implicitWidth of the object QQuickItem_QML_2412 overrides a member of the base object. Consider renaming it or adding final or override specifier
  WARN qt.qml.propertyCache.append: Member implicitHeight of the object QQuickItem_QML_2412 overrides a member of the base object. Consider renaming it or adding final or override specifier
  INFO: Configuration Loaded
 DEBUG qml: [GlobalFocusGrab] Initialized
 DEBUG qml: [Translation] Language changed to en_US
  WARN scene: @modules/ii/sidebarLeft/AiChat.qml[753:-1]: TypeError: Cannot read property 'name' of undefined
  WARN scene: @modules/ii/sidebarLeft/AiChat.qml[752:-1]: TypeError: Cannot read property 'name' of undefined
  WARN scene: @services/Ai.qml[238:-1]: TypeError: Value is undefined and could not be converted to an object
  WARN scene: @services/Ai.qml[238:-1]: TypeError: Value is undefined and could not be converted to an object
  WARN scene: @modules/ii/sidebarLeft/AiChat.qml[752:-1]: TypeError: Cannot read property 'name' of undefined
  WARN scene: @modules/ii/sidebarLeft/AiChat.qml[753:-1]: TypeError: Cannot read property 'name' of undefined
  WARN scene: @modules/ii/sidebarLeft/AiChat.qml[753:-1]: TypeError: Cannot read property 'name' of undefined
  WARN scene: @modules/ii/sidebarLeft/AiChat.qml[753:-1]: TypeError: Cannot read property 'name' of undefined
  WARN scene: @modules/ii/sidebarLeft/AiChat.qml[752:-1]: TypeError: Cannot read property 'name' of undefined
  WARN scene: @modules/common/widgets/ToolbarTabBar.qml[59:9]: Unable to assign [undefined] to QQuickItem*
  WARN scene: QML TranslationReader at @services/Translation.qml[68:5]: Read of /home/janis/.config/illogical-impulse/translations/en_US.json failed: File does not exist.
 DEBUG qml: [To Do] File loaded
 DEBUG qml: [Notifications] File loaded
 DEBUG qml: [Updates] Checking for system updates
  WARN scene: QML Revealer at @modules/common/widgets/FloatingActionButton.qml[45:30]: Binding loop detected for property "implicitHeight":
qs:@/qs/modules/common/widgets/Revealer.qml:14:5

Reminder

  • I agree that it's usually impossible for others to help me without my logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ISSUEGeneral issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions