DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

Idle monitoring not supported requires newer quickshell version

Open Lzycode-byte opened this issue 1 year ago • 2 comments

Compositor

  • niri

Distribution

Arch cachy os with niri selected through installation

dms version

v0.3.2-9-ge1117be

Description

  • I am running the os in external hdd(idk i this help)

  • When first installed dms and exploring through settings i noticed this:

Image

so i tried to updated it with: paru -S dms-shell-git

but still same

  • The idle is also not triggering

Expected Behavior

  • No error message and idling

Steps to Reproduce

1.Installed dms with curl

Error Messages/Logs

❯ cat dms-1762129909.txt
nohup: ignoring input
dms v0.3.2-9-ge1117be
  INFO  go: Spawning quickshell with -p /usr/share/quickshell/dms

██████╗  █████╗ ███╗   ██╗██╗  ██╗
██╔══██╗██╔══██╗████╗  ██║██║ ██╔╝
██║  ██║███████║██╔██╗ ██║█████╔╝
██║  ██║██╔══██║██║╚██╗██║██╔═██╗
██████╔╝██║  ██║██║ ╚████║██║  ██╗
╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═══╝╚═╝  ╚═╝
  INFO  go: Attempting to initialize Wayland gamma control...
  INFO  go: setupRegistry: starting registry setup
  INFO  go: setupRegistry: found zwlr_gamma_control_manager_v1
  INFO  go: setupRegistry: gamma control manager bound successfully
  INFO  go: Bound wl_output id=5 registry_name=42
  INFO  go: Output 5 name: eDP-1
  INFO  go: setupRegistry: discovered gamma_manager=true, outputs=1
  INFO  go: setupRegistry: filtered 1 physical outputs from 1 total outputs
  INFO  go: setupRegistry: completed successfully (gamma controls will be initialized when enabled)
  INFO  go: D-Bus monitoring for suspend/resume events enabled
  INFO  go: Wayland gamma control initialized successfully
  INFO  go: Attempting to initialize DWL IPC...
  INFO  go: DWL: starting registry setup
  INFO  go: Network backend detection: NetworkManager present. Using NM API.
  INFO  go: DWL: Bound wl_output id=9 registry_name=42
  INFO  go: DWL: manager not found in registry
  INFO  go: Wayland event dispatcher started
  INFO  go: DMS API Server listening on: /run/user/1000/danklinux-30827.sock
  INFO  go: API Version: 13
  INFO  go: Protocol: JSON over Unix socket
  INFO  go: Request format: {"id": <any>, "method": "...", "params": {...}}
  INFO  go: Response format: {"id": <any>, "result": {...}} or {"id": <any>, "error": "..."}
  INFO  go:
  INFO  go: Capabilities: [plugins gamma brightness]
  INFO  go:
  INFO  go: Brightness manager initialized
  INFO  go: DDC backend initialized
  INFO  go: [BluezManager] found adapter: /org/bluez/hci0
  WARN  go: Failed to initialize cups manager: Post "http://localhost:631": dial tcp [::1]:631: connect: connection refused
  WARN  go: CUPS manager unavailable: Post "http://localhost:631": dial tcp [::1]:631: connect: connection refused
  INFO  go: Sysfs backend initialized with 17 devices
  INFO  go: Freedesktop manager initialized
  INFO  go: [BluezAgent] registered at /com/danklinux/bluez/agent with capability KeyboardDisplay
  INFO  go: Bluez manager initialized
  INFO  go: Loginctl manager initialized
  INFO: Launching config: "/usr/share/quickshell/dms/shell.qml"
  INFO: Shell ID: "85ecfc916fcda75f6106502e8dabb0ab" Path ID "85ecfc916fcda75f6106502e8dabb0ab"
  INFO: Saving logs to "/run/user/1000/quickshell/by-id/isn15k45t/log.qslog"
  INFO  go: [SecretAgent] Registered with NetworkManager (id=com.danklinux.NMAgent, unique name=:1.119, fixed path=/org/freedesktop/NetworkManager/SecretAgent)
  INFO  go: Network manager initialized
  WARN: $HYPRLAND_INSTANCE_SIGNATURE is unset. Cannot connect to hyprland.
  INFO qml: AudioService: Sound effects enabled
  INFO qml: NetworkService: Initializing...
  WARN qml: PolkitService: Polkit not available - authentication prompts disabled. This requires a newer version of Quickshell.
  WARN qml: IdleService: IdleMonitor not available - power management disabled. This requires a newer version of Quickshell.
  WARN scene: QML Connections at @Modals/PolkitAuthModal.qml[76:5]: Detected function "onIsResponseRequiredChanged" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
  WARN scene: QML Connections at @Modals/PolkitAuthModal.qml[76:5]: Detected function "onAuthenticationSucceeded" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
  WARN scene: QML Connections at @Modals/PolkitAuthModal.qml[76:5]: Detected function "onAuthenticationFailed" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
  WARN scene: QML Connections at @Modals/PolkitAuthModal.qml[76:5]: Detected function "onAuthenticationRequestCancelled" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
  WARN quickshell.I3.ipc: $I3SOCK is unset. Trying $SWAYSOCK.
  WARN quickshell.I3.ipc: $SWAYSOCK and I3SOCK are unset. Cannot connect to socket.
  INFO: Configuration Loaded
  INFO qt.multimedia.ffmpeg: Using Qt multimedia with FFmpeg version n8.0 GPL version 3 or later
