Skip to main content

Posts

Resolve Linux screen freeze due to external monitor

My Laptop has  Linux mint 18 installed. Here is the thing I wanted to do. There is an extra monitor I wanted use it as a secondary screen (or dual display) and set the monitor's display as my primary screen.

However, the max resolution of the laptop(1366x768 16:9 ) and max resolution of the the monitor(1366x768 16:9 ) are different. So, whenever I connect the VGA cable of the monitor to my laptop(through an HDMI converter), it was just mirroring the screen with a low resolution 1024x768. And when is change the resolution to 1366x768 16:9 (or any other) the screen freezes. And you can not do anything. Either you can hard shutdown or reboot from here. Only the mouse pointer movement is seen but the clicks are not recognized . Keyboad's cap/num lights works but keys don't work. Only thing I can do is long press the power button till it is shutdown. Other option is to go to tty(Ctrl + Alt + F1 ) and login to reboot it. This seems like a bug. But whose OS/Kernal /Cinnamon - do…
Recent posts

Installing and Using LLVM Clang on Linux

Here are the specs (Hardware and software) of my machine
RAM: 8GB
Proc : Intel Core i7-4510U @ 2.00GHz
Linux mint 18 Cinnamon
word size - 64 bit
Kernel - 4.4.0-21-generic
swap Size - 10GB
HDD :  150GB

There are two ways of installing
1. Install from apt-get
2. Building from src files using tar.gz
Make sure to check this requirements.
GNU Make3.79, 3.79.1Makefile/build processorGCC>=4.8.0C/C++ compilerpython>=2.7Automated test suitezlib>=1.2.3.4Compression library //it worked without this1. Install from apt-get  $ sudo apt-get clang-3.9 llvm-3.9

Reference:  http://apt.llvm.org
2.  Building LLVM 3.9.1 from SourceDownload two tar file for llvm & clang from hereExtract both the files inside some folder // say llvmRename llvm-3.9.1.src folder as llvm-3.9 //LLVM_SRCRename cfe-3.9.1.src folder as clang and move inside folder llvm-3.9/toolsCreate a folder llvm/llvm-build and cd llvm-build // LLVM_OBJ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DLLVM_ENABLE_ASS…

Challenges in Linux Mint 18 Cinnamon installation

The scenario is I have a Dell Inspiron machine dual booting Window 8.1 and Debian 8. I wanted to replace the Debian with Linux Mint 18 Cinnamon.


Download the ISO file (64bit) from https://linuxmint.com/download.phpVerify the downloaded ISO file from  https ://linuxmint.com/verify.phpPress F2 during boot screen and make the fast boot to OFF & save and exit.Press F12 during boot screen and make the boot mode as UEFI and Safeboot off.Using Unetbootin create a bootable ISO using the USB disk.In Windows > Settings > System &recovery > Using your Pendrive > restartIt boots into Mint 18, Install option At some step it asks for partition choose "something else"Delete the existing "/" partition and "/home" using Minus "-" Create partition "/" and "/home" using "+" make sure that format is checkedAfter installation grub did not appear and it boots into windows directly.bcdedit /set {bootmgr} path \EFI\mint…

Debian and it's love ...!

I have been using a lot of Linux/based distribution during my UG days. It all started with installing solaris on my 512MB RAM machine after an installation demo by CSE seniors(Krithika, Balachandran and others) . Then, I went on to Ubuntu, Fedora, OpenSUSE, Debian for reasons during my project work. Of all, my Favorite is Debian for their less memory or/and power consumption with simple neat looks. 

During my PG days I installed Ubuntu 14.04 and were using for the past 2 years (almost). Now that I wanted to get back to my fav Debian and went into so many issues which I haven't faced during those days. Moreover, hardware/software itself got too complicated with BIOS/UEFI/Legacy mode/Safeboot/Fastboot/Win8/Win10. 

Objective, I wanted to replace Ubuntu with Debian and still use it a dual boot alongside windows. Specs: Debian 8.4, Dell Inspiron 3000 series, I7, 8GB RAM

Initial steps 
0. To live boot F12 key at boot, I have to choose boot from pendrive under Legacy option in boot menu opti…

Connect to [faster] internet via Intranet machine

Hi Folks,

Good to see you  you see it again. Let's get to the point straight. This procedure can help you in two ways.  You are on a LAN where your machine don't have a Internet and say you know a machine which has(Of course you need your credentials) .You are on a LAN. Say your internet speed sucks. Say the other machine has a faster speed. 

Section 1: Proxy config 
All the snapshots are from Ubuntu. It can be done for other Linux Distro's or Windows as well.
Note:- Port number in Section 1.4 and Section 2.3 must match





Section 2. Putty config

Install Putty if you don't have it already.





Thanks to Satya Ivvv


Configure IITM's CSE Department mail on Andriod

Going to follow K.I.S.S policy. DIY seeing snapshots below. That's it. Thanks! 
Caution: Don't change any default ports.. Just edit the server and security type alone as below. Email-ID = DCF_USERNAME@cse.iitm.ac.in
Step 1- Open Gmail App> Settings>Add account>  IMAP/POP3>Email-ID/Password > IMAP  (I have choosen IMAP. But it should naturally work  for both)
Step 2(In settings)- Email ID > Password>csemail.iitm.ac.in > SSL/TSL (Accept all cert).
Step 3(Out settings)- Email ID> Password>csemail.iitm.ac.in > STARTTLS (Accept all cert)

P.S.
K.I.S.S - (Keep It Simple Stupid) 
DIY - (Do It Yourself)