<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:10pt"><div>Fixed this by converting it using `iconv -c ... args` command, which deleted the wrong characters...</div><div>So now generic-icons file lists the icons I wanted, but... this has no impact on the file browser and LibreOffice icons</div><div>are still missing, even though mentioned in the database now.</div><div></div><div> </div><div>With kindest regards,<br><span style="color:rgb(0, 64, 127);">Kostya Berger</span><br></div>          <div><br></div><div class="yahoo_quoted" style="display: block; "> <br> <br> <div style="font-size: 10pt; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; "> <div style="font-size: 12pt; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; "> <div dir="ltr"> <font size="2"
 face="Arial"> On Monday, 30 December 2013, 22:30, Kostya Berger <bergerkos@yahoo.co.uk> wrote:<br> </font> </div> <blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div class="y_msg_container"><div id="yiv2019272804"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10pt; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; "><div><span>OK, I've found the file freedesktop.org.xml and tried to edit it in order to change the default icons used.</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; background-color: transparent; font-style: normal; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; "><span>Now update-mime-database complains that certain strings (in other languages) are not proper UTF-8 and </span></div><div style="color: rgb(0, 0, 0);
 font-size: 13px; background-color: transparent; font-style: normal; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; "><span>fails to update database at all, so all mime-type icons look the same.</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; background-color: transparent; font-style: normal; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; "><span><br clear="none"></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; background-color: transparent; font-style: normal; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; "><span>Could that be fixed somehow?</span></div><div></div><div> </div><div>With kindest regards,<br clear="none"><span style="color:rgb(0, 64, 127);">Kostya Berger</span><br clear="none"></div>          <div><br clear="none"></div><div class="yiv2019272804yqt5398978435"
 id="yiv2019272804yqt19362"><div class="yiv2019272804yahoo_quoted" style="display: block; "> <br clear="none"> <br clear="none"> <div style="font-size: 10pt; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; "> <div style="font-size: 12pt; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; "> <div dir="ltr"> <font size="2" face="Arial"> On Monday, 30 December 2013, 20:45, Jerome Leclanche
 <adys.wh@gmail.com> wrote:<br clear="none"> </font> </div> <blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;margin-top:5px;padding-left:5px;">  <div class="yiv2019272804y_msg_container">Packages ship their mime types in /usr/share/mime/packages. The<br clear="none">default mime types are shipped in<br clear="none">/usr/share/mime/packages/freedesktop.org.xml. These are xml files<br clear="none">containing all the mime types shipped by the application by its name.<br clear="none">update-mime-database "splits" it into the /usr/share/mime<br clear="none">subdirectories and builds some other cache files and such in that<br clear="none">directory.<br clear="none">J. Leclanche<br clear="none"><br clear="none"><div class="yiv2019272804yqt1067502386" id="yiv2019272804yqtfd18485"><br clear="none">On Mon, Dec 30, 2013 at 3:56 PM, Kostya Berger <<a rel="nofollow" shape="rect" ymailto="mailto:bergerkos@yahoo.co.uk" target="_blank"
 href="mailto:bergerkos@yahoo.co.uk">bergerkos@yahoo.co.uk</a>> wrote:<br clear="none">> Hi everyone and thank you for your hard work.<br clear="none">><br clear="none">> I'm running FreeBSD 9.2 and trying to configure a custom desktop consisting<br clear="none">> of openbox wm,<br clear="none">> pcmanfm file browser, midori web-browser etc. -- a minimalistic desktop<br clear="none">> configuration. No DE: no gnome, no lxde, no kde etc.<br clear="none">><br clear="none">> I also installed some gtk themese and icons, including engines and some<br clear="none">> gnome stuff.<br clear="none">> THE PROBLEM: Now what I'm noticing is that some mime type icons are not<br clear="none">> displayed by the file browser, other ones are ugly while better ones are<br clear="none">> installed in the same icon subfolder; so I started digging to figure out how<br clear="none">> this is being determined at all.<br
 clear="none">><br clear="none">> For example: certain icons are used, while other ones
 from the same icon set<br clear="none">> are not, file browser only shows file name and no icon.<br clear="none">> At that the right-click menu offers the right app to handle the file... So,<br clear="none">> defining a certain "gtk-icon-theme-name" in my .gtkrc-2.0 makes no<br clear="none">> difference, as obviously icons from that theme ARE used, while others are<br clear="none">> not (all icons are PNG images, no difference there either).<br clear="none">><br clear="none">> As I understand it, update-mime-database plays its role in the process. But<br clear="none">> there are certain uncertanities, sorry for the pan :)<br clear="none">> It is not clear to me, where update-mime-database utility is drawing its<br clear="none">> information on mime types and corresponding apps??<br clear="none">> The only folder containing FULL info on this is /usr/local/share/mime, with<br clear="none">> "application" subfolder
 having all the *.xml files defining each mime-type<br clear="none">> with an app to handle and icon to be used... Yet these are actually CREATED<br clear="none">> BY update-mime-database itself, as well as all files in the<br clear="none">> /usr/local/share/mime dir. So, everything in this dir is a direct RESULT of<br clear="none">> that utility, not the source it's drawing from.<br clear="none">><br clear="none">> HENCE, MY QUESTION:<br clear="none">> WHERE does update-mime-database draw its data from when creating all these<br clear="none">> files, can anybody please tell me?<br clear="none">> Because whatever files I HAVE found on my system so far, which would be more<br clear="none">> or less related to this, is all a RESULT of this utility, not the source of<br clear="none">> its "inspiration" so to say.<br clear="none">><br clear="none">> With kindest regards,<br clear="none">> Kostya Berger<br
 clear="none">><br clear="none">><br clear="none">> _______________________________________________<br clear="none">> xdg mailing list<br clear="none">> <a rel="nofollow" shape="rect" ymailto="mailto:xdg@lists.freedesktop.org" target="_blank" href="mailto:xdg@lists.freedesktop.org">xdg@lists.freedesktop.org</a><br clear="none">> <a rel="nofollow" shape="rect" target="_blank" href="http://lists.freedesktop.org/mailman/listinfo/xdg">http://lists.freedesktop.org/mailman/listinfo/xdg</a><br clear="none">><br clear="none"></div><br clear="none"><br clear="none"></div> </blockquote>  </div> </div>   </div></div> </div></div></div><br><br></div> </blockquote>  </div> </div>   </div> </div></body></html>