In case anyone has the same issue as me if you want to control UI scaling you can use the QT_SCALE_FACTOR
environment variable. (0.75, 1.0, 1.25, etc.)
Search Criteria
Package Details: plex-desktop 1.108.1.307-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/plex-desktop.git (read-only, click to copy) |
---|---|
Package Base: | plex-desktop |
Description: | Plex desktop client for linux |
Upstream URL: | http://plex.tv |
Keywords: | media player plex |
Licenses: | unknown |
Submitter: | ludvigHz |
Maintainer: | username227 |
Last Packager: | username227 |
Votes: | 18 |
Popularity: | 0.32 |
First Submitted: | 2022-05-26 10:36 (UTC) |
Last Updated: | 2025-02-14 03:01 (UTC) |
Dependencies (48)
- alsa-lib
- dbus (dbus-gitAUR, dbus-selinuxAUR)
- expat (expat-gitAUR)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-ffplayoutAUR, ffmpeg-headlessAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-gitAUR, ffmpeg-full-gitAUR, ffmpeg-amd-full-gitAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- freetype2 (freetype2-macosAUR, freetype2-qdoledAUR, freetype2-gitAUR, freetype2-qdoled-aw3225qfAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR)
- harfbuzz (harfbuzz-gitAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- lcms2 (lcms2-ff-gitAUR, lcms2-gitAUR, lcms2-ffAUR)
- libdrm (libdrm-gitAUR)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, nvidia-340xx-utilsAUR, amdgpu-pro-oglpAUR, libglvnd)
- libjpeg-turbo (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR)
- libva (libva-gitAUR, intel-media-stack-binAUR, libva-headlessAUR)
- libwebp (libwebp-gitAUR)
- libx11 (libx11-gitAUR)
- libxcb (libxcb-gitAUR)
- Show 28 more dependencies...
Required by (0)
Sources (5)
- http://ftp.us.debian.org/debian/pool/main/libw/libwebp/libwebp6_0.6.1-2.1+deb11u2_amd64.deb
- https://artifacts.plex.tv/plex-desktop-stable/1.108.1.307-dd5b87aa/linux/Plex-1.108.1.307-dd5b87aa-linux-x86_64.tar.bz2
- https://github.com/flathub/tv.plex.PlexDesktop/raw/master/tv.plex.PlexDesktop.desktop
- https://github.com/flathub/tv.plex.PlexDesktop/raw/master/tv.plex.PlexDesktop.png
- iconpatch.patch
Pinned Comments
mrgrim commented on 2024-10-01 05:16 (UTC) (edited on 2024-10-01 05:20 (UTC) by mrgrim)
The Qt 6.7 problem is an issue where
xdg-open
inherits the environment of the Plex app causingkde-open
to try to load the Qt 6.6 libraries from/opt/plex-desktop/lib
due to theLD_LIBRARY_PATH
set inPlex.sh
.This can be solved by editing the
RUNPATH
of the binaries usingchrpath
then removing theLD_LIBRARY_PATH
line fromPlex.sh
. It turns out The main Plex library has a workingRUNPATH
but includes a bunch of automation cruft. The transcoding binary does NOT have it set, andQtWebEngineProcess
needs no changes. In/opt/plex-desktop/bin
run:However, this only exposes additional issues with all of the Qt environment variables set in this script. I couldn't find a super clean way to fix this, but interestingly enough KDE uses a little utility for their AppImage deployments to deal with this exact problem:
https://invent.kde.org/brauch/appimage-exec-wrapper/
Compile it and copy the
exec.so
file into/opt/plex-desktop/lib
then alterPlex.sh
like this:https://gist.github.com/mrgrim/1357da402f8ceccaf8224e145fa6acc3
This could even allow using
LD_LIBRARY_PATH
and not usingchrpath
. The choice is yours. Usingchrpath
seems cleaner but pulls in a dependency.