[dolphin] [Bug 3212] Option to hide backup files as well as dotfiles?

Bill bugzilla_noreply at kde.org
Wed Sep 27 07:59:42 BST 2023


https://bugs.kde.org/show_bug.cgi?id=3212

--- Comment #84 from Bill <zotsynszklargtkrtm at cazlq.com> ---
Update: I found a workaround which works in XFCE to unhide .bak/.old files in
Dolphin.
Create the file /usr/share/mime/packages/backup.xml with the following
contents:

<?xml version="1.0" encoding="utf-8"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
    <mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info"
type="application/x-backup">
      <comment>Backups</comment>
      <generic-icon name="application/x-backup"/>
      <glob pattern="*~"/>
      <glob pattern="*%"/>
      <glob pattern="*.bak"/>
      <glob pattern="*.old"/>
      <glob pattern="*.sik"/>
      <icon name="application-x-trash"/>
    </mime-type>
</mime-info>

Then run:
sudo update-mime-database /usr/share/mime

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list