Hulu Desktop Performance tweaks

view full story

http://forums.fedoraforum.org – I have a F12 x86_64 box attached to my 1080p TV, and I have not been very satisfied with flash performance full screen 64 or 32 bit. By extension hulu desktop, which just uses whatever plugin you've got configured for firefox, is also difficult to watch. So I've played around a little bit, and found a few things useful. First, download the fedora rpm from hulu's website. I haven't had problems installing the player at all. http://www.hulu.com/labs/hulu-desktop-linux Once installed, you get a launcher menu icon under 'Internet'. Instead of using that, try adding this file to your desktop: Code: #!/usr/bin/env xdg-open [Desktop Entry] Type=Application Encoding=UTF-8 Name=Hulu Desktop Comment=Browse and stream the entire Hulu library without a browser. TryExec=huludesktop Terminal=false Categories=GTK;AudioVideo;Audio;Video;Player;TV; Exec=/home/<user>/bin/hulu Icon[en_US]=/usr/share/pixmaps/huludesktop.png Icon=/usr/share/pixmaps/huludesktop.png Make sure you change <user> to match your username (I think "Exec=$HOME/bin/hulu" would work too if you want.) Then you need to create your new hulu launcher wrapper script: Code: mkdir -p $HOME/bin; touch $HOME/bin/hulu; chmod $HOME/bin/hulu Now edit that file with your favorite text editor, and put the following in: Code: #!/bin/bash # xrandr may complain if this isn't set export DISPLAY=:0 # Disable Remote Desktop gconftool-2 -t boolean --set /desktop/gnome/remote_access/enabled false # Change desktop size xrandr -s 1280x720 # Run Hulu huludesktop # Return to the old desktop size xrandr -s 1920x1080 # Re-enable Remote Desktop gconftool-2 -t boolean --set /desktop/gnome/remote_access/enabled true As an explanation, the huludesktop program doesn't fork off into the background, so we can simply script actions to run before and after the execution of the program, and the script will wait for the huludesktop program to end, and then finish the script. I found two things that helped me get better performance out of huludesktop. 1) Disabling my remote_access service in Gnome (it took up about as much CPU as huludesktop was while watching videos) 2) Changing to a lower resolution, so flash doesn't have to stretch the image as much. I chose the 720p desktop resolution because the player starts at that resolution anyway, and none of the content you get from hulu is going to be more than 720p, and most of it's 480p/360p anyway. I am interested in hearing about any other tweaks you've seen that I can add to the list on how to make hulu run a little smoother. (HowTos)