How to Run a Full Linux Desktop in a Browser Tab on Your Chromebook

 
 
Crouton is the best way to run Linux alongside Chrome OS on your Chromebook. Now it’s even better — you can run that Linux desktop in a browser tab.

This isn’t official Google software, but the extension itself was created by David Schneider, Crouton developer and Google employee. It’s as close as you’re going to get!

How It Works

This method requires a full Crouton installation. The Linux system isn’t actually running in a browser tab. It’s running on your Chromebook’s system as it is with Crouton. The browser tab just provides a “window” to that Linux desktop so you don’t have to switch back and forth with keyboard shortcuts.
It’s a bit like VNC or another remote-desktop solution — but better. The browser tab runs software that connects to the desktop Linux system running in the background and makes it available to you in a typical Chrome OS window.



This still requires the usual Crouton installation process — it just means that Linux system can be used much more easily and in a more integrated way afterwards.

This method also adds a few more bonuses. Your Chrome OS clipboard will synchronize back and forth with your Linux system (known as a “chroot”) and links you click in the Linux environment can be loaded in standard Chrome OS browser tabs.

Install Crouton on Your Chromebook

First, you’ll need to have Crouton installed. This involves enabling Developer Mode on your Chromebook and then running the appropriate command to download and install the Linux desktop software you want to use.

Follow our guide to installing Linux on your Chromebook with Crouton if you need more details. Be sure to install the “xiwi” or “extension” target of Crouton. For example, run the following command to install the Ubuntu 14.04 (Trusty) Linux system with the Xfce desktop and support for running in a browser tab:
sudo sh ~/Downloads/crouton -r trusty -t xfce,xiwi
Wait a while for the script to download and install the Linux software after running the command. Provide a username and password when prompted, and check the official documentation if you need help with anything else.

Install the Browser Extension

Your Crouton Linux system should now be installed. Typically, you’d launch it from the terminal and then switch between it and your Chrome OS desktop with specific keyboard shortcuts. That’s more convenient than rebooting to switch between the two environments, but the browser extension here makes it even more convenient.

Install the Crouton Integration extension from the Chrome Web Store on your Chromebook. Next, start the Linux system by opening a shell and running the appropriate command. For example, if you installed the Xfce desktop, you could press Ctrl+Alt+T, type shell and press Enter, and then type sudo startxfce4 and press Enter.


Do whatever you like with the Crouton tab or window. You can have the Linux system in a full-screen browser tab, or put it in a window and move it wherever you want on your screen. The Linux desktop can be resized on the fly — just by resizing the window

If you have a large enough screen, you could even use split-screen mode, viewing your Linux desktop on one half of the screen and Chrome OS applications and browser windows on the other half.



Full desktop Linux systems open up a lot of possibilities, from using powerful developer tools and standard UNIX commands to playing games like Minecraft and the many games available on Steam for Linux. Web developers could even use this trick to run Firefox directly on their Chromebooks in a browser tab so they can see how their websites render in a different browser. Now all of it can be done right on the Chrome OS desktop without all the switching back and forth.

If you have any queries/feedback, please write it in comments section below OR mail me here : Snehal[at]Techproceed[dot]com.

Happy Linuxing !!  :-)

Block Ads in All Your Android Apps Without Root or Extra Battery Drain

If you're in the market for a non-root ad-blocker, developer Julian Klode has an app that you'll definitely want to check out. It uses Android's VPN system in a similar manner to alternative apps like NetGuard and AdGuard, but it's got a new twist that should save lots of battery life in the process.

Unlike its competitors, Klode's ad-blocking app works at the DNS level, meaning that it only filters traffic for a brief moment when connections are first made, which is where all of the battery saving comes into play. To top that off, it's completely free and open-source, so it's an instant contender for best no-root ad-blocker.

Requirements
 
  1. Android 5.0 Lollipop or higher
  2. "Unknown sources" enabled 

Step 1 Install DNS66

The app that will block all ads on your non-rooted device without excess battery drain is called DNS66, and it's available for free on the F-Droid Repository. This site is a trusted home for free and open-source Android apps, so tap the following link from your Android phone or tablet to begin:
Download DNS66 from the F-Droid Open-Source Repository

From there, scroll down to the Packages section on the page, then tap the link that says "download apk." Next, simply tap the Download complete notification to launch the APK, then press "Install" when prompted.




Step 2 Choose Domain Filters

When you first launch the app, you'll be greeted by a set-up guide. Read through that if you'd like, but I'll cover the process below anyway.

