Posts

getting rid of chrome os

If you have read my last OS, I do have Gallium running on my Chromebook.

I bought Chrome OS thinking it will just be a machine to check email when I am on-the-go and it worked fine for a while until I just got annoyed how little I could do with it.

Thanks to crouton, I was able to run xfce on the box for a while which removed some of the pain - but there was still something lingering in the back of my head. What about running linux on it full time.

Replaced with various distros and had a lot of problems - some had no sound, some had keyboard problems and some trackpad problems.

Finally found Gallium and it worked perfectly. Have been using it for the last 2 months and have had no issues at all.

Think I am finally happy with my chromebook.

Picking the right linux distro???

Having been working on Linux for such a long time, I seem to be coming back to xfce (thru xubuntu) every single time i switch to a different distro.

I really had high expectations on most of the ubuntu distros, but all seem to be failing in one form or another.

Ubuntu - Hate the Gnome 3.x interface mixed with the canonical's work on it. Not sure why, but it just did not work for me.

Lubuntu - I liked Lubuntu, as it was pretty close to xubuntu; but the interface felt too dated for me. I will definitely use it in the future if i have a machine old enough to need this. I don't really have any complaints on this one. I do understand that it does serve its purpose of being the light weight OS for old machines - which makes it perfect for what its meant to do.

Elementary - The interface was awesome, but it was bad when i had to install anything which does not go well with that interface. I use eclipse for 50% of my work and it was horrible on elementary. I had to ditch it.

Mint - I …

virtual box shared folders in ubuntu

Commands

sudo usermod -a -G vboxsf <user_id>
sudo chown -R <user_id>:users /media/sf_<folder_name>/

Install Chrome on Ubuntu

Run on Terminal:

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list

sudo apt-get update

sudo apt-get install google-chrome-stable

Ubuntu 18.04 Postman error

If you see the below error when you try to run postman, don't worry... Just run the apt-get and you should be all good

Postman Error
./Postman: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

command to fix the issue
sudo apt-get install libgconf2-4

chromebook xfce eclipse crash

Recently i have been having issues while writing code on my chromebook, wherein eclipse would randomly crash.

In order to debug that, i installed htop. My assumption was that eclipse was running out of memory considering i am running it on a 4GB chromebook running xfce.

There are a lot of plugins on Eclipse which run, which i guess were causing it and i did not have the patience to go thru all of them and remove the ones i did not need. I am sure it was you spell check!! I am sure...

I basically increased the xmx setting in the eclipse.ini file to 1280m and i haven't had any crashes after that. Guessing will go higher if it crashes.


p.s. I am looking to buy a desktop to offload some of the work as i am not sure how sustainable this is.

Chromebook xfce mysql setup

Here are the steps i used to setup mysql on xfce (chromebook)


open terminalrun sudo apt-get install mysql-serverduring the installation, you will be asked to enter the root password for the mysql instance - this is not the password for the root user for linux.restart the server to get it running using sudo /etc/init.d/mysql restartyou may get some warning - you can ignore thatfor security setup, run mysql_secure_installation. you can set the password rules, connection rules etc. hererestart again using step 3check status using sudo /etc/init.d/mysql status and you should get the below response (or something similar to that)

 * /usr/bin/mysqladmin  Ver 8.42 Distrib 5.7.22, for Linux on x86_64 Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Server version5.7.22-0ubuntu0.16.04.1 Protocol version10 ConnectionLocalhost via UNIX…