Recently I have installed Ubuntu 16.04 on dual boot with Windows 10.
I was having the flickering screen problem but I have partially solved it (sometimes it flickers) by following this previous answer.
However the issue I am facing now is that on clicking shutdown, although it does shuts down, before the Ubuntu logo is displayed this particular screen appears
As you can see, it prints multiple lines of:
[[5~^[[5~^[[5~^...
I haven't found anything regarding this type of error in the Internet.So can anyone describe what cause of this error is, and how to fix it?