tag:blogger.com,1999:blog-65797831587429993622024-02-19T17:09:21.008+05:30Aditya's musingsUnknownnoreply@blogger.comBlogger5125tag:blogger.com,1999:blog-6579783158742999362.post-24706932984198348152015-11-17T23:10:00.000+05:302015-11-18T00:14:11.315+05:30Notification mirroring with Tasker, Autoremote and AutonotificationI am one of those people who like keeping a separate work and personal phone. Pushbullet used to be that great software which mirrored my notifications on both phones, until one day they didn't. This became a real irritant once I got a Pebble Time (<a href="http://www.adityavaidya.com/2015/09/my-time-with-pebble-time.html" target="_blank">See my review</a>) and really wanted all my notifications on it. So bit the bullet and bought Tasker and set about trying to replicate this functionality.<br />
<h2>
My Setup</h2>
<div>
Business phone -> Personal phone -> Pebble Time</div>
<h2>
Basic requirements</h2>
<div>
<ol>
<li>Notifications of select apps (mainly work email, SMS, WhatsApp) on the Business phone should be mirrored on my Personal phone - This would automatically make them show up on the Pebble Time</li>
<li>Notifications dismissed on either phone or the Pebble should lead to the notification being dismissed everywhere else</li>
</ol>
</div>
<h2>
Apps needed</h2>
<div>
I have paid versions of all the following apps and have bought all the in-app purchases. I'm not sure if the free versions will work as well.</div>
<div>
<ol>
<li>Tasker (<a href="http://tasker.dinglisch.net/" target="_blank">link</a>) Can't give a Play store link because it's disappeared from the Play store (<a href="http://www.androidcentral.com/tasker-has-been-removed-google-play-store" target="_blank">See here</a>)</li>
<li>Autoremote (<a href="https://play.google.com/store/apps/details?id=com.joaomgcd.autoremote" target="_blank">link</a>)</li>
<li>Autonotification (<a href="https://play.google.com/store/apps/details?id=com.joaomgcd.autonotification" target="_blank">link</a>)</li>
</ol>
<h2>
Procedure</h2>
</div>
<div>
The basic idea is from <a href="https://www.youtube.com/watch?v=ZyYAtL3cEjA" target="_blank">this video</a> by João Dias. I just changed the settings to mirror to the 2nd phone instead of to Chrome. What is added is a way to dismiss the autoremote notification if the original notification is dismissed.</div>
<div>
I have not set up 2-way mirroring because my primary motive was to get all notifications on the Pebble.</div>
<div>
I'm going to assume that you have Tasker set up for External access, Auto remote set up on both phones and both phones set up as Auto remote registered devices.</div>
<div>
<br /></div>
<div>
We need to set up the following actions (Screenshots coming soon)</div>
<div>
<ol>
<li>If any notification (from select apps) is received on the Business phone, trigger a notification on the Personal phone</li>
<li>If the triggered notification is dismissed on the Personal phone, dismiss the notification on the Business phone</li>
<ol>
</ol>
<li>If the triggered notification is touched on the Personal phone, trigger the default notification touch action on the Business phone</li>
<ol>
</ol>
<li>If the triggered notification is dismissed on the Business phone, dismiss the notification on the Personal phone</li>
<ol>
</ol>
<li>If there is an incoming call on the Business phone, trigger a notification on the personal phone</li>
<ol>
</ol>
</ol>
</div>
<div>
This should take care of mirroring all notifications from the Business phone to the Personal phone.</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6579783158742999362.post-832620648793371812015-09-02T01:12:00.000+05:302015-10-06T23:54:14.253+05:30My time with Pebble Time<h2>
Quick Review</h2>
I've had the new Pebble Time for a couple of weeks now and thought I'd pen down a quick overview of what I think.<br />
<br />
Pebble Time reminds me of the Nokia S40/60 phones from ten years ago. It's a great 1st smartwatch if you can get used to a few irritants.<br />
<br />
<h3>
The good</h3>
<ol>
<li>Notifications on the wrist are great. It's usually the small ones like messages on Whatsapp or personal emails that really don't need more than a quick glance that this works best with</li>
<li>Google authenticator/ Bank OTP's are fantastic on the watch. No more reaching for the phone for that number</li>
<li>The timeline interface works really well and is a great construct for a smartwatch. There's unfortunately just not enough apps yet to fill it up, and those that are there aren't always reliable</li>
<li>Pebble Time has the fastest charging possible. It goes from 0 - 100% in about an hour which is a real boon</li>
</ol>
<h3>
The bad</h3>
<div>
<ol>
<li>The battery life is nowhere near the much touted 7 days. I have only moderate usage and I've just about managed 3 days + another day with just the watch functionality. If I turn off activity tracking (either with Misfit or Plex), it goes up to 4 + 1 days</li>
<li>The apps for the Pebble are slow to load. To get over the 8 app limit of the old Pebble, I feel the Pebble Time actively swaps apps in and out of the connected phone. It's a nifty trick but makes for really long loading times if the app isn't in the Pebble Time memory already</li>
<li>It's just not as useful on the iPhone, though that's not really Pebble's fault</li>
</ol>
<div>
<h3>
The ugly</h3>
<ol>
<li>You really don't need a smartwatch (yet). There just isn't a killer use case</li>
<li>They should have really made the bezzle smaller</li>
</ol>
<h3>
Should you buy it?</h3>
The answer isn't straightforward.<br />
<br />
All said and done, I'm pretty happy with the Pebble Time. It's a great gadget, though smartwatches as a whole need another iteration to become really useful, IMO.I would recommend the Pebble only if you are an early adopter who doesn't have an iPhone and doesn't think Android wear watches are worth the time. But if you're anyone else, then the Pebble Time may not be as useful for you. If you're only looking for Fitness tracking features, get a Fitbit instead. It does one thing and does it better than any tracking app for the Pebble.<br />
<br />
If you do decide to get one after reading this, keep reading on.<br />
<br />
<h3>
</h3>
<h2>
Must have watchfaces</h2>
Most websites recommend way too many watchfaces. I enjoyed changing them when I had just got my Pebble watch, but I've realised that it's finally boiled down to these 4 for me:<br />
<ol>
<li>Digital watchface: 91 Dub v3.0 (<a href="https://apps.getpebble.com/en_US/application/52b231c2b70e1c159500009b" rel="nofollow" target="_blank">link</a>) that I use with F91-W by NIVZ as my preferred theme<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrMn8rEh9LUP9Z9_ZyuDR4RuY_tRAHuZog9dAuHYJ8olcYnHyc_qAx-2grUH4onm4MCoS0oMKN3piIS9kLAQ676m6KMNcfaD4Th7buBdwKUGVjsAS8R-hq7ObvpMXM6NVMjXKvj_IDkwWG/s1600/91Dub+v3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="91 Dub v3.0" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrMn8rEh9LUP9Z9_ZyuDR4RuY_tRAHuZog9dAuHYJ8olcYnHyc_qAx-2grUH4onm4MCoS0oMKN3piIS9kLAQ676m6KMNcfaD4Th7buBdwKUGVjsAS8R-hq7ObvpMXM6NVMjXKvj_IDkwWG/s1600/91Dub+v3.jpg" title="91 Dub v3.0" /></a></div>
</li>
<li>Analog watchface: Timeface One (Analog) (<a href="https://apps.getpebble.com/en_US/application/55a7f437e2c6fed89b000055" rel="nofollow" target="_blank">link</a>) that I use with a black background, white numbers and red watch hands<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgp1azAA4Sf5vfWXmvGIPIIchmPWVV6g_VT-rpdBBmo0ApjLWr2uz7Gm6yrGF0GF-0ZhtsjIaakYkLjRwKnUNTgyvVM2e7937FNKvcJ2VO-BhIZtzIEArJQzsoN0UwSZwRmdAA-vGNwuKzw/s1600/Timeface+One.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Timeface One (Analog)" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgp1azAA4Sf5vfWXmvGIPIIchmPWVV6g_VT-rpdBBmo0ApjLWr2uz7Gm6yrGF0GF-0ZhtsjIaakYkLjRwKnUNTgyvVM2e7937FNKvcJ2VO-BhIZtzIEArJQzsoN0UwSZwRmdAA-vGNwuKzw/s1600/Timeface+One.jpg" title="Timeface One (Analog)" /></a></div>
</li>
<li>Minimal watchface: Macro clock (<a href="https://apps.getpebble.com/en_US/application/5536b17b9c0e141f270000b2" rel="nofollow" target="_blank">link</a>) that I use with a black background, white numbers and red watch hand<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEithiqk7dLNrpnsLawwg9EzSPhIZPEWpxvYTLYIBSGFPkBhkmnbuUp_9jeGDipeJeI51bLO81cpeHrhaOOKHCP6-WDl6rQJgvPD8MnaLfuCKiKhnLfQykKZsyTlLVgl-gLQedBdtbnK-KxL/s1600/Macro+Clock.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Macro clock" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEithiqk7dLNrpnsLawwg9EzSPhIZPEWpxvYTLYIBSGFPkBhkmnbuUp_9jeGDipeJeI51bLO81cpeHrhaOOKHCP6-WDl6rQJgvPD8MnaLfuCKiKhnLfQykKZsyTlLVgl-gLQedBdtbnK-KxL/s1600/Macro+Clock.jpg" title="Macro clock" /></a></div>
</li>
<li>Fun watchface: Mario Time (<a href="https://apps.getpebble.com/en_US/application/55431083b7d4a71c0000003b" rel="nofollow" target="_blank">link</a>) which is only used to show friends what a fun watch the Pebble Time is, but is never used otherwise<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgChJRV8aGEYH_5GyWc1ayRmXh8MBPQhqj9NBwKUM04F7lExVRuCOwCfTZ9expkHoyldF7BN_zcSnJn_n6iZ9sHCRcYDHmomyFSXtB0YDj9N968cgh_UfTlaTcyTj_zhJZmsZxdvPfnD5rG/s1600/Mario+Time.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Mario Time" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgChJRV8aGEYH_5GyWc1ayRmXh8MBPQhqj9NBwKUM04F7lExVRuCOwCfTZ9expkHoyldF7BN_zcSnJn_n6iZ9sHCRcYDHmomyFSXtB0YDj9N968cgh_UfTlaTcyTj_zhJZmsZxdvPfnD5rG/s1600/Mario+Time.jpg" title="Mario Time" /></a></div>
</li>
</ol>
<h2>
<br /></h2>
<h2>
Must have apps</h2>
There are a ton of apps for the Pebble, but after a lot of installs and uninstalls, I realised that the only ones used are the ones that do not need much input. Games are completely out. The list below is in the order I have them on my Pebble<br />
<ol>
<li>Dialer for Pebble (<a href="https://apps.getpebble.com/en_US/application/532323bf60c773c1420000a8" rel="nofollow" target="_blank">link</a>) - More feature rich than the default Pebble dialler app. Let's you remotely put the phone on speaker which is a great feature<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHUMYgoVLrc4uu_t41luOTzdPnX8fMkwLQ7QCEtD1JkBde5C_iv2t-H8QSG3G4yK2O4kR2ascnNjJE-ti3iko7OiUg0up25NLmvKTLyEWVaf2s1l72x-l36lRC7Ftv4QXHUewL0jAz08hx/s1600/Dialer.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Dialer for Pebble" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHUMYgoVLrc4uu_t41luOTzdPnX8fMkwLQ7QCEtD1JkBde5C_iv2t-H8QSG3G4yK2O4kR2ascnNjJE-ti3iko7OiUg0up25NLmvKTLyEWVaf2s1l72x-l36lRC7Ftv4QXHUewL0jAz08hx/s1600/Dialer.jpg" title="Dialer for Pebble" /></a></div>
</li>
<li>Music Boss (<a href="https://apps.getpebble.com/en_US/application/52c6c88dccc92142e6000050" rel="nofollow" target="_blank">link</a>) - Far better than the default Music app. Music Boss lets you control your music and switch between different music apps on the phone<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhld85Xg8pfrzqh3GPSKY3jhWHPArhnFuR5dXbj2tSF8TCc2AvYClVviyJOK5AXWQPprePmQhxKtA8CsgYBNBjcBOVjzd_jeV8d6xIbH7_hqhBPFF-EzrtVlmLlqaVP59X5kh7x9CV11nZw/s1600/Music+Boss.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Music Boss" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhld85Xg8pfrzqh3GPSKY3jhWHPArhnFuR5dXbj2tSF8TCc2AvYClVviyJOK5AXWQPprePmQhxKtA8CsgYBNBjcBOVjzd_jeV8d6xIbH7_hqhBPFF-EzrtVlmLlqaVP59X5kh7x9CV11nZw/s1600/Music+Boss.jpg" title="Music Boss" /></a></div>
</li>
<li>Nav Me (<a href="https://apps.getpebble.com/en_US/application/530a8f36fc62a5e01100001c" rel="nofollow" target="_blank">link</a>) - Google maps navigation on the wrist. Excellent use for the Pebble<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbwSn5oJIxM9Nk3-RxZEetwjVFtMf4NmqVp5NUhOfzg65NjEfdhat9P5NOHqgD8vs-yKeXuZlAD1dtnSXOC2hKprlTGAFmKSa8iMrp0aC2f0Q9amLi23eUG5i3yl01_dZownJbw2MIpZ6a/s1600/NavMe.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Nav Me" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbwSn5oJIxM9Nk3-RxZEetwjVFtMf4NmqVp5NUhOfzg65NjEfdhat9P5NOHqgD8vs-yKeXuZlAD1dtnSXOC2hKprlTGAFmKSa8iMrp0aC2f0Q9amLi23eUG5i3yl01_dZownJbw2MIpZ6a/s1600/NavMe.jpg" title="Nav Me" /></a></div>
</li>
<li>Runkeeper (<a href="https://apps.getpebble.com/en_US/application/52e05bd5d8561de307000039" rel="nofollow" target="_blank">link</a>) - This isn't a Pebble app, but works with the Runkeeper app on the phone. Other running apps include Strava, Runtastic and Endomondo, but this is the one I use<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjC6RxdGZpHnmknbo6cGn2GJQ7A8wUiOqONi3WpQZkpMxLpoYuotQYy8h113dlD8umSvEdsElObLwa8TfKUn0yIEK79INTHlbvf5mLMK93K6RyKjeUlYe_9pDe8ltlSS4eQWYINd8ZmGeDq/s1600/Runkeeper.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Runkeeper" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjC6RxdGZpHnmknbo6cGn2GJQ7A8wUiOqONi3WpQZkpMxLpoYuotQYy8h113dlD8umSvEdsElObLwa8TfKUn0yIEK79INTHlbvf5mLMK93K6RyKjeUlYe_9pDe8ltlSS4eQWYINd8ZmGeDq/s1600/Runkeeper.jpg" title="Runkeeper" /></a></div>
</li>
<li>Gallon Challenge (<a href="http://apps.getpebble.com/en_US/application/54f15dacbc88dfd03d000028" rel="nofollow" target="_blank">link</a>) - The best app for reminders to drink water<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxUPSGqtHZjWgJKMngPkXHZmmvsZ12fMQTstoOHzbIsimqZ3tyI5jF-KNgz3VDASRmnxwGEvGOSCt4_7x_ZDD9qoje2SijAQ3LmyDArUhyfwW8QRLyPcJhNExpzl30PojDZePF9xvdAIFH/s1600/Gallon+Challenge.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Gallon Challenge" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxUPSGqtHZjWgJKMngPkXHZmmvsZ12fMQTstoOHzbIsimqZ3tyI5jF-KNgz3VDASRmnxwGEvGOSCt4_7x_ZDD9qoje2SijAQ3LmyDArUhyfwW8QRLyPcJhNExpzl30PojDZePF9xvdAIFH/s1600/Gallon+Challenge.jpg" title="Gallon Challenge" /></a></div>
</li>
<li>Uber (<a href="https://apps.getpebble.com/en_US/application/555c2af94231f4b0b6000062" rel="nofollow" target="_blank">link</a>) - a.k.a. Transport, a big help if you use use the service often<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt4cfJmurwL6r7vkgXH_ylQ0J6hT886QAHExat7sGrYTkblSzfOrmTGQgPdfRZEq-HOhEXxTtDDJkq-HiHG9KyfB64DxpWQLnOWWN9z9iGi4KSO2WzRvjZIkdRcGeYonVPYs9UUdhsTuEM/s1600/Uber.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Uber" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt4cfJmurwL6r7vkgXH_ylQ0J6hT886QAHExat7sGrYTkblSzfOrmTGQgPdfRZEq-HOhEXxTtDDJkq-HiHG9KyfB64DxpWQLnOWWN9z9iGi4KSO2WzRvjZIkdRcGeYonVPYs9UUdhsTuEM/s1600/Uber.jpg" title="Uber" /></a></div>
</li>
<li>Watch Trigger (<a href="http://apps.getpebble.com/en_US/application/5299db06129af72f48000081" rel="nofollow" target="_blank">link</a>) - To be able to click a selfie from afar. Would have liked it better if it used the default camera app on the phone<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSJIDIOoY4faW0cBCm8u7TQCxNjGgP6_fLnJ_GZ5JHsXEDYS1lP60rqK-bWOzsZSQaqpRJs7-J7abQw5RLczbQW-_pEpdVN1wupIFnI9U_Oy_my58jXNk8T4Ci5Mpr9jJtAqPnAQWjSbDH/s1600/Watch+Trigger.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Watch Trigger" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSJIDIOoY4faW0cBCm8u7TQCxNjGgP6_fLnJ_GZ5JHsXEDYS1lP60rqK-bWOzsZSQaqpRJs7-J7abQw5RLczbQW-_pEpdVN1wupIFnI9U_Oy_my58jXNk8T4Ci5Mpr9jJtAqPnAQWjSbDH/s1600/Watch+Trigger.jpg" title="Watch Trigger" /></a></div>
</li>
<li>Travel (<a href="https://apps.getpebble.com/en_US/application/555a8efcae067d58f800004d" rel="nofollow" target="_blank">link</a>) - Should sync with Tripit, but I'm having some issues. Ronny who develops it is quick to respond though, so I'm hoping the bugs get worked out. Try Pebble Trips (<a href="http://apps.getpebble.com/en_US/application/54495a5e00cbcadb660000df" rel="nofollow" target="_blank">link</a>) for a more static experience and no timeline integration.<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjN1pMCNCSe6f0hQEaHbrm6P8TRF4qqIjwdPa2JrkefCCIFIQBqx5qVykkQ4wQxlzSnQb7omwedJMya4SJxTXIKcTy9pYF3g6HEHsugV2M0ul-6-Dj9lfEoI0hAB9t1uJCwi_YTR7mCa-JX/s1600/Travel.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Travel" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjN1pMCNCSe6f0hQEaHbrm6P8TRF4qqIjwdPa2JrkefCCIFIQBqx5qVykkQ4wQxlzSnQb7omwedJMya4SJxTXIKcTy9pYF3g6HEHsugV2M0ul-6-Dj9lfEoI0hAB9t1uJCwi_YTR7mCa-JX/s1600/Travel.jpg" title="Travel" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioqYxuE9rQZd9blU_v69tt8oajiOF0Nvp9CUIb9wkQ_kFT5I6W6uyGZnWSxMRlp_a5ts0NAarK2WyW0Sz09zDcq-VDOLouF8V45OWOEFD56JcM_L2aKECfZXlhwS12TxSXyyrXJ7L0Q59N/s1600/Pebble+Trips.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Pebble Trips" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioqYxuE9rQZd9blU_v69tt8oajiOF0Nvp9CUIb9wkQ_kFT5I6W6uyGZnWSxMRlp_a5ts0NAarK2WyW0Sz09zDcq-VDOLouF8V45OWOEFD56JcM_L2aKECfZXlhwS12TxSXyyrXJ7L0Q59N/s1600/Pebble+Trips.jpg" title="Pebble Trips" /></a></div>
</li>
<li>Misfit (<a href="https://apps.getpebble.com/en_US/application/53a898a2cfee2a02c900006c" rel="nofollow" target="_blank">link</a>)/ Plexfit (<a href="https://apps.getpebble.com/en_US/application/54e23ff0cf66dc457400001e" rel="nofollow" target="_blank">link</a>) - Both decent apps for fitness tracking, though I found Plex to be slightly more accurate because you can manually adjust sensitivity. Neither of them are as good as a Fitbit though, and the lack of a social angle is pretty bad (NOTE: Misfit does have a social aspect, but I don't know anyone else using one)<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjih3y2k5Nop9-XrjeWR9JZSJUA2T1p9JSr_oFLeZARX-gMlOEU7NXkseP-jizo3fEpDF_yvanm-K6RL3BB3Bllz8wSREzpeoH736u5Z92b4V5KrwrT8cn5IB7or5vZ4nCgeIuPIzzSgzIb/s1600/Misfit.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Misfit" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjih3y2k5Nop9-XrjeWR9JZSJUA2T1p9JSr_oFLeZARX-gMlOEU7NXkseP-jizo3fEpDF_yvanm-K6RL3BB3Bllz8wSREzpeoH736u5Z92b4V5KrwrT8cn5IB7or5vZ4nCgeIuPIzzSgzIb/s1600/Misfit.jpg" title="Misfit" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjteW1CX8WSsPh2r87AttvuHsFRQpQJwXmlhWhjzKLNa7qpK4PMAWHzlrlQB1LXGyf9VXggWvIIP_jeS0EiCQiY8uah4iFhUyAwcxrLyMbmpEEGE_3SP2-58s0N4ZYeojmUbWSlUsFF_kiv/s1600/Plexfit.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Plexfit" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjteW1CX8WSsPh2r87AttvuHsFRQpQJwXmlhWhjzKLNa7qpK4PMAWHzlrlQB1LXGyf9VXggWvIIP_jeS0EiCQiY8uah4iFhUyAwcxrLyMbmpEEGE_3SP2-58s0N4ZYeojmUbWSlUsFF_kiv/s1600/Plexfit.jpg" title="Plexfit" /></a></div>
</li>
<li>Battery+ (<a href="https://apps.getpebble.com/en_US/application/55197642d6fa6f2633000092" rel="nofollow" target="_blank">link</a>) - This is never going to be a mainstay once I figure out how much battery life I get, but it's a great app for a few weeks<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrSd49eSDjGUUEY_XwkWg3gWChMe3b0d8TYy9FeLXDO1iSZBDOAGd-3NzeN8_KpoHVHeDN7bMVhHLQACMFblJ22DtmL7UitiQbwZCu0n4srmrPu5eBSuoR8hXEdA_XPwT1L0ABFbWrl15i/s1600/Battery%252B.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Battery+" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrSd49eSDjGUUEY_XwkWg3gWChMe3b0d8TYy9FeLXDO1iSZBDOAGd-3NzeN8_KpoHVHeDN7bMVhHLQACMFblJ22DtmL7UitiQbwZCu0n4srmrPu5eBSuoR8hXEdA_XPwT1L0ABFbWrl15i/s1600/Battery%252B.jpg" title="Battery+" /></a></div>
</li>
</ol>
<h2 style="text-align: left;">
<br /></h2>
<h2 style="text-align: left;">
Special mention</h2>
<div>
The special mention goes out to an android app called Tablet Notifier (<a href="https://play.google.com/store/apps/details?id=com.gnst.app.eventmirror" rel="nofollow" target="_blank">link</a>) which is great for me because I have 2 phones, one for business and one personal. It mirrors notifications from my work phone to my personal phone which is connected to the Pebble Time, so that I can get notifications (or rather notification alerts) from both devices. Pushbullet used to do this far better, but notification mirroring across Android devices has been discontinued.</div>
<h3>
</h3>
</div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6579783158742999362.post-2575423218972927802015-03-26T00:32:00.000+05:302015-03-26T00:34:25.617+05:30iPad as a 2nd monitor - now on LinuxSo after I figured out how to use my iPad as a 2nd monitor on the Mac and Windows, I thought I'd write another post on how to achieve this on Linux. I used Ubuntu Linux as my Linux of choice (until of course, the new Mac) and the post details how I got it to work on Ubuntu.<br />
<br />
This is quite a bit more complicated than the extremely easy method that works on the Mac and on Windows.<br />
<h2 dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 10pt;">
<span style="background-color: transparent; color: black; font-family: 'Trebuchet MS'; font-size: 17px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">What works</span></h2>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Screen sharing on the iPad</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Mouse, keyboard and clipboard sharing across the laptop and the iPad</span></div>
<h2 dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 10pt;">
<span style="background-color: transparent; color: black; font-family: 'Trebuchet MS'; font-size: 17px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">What doesn’t</span></h2>
<span id="docs-internal-guid-560b2ea9-524d-d74d-173d-a4ac0bd04c60"><span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Drag and drop windows from one screen to the other - This does not seem possible to do between X displays</span></span><br />
<h1 dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 10pt;">
<span style="background-color: transparent; color: black; font-family: 'Trebuchet MS'; font-size: 21px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Setup</span></h1>
<h2 dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 10pt;">
<span style="background-color: transparent; color: black; font-family: 'Trebuchet MS'; font-size: 17px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Step 1: Install the following on Ubuntu</span></h2>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">tightvnc</span><span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> - Runs a VNC server on a new X display</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">x2x</span><span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> - Lets you share the mouse and keyboard across X displays</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">ipad_charge</span><span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> - Enables charging the iPad in Ubuntu</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">gnome-session-fallback</span><span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> - Enables a Gnome session in VNC as Unity doesn’t play nicely</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">xsel - Enables sharing of the clipboard (Credit: nerdopolis @ </span><a href="http://ubuntuforums.org/showthread.php?t=1431913" style="text-decoration: none;"><span style="background-color: transparent; color: #1155cc; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;">http://ubuntuforums.org/showthread.php?t=1431913</span></a><span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">)</span></div>
<b id="docs-internal-guid-560b2ea9-524e-557b-75f6-e69437ac0b10" style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Run the following commands to complete the installation.</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">sudo apt-get install -y tightvncserver x2x gnome-session-fallback xsel</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">sudo apt-get install -y build-essential libusb-1.0-0 libusb-1.0-0-dev git</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">git clone https://github.com/mkorenkov/ipad_charge.git</span><span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br class="kix-line-break" /></span><span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">cd ./ipad_charge</span><span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br class="kix-line-break" /></span><span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">make</span><span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br class="kix-line-break" /></span><span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">sudo make install</span></div>
<h2 dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 10pt;">
<span style="background-color: transparent; color: black; font-family: 'Trebuchet MS'; font-size: 17px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Step 2: Setup a VNC Password</span></h2>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">This provides at least basic security to your main machine, but you should be ok on a home network. You could set up an ssh connection for more security, but this make the rendering of the screen very slow</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">vncpasswd</span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Enter a password for the VNC server twice and “no” for a read only password</span></div>
<h2 dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 10pt;">
<span style="background-color: transparent; color: black; font-family: 'Trebuchet MS'; font-size: 17px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Step 3: Create the xstartup file</span></h2>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Create a file called xstartup in the $HOME/.vnc folder with the following contents</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#!/bin/sh</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">xrdb $HOME/.Xresources</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">xsetroot -solid grey</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#Open a terminal window in the new X display. Comment the following line if unnecessary</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">x-window-manager &</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"># Fix to make GNOME work</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">export XKL_XMODMAP_DISABLE=1</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">/etc/X11/Xsession</span></div>
<h2 dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 10pt;">
<span style="background-color: transparent; color: black; font-family: 'Trebuchet MS'; font-size: 17px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Step 4: Create a .xsession file</span></h2>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Create a file called .xsession in the $HOME directory with the following contents. This will enable a gnome desktop as Unity does not work over VNC</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">gnome-session --session=gnome-fallback</span></div>
<h2 dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 10pt;">
<span style="background-color: transparent; color: black; font-family: 'Trebuchet MS'; font-size: 17px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Step 5: Install and configure a VNC client on the iPad</span></h2>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Any VNC client will do, but I like this one. It’s free for the basic features which are enough for what we need.</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Mocha VNC Lite</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Use the following details in the Mocha VNC Lite configuration. The settings may be named different depending on the client you choose. The settings will also be saved, hence from the </span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">VNC server address: As shown when you run the ipad_monitor.sh script</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">VNC server port: 5901</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">VNC password: The one you set using the </span><span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">vncpasswd</span><span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> command</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Local mouse: Off</span></div>
<h2 dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 10pt;">
<span style="background-color: transparent; color: black; font-family: 'Trebuchet MS'; font-size: 17px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Step 6: Additional tips to be more productive</span></h2>
<ol style="margin-bottom: 0pt; margin-top: 0pt;">
<li dir="ltr" style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; list-style-type: decimal; text-decoration: none; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Evince: Default PDF reader that works better than Acrobat reader</span></div>
</li>
<li dir="ltr" style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; list-style-type: decimal; text-decoration: none; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Browsers seem to like opening on only one of the displays at a time. I ended up using Chrome on my laptop and Firefox on the VNC display</span></div>
</li>
<li dir="ltr" style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; list-style-type: decimal; text-decoration: none; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Synapse: A keystroke search tool to replace Unity Dash</span></div>
</li>
<li dir="ltr" style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; list-style-type: decimal; text-decoration: none; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Autohide the top panel to increase available screen real estate</span></div>
</li>
<li dir="ltr" style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; list-style-type: decimal; text-decoration: none; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Add an Window Selector to the bottom panel to easily switch windows and increase the bottom size panel to 48 to make touch selection easier</span></div>
</li>
<li dir="ltr" style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; list-style-type: decimal; text-decoration: none; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Add a new Gnome panel to the left with Synapse and any other frequently used applications to replace Unity Dash</span></div>
</li>
</ol>
<br />
<h1 dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 10pt;">
<span style="background-color: transparent; color: black; font-family: 'Trebuchet MS'; font-size: 21px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Usage</span></h1>
<h2 dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 10pt;">
<span style="background-color: transparent; color: black; font-family: 'Trebuchet MS'; font-size: 17px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Step 1: Create the 2nd screen with keyboard and mouse sharing</span></h2>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Download the ipad_monitor.sh file. Change it to include your network card device (Mine is wlan0 but yours may look like eth0 or eth1) and run it. Enter L (Left) or R (Right) in the command options depending on the side you have placed the iPad. The script needs to be running to enable the monitor.</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">./ipad_monitor.sh R</span></div>
<h2 dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 10pt;">
<span style="background-color: transparent; color: black; font-family: 'Trebuchet MS'; font-size: 17px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Step 2: Share the clipboard </span></h2>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">(Credit: nerdopolis @ </span><a href="http://ubuntuforums.org/showthread.php?t=1431913" style="text-decoration: none;"><span style="background-color: transparent; color: #1155cc; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;">http://ubuntuforums.org/showthread.php?t=1431913</span></a><span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">)</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Download the share_clip.sh file. Start a new terminal window & run it with the following command. The script needs to be running to enable clipboard sharing.</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">./share_clip.sh</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Note: </span><span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">autocutsel</span><span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> can also achieve clipboard sharing, but it only worked from server to client for me, and not both ways. The script enables bidirectional clipboard sharing which is a lot more useful. To use autocutsel, add the command </span><span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">autocutsel -s PRIMARY -fork</span><span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> to the ~/.vnc/xstartup file</span></div>
<h2 dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 10pt;">
<span style="background-color: transparent; color: black; font-family: 'Trebuchet MS'; font-size: 17px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Step 3: Connect to the laptop using the VNC client</span></h2>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Connect to the server you saved in step 5 above. Click the “Lock” icon in the status bar a the bottom of the screen and then the upside down triangle at the bottom right of the screen to hide the status bar.</span></div>
<h2 dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 10pt;">
<span style="background-color: transparent; color: black; font-family: 'Trebuchet MS'; font-size: 17px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Step 4: Enjoy your ultra portable 2nd screen</span></h2>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">That’s all. You can now interact on the iPad screen using the keyboard and mouse.</span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<h1 dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 10pt;">
<span style="background-color: transparent; color: black; font-family: 'Trebuchet MS'; font-size: 21px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Steps summary</span></h1>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">The below steps are for the iPad placed to the right of the laptop.</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Ctrl + Alt + T</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><path>/ipad_monitor.sh R</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Ctrl + Shift + T</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><path>/share_clip.sh</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Connect from iPad using Mocha VNC. Lock the screen and minimise the status bar.</span></div>
<h1 dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 10pt;">
<span style="background-color: transparent; color: black; font-family: 'Trebuchet MS'; font-size: 21px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Scripts</span></h1>
<h2 dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 10pt;">
<span style="background-color: transparent; color: black; font-family: 'Trebuchet MS'; font-size: 17px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">ipad_monitor.sh</span></h2>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#!/bin/bash</span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">if [ "$1" == "L" ]; then</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">dir="west"</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">pos="left"</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">elif [ "$1" == "R" ]; then</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">dir="east"</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">pos="right"</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">else</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">echo "Incorrect position selected. Defaulting to \"Right\""</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">dir="east"</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">pos="right"</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">fi</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">chmod +x ~/.vnc/xstartup #Just in case</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">vncserver -alwaysshared :1 #Start the VNC server</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">ipad_charge #Allow iPad charging on Linux</span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#Friendly print of the ip address for the iPad to connect to</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">INPUT=`ifconfig wlan0 | grep "inet addr"`</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">SUBSTRING=`echo $INPUT| cut -d' ' -f 2`</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">echo ""</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">echo "Ipad Monitor enabled to the $pos of the primary screen. Start VNC client on the iPad and connect to IP $SUBSTRING, port 5901"</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">echo "Press CTRL+C to disable the iPad monitor"</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">echo "Run the share_clip.sh script in a new terminal window to enable clipboard sharing"</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">####</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">x2x -$dir -to :1 #Share the mouse and keyboard</span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#Cleanup before exit</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">function finish {</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">vncserver -kill :1 #Disable the VNC server</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">ipad_charge --off #Disable USB charging</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">echo "Ipad Monitor disabled." #Display the status</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">}</span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">trap finish EXIT</span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<h2 dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 10pt;">
<span style="background-color: transparent; color: black; font-family: 'Trebuchet MS'; font-size: 17px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">share_clip.sh </span><span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">(Credit: nerdopolis @ </span><a href="http://ubuntuforums.org/showthread.php?t=1431913" style="text-decoration: none;"><span style="background-color: transparent; color: #1155cc; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;">http://ubuntuforums.org/showthread.php?t=1431913</span></a><span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">)</span></h2>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#! /bin/bash</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">firstxserver=":0" #1st display is default X display 0</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">secondxserver=":1" #2nd display has been configured to be at X display 1 while starting the VNC server</span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#set the variables to the default</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">echo . | xsel --display $firstxserver -b -i </span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">echo . | xsel --display $secondxserver -b -i</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">clipboard=.</span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">while [ 1 ]</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">do</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#get the values of the clipboard</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">firstdislpayclipboard=$(xsel --display $firstxserver -b -o)</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">seconddislpayclipboard=$(xsel --display $secondxserver -b -o)</span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#if the first x servers clipboad chages</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">if [ "$firstdislpayclipboard" != "$clipboard" ]</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">then</span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#if it doesnt change to be blank</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">if [ $(echo $firstdislpayclipboard | grep ^$ -c) -ne 1 ]</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">then</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#set the appropriate variables to be the contents of the first comand</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">seconddislpayclipboard=$firstdislpayclipboard</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">clipboard=$firstdislpayclipboard</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">xsel --display $firstxserver -b -o | xsel --display $secondxserver -b -i</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">else</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#if it is blank set it to be .in case if its because the x server went down</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">echo . | xsel --display $firstxserver -b -i </span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">fi</span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">fi</span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#if the second x servers clipboad chages</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">if [ "$seconddislpayclipboard" != "$clipboard" ]</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">then</span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#if it doesnt change to be blank</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">if [ $(echo $seconddislpayclipboard | grep ^$ -c) -ne 1 ]</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">then</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#set the appropriate variables to be the contents of the first comand</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">firstdislpayclipboard=$seconddislpayclipboard</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">clipboard=$seconddislpayclipboard</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">xsel --display $secondxserver -b -o | xsel --display $firstxserver -b -i</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">else</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#if it is blank set it to be .in case if its because the x server went down</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">echo . | xsel --display $secondxserver -b -i </span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">fi</span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">fi</span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">sleep 1</span></div>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">done</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br /></span></div>
<h1 dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 10pt;">
<span style="background-color: transparent; color: black; font-family: 'Trebuchet MS'; font-size: 21px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Todo</span></h1>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Enable dragging of windows from the laptop to the iPad screen. This does not seem to do between X displays. It's highly unlikely that I bother figuring this out because the Mac has become my daily usage computer, but you can try out the solutions below.</span></div>
<h2 dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 10pt;">
<span style="background-color: transparent; color: black; font-family: 'Trebuchet MS'; font-size: 17px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Workarounds</span></h2>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">xpra</span><span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> comes close to achieving sharing of windows. The only challenge is that each program that you want to run needs to be run using the commands. Also, it seems only one client can connect at a time, so it doesn’t seem possible to run multiple programs on 1 X display (100 in the example below) and keep a few windows on the laptop screen and a few on the iPad screen</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><b id="docs-internal-guid-9821c7f8-524e-f3d5-2e2a-3af35fd31d94" style="font-weight: normal;"><br /></b></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">To share firefox, run on the laptop</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">xpra start :100 --start-child=firefox</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><b style="font-weight: normal;"><br /></b></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">To view the firefox window, run on the laptop or the iPad</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">xpra attach :100</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><b style="font-weight: normal;"><br /></b></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">xdmx</span><span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> is also another program that could help</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br /><span style="vertical-align: baseline;">teleport</span><span style="font-family: Arial; vertical-align: baseline;"> is yet another program that seems to do this but I can’t understand how to use it</span></span></div>
<div>
<span style="background-color: transparent; color: black; font-family: 'Courier New'; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br /></span></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6579783158742999362.post-70488065975280234552015-03-11T00:01:00.000+05:302015-03-11T20:57:53.321+05:30iPad as a 2nd monitorI recently got myself a Macbook Air and was blown away by it. This is my first Mac bought to replace my 7 year old workhorse laptop which has now been converted into my home media streaming server (courtesy <a href="http://serviio.org/" target="_blank">Serviio</a>).<br />
<br />
In just a few days, I noticed how I've moved to using the Mac Air instead of my iPad as my goto computing device. That's when I realised that the killer feature of the Mac Air is its zero startup time - it was like having the convenience of the iPad and the functionality of a full fledged laptop.<br />
<br />
That got me thinking that I need to repurpose the iPad and put it to some use, so I thought of making it a 2nd screen for the Mac Air. A little bit of searching the web led me to a number of solutions, some working over Wifi, some using the USB cable. However, all of them were paid solutions, and I wasn't in the mood for spending money on them, just after cleaning out my wallet on the Mac Air.<br />
<br />
So a little more effort, and I got a perfectly workable solution, all for free.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_2bwypcTfDfsb8omEz_MD4Odn_0ZhScqxTRnLqcQ6d0dluNWz4LpQghXjJ9nWUxz6QnoPwVLiK5NWX8GBUsiHlJ1MCNB3hweEY4FPoJspQJUuREaYAYOL70ov8Y1lK_hnZwGT1soB4HhD/s1600/2ndscreen.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_2bwypcTfDfsb8omEz_MD4Odn_0ZhScqxTRnLqcQ6d0dluNWz4LpQghXjJ9nWUxz6QnoPwVLiK5NWX8GBUsiHlJ1MCNB3hweEY4FPoJspQJUuREaYAYOL70ov8Y1lK_hnZwGT1soB4HhD/s1600/2ndscreen.jpg" height="187" width="400" /></a></div>
<br />
<h3>
Installation</h3>
<ol>
<li>Download and install the following software on the Mac Air</li>
<ol>
<li>Syphon Virtual Screen - Creates a virtual display. Get it <a href="http://andreacremaschi.github.io/Syphon-virtual-screen/" target="_blank">here</a>.</li>
<li>RealVNC Server - Creates a VNC server that allows remote viewing and control of the virtual display. Get it <a href="https://www.realvnc.com/download/" target="_blank">here</a>.</li>
</ol>
<li>Install the following software on the iPad</li>
<ol>
<li>RealVNC Viewer - Allows viewing and control of the virtual display from the iPad. Get it <a href="https://itunes.apple.com/in/app/vnc-viewer/id352019548?mt=8" target="_blank">here</a>.</li>
</ol>
</ol>
<h3>
Using the virtual screen</h3>
<ol>
<li>Start Syphon Virtual Screen from your applications. Enable it from the menu and set a screen resolution. Since I have an iPad 2, I've set mine to 1024x768<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZmlf-tnuYrEMghvX3zozfkrZp6Waz0kE9Q1l4D6P5bvmY0N82RV4HBLnlUenJeSUNYZ1hMR2ZpJZU3FKq5tG3obMFqbrEcdoUgnsYDuCyLkLUPf7Ya3u2ocg8m79e4aw8tu6x260ttRxO/s1600/Screen+Shot+2015-03-10+at+11.38.32+pm.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZmlf-tnuYrEMghvX3zozfkrZp6Waz0kE9Q1l4D6P5bvmY0N82RV4HBLnlUenJeSUNYZ1hMR2ZpJZU3FKq5tG3obMFqbrEcdoUgnsYDuCyLkLUPf7Ya3u2ocg8m79e4aw8tu6x260ttRxO/s1600/Screen+Shot+2015-03-10+at+11.38.32+pm.png" height="320" width="186" /></a></div>
</li>
<li>Start VNC Server and select Options->Expert. Change the "Monitor" parameter to "1". This selects the virtual display instead of the default display<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhud9tpbmo4Cw07U9cKF3Awr2tOofihwFWrAr3q3ZYSN4z5DDACaneBVqMT3UvqgBu-JtzJoVdDPU-CUwoo8zjNF1ecRbUHVYKRb_Zcu4k_7mFpuHmD0ZHRyB1TV6miaiyCtFUvqKewfOeQ/s1600/Screen+Shot+2015-03-10+at+11.41.06+pm.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhud9tpbmo4Cw07U9cKF3Awr2tOofihwFWrAr3q3ZYSN4z5DDACaneBVqMT3UvqgBu-JtzJoVdDPU-CUwoo8zjNF1ecRbUHVYKRb_Zcu4k_7mFpuHmD0ZHRyB1TV6miaiyCtFUvqKewfOeQ/s1600/Screen+Shot+2015-03-10+at+11.41.06+pm.png" height="360" width="400" /></a></div>
</li>
<li>Start VNC Viewer on the iPad and connect to the VNC server you just set up. You must be on the same network for this to work.</li>
</ol>
Voila! Your iPad is now a 2nd monitor for your Mac. The default configuration for this virtual monitor is to the right of the Mac screen and you can drag and drop your windows to it.<br />
<div>
<br /></div>
<div>
The same trick can work for any tablet or even an old laptop. All you need is a VNC client on the tablet or old laptop.<br />
<div>
<br /></div>
<div>
<b>Pro tip</b>: Download and install Spectacle on your Mac for easy keyboard shortcuts to move Windows between the monitors. Get it <a href="http://spectacleapp.com/" target="_blank">here</a>.<br />
<br /></div>
<h3>
Notes</h3>
<div>
<ol>
<li>In the Syphon Virtual Screen preferences, all you need enabled is "Enable virtual device at startup"<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYWm-fzVVcIv2o6FU-rs_ZKrn0Ww-n_cgmKqcEJMAK-1dmBXmVbf5aPGg5AalfgP6I_Guwj7wS42CkkZct0qn2uW8JOVkvopLDTEwqgPHOZg5s0tq8rDjiYrkguYS1t9KCO_gggj7ne80N/s1600/Screen+Shot+2015-03-10+at+11.47.39+pm.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYWm-fzVVcIv2o6FU-rs_ZKrn0Ww-n_cgmKqcEJMAK-1dmBXmVbf5aPGg5AalfgP6I_Guwj7wS42CkkZct0qn2uW8JOVkvopLDTEwqgPHOZg5s0tq8rDjiYrkguYS1t9KCO_gggj7ne80N/s1600/Screen+Shot+2015-03-10+at+11.47.39+pm.png" height="144" width="320" /></a></div>
</li>
<li>If you would like to change the location of the virtual monitor, you can do that from "System Preferences->Displays->Arrangement". Just drag and drop it wherever it's more convenient<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPGrAFfA3My3nb4xXGUfKbUTyRMvs8O8jcoLM6eyP0oZcSzJ4ogpmnY_IyaKTv8LcvsVHCZGmNY2A3nU6NagKP8b6ZPe9or79i8QGprISWBUZIi0E7CarB4h6tkrtxsBj_ukUHO-OKoQjZ/s1600/Screen+Shot+2015-03-10+at+11.50.18+pm.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPGrAFfA3My3nb4xXGUfKbUTyRMvs8O8jcoLM6eyP0oZcSzJ4ogpmnY_IyaKTv8LcvsVHCZGmNY2A3nU6NagKP8b6ZPe9or79i8QGprISWBUZIi0E7CarB4h6tkrtxsBj_ukUHO-OKoQjZ/s1600/Screen+Shot+2015-03-10+at+11.50.18+pm.png" height="241" width="320" /></a></div>
</li>
<li>Syphon Virtual Screen does seem to make the Mac laggy, so I only recommend turning it on when you actually are using the virtual monitor</li>
<li>If you want to have a similar setup for Windows, use Zonescreen to create a virtual monitor instead of Syphon Virtual Screen. Get it <a href="http://www.zoneos.com/zonescreen.htm" target="_blank">here</a></li>
</ol>
<br />
<div>
<br /></div>
</div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6579783158742999362.post-42905868880018997862015-03-11T00:00:00.001+05:302015-03-11T00:07:41.138+05:30Starting offThis is a blog to document my thoughts, interests and anything else that may catch my attention. Will mostly be thoughts about marketing, music and technology with the occasional digression into other topicsUnknownnoreply@blogger.com0