Skip to content

Commit f497a7c

Browse files
committed
Add OnlyOffice
1 parent 174353f commit f497a7c

File tree

8 files changed

+36
-0
lines changed

8 files changed

+36
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
version=$(get_release ONLYOFFICE/DesktopEditors)
4+
arm64_url="https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v${version}/onlyoffice-desktopeditors_arm64.deb"
5+
6+
source $GITHUB_WORKSPACE/.github/workflows/update_github_script.sh

apps/OnlyOffice/credits

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Botspot

apps/OnlyOffice/description

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Open source Microsoft Office alternative, with a better interface than LibreOffice
2+
OpenOffice combines the best features of WPS Office and LibreOffice: it has a more familiar interface, and it's actually open source. It can edit documents, spreadsheets, presentations, and PDFs.
3+
4+
To run: Menu -> Office -> ONLYOFFICE
5+
To run in a terminal: onlyoffice-desktopeditors
6+
7+
NOTE: You may encounter slow performance because OnlyOffice cannot run natively in Wayland. It uses a Qt5 window with CEF for the GUI, all as a X11 window.

apps/OnlyOffice/icon-24.png

1.24 KB
Loading

apps/OnlyOffice/icon-64.png

1.05 KB
Loading

apps/OnlyOffice/install-64

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
version=9.2.1
4+
5+
install_packages https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v${version}/onlyoffice-desktopeditors_arm64.deb || exit 1
6+
7+
#refresh icon so it shows up in the menu (non-fatal)
8+
sudo xdg-icon-resource forceupdate --mode system || true
9+
10+
#crudely detect dark theme, and if so, enable it automatically if no config file already exists
11+
if [ "$(gsettings get org.gnome.desktop.interface color-scheme)" == "'prefer-dark'" ] || [ "$(gsettings get org.gnome.desktop.interface gtk-theme)" == 'PiXnoir' ];then
12+
if [ ! -f ~/.config/onlyoffice/DesktopEditors.conf ];then
13+
status "Enabling dark theme"
14+
echo '[General]
15+
UITheme=theme-night' > ~/.config/onlyoffice/DesktopEditors.conf
16+
fi
17+
fi

apps/OnlyOffice/uninstall

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
#Allow packages required by this app to be uninstalled
4+
purge_packages || exit 1

apps/OnlyOffice/website

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
https://www.onlyoffice.com/download-desktop

0 commit comments

Comments
 (0)