Closed otakutyrant closed 1 year ago
hmmm, it is actually the default behaviour. i think you did not remove the pre-existing uri-launcher setting (it is something like "uri-launcher echo"). remove that one.
I removed that and this is my setting:
<llppconfig>
<ui-font size='20'/>
<defaults>
<keymap mode='view'>
<map in='shift-space' out='delete'/>
</keymap>
</defaults>
</llppconfig>
But still the same error.
I used to use stow to link my setting to .config/llpp.conf
.
But surprisingly, when I open a pdf with llpp. .config/llpp.conf
will be overwriten. And its new content is:
<llppconfig>
<ui-font size='20'/>
<defaults
width='1800'
height='1500'
scroll-bar-width='7'
scroll-handle-height='12'
horizontal-scrollbar-visible='true'
vertical-scrollbar-visible='true'
case-insensitive-search='true'
preload='true'
page-bias='0'
scroll-step='24'
auto-scroll-step='2'
max-height-fit='true'
highlight-links='false'
under-cursor-info='false'
vertical-margin='2'
zoom='100'
presentation='false'
rotation-angle='0'
fit-model='proportional'
pixmap-cache-size='128M'
tex-count='256'
slice-height='24'
thumbnail-width='76'
background-color='127/127/127'
paper-color='255/255/255/0'
scrollbar-color='163/163/163/178'
scrollbar-handle-color='0/0/0/178'
texture-color='0/0/0/0'
tile-width='2048'
tile-height='2048'
mupdf-store-size='256M'
aalevel='8'
trim-margins='false'
trim-fuzz='0/0/0/0'
uri-launcher='echo 'Open %s' >&2'
path-launcher='echo 'Print %s' >&2'
color-space='rgb'
invert-colors='false'
brightness='1.000000'
selection-command='LC_CTYPE=UTF-8 xclip -i'
paste-command='LC_CTYPE=UTF-8 xclip -o'
synctex-command='echo SyncTex'
pax-command='echo PAX "%s">&2'
askpass-command=''
savepath-command=''
update-cursor='true'
hint-font-size='12'
horizontal-scroll-step='24'
page-scroll-scale='1.000000'
wheel-scrolls-pages='false'
remote-in-a-new-instance='false'
point-and-x='false'
point-and-x-mark='word'
scroll-bar-on-the-left='false'
last-visit='-9223372036854775808'
edit-annotations-inline='true'
coarse-presentation-positioning='false'
use-document-css='true'
dcf=''
hint-charset='aoeuidhtns'
rlw='420'
rlh='595'
rlem='11'>
<keymap mode='view'>
<map in='shift-space' out='del'/>
</keymap>
</defaults>
<doc path='/home/otakutyrant/Zotero/storage/C7W8AIUU/Wang et al. - 2022 - YOLOv7 Trainable bag-of-freebies sets new state-o.pdf'
key='90e835e1ffae63917c3fa7c281ca1012'
page='0' rely='0.463179'
width='1920'
height='1030'
title='Wang et al. - 2022 - YOLOv7 Trainable bag-of-freebies sets new state-o.pdf'
last-visit='1670563172'/>
</llppconfig>
No wonder I always fail to open llpp. There may be a bug that llpp will overwrite users' config.
I lost interest now.
As ArchWiki suggests, I add
uri-launcher='xdg-open "%s"'
in llpp.conf to open links. However when I click a link, llpp reported error messages:[Clear] Open https://github.com/rbgirshick/fast-rcnn
.I tried
xdg-open https://github.com/rbgirshick/fast-rcnn
, and it worked.