DreamMaoMao/hycov

yo i got a problem, `Invalid dispatcher, requsted "hycov:movefocus" does not exist`

Closed this issue · 18 comments

image

i installed hycov with hyprpm

its installed on the latest main version :
Hyprland, built from branch HEAD at commit 03ebbe18ed8517ee22591eac82cd54322f42cb7d (props: bump ver to 0.34.0).
Date: Mon Jan 1 12:03:15 2024
Tag: v0.34.0

flags: (if any)

extra/hyprland 0.34.0-1 [installed]

so i dont know why its happening

how i m using it:

plugin {
  hycov {
    overview_gappo = 50 # gaps width from screen edge
    overview_gappi = 14 # gaps width from clients
    hotarea_size = 10 # hotarea size in bottom left,10x10
    enable_hotarea = 1 # enable mouse cursor hotarea     
    swipe_fingers = 4 # finger number of gesture,move any directory
    move_focus_distance = 100 # distance for movefocus,only can use 3 finger to move 
    enable_gesture = 0 # enable gesture
    disable_workspace_change = 0 # disable workspace change when in overview mode
    disable_spawn = 0 # disable bind exec when in overview mode
    auto_exit = 1 # enable auto exit when no client in overview
    auto_fullscreen = 0 # auto make active window maximize after exit overview
    only_active_workspace = 0 # only overview the active workspace
    only_active_monitor = 0 # only overview the active monitor
    enable_alt_release_exit = 0 # alt swith mode,see readme for detail
    alt_toggle_auto_next = 0 # auto focus next window when toggle overview in alt swith mode
    click_in_cursor = 1 # target windwo is find by cursor, not the current foucus window.
    hight_of_titlebar = 0 # height deviation of title bar hight
    enable_alt_release_exit = 1
  }
}
# bind key to toggle overview(force mode,no affected by `only_active_workspace` and `only_active_monitor`)
bind = ALT,tab,hycov:toggleoverview,forceall
bind=ALT,left,hycov:movefocus,l
bind=ALT,right,hycov:movefocus,r
bind=ALT,up,hycov:movefocus,u
bind=ALT,down,hycov:movefocus,d

image

You need to log out and log back in each time you install it.

But this error message will appear briefly every time you log in, which is unavoidable,

If you want to avoid this message popping up, I recommend not using hyprpm reload to launch the plugin.

Instead, load the plugin directly on the configuration:

#hyprpm will install the.so file in the /usr/local/lib path
plugin = /usr/local/lib/libhycov.so

refer:
hyprwm/Hyprland#4373

0a00 commented

✖ headers are not up-to-date, please run hyprpm update.

图片
图片

0a00 commented

Hello, it seems that an update is needed in the latest version

This message seems to be telling you to run

The 'hyprpm update' command

instead of requiring the plugin repository to do something

0a00 commented

Oh, dear, but
图片

0a00 commented

This was after I updated hyprland-git today

how did you install hyprland-git?

0a00 commented

图片

It seems that the hyprpm tool has a bug update, even if you do not use hycov, you can not use other official plugins, you may should submit a bug report to the hyprland community.

@0a00

0a00 commented

OK,thanks

图片

That happened to me as well so I downgraded to hyprland from pacman as the installed version from git clone is 0.34 but the latest maintained on aur is 0.31 so just install the pacman hyprland

#hyprpm will install the.so file in the /usr/local/lib path plugin = /usr/local/lib/libhycov.so

But if I use it as plugin = /usr/local/lib/libhycov.so I am stuck in an sddm loop

#hyprpm will install the.so file in the /usr/local/lib path plugin = /usr/local/lib/libhycov.so

But if I use it as plugin = /usr/local/lib/libhycov.so I am stuck in an sddm loop

how about this?

  1. rmove your config plugin = /usr/local/lib/libhycov.so

  2. rebuild hycov manually

git clone https://github.com/DreamMaoMao/hycov.git
cd hycov
bash install.sh # `libhycov.so` path: /usr/lib/libhycov.so

then change you plugin config from plugin = /usr/local/lib/libhycov.so to plugin = /usr/lib/libhycov.so

yeah did that, plugin = ... still doesn't work
this works exec-once = hyprctl plugin load /usr/lib/libhycov.so so hyprctl does it... thanks anyway

refer to this:

hyprwm/Hyprland#4284

Every time you use yay -S hyprland-git to update hyprland, you need rm -rf /usr/include/hyprland and then run the hyprpm update to update

@0a00 @daUnknownCoder

0a00 commented

Thank you very much. Problem solved