You are not logged in.

#1 2014-08-29 19:33:24

antoyo
Member
Registered: 2012-08-16
Posts: 37

[Solved] Zathura PDF Reader not Reading Config File

Hello.
I have used for about two months this configuration script for Zathura:
http://bepo.fr/wiki/Zathura (French)

Last week, I installed ArchLinux on another computer, but this script does not seem to be loaded in Zathura for this computer:
I do not get my new key bindings.

I put this script at the same place as the other computer:

.config/zathura/zathurarc

but it does not work on the new install.

I tried to put it in:

/etc/zathurarc

but it is not loaded either.

Do you know why it is not loaded?
What can I do to solve this issue?

Thanks for your help.

Last edited by antoyo (2014-10-28 21:35:37)

Offline

#2 2014-08-29 19:42:40

ryzion
Member
Registered: 2012-03-20
Posts: 95

Re: [Solved] Zathura PDF Reader not Reading Config File

Does zathura produce any output after starting it in terminal?

Offline

#3 2014-10-28 21:35:19

antoyo
Member
Registered: 2012-08-16
Posts: 37

Re: [Solved] Zathura PDF Reader not Reading Config File

I finally found out how to solve this issue.
For some reason, I cannot use special characters or blank lines anymore in the configuration file.
So here is my new configuration file that works:

# hjkl -> ctsr
map t scroll down
map s scroll up
map c scroll left
map r scroll right
# JK -> TS
map T navigate next
map S navigate previous
# r -> p
map p rotate rotate-cw
# R -> u
map u reload
# b <-> a car le a est plus accessible
map b adjust_window best-fit
map a adjust_window width
# Mode Index
map [index] t navigate_index down
map [index] s navigate_index up
map [index] r navigate_index expand
map [index] c navigate_index collapse
map [index] R navigate_index expand-all
map [index] C navigate_index collapse-all

Offline

Board footer

Powered by FluxBB