Package Details: plex-desktop 1.108.1.307-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: 19
Popularity: 0.57
First Submitted: 2022-05-26 10:36 (UTC)
Last Updated: 2025-02-14 03:01 (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 2 3 4 5 6 7 8 9 10 11 Next › Last »

matt17br commented on 2024-06-04 21:43 (UTC)

@username227 it doesn't look as though this actually works for me -- I get stuck trying to log-in to my Plex account, and the sign in button is unresponsive.

username227 commented on 2024-06-04 19:01 (UTC)

Whoever got this working today, you have my unndying gratitude. Now i can get rid of my only flatpak. :-) Out of curiosity, how did you do it?

ipaqmaster commented on 2024-05-18 03:27 (UTC) (edited on 2024-05-18 03:47 (UTC) by ipaqmaster)

Tried to build the package myself with the snap for 1.92.1.

But its missing a ton of libraries it expects in /usr/lib/plex-desktop. The only provider of libavformat.so.59 was plex-media-server from my own package builds. Which when extracted from its ZST and LD_LIBRARY_PATHed causes it to throw "No version available" errors for other libraries.

Can probably get it going with a bunch of hacking about but its frustrating for sure.

Running flatpak in a temporary environment solved my playback issues with Plex. Disappointing it cant be a normal package.

ludvigHz commented on 2023-11-19 12:16 (UTC)

@LitusMike2 This package is unmaintained. I made it orphaned now to reflect this. I suggest you use the flatpak now that it's officially supported.

LitusMike2 commented on 2023-11-15 03:31 (UTC)

/usr/bin/plex-desktop: line 49: 1060307 Segmentation fault (core dumped) "$BASE_DIR"/bin/Plex "$@"

whats going on? now it's just segfaulting on startup.

ben2talk commented on 2023-07-30 02:55 (UTC)

Now we should go with plex-HTPC Flatpak I believe.

vagelis commented on 2023-01-28 11:08 (UTC)

@ludvigHz yes I was referring to the snap package. Thanx for the guidance I'll check the plex forum

BIL4X4 commented on 2023-01-27 02:33 (UTC)

I do not have any sound anymore. does anyone else have this issue?

ludvigHz commented on 2023-01-16 14:43 (UTC)

@vagelis I hope you are not referring to the snap package? As that has nothing to do with this AUR package. Issues with official packages should be reported directly to plex (via their forums f.ex.)

If you are referring to this package, then any audio issues you have are dependent on your system configuration and audio setup. Volume control in the plex app works just fine for supported audio interfaces.

vagelis commented on 2023-01-16 14:05 (UTC)

plex-desktop when installed from snap in Arch Linux, volume control is inconsequential, meaning your roll it up and down and does nothing to the volume.