You are not logged in.

#1 2016-04-07 05:10:48

lighthearted
Member
Registered: 2016-04-07
Posts: 9

[SOLVED] llpp shortcut for duplicating window

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

#2 2016-04-07 05:54:38

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] llpp shortcut for duplicating window

Which PDF viewer are you using?

Moving to NC.

Offline

#3 2016-04-07 13:29:17

lighthearted
Member
Registered: 2016-04-07
Posts: 9

Re: [SOLVED] llpp shortcut for duplicating window

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

#4 2016-04-07 13:31:28

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] llpp shortcut for duplicating window

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

#5 2016-04-07 14:54:25

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [SOLVED] llpp shortcut for duplicating window

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

#6 2016-04-07 16:44:24

lighthearted
Member
Registered: 2016-04-07
Posts: 9

Re: [SOLVED] llpp shortcut for duplicating window

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

#7 2016-04-08 04:53:52

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] llpp shortcut for duplicating window

Sorry for the confusion lighthearted and thanks for the clarification WorMzy smile

Offline

#8 2016-04-11 03:02:55

lighthearted
Member
Registered: 2016-04-07
Posts: 9

Re: [SOLVED] llpp shortcut for duplicating window

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

#9 2016-05-04 04:54:19

tutu
Member
Registered: 2015-11-11
Posts: 30

Re: [SOLVED] llpp shortcut for duplicating window

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 &quot;%s&quot;'

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

#10 2016-05-04 20:25:34

lighthearted
Member
Registered: 2016-04-07
Posts: 9

Re: [SOLVED] llpp shortcut for duplicating window

tutu, that worked! Thank you!

Offline

#11 2016-05-05 04:34:09

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] llpp shortcut for duplicating window

@lighthearted,

Please mark the thread as solved.

Offline

Board footer

Powered by FluxBB