Skip to content

Commit

Permalink
fix: Add a fix for LibreOffice flatpak to correct a printing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Jan 24, 2024
1 parent e725c0f commit 9a22b18
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion system_files/desktop/shared/usr/bin/bazzite-flatpak-manager
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/bash

# SCRIPT VERSION
VER=15
VER=16
VER_FILE="/etc/bazzite/flatpak_manager_version"
VER_RAN=$(cat $VER_FILE)
IMAGE_INFO="/usr/share/ublue-os/image-info.json"
Expand Down Expand Up @@ -53,6 +53,13 @@ flatpak override \
--env=MOZ_USE_XINPUT2=1 \
org.mozilla.firefox

# Fix printing on LibreOffice
flatpak override \
--system \
--socket=cups \
--socket=session-bus \
org.libreoffice.LibreOffice

# Params needed for HW accelerated video on Nvidia (Ignoring hybrid systems)
if [[ $IMAGE_FLAVOR =~ "nvidia" ]] && [ $(grep -o "\-display" <<< $(lshw -C display) | wc -l) -le 1 ] && grep -q "vendor: NVIDIA Corporation" <<< $(lshw -C display); then
flatpak override \
Expand Down

0 comments on commit 9a22b18

Please sign in to comment.