this post was submitted on 01 Dec 2023
11 points (100.0% liked)

Arch Linux

7516 readers
1 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

Hey :))

I'm trying to get smooth scrolling to work with Vi bindings in Zathura. It works out of the box with "" and "". I found a solution on the internet saying you could map j and k to "" and "", which I've done by writing the following in zathurarc:

map j feedkeys "<C-Down>"
map k feedkeys "<C-Up>"

And it works :))

the only problem is - every time I press either j or k, it writes the following error to the terminal:

(org.pwmt.zathura:112248): Gdk-WARNING **: 08:53:50.919: Event with type 8 not holding a GdkDevice. It is most likely synthesized outside Gdk/GTK+

Is there a better way to get smooth scrolling with vi bindings in zathura ? ^^

// This post has been a hell with formatting, sorry

top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 8 months ago (1 children)

Which commands did you use exactly? There is some information not displayed in your post. That's what I see:

It works out of the box with and . I found

map j feedkeys “” map k feedkeys “”

[–] [email protected] 1 points 8 months ago (1 children)

you're right :))

I've updated it now ^^

[–] [email protected] 2 points 8 months ago

Looks still the same to me. The keys which you are using are not displayed, i.e. there is nothing inside the quotation marks.