Input #0, wav, from '/usr/share/quickshell/dms/assets/sounds/freedesktop/audio-volume-change.wav':
  Metadata:
    encoder         : Lavf62.3.100
  Duration: 00:00:00.06, bitrate: 1420 kb/s
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/usr/share/quickshell/dms/assets/sounds/freedesktop/message.wav':
  Metadata:
    encoder         : Lavf62.3.100
  Duration: 00:00:00.31, bitrate: 1413 kb/s
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
  INFO qml: Theme: Dynamic colors file loaded successfully
  WARN qml: I18n: Falling back to built-in English strings
Input #0, wav, from '/usr/share/quickshell/dms/assets/sounds/freedesktop/message-new-instant.wav':
  Metadata:
    encoder         : Lavf62.3.100
  Duration: 00:00:01.03, bitrate: 1411 kb/s
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/usr/share/quickshell/dms/assets/sounds/plasma/power-plug.wav':
  Metadata:
    encoder         : Lavf62.3.100
  Duration: 00:00:03.00, bitrate: 1411 kb/s
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/usr/share/quickshell/dms/assets/sounds/plasma/power-unplug.wav':
  Metadata:
    encoder         : Lavf62.3.100
  Duration: 00:00:03.00, bitrate: 1411 kb/s
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
  INFO qml: DisplayService: ddcutil not available
  INFO qml: Detected distribution: CachyOS
  WARN scene: @Modals/PolkitAuthModal.qml[77:9]: Unable to assign [undefined] to QObject*
  INFO qml: CompositorService: Detected Niri with socket: /run/user/1000/niri.wayland-1.27508.sock
  INFO qml: Theme: Setting desired theme - image mode: dark type: scheme-tonal-spot
  WARN qml: Tab file does not exist: /home/jomard/.local/state/DankMaterialShell/notepad-files/untitled-1762123814868.txt
  WARN qml: Tab file does not exist: /home/jomard/.local/state/DankMaterialShell/notepad-files/untitled-1762123814868.txt
  INFO qml: NiriService: Generated binds config at /home/jomard/.config/niri/dms/wpblur.kdl
  INFO qml: NiriService: Generated binds config at /home/jomard/.config/niri/dms/wpblur.kdl
  INFO qml: NiriService: Loaded 1 outputs
  INFO qml: CompositorService: Detected Niri with socket: /run/user/1000/niri.wayland-1.27508.sock
  INFO qml: NetworkService: Network capability detected, using DMSNetworkService
  INFO qml: NetworkService: Switched to DMSNetworkService, networkAvailable: true
  INFO qml: DMSService: Connected (API v13) - ["plugins","network","loginctl","freedesktop","gamma","bluetooth","brightness"]
  INFO qml: NiriService: Generated binds config at /home/jomard/.config/niri/dms/wpblur.kdl
  INFO qml: NiriService: Generated binds config at /home/jomard/.config/niri/dms/wpblur.kdl
  INFO qml: SessionService: Native inhibitor available: false
  INFO qml: NiriService: Generated layout config at /home/jomard/.config/niri/dms/layout.kdl
  INFO qml: Theme: Dynamic colors file loaded successfully
  INFO qml: Theme: Dynamic colors file loaded successfully
  INFO qml: Theme: Matugen worker completed successfully
  INFO qml: Theme: Dynamic colors file loaded successfully

Lzycode-byte avatar Nov 03 '25 00:11 Lzycode-byte

Fixed by updating quickshell with :

yay -S quickshell-git --overwrite='*'

Lzycode-byte avatar Nov 03 '25 00:11 Lzycode-byte

For those on NixOS, I was able to get it working by upgrading quickshell via the following:

  1. Add quickshell to your flake.nix
{
  inputs = {
    quickshell = {
      url = "github:quickshell-mirror/quickshell";
      inputs.nixpkgs.follows = "nixpkgs";
    };
   ...
  };
}
  1. Use the new package as quickshell.package
{
  dank-material-shell,
  quickshell,
  pkgs,
  ...
}:
{
  programs.dankMaterialShell = {
    enable = true;
    quickshell.package = quickshell.packages.${pkgs.stdenv.hostPlatform.system}.quickshell;
  };
}

nickthegroot avatar Nov 21 '25 03:11 nickthegroot