From Bluefish Wiki
Jump to: navigation, search


<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="">
  <mime-type type="text/html">
    <comment>server parsed HTML</comment>
    <glob pattern="*.shtml"/>

There is no .shtml extension in /usr/share/mime/packages/ (or /usr/local/share/mime/packages/ from package shared-mime-info-0.90

If files with extension .shtml are not highlighted as HTML in Bluefish

  1. copy the xml file above in Bluefish and save it as shtml.xml in ~/.bluefish
  2. create ~/.local/share/mime/packages directory if it does not exist
  3. copy shtml.xml in ~/.local/share/mime/packages/
  4. update the mime database
$ mkdir -p ~/.local/share/mime/packages
$ cp ~/.bluefish/shtml.xml  ~/.local/share/mime/packages/
$ update-mime-database ~/.local/share/mime/

See also: