This is a project that creates an independent Netflix profile on your Firefox browser and makes it almost look like a Netflix app. So, this is not an app.
Also check out my Prime 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, Netflix 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 Netflix.
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/netflix-on-linux.git /opt/netflix-on-linux
cd /opt/netflix-on-linux
sudo ./install
install
script does the following. Examine before running and use at your own risk
- Create a new Firefox profile called 'netflixonlinux'
- Copy the profile properties that I prepared to the newly created profile.
- Run 'netflixonlinux' profile for a moment to initialize the profile and close afterwards. (Initialization does not work sometimes)
- Copy the netflix.desktop file to the /usr/share/applications directory.
- Restart GNOME Shell. (equivalent to Alt+F2+'r'+Enter)
To uninstall netflix-on-linux from your system, go to application directory and run uninstall
script.
cd /opt/netflix-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 netflixonlinux 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 netflixonlinux from the list.
- Click Delete Profile.
- Click Delete Files to remove all files associated with the profile.
- Exit.
- Delete files in
/opt/netflix-on-linux
directory (except uninstall script). If desired, directory must be deleted manually. To do so, runsudo rm -rvf /opt/netflix-on-linux
. - Delete
/usr/share/applications/netflix.desktop
file.
- Make
user.js
more privacy friendly. - Prepare an uninstall script.
- Add xdotool to requirements.
Note: Netflix 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.