![]() ![]() Except that if it isn't there already, this implies it doesn't list that MIME type in its. ![]() Once that's done Geany should be in the list under "Open with" and you can set it via the GUI as the preferred application. ![]() I don't know whether you will have to reopen anything (the file manager, the LXDE session itself) in order for this to apply you shouldn't have to log in and out again (except to the extent that you will if you are using a display manager and you want to restart LXDE, but I suspect the most you'll have to do is restart pcmanfm). I tried this here and they ended up in ~/.config/mimeapps.list. txt files, I believe), and as far as I can tell we can't use some form of glob or regex directly here, but you can use a very long list, so here's a trick pilfered from the Arch linux wiki: xdg-mime default sktop $(grep "^text" /usr/share/mime/types) Covering all your bases is obviously going to be a bit tedious ( text/plain just covers literal. If you aren't familiar with MIME types they're an internet standard here's the official list of text/ ones. No sudo here and do it as the user you want this to apply to. desktop file, so the command would look something like: xdg-mime default sktop text/plain Since user preferences should take precedence it is that or ~/.local/share/applications/mimeapps.list which should apply I don't have a recent non-lite jessie image at hand so you may need to check if either or both already exist.īut before you bother you try xdg-mime have a look at man xdg-mime. There's a lot of explanation of various things in there that it still valid although there is now one more location for a mimeapps.list, ~/.config/mimeapps.list. An internet search for pcmanfm "file associations" led me to this page, which seems to confirm that, although it was written almost four years ago. I don't use LXDE or PCManFM but I am fairly certain they use XDG protocols, which are open standards implemented by various DE's. Unfortunately while that wiki page mentions "file associations", it doesn't explain how to customize them. The default GUI file manager on LXDE (the desktop environment used by Raspbian) is PCManFM. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |