PocketCasts is a podcast software on iOS and Android. It’s a well-designed software with tons of options. Maybe one in all the finest options that PocketCasts has to supply is its web interface, which syncs with the cell app, and is accessible from any working system with a suitable web browser.

The web interface for PocketCasts could be very good. Nevertheless, it might be higher if there was a local Linux app to use. So, on this information, we’ll present you the way to take the PocketCasts web interface and switch it right into a native Linux software.

Notice: you need to have a PocketCasts Plus account to entry the web consumer interface. Extra data on that here.

Technique 1 – AppImage

Z

The easiest way to get the PocketCasts web interface on the Linux desktop is with a fan-made PocketCasts AppImage. Why? Not solely does it wrap up the lovely PocketCasts web UI right into a native Linux app, however it consists of assist for MPRIS, which gives the skill to management podcasts with multimedia controls, Linux desktop music-player integrations, and extra.

To get the PocketCasts AppImage file up and operating, launch a terminal window by urgent Ctrl + Alt + T or Ctrl + Shift + T on the keyboard. Then, use the wget downloader instrument to seize the newest launch.

wget 

After downloading the PocketCasts AppImage file to your Linux PC, use the mkdir command to create a brand new listing with the title “AppImages.”

mkdir -p ~/AppImages

When you’ve made the “AppImages” listing, transfer the AppImage file into it with the mv command.

mv pocket-casts-linux-1.2.1-x86_64.AppImage ~/AppImages/

When the PocketCasts AppImage file is in the new “AppImages” folder, it’s time to replace the permissions of it in order that it may possibly run on your Linux PC.

sudo chmod +x pocket-casts-linux-1.2.1-x86_64.AppImage

With the permissions up to date, you’ll be able to run PocketCasts for the first time with the following command.

./pocket-casts-linux-1.2.1-x86_64.AppImage

As quickly as PocketCasts is run for the first time, a desktop shortcut will seem in your Linux desktop’s app menu.

Technique 2 – Snap package deal

Should you’re not a fan of AppImages, one other method to get entry to the PocketCasts web app is thru the Snap retailer. To begin the set up of the unofficial Snap model of PocketCasts, open up a terminal window by urgent Ctrl + Alt + T on the keyboard. Then, use the snap set up command under to set up PocketCasts.

Notice: utilizing Snap packages on Linux requires the Snapd runtime. In case your system doesn’t have the Snapd runtime arrange, please observe this information right here to find out how to arrange Snapd. Or, take into account putting in Ubuntu Linux, as Snap assist is enabled out of the field.

sudo snap set up pocket-casts

Technique 3 – Nativefier

The third method of accessing the PocketCasts web interface on the Linux desktop is to construct an app with the Nativefier software.  To begin the constructing course of, you need to set up Npm. To try this, launch a terminal window by urgent Ctrl + Alt + T or Ctrl + Shift + T on the keyboard and observe the command-line directions under.

Ubuntu

sudo apt set up npm

Debian

su -
apt-get set up curl
curl -sL  | bash -
apt-get set up -y nodejs

Arch Linux

sudo pacman -S npm

Fedora

sudo dnf set up npm

OpenSUSE

sudo zypper set up npm

With the Npm instrument put in, get the newest model of Nativefier. Or, observe our in-depth information on how to arrange Nativefier if you happen to want one thing extra detailed.

npm set up nativefier -g

Constructing

With Npm and Nativefier put in on your Linux PC, begin the constructing course of by creating a brand new folder known as “pcasts-working-dir” in the “tmp” listing.

cd /tmp
mkdir -p pcasts-working-dir

Transfer into the “pcasts-working-dir” folder with the CD command.

cd pcasts-working-dir

Subsequent, use the wget downloader instrument to seize the PocketCasts emblem file. This file is required for the Linux desktop shortcut.

wget  -O icon.png

After downloading the PocketCasts file, use the Nativefier instrument to construct your very personal Linux app of the web interface.

nativefier -p linux -a x64 -i icon.png --disable-context-menu --disable-dev-tools --single-instance 

As soon as the program is constructed with Nativefier, use the mv command to rename the app  folder from “podcast-web-player-online-podcast-player-pocket-casts-linux-x64” to “pocketcasts”.

mv podcast-web-player-online-podcast-player-pocket-casts-linux-x64 pocketcasts

Now that the PocketCasts folder file is renamed, use the mv command to place the information into the “opt” listing.

sudo mv pocketcasts /decide/

Replace the permissions of the PocketCasts information.

sudo chmod 755 -R /decide/pocketcasts/

Subsequent, rename the PocketCasts binary.

cd /decide/pocketcasts

mv podcast-web-player-online-podcast-player-pocket-casts pocketcasts

Subsequent, create a brand new PocketCasts desktop shortcut.

sudo contact /usr/share/functions/pocketcasts.desktop

Open up the PocketCasts desktop shortcut file in Nano.

sudo nano /usr/share/functions/pocketcasts.desktop

Paste the code under into the file. Save with Ctrl + O and exit with Ctrl + X.

[Desktop Entry]
Remark[en_US]=Pay attention to Podcasts.
Remark=
Exec=/decide/pocketcasts/pocketcasts
GenericName[en_US]=Pocket Casts Podcast Participant
GenericName=Pocket Casts Podcast Participant
Icon=/decide/pocketcasts/assets/app/icon.png
MimeType=
Identify[en_US]=Pocket Casts
Identify=Pocket Casts
NoDisplay=false
Path=
Classes=Audio;Music;Participant;AudioVideo;
StartupNotify=true
Terminal=false
TerminalOptions=
Kind=Utility
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=

Lastly, replace the permissions of the new PocketCasts desktop shortcut file with the chmod command.

sudo chmod +x /usr/share/functions/pocketcasts.desktop



Source link

Share.
Leave A Reply

Exit mobile version