LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-01-2013, 03:01 PM   #1
kmreiserfs
LQ Newbie
 
Registered: Jan 2010
Posts: 5

Rep: Reputation: 0
NetFlix on Slackware


I got netflix-desktop working on my slackware64 14.0, it is just Firefox running under wine, but works.

First install Zenity from Slackbuilds or SboPKG
http://slackbuilds.org/repository/14.0/desktop/zenity/

Second Download and Install this
wget http://sourceforge.net/projects/post...xplayer.tar.gz
tar zxvf Netflixplayer.tar.gz
sh Netflixplayer.sh

Then search from Netflix player on kde Kickoff or execute Netflix.sh

If you get the 1001 error. Install corefonts from Alien Bob
http://connie.slackware.com/~alien/s...refonts/build/
 
Old 07-01-2013, 05:15 PM   #2
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,251

Rep: Reputation: 630Reputation: 630Reputation: 630Reputation: 630Reputation: 630Reputation: 630
If you want to do this the manual way (without using Netflixplayer.tar.gz), you can grab the patches (000[1-6]*.patch) from here, and wine_multilib_winegcc.patch (if you use Slackware64 with multilib) and wine_winebuild-CCAS.patch from here, and apply the patches, in that order, to the wine source before building it. prelink is an optional dependency...I tried both with and without, and ended up using the prelink-enabled build...but any performance increase may have just been the placebo effect. To build wine, I just took cues from Alien Bob's SlackBuild (while I usually write SlackBuilds for everything, I decided to just keep netflix as a local build in $HOME). After patching:
Code:
$ autoreconf -vif
$ export SLKCFLAGS="-O2 -fPIC"
$ CCAS="as" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="-L/usr/lib -ldl" \
./configure \
  --prefix=/usr \
  --localstatedir=/var \
  --sysconfdir=/etc \
  --mandir=/usr/man \
  --with-x \
  --with-opengl \
  --program-prefix= \
  --program-suffix= \
  --build=x86_64-slackware-linux
$ make depend
$ make
$ make DESTDIR=$HOME/Apps/netflix/out install
You could, of course, change the directory structure (I was too lazy, so I have $HOME/Apps/netflix/out/usr/...), and you could just customize Alien's SlackBuild to install alongside a real wine installation if you want.

To setup Firefox/Silverlight, see the first post here (ignoring the wine-building stuff since that is done). Make sure you pass the full path to the wine binaries if you didn't install it system-wide. The fstab modification is important (or so I've read -- I didn't actually try running netflix without it, but multiple sources indicate that the filesystem containing the wine binary and/or the user's wine directory should be mounted with user_xattr. Since both are on /home for me, I only mounted /home with user_xattr). That post describes the easiest possible way to download/install Firefox and Silverlight, and to disable updates of both. I did not install winetricks but I already had MS webcore fonts installed.

I used a separate wine prefix just for Netflix (google for how to setup a non-default wine prefix...). To launch Netflix (I set Netflix as the home page in the wine Firefox browser) I use the following command (in a script):
Code:
WINEPREFIX=~/.wine-netflix ~/Apps/netflix/out/usr/bin/wine ~/.wine-netflix/drive_c/Program\ Files/Mozilla\ Firefox/firefox.exe
It all works very nicely, with the qualification that I have to switch out of and back into fullscreen mode (using F11) after starting any video to get rid of an annoying statusbar. After clicking on the video while playing, fullscreen buttons will not work, so you have to go out of/into fullscreen and THEN click on the video to gain focus (so you can control with the keyboard).

I really wish Netflix would release a real Linux solution but I don't think that'll happen any time soon. But, at least it works. I have a quad core AMD Phenom II X4 925 with an nVidia GTX 260 and after buffering it plays smoothly (it may stutter a bit for the first minute or so, and again if you move the mouse/press keyboard buttons). I have no idea how it would run on a slower system.

Last edited by T3slider; 07-01-2013 at 05:17 PM.
 
Old 07-01-2013, 08:16 PM   #3
kmreiserfs
LQ Newbie
 
Registered: Jan 2010
Posts: 5

Original Poster
Rep: Reputation: 0
I will gonna try this way you post, i think is cleanner than using the netflixplayer.tar.gz

Netflix is testing HTML5 i read somewhere, when they leave silverlight crap every browser will work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does Netflix work with Slackware? damgar Slackware 8 10-28-2012 06:07 PM
Are there other service like Netflix out there? nec207 General 7 03-27-2012 07:33 PM
Netflix mrdave100 Linux - General 3 10-29-2011 10:13 AM
Damn you Netflix! trxdraxon Slackware 1 10-10-2011 05:31 PM
[SOLVED] netflix streaming jibaro01 Linux - Newbie 3 03-08-2011 04:11 PM


All times are GMT -5. The time now is 12:45 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration