quickshell icon indicating copy to clipboard operation
quickshell copied to clipboard

Error

Open AegonTc6 opened this issue 6 months ago • 7 comments

qs -n -d -c desktop No running instances for "/home/user/.config/quickshell/desktop/shell.qml" INFO: Launching config: "/home/user/.config/quickshell/desktop/shell.qml" INFO: Shell ID: "b14647504999e98580e458731bd86d2c" Path ID "b14647504999e98580e458731bd86d2c" INFO: Saving logs to "/run/user/1000/quickshell/by-id/ia5slofft/log.qslog" ERROR: Failed to load configuration ERROR: caused by @shell.qml[21:5]: Type Navbar unavailable ERROR: caused by @Navbar.qml[1173:5]: IdleMonitor is not a type

AegonTc6 avatar May 22 '26 10:05 AegonTc6

Hey there AegonTc6, the error that you are witnessing is likely caused due to incompatibility of the quickshell version you are using with advanced modules such as IdleMonitor. A simple fix for you would be to comment out the IdleMonitor code line in line 1173 of Navbar.qml in ~/.config/quickshell (if using omarchy) folder. At the end it try launching it again using the following bash command:

qs -n -d -c desktop

If the issue persists feel free to add more issues here or mail at [email protected]

zenvavaday-cell avatar May 22 '26 16:05 zenvavaday-cell

First of all thank you for your help. But I already did that but a new error appeared: qs -n -d -c desktop No running instances for "/home/valarr/.config/quickshell/desktop/shell.qml" INFO: Launching config: "/home/valarr/.config/quickshell/desktop/shell.qml" INFO: Shell ID: "b14647504999e98580e458731bd86d2c" Path ID "b14647504999e98580e458731bd86d2c" INFO: Saving logs to "/run/user/1000/quickshell/by-id/4o66yofft/log.qslog" ERROR: Failed to load configuration ERROR: caused by @shell.qml[21:5]: Type Navbar unavailable ERROR: caused by @Navbar.qml[1179:20]: Expected token `:' And if i try changing the quickshell package from the one on pacman to quickshell-git from yay this error appears: ✗ yay -S quickshell-git -> No AUR package found for cpptrace -> could not find all required packages: cpptrace

AegonTc6 avatar May 22 '26 17:05 AegonTc6

Thanks for reporting this. The IdleMonitor component was added in Quickshell 3.0, and our current config targets that version. Short term: If you're on an older Quickshell version(generally 0.2.1 on arch-based systems), you can comment out the IdleMonitor block in Navbar.qml (lines 1173–1179) and replace it with readonly property bool isIdle: false as a workaround. This disables idle-dim but the rest of the bar works fine. Long term: We should either:

  1. Document the Quickshell 3.0 requirement more clearly in the README
  2. Add version detection to gracefully degrade when IdleMonitor isn't available
  3. Make idle-dim optional via a config flag

Would you like me to add version detection, or would you prefer documenting the requirement?

zenvavaday-cell avatar May 23 '26 17:05 zenvavaday-cell

I think you should document the Quickshell 3.0 requirement more clearly in the README. But I already fixed this by just installing the quickshell-git from the aur and as to how I got yay -S quickshell-git to work for anyone encountering the same problem i faced, I just did: git clone https://archlinux.org cd cpptrace makepkg -si

AegonTc6 avatar May 23 '26 19:05 AegonTc6

Hmm.. I wonder how you cloned into https://archlinux.org. If possible could you tell me too

zenvavaday-cell avatar May 24 '26 03:05 zenvavaday-cell

Sorry i actually did : git clone https://aur.archlinux.org/cpptrace.git

AegonTc6 avatar May 24 '26 11:05 AegonTc6

Yeah no problem with that, I already updated the issue.

zenvavaday-cell avatar May 24 '26 11:05 zenvavaday-cell