To start, head to the Domain Filters tab at the bottom of the screen. From here, you'll have to pick at least one ad-blocking hosts file, which is basically a list of known ad servers that the DNS66 will block for you. I'd recommend selecting only the "Adaway hosts file" here, and you can do that by tapping the red dot to the left of this entry. When you've successfully enabled an ad-blocking hosts file, the adjacent dot will turn green.




Step 3Enable the VPN Service

From here, head back to the Start / Stop tab from the bottom menu, then tap the refresh icon near the top of the screen. At this point, you'll see a notification that tells you the hosts file is downloading, so wait for that to finish. When it's done, long-press the power icon in the center of your screen to enable the VPN ad-blocking service, then press "OK" on the popup.






Step 4 Enjoy Your Favorite Apps Without Ads


From now on, ads will be blocked in your browser, as well as all of your other apps, thanks to DNS66's VPN service. When the service is active, you'll see a small key icon in your status bar, which should now be present at all times:


 
 
 
(1) IMDB app before DNS66. 
(2) IMDB app after DNS66 (note the key icon in the status bar).

Unlike other VPN-based ad-blockers, DNS66 blocks ads at the DNS level. This means that only DNS traffic is redirected through DNS66 and filtered for ads, as opposed to the method employed in similar apps, which filters all data traffic for ads.

What this boils down to is that all ads will be blocked system-wide—but, because only the tiniest bit of data is being filtered, DNS66 has a very minimal battery footprint. Compared to a similar app in Adguard (which filters ads in all traffic), you can see that DNS66 doesn't even show up in my battery stats, whereas Adguard ranks at the top of battery-draining apps:


 
 
(1) Battery stats with Adguard (at the top). 
(2) Battery stats with DNS66 (not listed as a battery-draining app at all).

How to Skip the Wait and Upgrade Your Nexus to Android Nougat Now

2016-08-23 00.03.43 

Android Nougat is here, but it’s rolling out to Nexus devices slowly. If you still haven’t gotten the upgrade notification, here’s a little trick to upgrade sooner.

My Nexus 5X hadn’t gotten the update notification today, but after performing these simple steps, I’m up and running Android 7.0 with no hassle. You don’t even need an unlocked bootloader.

It turns out, users enrolled in the Android Beta program are getting priority with this update. If you aren’t in the beta program, though, you can enroll now–and if the update has started to roll out for your device, you’ll get the final version of Nougat right away. When it’s done installing, you can just unenroll from the beta program without any consequences. (Hat tip to -TheReal- on Reddit and @jmcountryman on Twitter for pointing this out!)

This only works for Nexus devices that are currently slated to get the update, which means Nexus 6, Nexus 5X, Nexus 6P, and Nexus 9, as well as the Nexus Player, Pixel C and General Mobile 4G. In addition, it won’t work just yet for some devices–Google has started rolling out to the 6P, 5X, and Pixel C first, and this trick should work right away. Nexus 6 and 9 users are reporting that it isn’t working yet, but once Google starts that rollout, it should work there too.

Step One: Enroll in the Android Beta Program

This could not be simpler. First, head to this page in a web browser. If you’re logged into your Google account, you should see eligible devices in a list further down the page. Just click the “Enroll Device” button to enroll in the beta.

NOTE: The page claims your data will be wiped when you opt out, but as long as you’re downloading a final build and not a preview build, you’ll be fine–your device won’t be wiped. But it couldn’t hurt to make a backup of your important data first, just in case.

screenshot.1

Step Two: Download and Install the Update

You should soon see an update notification on your phone (mine came almost immediately). Tap it, and you’ll get more information about the update.


androidfinal androidbeta


If you see the screen on the left, that means Google is serving a final release for your device, and you can tap the Download button to continue. If you see the screen on the right, however–which notes that the update is a preview build–do not tap the Download button. The final version isn’t rolling out to your model yet, so try again later.

Give your phone time to download and install the update, and soon you should be running Android Nougat, fresh from Google’s official update mechanism.

Step Three: Unenroll in the Beta Program

Now that you have the update, head back to the beta enrollment page and click the “Unenroll Device” button for your phone. Now that you have the update, you don’t need the beta program anymore (unless you want to keep it). Again, the page warns that your device will be wiped, but as long as you installed a final build and not a preview build, your device should be fine.


screenshot.2


That’s it! Enjoy all the new features of Android Nougat, and go brag to all your friends that you got the update first.


If you have any queries/feedback, please write it in comments section below OR mail me here : Snehal[at]Techproceed[dot]com.

Happy Updating !!  :-)