Ubuntu for Windows — Can't open PDF files via xdg-openPrinting files as PDF with syntax highlighting via terminalubuntu document reader for acrobat pdf formsLooking for a PDF reader that handle large filesOMP error Bash on Ubuntu on WindowsI edited a Linux file with a Windows program while using the Windows Subsystem for Linux, and now I can't access it any moreOpen file behavior using Ranger in Windows Subsystem for LinuxTool for mirroring PDF-file?If zathura install both zathura-pdf-mupdf and zathura-pdf-poppler, which will be used when open pdf filespdf-files: results of “pdfid”Bash: search for keywords PDF files and return pages
Is it possible to do 50 km distance without any previous training?
Why is an old chain unsafe?
How do we improve the relationship with a client software team that performs poorly and is becoming less collaborative?
How is this relation reflexive?
I see my dog run
Can an x86 CPU running in real mode be considered to be basically an 8086 CPU?
What is the meaning of "of trouble" in the following sentence?
How to type dʒ symbol (IPA) on Mac?
Shell script can be run only with sh command
Why is "Reports" in sentence down without "The"
Why is this code 6.5x slower with optimizations enabled?
What are these boxed doors outside store fronts in New York?
How old can references or sources in a thesis be?
Concept of linear mappings are confusing me
Can you lasso down a wizard who is using the Levitate spell?
How do you conduct xenoanthropology after first contact?
Why did the Germans forbid the possession of pet pigeons in Rostov-on-Don in 1941?
declaring a variable twice in IIFE
Why was the small council so happy for Tyrion to become the Master of Coin?
Is Social Media Science Fiction?
Is it possible to make sharp wind that can cut stuff from afar?
least quadratic residue under GRH: an EXPLICIT bound
whey we use polarized capacitor?
What would happen to a modern skyscraper if it rains micro blackholes?
Ubuntu for Windows — Can't open PDF files via xdg-open
Printing files as PDF with syntax highlighting via terminalubuntu document reader for acrobat pdf formsLooking for a PDF reader that handle large filesOMP error Bash on Ubuntu on WindowsI edited a Linux file with a Windows program while using the Windows Subsystem for Linux, and now I can't access it any moreOpen file behavior using Ranger in Windows Subsystem for LinuxTool for mirroring PDF-file?If zathura install both zathura-pdf-mupdf and zathura-pdf-poppler, which will be used when open pdf filespdf-files: results of “pdfid”Bash: search for keywords PDF files and return pages
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
My default application for opening PDF files is Adobe Acrobat XI Pro.
I would like to be able to open PDF files using this program via the Windows Subsystem for Linux.
Currently when I run xdg-open main.pdf
I am getting this output:
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/% <-- HERE (.*?)/ at /usr/bin/run-mailcap line 528.
Error: no "view" rule for type "application/pdf" passed its test case
(for more information, add "--debug=1" on the command line)
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: www-browser: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: links2: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: elinks: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: links: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: lynx: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: w3m: not found
xdg-open: no method available for opening 'main.pdf'
Running xdg-mime query default application/pdf
gives me evince.desktop
. I am not sure what this is.
Running grep -i "pdf" /usr/share/applications/defaults.list
gives me:
application/pdf=evince.desktop
application/x-bzpdf=evince.desktop
application/x-gzpdf=evince.desktop
application/x-xzpdf=evince.desktop
bash pdf windows-subsystem-for-linux
New contributor
add a comment |
My default application for opening PDF files is Adobe Acrobat XI Pro.
I would like to be able to open PDF files using this program via the Windows Subsystem for Linux.
Currently when I run xdg-open main.pdf
I am getting this output:
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/% <-- HERE (.*?)/ at /usr/bin/run-mailcap line 528.
Error: no "view" rule for type "application/pdf" passed its test case
(for more information, add "--debug=1" on the command line)
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: www-browser: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: links2: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: elinks: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: links: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: lynx: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: w3m: not found
xdg-open: no method available for opening 'main.pdf'
Running xdg-mime query default application/pdf
gives me evince.desktop
. I am not sure what this is.
Running grep -i "pdf" /usr/share/applications/defaults.list
gives me:
application/pdf=evince.desktop
application/x-bzpdf=evince.desktop
application/x-gzpdf=evince.desktop
application/x-xzpdf=evince.desktop
bash pdf windows-subsystem-for-linux
New contributor
1
I don't think there is any practical way at all of doing this before 1903 (currently in Insider Preview); are you running that? If not there's no viable xdg-mime configuration that could do it and you'll need to wait a few months.
– Michael Homer
2 days ago
@MichaelHomer right now I'm running version 1803 and was about to upgrade to 1809
– Abraham
2 days ago
1
1903 has a 9P server and associated Windows VFS support to access files inside the Linux environments, but you can't get to them from the outside before that. The one other hope is that if all the PDFs you want to access are inside/mnt/...
you could reverse-engineer the host paths (i.e. turn/mnt/c/foo/bar.pdf
intoC:foobar.pdf
) and launch Acrobat against that, but otherwise I think you're out of luck for the moment. It's going to be a bit tricky even afterwards but I imagine someone will build the tooling once it's doable.
– Michael Homer
2 days ago
add a comment |
My default application for opening PDF files is Adobe Acrobat XI Pro.
I would like to be able to open PDF files using this program via the Windows Subsystem for Linux.
Currently when I run xdg-open main.pdf
I am getting this output:
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/% <-- HERE (.*?)/ at /usr/bin/run-mailcap line 528.
Error: no "view" rule for type "application/pdf" passed its test case
(for more information, add "--debug=1" on the command line)
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: www-browser: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: links2: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: elinks: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: links: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: lynx: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: w3m: not found
xdg-open: no method available for opening 'main.pdf'
Running xdg-mime query default application/pdf
gives me evince.desktop
. I am not sure what this is.
Running grep -i "pdf" /usr/share/applications/defaults.list
gives me:
application/pdf=evince.desktop
application/x-bzpdf=evince.desktop
application/x-gzpdf=evince.desktop
application/x-xzpdf=evince.desktop
bash pdf windows-subsystem-for-linux
New contributor
My default application for opening PDF files is Adobe Acrobat XI Pro.
I would like to be able to open PDF files using this program via the Windows Subsystem for Linux.
Currently when I run xdg-open main.pdf
I am getting this output:
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/% <-- HERE (.*?)/ at /usr/bin/run-mailcap line 528.
Error: no "view" rule for type "application/pdf" passed its test case
(for more information, add "--debug=1" on the command line)
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: www-browser: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: links2: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: elinks: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: links: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: lynx: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: w3m: not found
xdg-open: no method available for opening 'main.pdf'
Running xdg-mime query default application/pdf
gives me evince.desktop
. I am not sure what this is.
Running grep -i "pdf" /usr/share/applications/defaults.list
gives me:
application/pdf=evince.desktop
application/x-bzpdf=evince.desktop
application/x-gzpdf=evince.desktop
application/x-xzpdf=evince.desktop
bash pdf windows-subsystem-for-linux
bash pdf windows-subsystem-for-linux
New contributor
New contributor
edited 2 days ago
Rui F Ribeiro
42k1483142
42k1483142
New contributor
asked 2 days ago
AbrahamAbraham
61
61
New contributor
New contributor
1
I don't think there is any practical way at all of doing this before 1903 (currently in Insider Preview); are you running that? If not there's no viable xdg-mime configuration that could do it and you'll need to wait a few months.
– Michael Homer
2 days ago
@MichaelHomer right now I'm running version 1803 and was about to upgrade to 1809
– Abraham
2 days ago
1
1903 has a 9P server and associated Windows VFS support to access files inside the Linux environments, but you can't get to them from the outside before that. The one other hope is that if all the PDFs you want to access are inside/mnt/...
you could reverse-engineer the host paths (i.e. turn/mnt/c/foo/bar.pdf
intoC:foobar.pdf
) and launch Acrobat against that, but otherwise I think you're out of luck for the moment. It's going to be a bit tricky even afterwards but I imagine someone will build the tooling once it's doable.
– Michael Homer
2 days ago
add a comment |
1
I don't think there is any practical way at all of doing this before 1903 (currently in Insider Preview); are you running that? If not there's no viable xdg-mime configuration that could do it and you'll need to wait a few months.
– Michael Homer
2 days ago
@MichaelHomer right now I'm running version 1803 and was about to upgrade to 1809
– Abraham
2 days ago
1
1903 has a 9P server and associated Windows VFS support to access files inside the Linux environments, but you can't get to them from the outside before that. The one other hope is that if all the PDFs you want to access are inside/mnt/...
you could reverse-engineer the host paths (i.e. turn/mnt/c/foo/bar.pdf
intoC:foobar.pdf
) and launch Acrobat against that, but otherwise I think you're out of luck for the moment. It's going to be a bit tricky even afterwards but I imagine someone will build the tooling once it's doable.
– Michael Homer
2 days ago
1
1
I don't think there is any practical way at all of doing this before 1903 (currently in Insider Preview); are you running that? If not there's no viable xdg-mime configuration that could do it and you'll need to wait a few months.
– Michael Homer
2 days ago
I don't think there is any practical way at all of doing this before 1903 (currently in Insider Preview); are you running that? If not there's no viable xdg-mime configuration that could do it and you'll need to wait a few months.
– Michael Homer
2 days ago
@MichaelHomer right now I'm running version 1803 and was about to upgrade to 1809
– Abraham
2 days ago
@MichaelHomer right now I'm running version 1803 and was about to upgrade to 1809
– Abraham
2 days ago
1
1
1903 has a 9P server and associated Windows VFS support to access files inside the Linux environments, but you can't get to them from the outside before that. The one other hope is that if all the PDFs you want to access are inside
/mnt/...
you could reverse-engineer the host paths (i.e. turn /mnt/c/foo/bar.pdf
into C:foobar.pdf
) and launch Acrobat against that, but otherwise I think you're out of luck for the moment. It's going to be a bit tricky even afterwards but I imagine someone will build the tooling once it's doable.– Michael Homer
2 days ago
1903 has a 9P server and associated Windows VFS support to access files inside the Linux environments, but you can't get to them from the outside before that. The one other hope is that if all the PDFs you want to access are inside
/mnt/...
you could reverse-engineer the host paths (i.e. turn /mnt/c/foo/bar.pdf
into C:foobar.pdf
) and launch Acrobat against that, but otherwise I think you're out of luck for the moment. It's going to be a bit tricky even afterwards but I imagine someone will build the tooling once it's doable.– Michael Homer
2 days ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Abraham is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f510624%2fubuntu-for-windows-cant-open-pdf-files-via-xdg-open%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Abraham is a new contributor. Be nice, and check out our Code of Conduct.
Abraham is a new contributor. Be nice, and check out our Code of Conduct.
Abraham is a new contributor. Be nice, and check out our Code of Conduct.
Abraham is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f510624%2fubuntu-for-windows-cant-open-pdf-files-via-xdg-open%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
I don't think there is any practical way at all of doing this before 1903 (currently in Insider Preview); are you running that? If not there's no viable xdg-mime configuration that could do it and you'll need to wait a few months.
– Michael Homer
2 days ago
@MichaelHomer right now I'm running version 1803 and was about to upgrade to 1809
– Abraham
2 days ago
1
1903 has a 9P server and associated Windows VFS support to access files inside the Linux environments, but you can't get to them from the outside before that. The one other hope is that if all the PDFs you want to access are inside
/mnt/...
you could reverse-engineer the host paths (i.e. turn/mnt/c/foo/bar.pdf
intoC:foobar.pdf
) and launch Acrobat against that, but otherwise I think you're out of luck for the moment. It's going to be a bit tricky even afterwards but I imagine someone will build the tooling once it's doable.– Michael Homer
2 days ago