Shtml.xml
shtml.xml
<?xml version="1.0" encoding="UTF-8"?> <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> <mime-type type="text/html"> <comment>server parsed HTML</comment> <glob pattern="*.shtml"/> </mime-type> </mime-info>
There is no .shtml extension in /usr/share/mime/packages/freedesktop.org.xml (or /usr/local/share/mime/packages/freedesktop.org.xml) from package shared-mime-info-0.90
If files with extension .shtml are not highlighted as HTML in Bluefish
- copy the xml file above in Bluefish and save it as shtml.xml in ~/.bluefish
- create ~/.local/share/mime/packages directory if it does not exist
- copy shtml.xml in ~/.local/share/mime/packages/
- update the mime database
$ mkdir -p ~/.local/share/mime/packages $ cp ~/.bluefish/shtml.xml ~/.local/share/mime/packages/ $ update-mime-database ~/.local/share/mime/