-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
error: Disabling module "kdeconnect" (reason: Missing parameter "module/kdeconnect.type") #12
Comments
I don't see a problem in your config. Can you post your complete config file? I will try running that. |
So.... apparently i don't have access to the computer that i had the problem with yesterday (i'll paste it's polybar config this evening, hopefully). But i just tried to reproduce this at work and it is really becoming weird. I know we should not mix defects, but as the way of reproducing this is almost equal to the above problem, i thought it might be okay, also the error still is about the module type parameter. Reproduction: Here is what happens when i run polybar:
Here the full config, notice the kdeconnect config in line ~138 `;========================================================== [colors] [bar/example] background = ${colors.background} line-size = 5 border-size = 1 padding-left = 0 module-margin-left = 1 font-0 = fixed:pixelsize=8;1 modules-left = bspwm info-pingrtt1 info-pingrtt2 system-uptime-pretty kdeconnect tray-position = right ;wm-restack = bspwm ;override-redirect = true ;scroll-up = bspwm-desknext ;scroll-up = i3wm-wsnext cursor-click = pointer [module/xwindow] [module/xkeyboard] format-prefix = " " label-layout = %layout% label-indicator-padding = 2 [module/filesystem] mount-0 = / label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% used [module/bspwm] label-focused = %index% label-occupied = %index% label-urgent = %index%! label-empty = %index% ; Separator in between workspaces [module/kdeconnect] [module/info-pingrtt1] [module/info-pingrtt2] [module/system-uptime-pretty] [module/i3] ; Only show workspaces on the same output as the bar label-mode-padding = 2 ; focused = Active workspace on focused monitor ; unfocused = Inactive workspace on any monitor ; visible = Active workspace on unfocused monitor ; urgent = Workspace with urgency hint set ; Separator in between workspaces [module/mpd] icon-prev = label-song-maxlen = 25 [module/xbacklight] format = bar-width = 10 [module/backlight-acpi] [module/cpu] [module/memory] [module/wlan] format-connected = format-disconnected = ramp-signal-0 = [module/eth] format-connected-underline = #55aa55 format-disconnected = [module/eth1] format-connected-underline = #55aa55 ;format-disconnected = [module/date] date = "%Y-%m-%d" time = %H:%M format-prefix = label = %date% %time% [module/pulseaudio] format-volume = label-muted = 🔇 muted bar-volume-width = 10 [module/alsa] format-volume = format-muted-prefix = " " bar-volume-width = 10 [module/battery] format-charging = format-discharging = format-full-prefix = " " ramp-capacity-0 = animation-charging-0 = animation-discharging-0 = [module/temperature] format = label = %temperature-c% ramp-0 = [module/powermenu] expand-right = true format-spacing = 1 label-open = menu-0-0 = reboot menu-1-0 = cancel menu-2-0 = power off [settings] [global/wm] ; vim:ft=dosini` I appreciate your offer to have a look. Would be really cool to have kdeconnect in polybar. (I just want to mention i discovered polybar more yesterday and build everything around the example bar ;). I have changed the ping-rtt script from the scripts repo to allow to be passed the hostnames via parameter, so that i can have more than one host easily, the rest is pretty much standard I'd say) |
I tried the script and the module worked fine for me. Btw, I am running Polybar 3.3.0 , what version are you running? |
$ polybar --version |
Can you try this script? This is the bare minimum from example with only my module.
This will tell if its my module or some other thing that is creating the issue. |
Hi, well it loads fine now, without any error. Thanks so far... So, I'm gonna spend some time gradually changing my config and see where it breaks... But what is it actually supposed to do? it just shows a white rectangular area... polybar output is:
|
You are missing the font |
Thanks for the hint. Sorry to bother some more... |
What color is the icon? Can you use KDE Connect with the KDE Connect Settings app? |
Can't remeber on the icon color, but kdeconnect itself was working fine at the same time. |
No menu indicated that the phone is paired but not reachable. |
~/.config/polybar/cuts/polybar-kdeconnect.sh: line 56: -1: substring expression < 0 i am faching the error |
I solved it installing qdbus-qt5 in debian 12 |
Yes, I have that as a requirement in README |
Hey there,
first of all, thanks for your efforts.
I have googled this issue and found a lot threads about different modules where people really forgot to configure the type and it was easy to solve.
However... i copied the snippet from this repos readme and it still doesn't seem to like it.
I literally retyped the whole thing to make sure it is not some weird unicode characters copied from github...
I also copied the "kdeconnect" from [module/kdeconnect], so that these two names are really exactly the same.
Still i get
error: Disabling module "kdeconnect" (reason: Missing parameter "module/kdeconnect.type")
i ran polybar with -l trace, but it is no more specific than this line, apparently...
Relevant parts from my config:
`
modules-left = info-pingrtt1 info-pingrtt2 network-traffic system-uptime-pretty kdeconnect
modules-center = date
modules-right = filesystem xbacklight pulseaudio memory cpu wlan eth1 eth battery temperature powermenu
[module/kdeconnect]
type = custom/script
exec = /home/sebastian/tools/polybar-kdeconnect/polybar-kdeconnect.sh -d
tail = true
`
Script it self seems to run fine when i manually start it...
Where should i look at?
All the other scripts i added were nicely cooperating ;)
The text was updated successfully, but these errors were encountered: