Flickr
Note- The CAPTCHA currently isn't working- so I added a space after all of the "http://" that needs to be deleted to run the command, but allowed this to be posted...
Instructions for using your Flikr account to populate the photos used in LMCE 710's screensaver. I ran the following from a terminal on the Core.
First, upgrade gem:
sudo apt-get install rubygems wget http:// rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz tar xvzf rubygems-1.3.1.tgz cd rubygems-1.3.1 sudo ruby setup.rb sudo rm /usr/bin/gem sudo ln /usr/bin/gem1.8 /usr/bin/gem
Then install commandline
sudo gem install commandline
Grab flickrfetchr and install
sudo wget http:// rubyforge.org/frs/download.php/40044/flickrfetchr-0.1.0.tgz tar xvf flickrfetchr-0.1.0.tgz cd flickrfetchr sudo ./setup-linuxmce
Replacing Flickr.pl with FlickrFetchr.rb
From pluto-admin, Advanced, Configuration, Devices, Show Device Tree, My Devices, CORE, DCERouter, Orbiter Plug-in: change File Name and Path from: /usr/pluto/bin/flickr.pl to: /usr/local/bin/flickrfetchr.rb
Run flickrfetchr
flickrfetchr.rb This will prompt you to visit a site- I don't know if it is user specific, so I won't post mine here. But the website asks you to sign into your flickr account and then authorize flickrfetchr to access your account. return to the console, and press "Enter" as specified.
Edit flickrfetchr's configuration files:
pico /etc/flickrfetchr.conf
I scrolled to the bottom of the page and pasted this code:
LINUXMCE_1024_X_768_CRITERIA = { :limit => 100, :daycount => 5, :destination_path => '/home/flickr', :destination_naming => :short, :plugins => [:LinuxMCE_Plugin], :image_acceptable_types => ['jpg'], :image_resize_to => {:width => 1024, :height => 768} }
MUFFIN_CRITERIA = LINUXMCE_1024_X_768_CRITERIA.merge({
:username => 'Username', :destination_path => '/home/flickr/muffin' })
config[:USERS] += [MUFFIN_CRITERIA]
Note: replace Username with your flickr account name- don't include the @...
Save and close the *.conf file; then do the same copy/paste for the following files:
sudo pico /root/.flickrfetchr.conf sudo pico /home/linuxmce/.flickrfetchr.conf
After saving and closing those,
sudo flickrfetchr.rb --verbose
I wrote this as I was trying to get mine working... will update with progress.
- Giving credit where credit is due- All of this was ctrl+c -> ctrl+v from Roy and the LMCE team on the LMCE forums.