This is a project that creates an independent Prime profile on your Firefox browser and makes it almost look like a Prime app. So, this is not an app.
Also check out my Netflix on Linux project.
Because I do not recommend and use DRM option on my browser. Because I do not want to involve any plugin or extension or settings that do not respect my privacy. As known, Prime uses an advanced technology to protect its contents so you gotta compromise your privacy over your browser. Well, no. That's why I created a whole different profile just to use Prime.
To be able to use this on your Linux machine, requirements are:
- sudo privilege
- Firefox Browser
- GNOME Desktop Environment
- xdotool
sudo git clone https://github.com/kylethedeveloper/prime-on-linux.git /opt/prime-on-linux
cd /opt/prime-on-linux
sudo ./install
install
script does the following. Examine before running and use at your own risk
- Create a new Firefox profile called 'primeonlinux'
- Copy the profile properties that I prepared to the newly created profile.
- Run 'primeonlinux' profile for a moment to initialize the profile and close afterwards. (Initialization does not work sometimes)
- Copy the prime.desktop file to the /usr/share/applications directory.
- Restart GNOME Shell. (equivalent to Alt+F2+'r'+Enter)
To uninstall prime-on-linux from your system, go to application directory and run uninstall
script.
cd /opt/prime-on-linux
sudo ./uninstall
uninstall
script does the following. Examine before running and use at your own risk
- Open up Firefox Profile Manager for user to delete primeonlinux profile. At this step, do the following to properly uninstall Firefox profile. This must be done by hand as there is no command for it.
- Choose primeonlinux from the list.
- Click Delete Profile.
- Click Delete Files to remove all files associated with the profile.
- Exit.
- Delete files in
/opt/prime-on-linux
directory (except uninstall script). If desired, directory must be deleted manually. To do so, runsudo rm -rvf /opt/prime-on-linux
. - Delete
/usr/share/applications/prime.desktop
file.
- Make
user.js
more privacy friendly. - Prepare an uninstall script.
- Add xdotool to requirements.
Note: Prime homepage might not load at the first time you click on the icon, which it is supposed to. So the second time and forever will work.