Skip to main content


Showing posts from 2017

Ubuntu how to setup a vpn connection, tsocks, corporate wifi with openconnect and openvpn or socks

These are just notes.
Cisco vpn setup with CSD support [corporate setup]
# install
sudo apt-get install openconnect network-manager-openconnect-gnome

#restart network-manager or reboot the laptop

Create ~/.cisco folder

mkdir ~/.cisco 

Download the csd-wrapper-sh from github

copy the to that folder

Edit the file and set the CSD_HOSTNAME

Run the script to download the resources, one time, and make sure the resources are downloaded.

bash ~/.cisco/

On gnome shell, settings->network add a vpn connection

Command line with CSD support:# open a connection with csd support, use --background to run as daemon
sudo openconnect --user=lafa --csd-user=lafa --csd-wrapper=/home/lafa/.cisco/ --background --pid-file=${HOME}/
Without CSD support# select dynamic updates sudo dpkg-reconfigure resolvconf Gnome ne…

Asus Chromebook C302 with Android Apps

I got an Asus Chromebook 302 that comes with an Intel core m3, 64Gb, 4Gb of memory.

Some problems I got on my device:

After I enabled the android app store the laptop started to reboot randomly. I tried removing the apps and switching chrome os channels, but it did not fix the problem.

So I decided to create a recovery SDCard using chrome recovery utility. I re-imaged the laptop with the SD card, using the instructions from the chrome recovery utility.

After that the laptop booted in stable channel, I update the laptop to the latest stable image.

List of Applications I am running:
Pandora, Yahoo Mail, Yahoo Messenger, Hangouts, Play Newsstand, Hangouts Dialer, Calendar, Photos, Npr One, Voxer, Twilight, Firefox, Youtube, Google wifi, Hipchat, 3Dmark.
Here is a screenshot running 23 Android applications at same time.

This is screen shot running twilight, for those of us missing a blue light filter.

3DMark and Octane
The score below is running in the ChromeOS dev channel. I only able t…

Chrome OS advanced commands, settings, expert features

Chrome OS advanced commands, settings, expert features All features described here where tested on a Asus C302 Chromebook, but should work on all Chromebooks, screenshots are from the Asus C302.
Recovery Install new factory image for your chrome book

Perform a Hard Reset Go to settings select the reset section, you can do a reset or a powerwash.

Force-Boot Into Recovery Mode If you’d like to reinstall Chrome OS and you don’t see the “Chrome OS is missing or damaged” message on your screen, you can force your Chromebook to boot into recovery mode.

First, turn off your Chromebook. Next, press Esc + Refresh on the keyboard and hold down the Power button. Your Chromebook will boot straight to recovery mode.

Enable Canary First, turn off your Chromebook. Press Esc+Refresh+Power and, when the recovery prompt appears, press Ctrl+D and accept the prompt that appears to disable boot verification. When the Chromebook reboots, press Ctrl…

Ubuntu GNOME 17.04 running with HiDPI and touch screen support

Ubuntu GNOME 17.04 running with HiDPI and touch screen support

See my previous post on how to install Ubuntu on Yoga Pro 2 for Ubuntu GNOME 16.10.

I think Ubuntu GNOME is the best flavor of Ubuntu if you are running in HiDPI mode 3200x1800. All screen captured images are at HiDPI resolution.
Touch support Ubuntu gnome support for touch screen is pretty good on the desktop shell.
Chrome browser supports touch screen very well and much better than Firefox without any plug-ins.
The windows key on the screen panel works as the windows key on the keyboard.
Screen rotation is supported on the new gnome and disables the keyboard when the yoga is used as a tablet, side lock rotation button works to lock the screen in a certain rotation.

 What works Almost everything works great out of the box, there isn't many changes you need to do.
UbuntuGnome ships with gnome 3.24 and will boot with full resolution HiDPI and touch screen support enabled
Screen HiDPI supportBrightness, resolution keys, o…

How to install Cura 2.X on Ubuntu 17.04

How to install Cura 2.X on Ubuntu

Cura is not available on ubuntu Repositories on version 17.10.

The resolution: To fix this issue you will need to install a PPA repository.

How to get this archive working properly is found here

rm -f ~/.config/cura/*
rm -f ~/.local/cura/*
sudo add-apt-repository ppa:thopiekar/cura
sudo apt-get update
sudo apt install cura cura-plugins-all cura-extra-plugins-all

Running Windows 10 on Ubuntu with support for 2D accelerated video, disk, network and touch support

How to run windows with acceleration support on Ubuntu 17.10
This works on 17.10, 17.04, 16.10, 16,04.

This setup will accelerate the virtual VM for disk, network, video, random device and memory, it also adds support for touch screen for windows 10 running inside Ubuntu.

Download the iso for windows 10 from Microsoft web site, install the image using regular gnome-boxes interface.
Goto to and download the Spice Windows guest tools, to allow copy paste and resize when running under boxes, and install it.
I also installed the guest-agent available inside the virtio-win-XXX.iso cd image under the guest agent folder. Then download the virtio-win-XXX.iso from here, pick the latest version. Goto the device manager browser on windows 10 and click on all devices with problems, and point these to the where the cdrom is and select update.

Do the same for the display driver…