Run Plexamp v3.0.0 on Debian 10

Start Plexamp in your shell using the --no-sandbox switch:

$ chmod +x /usr/local/bin/Plexamp-3.0.0.AppImage
$ /usr/local/bin/Plexamp-3.0.0.AppImage --no-sandbox

You’ll see some errors, but none are critical in terms of running the application. Of course there are security implications with turning off sandboxing for Electron but you’ll have to weigh them for yourself.

Previous Plexamp Versions had a nice Icon and installed a .desktop file, so it could be launched in your GUI but for now I’m afraid you have to stick to launching it via terminal.

I might add a custom .desktop file here in this thread if I find the time.

This seems to work, no icon though:

[Desktop Entry]
Encoding=UTF-8
Version=3.0.0
Type=Application
Terminal=false
Exec=/usr/local/bin/Plexamp-3.0.0.AppImage --no-sandbox
Name=Plexamp

Adjust the path where you saved your AppImage for the exec parameter and save this as ~/.local/share/applications/plexamp.desktop.

You can also unpack the AppImage and do some quick permission changes if you don’t want to run with the --no-sandbox flag.

$ ./Plexamp-3.0.0.AppImage --appimage-extract
$ cd squashfs-root/
$ sudo chown root chrome-sandbox
$ sudo chmod 4755 chrome-sandbox

The lack of an icon while running is quite annoying. I’m seeing if I can’t figure that out right now.

1 Like

Good idea!
This works (including icon):

$ cat ~/.local/share/applications/plexamp.desktop 
[Desktop Entry]
Name=Plexamp
Exec=/usr/local/bin/plexamp/squashfs-root/AppRun
Terminal=false
Type=Application
Icon=/usr/local/bin/plexamp/squashfs-root/plexamp.png
StartupWMClass=plexamp
X-AppImage-Version=3.0.0
Comment=The best little audio player on the planet
Categories=AudioVideo;

One very annoying thing though, I just found out: Plexamp creates a Library folder in my home to save it’s caches. Those belong into ~/.cache people! I do not appreciate you littering my tidy home dir with unneeded folders.

2 Likes

Ha. I’m not sure how I missed that. Yeah, that’s a no-go.

Oddly enough, this is being utilized by Plexamp; it just appears to be for everything but actual media.

Also, great job on the Desktop Entry – working perfectly.

I just copied the one already present in the AppImage and customized the paths.

You may already be aware of this, but if you create Plexamp-3.0.0.AppImage.config/.home directories beside Plexamp-3.0.0.AppImage it will write all its configuration/caches into those directories, respectively. I’m pretty sure you’ll have to run it in its un-extracted form, however.

I ended up with:

~/.local/Plexamp/
     Plexamp-3.0.0.AppImage
     Plexamp-3.0.0.AppImage.config
     Plexamp-3.0.0.AppImage.home
     plexamp.png

My plexamp.desktop (thanks for the idea @Azathoth) Exec and Icon options point to the appimage and png files in this directory. The structure above keeps Plexamp entirely contained within ~/.local/Plexamp.

That is awsome!
I wasn’t aware of that.

Thank you very much :slight_smile:

1 Like

This all works great, thanks for this all. :+1:t2:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.