Found this online [here][1] as a dirty way of getting synergy to boot on a debian rpi image at auto login.

/usr/bin/killall synergyc while [ $(pgrep -x synergyc) ]; do sleep 0.1; done /usr/bin/synergyc </blockquote> [1]: http://nixnote.blogspot.co.uk/2012/02/autostart-synergy-on-debian.html

After an overnight, with little sleep, in Stansted Airport I finally made it to the Live Code Festival in Karlsruhe. Enjoyed a stroll around the city and visit to the local museum, free on Happy Friday while enjoying the sunshine.

In the evening attend the two concerts of livecoding which displayed a typical mix of technical instrest and compositional concern though I suspect that my tiredness did not help.

Was great to get an opportunity to hear BenoƮt and the Mandelbrots and I enjoyed the beginning of the Cybernetic Orchestra set.

So due to the lull in PhD finishing actvities and in celebration of the Easter holiday I had the opportunity to enjoy a stroll and the southern end of the city of Manchester to take some photos.

Was a lot of fun and nice to get the camera back into use for fun before the work of the summer starts with weddings.

Here is a frame I was quite happy with, shot from the hip.

Tram in Manchester

24mm 1/500 f8 iso 100

So with Google having given notice on Reader it was time to look for a replacement and the first candidate to try was Tiny Tiny RSS.

The instructions are quite clear but thought it was worth just running through how I did the install on 1 and 1 shared hosting.

These instructions work with ssh access but you could use the web interfaces instead.

So

wget https://github.com/gothfox/Tiny-Tiny-RSS/archive/1.7.5.tar.gz

download the current version then

tar -zxvf 1.7.5.tar.gz

unpacks it for use.

At this point you can set up the sub-domain to resolve to the folder.

While in the 1 and 1 interface create a new SQL database and remember to take note of it name, username, password and location. Then load the schema from within the folder. (This command will ask for the database password.)

mysql -u db-username -D db-name -p -h db-host.com < schema/ttrss_schema_mysql.sql

Then it is time to setup Tiny Tiny RSS,

cp config.php-dist config.php nano config.php

Then fill in the top of the config file,

define('DB_TYPE', "mysql"); // or mysql
define('DB_HOST', "db-host.com"); // This must be set for 1and1 it cannot be left as localhost.
define('DB_USER', "db-username");
define('DB_NAME', "db-name");
define('DB_PASS', "db-password");

Also the simplest way to get Tiny Tiny RSS to update is by setting

define('SIMPLE_UPDATE_MODE', false);

to

define('SIMPLE_UPDATE_MODE', true);

Finally this gives a nice set of default plugins

define('PLUGINS', 'auth_remote, auth_internal, note, digest,');

Finally on 1and1 the default PHP version causes errors which can be resolved by changing the directory PHP version inside local PHP settings to 5.4.

This will get you a working ttrss install on shared 1and1 hosting, though it will not work on phones or mobile devices as the mobile section is redirecting by default.

More on the mobile setup to come.

So the default installed detailed in the earlier post leaves you with a broken mobile install. When you visit the URL it auto redirects to a location with nothing there.

A quick dirty fix is to disable the redirect by editing index.php from this,

if (!$_REQUEST['mobile']) {
                if ($mobile->isTablet() && $pluginhost->get_plugin("digest")) {
                        header('Location: backend.php?op=digest');
                        exit;
                } else if ($mobile->isMobile()) {
                        header('Location: mobile/index.php');
                        exit;
                }
        }

to this, essentially just commenting out the redirection.

if (!$_REQUEST['mobile']) {
//                if ($mobile->isTablet() && $pluginhost->get_plugin("digest")) {
                        header('Location: backend.php?op=digest');
                        exit;
//                } else if ($mobile->isMobile()) {
//                        header('Location: mobile/index.php');
//                        exit;
//                }
        }

This works because we included digest in the options in the install.

The other options are to install one of the mobile theme options into the redirect location

mobile/

such as,

git clone https://github.com/j0nson/tt-rss_mobile.git

Then just move the files into the mobile folder and enable the API in preferences.