Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: Get Netflix working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
white_tiger
n00b
n00b


Joined: 04 Oct 2011
Posts: 33

PostPosted: Sun Mar 16, 2014 6:00 am    Post subject: HOWTO: Get Netflix working Reply with quote

To get Netflix working on your Gentoo machine is not that hard and you don't have to compile the software yourself, just use the ebuilds that are there already.

First thing is make sure that xattr is active:

When you using an ext4 file system you don't have to worry about xattr as of kernel 3.7 since it is active by default.

Is you are using an ext3 filesystem you need to make sure you build it with the extended attributes option active.
Code:

File systems  --->
    Ext3 journalling file system support
[*]     Ext3 extended attributes


Next you need to mount your ext3 file system with xattr by setting it in your /etc/fstab.
Again only needed when you are using an ext3 file system.
Code:

# <fs>          <mountpoint>    <type>          <opts>          <dump/pass>
/dev/sd(x)              /               ext3           user_xattr      0 1


Get the compholio patches here to be applied in the wine ebuild later on.

Unpack the tar.gz as user
Code:

tar -xvzf patches.tar.gz


When your not using the unstable tree you need to do the next step first to get wine 1.7.14:

As root:
For x86 systems.
Code:
echo “app-emulation/wine ~x86” >> /etc/portage/package.keywords

For amd64 systems.
Code:
echo “app-emulation/wine ~amd64” >> /etc/portage/package.keywords


Next we have to make sure the patches can be loaded in the ebuild of wine.

Code:
mkdir -p /etc/portage/patches/app-emulation/wine-1.7.14


Code:
cp patches/*.patch /etc/portage/patches/app-emulation/wine-1.7.14/


Get sabayon overlay for pipelight.
Code:

emerge --ask layman

Code:

echo "source /var/lib/layman/make.conf" >> /etc/portage/make.conf

Code:

layman -L

Code:

layman -a sabayon


Now to set the right use flags for pipelight:
Code:
mkdir /etc/portage/package.use

Code:
echo “www-plugins/pipelight flash silverlight" > /etc/portage/package.use/netflix.use


Now you can install the software
Code:
emerge –ask wine corefonts pipelight firefox-bin


Code:
pipelight-plugin –create-mozilla-plugins


as user:
Code:
pipelight-plugin --enable silverlight

Code:
pipelight-plugin --enable flash


Start firefox-bin from a terminal and surf a bit. Pipelight will download the necessary software in the background. You can see the progress in your terminal. When it is finished close firefox-bin and proceed with the next steps.

as root:
Code:
nano -w /usr/share/pipelight/pipelight-silverlight5.1


Uncomment the following two lines

Code:

…......
enableGPUAcceleration=false     # disable GPU acceleration
…........

….......
overwriteArg      = enableGPUAcceleration=false
….........


save the file. (Note: with this config nvidia users dont need to set opengl to xorg-X11, but can leave it at nvidia)

Start firefox-bin as user and you are ready for the final steps.

Now you need a user agent overrider to make Netflix think you are on a Windows Machine.
See https://answers.launchpad.net/pipelight/+faq/2351 on how to do that and don't forget to set the user agent as advised on that page.

When you have done that, open in your Netflix in your browser, login into your account and enjoy watching.

Note: To make sure sabayon does not pull in system packages after installing pipeline I advice you to remove te overlay

as root:
Code:

layman -d sabayon


Last edited by white_tiger on Sat Mar 22, 2014 7:19 pm; edited 3 times in total
Back to top
View user's profile Send private message
Sansavarous
n00b
n00b


Joined: 15 Feb 2004
Posts: 22
Location: My computer.

PostPosted: Tue Mar 18, 2014 5:58 pm    Post subject: Reply with quote

Schaweet!

I'll give this a try tonight.
Back to top
View user's profile Send private message
moisespedro
n00b
n00b


Joined: 01 Jan 2014
Posts: 64

PostPosted: Sat Mar 22, 2014 1:39 pm    Post subject: Reply with quote

I have a problem with adding sabayon overlay: it tries to replaces normal gentoo packages. How can zi avoid this?
Back to top
View user's profile Send private message
white_tiger
n00b
n00b


Joined: 04 Oct 2011
Posts: 33

PostPosted: Sat Mar 22, 2014 7:21 pm    Post subject: Reply with quote

It shoult only install the needed packages for pipeline. After the install and when Netflix is working just do a

Code:

layman -d sabayon


as root to remove the overlay. You don't need it anymore untill there is a mayor update for pipeline for lets say full hardware acceleration for instance.
Back to top
View user's profile Send private message
rudregues
Apprentice
Apprentice


Joined: 29 Jan 2013
Posts: 188

PostPosted: Sat Mar 22, 2014 8:52 pm    Post subject: Reply with quote

moisespedro wrote:
I have a problem with adding sabayon overlay: it tries to replaces normal gentoo packages. How can zi avoid this?

You can mask the entire overlay and unmask only the packages you need. See here https://forums.gentoo.org/viewtopic-p-7518568.html#7518568
_________________
Emerging en gentoo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum