top | item 37994435

(no title)

mattegan | 2 years ago

Like others have mentioned, Sumatra is one of a few Windows-only utilities that I routinely miss when on Mac or Linux, primarily due to two simple interactions which I miss every day viewing schematics, mechanical/technical drawings or datasheets -- Alt + Scroll == Zoom and Right Click + Drag == Pan.

Does anyone know of any viewers on Mac or Linux that provide these two features? Skim on Mac implements Option + Scroll and Left Click + Drag Pan, but it's not reconfigurable to any other keys or mouse buttons.

discuss

order

vladvasiliu|2 years ago

Zathura does that under Linux, with the difference that zoom is achieved with Ctrl instead of Alt. Right-Click dragging = pan.

One feature I absolutely love is that Page Down goes to the top of the next page. It's very practical when you want to skim something quickly, with a zoom level that doesn't fit a page size perfectly.

plumeria|2 years ago

I really like Okular (especially with the theme that allows me to read PDFs with dark red background and yellow text), but haven't been able to run it on my Mac Mini with Apple silicon. The brew formula appears to be broken for newer macs.

TylerE|2 years ago

FoxIt does zoom on Ctrl+Scroll, and Pan on Left Click+Drag. Runs on Mac and I'd assume linux.

Close enough?

I assume if you REALLY want to go nuclear on it, there is some shareware app that will let you do per-app keyboard emulation and rebind inputs "in flight" or something.

I believe https://www.keyboardmaestro.com/main/ is the standard solution.

SV_BubbleTime|2 years ago

The linux version of foxit is absolute trash. They stopped development on years ago. It looks 1990 bad, a lot of features are missing.

It actually runs better under wine, with all sorts of errors that pop up because its updater Service can’t be found.

andrepd|2 years ago

I use qpdfview and I'm very happy. Loads of customisability.

eviks|2 years ago

> Skim on Mac implements Option + Scroll and Left Click + Drag Pan, but it's not reconfigurable to any other keys or mouse buttons

You can use Karabiner Elements + BetterTouchTool to rebind that when Skim is in the foreground?

viraptor|2 years ago

Every browser pdf reader I've seen handles the alt+scroll for zooming (since the browser itself does it) Not sure about panning shortcut.

keehun|2 years ago

I use three-finger drag on Mac (with a magic trackpad) and find that better than any combination of click & drag. Have you tried it?

mattegan|2 years ago

That's fair! I'm just not a big trackpad person since I find doing ECAD or MCAD with a trackpad to be not so enjoyable :)

Izkata|2 years ago

evince (linux) does Zoom with Ctrl + Scroll, maybe yours does too? I don't think it has Pan, but I'm keyboard-heavy and use horizontal scroll with Shift + Scroll.

joveian|2 years ago

Middle button and drag moves the text wherever you drag it.

The evince feature I can't live without is the find, which shows a side panel with all matches in the document along with a bit of context. I wish all document find everywhere did this.

barbs|2 years ago

Evince uses middle-click to pan

cmplxconjugate|2 years ago

I'm in the same boat. It's almost the only application I miss! I use Okular but I think Sumatra just has the right UI for me.

ww520|2 years ago

Can it run under Wine on Linux?

app4soft|2 years ago

Yes, it runs under Wine or CrossOver on Linux and Mac.