I'm stuck with a broken link problem. I installed Manjaro Linux and Emacs 27.2. I use org mode for my every day planning at work. I have a lot of internal links to open PDF, ODT, PNG files, etc.
Since my new install, the links don't open anymore. The path in the buffer is all messed up and I think it's related with my language environment (French) but I'm unable to find a solution.
Here is the path in the buffer and this is the good path: /home/martin/MEGA/.CMDP/4.Departements/Urgence/Fluidité/Rapport intervention Anna_Laberge.pdf
Any clues for a solution?
Result for the locale
command:
LANG=fr_CA.UTF-8
LC_CTYPE="fr_CA.UTF-8"
LC_NUMERIC=fr_CA.UTF-8
LC_TIME=fr_CA.UTF-8
LC_COLLATE="fr_CA.UTF-8"
LC_MONETARY=fr_CA.UTF-8
LC_MESSAGES="fr_CA.UTF-8"
LC_PAPER=fr_CA.UTF-8
LC_NAME=fr_CA.UTF-8
LC_ADDRESS=fr_CA.UTF-8
LC_TELEPHONE=fr_CA.UTF-8
LC_MEASUREMENT=fr_CA.UTF-8
LC_IDENTIFICATION=fr_CA.UTF-8
LC_ALL=
Answering a question in a comment:
This command work fine and it open my document: /usr/bin/xdg-open '/home/martin/MEGA/.CMDP/2.Comites/Obligatoires/CEAMDP/Départements/MédecineGénérale/Méd. fam. crit explicites 24 novembre 2021.pdf'
org mode version 9.4.4 emacs 27.2
Just found curiously that the link work with a right mouse click...but not with the left one Weird...
M-x org-toggle-link-display
, the links in the Org mode file are going to be shown fully (the URL, as well as the description). Please cut and paste (as text) the URL and add it to your question. URL escaping is a tricky business and it may have something to do with your problem, but we have to see the original link to make sure.