You are not logged in.
I'd like to have a keyboard shortcut (like Ctrl-n) which will open the current pdf in a new window. Any ideas?
Last edited by lighthearted (2016-05-05 04:47:41)
Offline
Which PDF viewer are you using?
Moving to NC.
Offline
When I press h, it says "fitz 1.8" at the top. Is that it? I have poppler installed but don't have mupdf installed.
Offline
You can't tell for sure which PDF viewer you are using? Which DE/WM are you using? Did you install Arch Linux yourself? Please post the output of
uname -a
Offline
x33a, I may have missed something here, but llpp is a PDF viewer available on the AUR.
lighthearted, see https://wiki.archlinux.org/index.php/Ll … y_bindings
Mod note: moving to AUR issues.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Ah yes, my PDF viewer is llpp (I put that in the subject). WorMzy, I did look at that page, but I have some issues. The llpp.conf that gets generated when I open a pdf is not of the same format: it looks like
<llppconfig>
<defaults
...
/>
<doc
...
/>
</llppconfig>
i.e. the closing tags are different. I very recently installed llpp from AUR, but when I press h it says the version is unknown. I tried different ways of setting the keymap example on the llpp page https://wiki.archlinux.org/index.php/Ll … y_bindings, but I couldn't get it to work.
My other issue is that besides the formatting of the llpp config file, I wouldn't know how to carry out that command. Is there documentation somewhere?
Last edited by lighthearted (2016-04-07 16:44:48)
Offline
Sorry for the confusion lighthearted and thanks for the clarification WorMzy
Offline
I've got the config file format down, and some examples working. When I look at the examples online though, like this one: https://gist.github.com/holomorph/9d8e5f483465d92ee69c, all the keymaps seem to be mapping keys to other keys that already exist. I don't know how to make llpp do something that is perhaps "outside" its scope; it doesn't seem to have a command for opening files either.
Offline
Hi there lighthearted - There is away to open the same file in a new window. On your llpp.conf there must be a line that contains path-launcher. Make sure it looks like this:
path-launcher='llpp "%s"'
You can call this by pressing Ctrl+p. If you want to use Ctrl+n instead, you can do a key remap in llpp as described above.
One of the ideas of path launcher was to call a printing command but you can use it for anything. For example, if you want to open the current pdf with a pdf reader with fill forms capability or an pdf editor.
Hope this helps.
Offline
tutu, that worked! Thank you!
Offline
@lighthearted,
Please mark the thread as solved.
Offline