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;








1















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









share|improve this question









New contributor




Abraham is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 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 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

















1















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









share|improve this question









New contributor




Abraham is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 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 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













1












1








1








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









share|improve this question









New contributor




Abraham is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












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






share|improve this question









New contributor




Abraham is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Abraham is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 2 days ago









Rui F Ribeiro

42k1483142




42k1483142






New contributor




Abraham is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 days ago









AbrahamAbraham

61




61




New contributor




Abraham is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Abraham is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Abraham is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







  • 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 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












  • 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 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







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










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.









draft saved

draft discarded


















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.









draft saved

draft discarded


















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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.