Debian Codegraph @

cleaners/liferea.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4 BleachBit
5 Copyright (C) 2008-2025 Andrew Ziem
6 https://www.bleachbit.org
7
8 This program is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
20
21 -->
22 <cleaner id="liferea" os="linux">
23 <label>Liferea</label>
24 <running type="exe" same_user="true">liferea-bin</running>
25 <!-- Newer Liferea releases do not have a "liferea" wrapper anymore. Just a binary -->
26 <running type="exe" same_user="true">liferea</running>
27 <option id="cache">
28 <label>Cache</label>
29 <description>Delete the cache</description>
30 <action command="delete" search="walk.files" path="~/.liferea_1.4/cache/"/>
31 <action command="delete" search="walk.files" path="~/.liferea_1.6/cache/"/>
32 <action command="delete" search="walk.files" path="~/.liferea_1.8/cache/"/>
33 <action command="delete" search="walk.files" path="~/.liferea_1.4/mozilla/liferea/Cache/"/>
34 <!-- Note: starting with 1.6 Liferea does not use Mozilla anymore (using WebKitGTK now) -->
35 <!-- ~/.cache/liferea/ seen in version 1.10.17 -->
36 <action command="delete" search="walk.files" path="~/.cache/liferea/"/>
37 </option>
38 <option id="cookies">
39 <label>Cookies</label>
40 <description>Delete cookies, which store login information, website preferences, and tracking identifiers</description>
41 <action command="delete" search="file" path="~/.liferea_1.4/mozilla/liferea/cookies.sqlite"/>
42 <!-- Note: The WebkitGTK rendering used since 1.6 does not persist cookies and auth -->
43 <!-- ~/.config/liferea/cookies.txt seen in 1.10.17 -->
44 <action command="delete" search="file" path="~/.config/liferea/cookies.txt"/>
45 </option>
46 <option id="vacuum">
47 <label>Vacuum</label>
48 <description>Clean database fragmentation to reduce space and improve speed without removing any data</description>
49 <action command="sqlite.vacuum" search="file" path="~/.liferea_1.4/liferea.db"/>
50 <action command="sqlite.vacuum" search="file" path="~/.liferea_1.4/mozilla/liferea/cookies.sqlite"/>
51 <action command="sqlite.vacuum" search="file" path="~/.liferea_1.4/mozilla/liferea/permissions.sqlite"/>
52 <action command="sqlite.vacuum" search="file" path="~/.liferea_1.4/mozilla/liferea/places.sqlite"/>
53 <action command="sqlite.vacuum" search="file" path="~/.liferea_1.6/liferea.db"/>
54 <action command="sqlite.vacuum" search="file" path="~/.liferea_1.8/liferea.db"/>
55 <!-- since 1.10 Liferea follows XDG paths -->
56 <action command="sqlite.vacuum" search="file" path="$XDG_DATA_HOME/liferea/liferea.db"/>
57 </option>
58 </cleaner>