Posts

Showing posts from May, 2021

Wayland and further issues

Image
geeqie image viewer   In the previous article I wrote about the issue with Wayland and NVidia graphic card . It turns out, that was not the only issue with Wayland. I was really annoyed when my favourite image viewer geeqie always shows nothing, I could only see white space. First I thought this were geeqie issue, after I found out through browsing the web, that many people have had the same issue due to Wayland. Finally I found the solution, to tick the Two pass rendering in the Preferences > Image. Thought that would be the last issue. Now I'm facing strange behaviour with Firefox. When editing something on the web, it seems that Firefox fails to redraw the content. Strange because I haven't had similar issue before. So while I'm still figuring out the root cause, I'm starting suspecting Wayland. I will change to Xorg and see wether the issue still exists. Wayland... Wayland... Wayland...

Solving Wayland and NVidia conflict on Ubuntu 21.04

Image
Finally Wayland is activated    Have you jumped on Ubuntu 21.04 wagon to test out the Wayland and Flutter optimization but Ubuntu refuses to log you in Wayland? Most probably you have a NVidia graphic card installed and Ubuntu automatically deactivates Wayland. In my case, NVidia graphic card was pre-built in, but I actually never use it. So it pains to see NVidia stands in the way of experiencing Wayland. What I did was, I ran the NVidia settings (automatically installed on Ubuntu) and selected the option to use only the built-in Intel graphic card. And restart the laptop/PC. And welcome to the world of Wayland (see the picture above). No need of further configuration or changing many things in many place like I found in a tutorial. So it was simpler than I expected. That's all. 

Solving Flutter Doctor Issues on Ubuntu 21.04

Image
  Some of flutter doctor issues If you are having following issues with flutter doctor then read further. I have had these issues and it took sometimes for browsing stockoverflow and going through trial and error. BTW I installed the snap version of Android Studio and Flutter. Basically I got following issues: Android Studio not found Missing android toolchain and android licences Not being able to find android licenses Install Android SDK command-line tools Android Studio Settings This is the first solution. In my case the Android SDK command-line tools were not selected and installed. After installing it, the android toolchain issue and android licenses are gone. When I ran flutter doctor afterwards, there was a step to review of android licenses. Adjust the PATH This is the second solution for the error Android Studio (not installed). I added the following lines in .profile file in my home directory: ANDROID_SDK_ROOT=$HOME/Android/Sdk FLUTTER_SDK=$HOME/snap/flutter/common/flutter A