Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  shared-mime-info

    Posted Tue August 11, 2020 09:07 AM
    Hello Team,

    while upgrading our systems with yum or dnf I recognized this message while upgrading "shared-mime-info":

    Installing       : shared-mime-info-1.6-2.ppc
      Running scriptlet: shared-mime-info-1.6-2.ppc
    
    Note that '/opt/freeware/share' is not in the search path
    set by the XDG_DATA_HOME and XDG_DATA_DIRS
    environment variables, so applications may not
    be able to find it until you set them. The
    directories currently searched are:
    
    - /root/.local/share
    - /usr/local/share/
    - /usr/share/
    ​

    I've already checked in google for it, but could not find a solution.

    Where and how exactly should I add the mentioned search path and what is it for?

    Many thanks in advance for your support,

    Joerg



    ------------------------------
    Best regards,
    Joerg Kauke
    Unix Administrator
    COOP Switzerland
    ------------------------------

    #AIXOpenSource


  • 2.  RE: shared-mime-info

    Posted Tue August 11, 2020 11:57 AM
    # rpm -q shared-mime-info-1.6-2.ppc --scripts
    postinstall scriptlet (using /bin/sh):
    /opt/freeware/bin/update-mime-database /opt/freeware/share/mime > /dev/null
    The message is thrown by the above post-install script which updates the MIME database. 

    If you use X desktop applications which wants to figure out the file types , extensions and icons, then you might need to care about this settings.
    https://help.gnome.org/admin/system-admin-guide/stable/mime-types.html.en
    Otherwise you can ignore this.

    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: shared-mime-info

    Posted Wed August 12, 2020 02:17 AM
    Thanks a lot Ayappan for your explanation. I will check for that...

    best regards,
    Joerg

    ------------------------------
    Joerg Kauke
    Unix Administrator
    COOP Switzerland
    ------------------------------