Package Details: plex-desktop 1.109.0.329-1

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.095128
First Submitted: 2022-05-26 10:36 (UTC)
Last Updated: 2025-05-14 11:47 (UTC)

Required by (0)

Sources (5)

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 causing kde-open to try to load the Qt 6.6 libraries from /opt/plex-desktop/lib due to the LD_LIBRARY_PATH set in Plex.sh.

This can be solved by editing the RUNPATH of the binaries using chrpath then removing the LD_LIBRARY_PATH line from Plex.sh. It turns out The main Plex library has a working RUNPATH but includes a bunch of automation cruft. The transcoding binary does NOT have it set, and QtWebEngineProcess needs no changes. In /opt/plex-desktop/bin run:

chrpath -r '$ORIGIN/../lib' Plex
chrpath -r '$ORIGIN/../lib' Plex\ Transcoder

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 alter Plex.sh like this:

https://gist.github.com/mrgrim/1357da402f8ceccaf8224e145fa6acc3

This could even allow using LD_LIBRARY_PATH and not using chrpath. The choice is yours. Using chrpath seems cleaner but pulls in a dependency.

Latest Comments

« First ‹ Previous 1 .. 6 7 8 9 10 11

Moelf commented on 2022-05-29 16:39 (UTC)

font looks weird, what font should I have?

Moelf commented on 2022-05-28 01:18 (UTC)

ffmpeg4.4 needs to be added as a dependency

ludvigHz commented on 2022-05-27 05:49 (UTC)

Regarding wayland, it won't run. The MPV initialization code probably needs to be changed since I am pretty sure it's hard coded for X11 (like Plex media player is). I have notified the devs at Plex of the issue so hopefully they are working on it. There is nothing we can do to make it run on wayland in the mean time (as far as I'm aware).

duffydack commented on 2022-05-26 20:23 (UTC) (edited on 2022-05-27 08:48 (UTC) by duffydack)

On sway (no xwayland) it coredumps. It also depends on ffmpeg4.4 btw. I got it to work by enabling Xwayland, and running with QT_QPA_PLATFORM=xcb

TheFeelTrain commented on 2022-05-26 15:50 (UTC)

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.)