Debian Codegraph @

cleaners/libreoffice.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4 SPDX-License-Identifier: GPL-3.0-or-later
5 Copyright (c) 2008-2026 Andrew Ziem.
6
7 This work is licensed under the terms of the GNU GPL, version 3 or
8 later. See the COPYING file in the top-level directory.
9
10 OpenOffice.org and Apache OpenOffice.org are covered in `openoffice.xml`.
11
12 Note:
13 Deleting $XDG_CONFIG_HOME/libreoffice/4/user/uno_packages (or equivalent)
14 will uninstall all extensions.
15
16 -->
17 <cleaner id="libreoffice">
18 <label>LibreOffice</label>
19 <description>Office suite</description>
20 <running type="exe" os="unix" same_user="true">soffice.bin</running>
21 <running type="exe" os="macos" same_user="true">soffice</running>
22 <running type="exe" os="windows" same_user="true">soffice.exe</running>
23 <option id="history">
24 <label>History</label>
25 <description>Delete the usage history</description>
26 <!-- LibreOffice 3 on OpenSUSE from OpenSUSE repo uses ~/.libreoffice/3-suse/user// -->
27 <!-- LibreOffice 3.4.5 on Fedora 16 uses ~/.libreoffice/3/user -->
28 <!-- LibreOffice 3.5 on Mint 9 (Ubuntu 10.04) uses ~/.config/libreoffice/3/user/ -->
29 <!-- LibreOffice 4 on Ubuntu 13.04 uses ~/.config/libreoffice/4/user -->
30 <action command="office_registrymodifications" search="file" path="$APPDATA\LibreOffice\3\user\registrymodifications.xcu"/>
31 <action command="office_registrymodifications" search="file" path="$APPDATA\LibreOffice\4\user\registrymodifications.xcu"/>
32 <action command="office_registrymodifications" search="file" path="$XDG_CONFIG_HOME/libreoffice/3/user/registrymodifications.xcu"/>
33 <action command="office_registrymodifications" search="file" path="$XDG_CONFIG_HOME/libreoffice/4/user/registrymodifications.xcu"/>
34 <action command="office_registrymodifications" search="file" path="~/.libreoffice/3-suse/user/registrymodifications.xcu"/>
35 <action command="office_registrymodifications" search="file" path="~/.libreoffice/3/user/registrymodifications.xcu"/>
36 <!-- LibreOffice 26.2 on macOS 26 uses ~/Library/Application Support/LibreOffice/4/user -->
37 <action command="office_registrymodifications" search="file" path="~/Library/Application Support/LibreOffice/4/user/registrymodifications.xcu" os="macos"/>
38 </option>
39 </cleaner>