You are not logged in.

#1 2009-04-27 12:38:22

robmaloy
Member
From: Germany
Registered: 2008-05-14
Posts: 263

Ristretto with keyboard/mouswheel navigation (xfce image viewer)

i've always liked xfces lightweight image viewer ristretto, but there were always two things which annoyed me:

1. no keyboard navigation
2. rolling the mousewheel over displayed image just zooms in/out

so today i finally took the sources and changed some lines:

1. navigate to previous/next image with leftarrow / H and rightarrow / L
2. scrolling the mousewheel over current image navigates to previous/next image
3. ctrl + mousewheel to zoom

maybe one of you finds this useful

get it here:
http://aur.archlinux.org/packages.php?ID=25985


☃ Snowman ☃

Offline

#2 2009-04-27 12:57:55

NeoXP
Member
From: MS Matrix
Registered: 2009-01-09
Posts: 206
Website

Re: Ristretto with keyboard/mouswheel navigation (xfce image viewer)

Thxs for the effort, I will install it this evening and test it.


Arch x86_64 on HP 6820s and on HP nx9420. Registered Linux User 350155, since 24-03-2004
"Everyone said that it could not be done, until someone came along who didn't know that."

Offline

#3 2009-04-27 19:49:17

NeoXP
Member
From: MS Matrix
Registered: 2009-01-09
Posts: 206
Website

Re: Ristretto with keyboard/mouswheel navigation (xfce image viewer)

Thank you very much!

Just what I was missing in Ristretto, now I can leave the mouse for what it is.


Arch x86_64 on HP 6820s and on HP nx9420. Registered Linux User 350155, since 24-03-2004
"Everyone said that it could not be done, until someone came along who didn't know that."

Offline

#4 2009-05-01 00:50:52

taz
Member
Registered: 2009-03-04
Posts: 24

Re: Ristretto with keyboard/mouswheel navigation (xfce image viewer)

thanks a lot!


linux is <3

Offline

#5 2009-05-01 15:24:44

Devastator
Member
From: Poland
Registered: 2008-05-27
Posts: 179

Re: Ristretto with keyboard/mouswheel navigation (xfce image viewer)

Great job! That was exactly what I was missing in ristretto big_smile.


Some applications are WYSIWYG, and some are WYSIWTF.

Offline

#6 2009-05-01 20:53:36

robmaloy
Member
From: Germany
Registered: 2008-05-14
Posts: 263

Re: Ristretto with keyboard/mouswheel navigation (xfce image viewer)

Devastator wrote:

Great job! That was exactly what I was missing in ristretto big_smile.

to be honest, i just had to add about 8 lines of code wink


damn, i forgot about scrolling when the displayed image is larger than the display area.

anyone got a suggestion on how to handle this?

Last edited by robmaloy (2009-05-04 12:27:04)


☃ Snowman ☃

Offline

Board footer

Powered by FluxBB