Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backlight/slider is not working. #3042

Closed
niksingh710 opened this issue Mar 19, 2024 · 3 comments
Closed

Backlight/slider is not working. #3042

niksingh710 opened this issue Mar 19, 2024 · 3 comments
Labels
backlight bug Something isn't working clock custom

Comments

@niksingh710
Copy link

backlight module works to increase and decrease brightness of laptop on scrolling on it.
and it also updates backlight/slider value.
but when changing the slider of backlight/slider it does not change the brightness.

** (waybar:204117): CRITICAL **: 23:26:22.966:
unhandled exception (type Glib::Error) in signal handler:
domain: g-dbus-error-quark
code  : 41
what  : GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: Unknown object '/org/freedesktop/login1/session/self'.


** (waybar:204117): CRITICAL **: 23:26:22.979:
unhandled exception (type Glib::Error) in signal handler:
domain: g-dbus-error-quark
code  : 41
what  : GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: Unknown object '/org/freedesktop/login1/session/self'.


** (waybar:204117): CRITICAL **: 23:26:22.993:
unhandled exception (type Glib::Error) in signal handler:
domain: g-dbus-error-quark
code  : 41
what  : GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: Unknown object '/org/freedesktop/login1/session/self'.


** (waybar:204117): CRITICAL **: 23:26:23.178:
unhandled exception (type Glib::Error) in signal handler:
domain: g-dbus-error-quark
code  : 41
what  : GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: Unknown object '/org/freedesktop/login1/session/self'.

@github-actions github-actions bot added backlight bug Something isn't working clock custom labels Mar 19, 2024
@apiraino
Copy link

Can you post a minimal configuration to reproduce the issue? Also please the Waybar version and more info about platform where you're running Waybar.

I've tested what is suggested on the wiki and it seems to work (Waybar v0.9.24)

@niksingh710
Copy link
Author

Can you post a minimal configuration to reproduce the issue? Also please the Waybar version and more info about platform where you're running Waybar.

I've tested what is suggested on the wiki and it seems to work (Waybar v0.9.24)

I am using arch linux.
It seems to be introduced in the 0.10 release fixed in the -git branch.

@nicklayb
Copy link

nicklayb commented Jan 5, 2025

Experiencing the same thing on NixOS with Waybar 0.11.0, here's my config. It seems it was working pretty recently. I updated to NixOS 24.11 recently, that might be related to it. Error message is identical

{
	"layer": "top",
	"modules-left": ["image#logo", "hyprland/submap", "hyprland/window"],
	"modules-center": ["hyprland/workspaces"],
	"modules-right": ["backlight/slider", "network", "pulseaudio", "cpu", "memory", "battery", "clock"],
	"image#logo": {
		"path": "/home/nboisvert/.config/waybar/nixos.svg",
		"size": 20,
		"on-double-click": "xdg-open https://search.nixos.org/packages"
	},
	"pulseaudio": {
		"tooltip": false,
		"scroll-step": 0.3,
		"format": "{icon} {volume}%",
		"format-icons": {
			"default": ["", "", ""]
		},
		"on-double-click": "pavucontrol"
	},
	"network": {
		"tooltip": false,
		"format-wifi": "  {essid} | {ipaddr}",
		"format-ethernet": "  {ipaddr}"
	},
	"cpu": {
		"tooltip": false,
		"format": " {}%"
	},
	"memory": {
		"tooltip": false,
		"format": " {}%"
	},
	"backlight/slider": {
		"min": 15
	},
	"battery": {
	  "format": "{icon} {capacity}%",
	  "format-icons": ["", "", "", "", ""],
		"states": {
                        "warning": 25, 
                        "critical": 10
		}
	}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlight bug Something isn't working clock custom
Projects
None yet
Development

No branches or pull requests

3 participants