mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-29 18:32:48 +00:00
fix: Add a fix for LibreOffice flatpak to correct a printing bug
This commit is contained in:
parent
e725c0f817
commit
9a22b180ac
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
# SCRIPT VERSION
|
# SCRIPT VERSION
|
||||||
VER=15
|
VER=16
|
||||||
VER_FILE="/etc/bazzite/flatpak_manager_version"
|
VER_FILE="/etc/bazzite/flatpak_manager_version"
|
||||||
VER_RAN=$(cat $VER_FILE)
|
VER_RAN=$(cat $VER_FILE)
|
||||||
IMAGE_INFO="/usr/share/ublue-os/image-info.json"
|
IMAGE_INFO="/usr/share/ublue-os/image-info.json"
|
||||||
@ -53,6 +53,13 @@ flatpak override \
|
|||||||
--env=MOZ_USE_XINPUT2=1 \
|
--env=MOZ_USE_XINPUT2=1 \
|
||||||
org.mozilla.firefox
|
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)
|
# 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
|
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 \
|
flatpak override \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user