Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On README.md file Enter: "Can't exec "xterm": No such file or directory" #11

Open
vitaly-zdanevich opened this issue Jul 6, 2024 · 4 comments

Comments

@vitaly-zdanevich
Copy link

$ ./dfm 
Opening "/tmp/dfm/README.md" with Vim  (text/markdown)
Can't exec "xterm": No such file or directory at /usr/lib64/perl5/vendor_perl/5.38/File/DesktopEntry.pm line 247.
/usr/bin/xdg-open: line 1045: x-www-browser: command not found
@amarakon
Copy link
Owner

amarakon commented Jul 6, 2024

Hmmm I’m not sure what’s causing this issue. Do you these lines in ~/.config/mimeapps.list?

[Default Applications]
text/markdown=vim.desktop

If not, xdg-open tries to guess what you want to open the file with by executing a bunch of commands like xterm and x-www-browser.

@vitaly-zdanevich
Copy link
Author

Do you these lines

No I did not have...

@vitaly-zdanevich
Copy link
Author

Is it safe to manually add to this file - or will some software override it?

@amarakon
Copy link
Owner

Hey, sorry for the response. Yes, you should add this file. Replace vim with whatever application you want to open markdown files with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants