DisplayLink and Ubuntu 17.04 (intel)

I had a problem with DisplayLink drivers on my Dell Precision 5510 (XPS 15) after upgrading to Ubuntu 17.04.

The monitors connected to the DisplayLink device was enabled and identified, but the screens stayed all black.

Of course, there’s a solution. I found this evdi issue, containing a solution.

Create the file (and directory) /etc/X11/xorg.conf.d/20-intel.conf, with the content:

Section "Device"
  Identifier "Intel Graphics"
  Driver "Intel"
  Option "AccelMethod" "sna"
  Option "TearFree" "true"
  Option "TripleBuffer" "true"
  Option "MigrationHeuristic" "greedy"
  Option "Tiling" "true"
  Option "Pageflip" "true"
  Option "ExaNoComposite" "false"
  Option "Tiling" "true"
  Option "Pageflip" "true"
EndSection

Credit goes to github/ajbogh.

Make Thunderbird great again!

I have many times tried finding a modern replacement for Thunderbird, but it always ends without success.

There’s Nylas Mail, Hiri etc, but there has always been some needed feature (for me) missing.

Then I heard about Monterail, which basically is a functional theme based on a Thunderbird mock up. And just recently an Arc (theme) integration for Thunderbird has been released.

The two together makes Thunderbird quite pleasant to look at.

Dual boot Linux and Windows – BIOS system time incorrect

I, unfortunately, have to dual boot to Windows once and a while, due to requirements where I currently have an assignment.

What I’ve noticed and that really grind my gears, is that when booting Windows after I have been running Linux the BIOS System time is incorrect by -2 hours.

After searching for information how to solve this, I found a thread on the Microsoft forum with a user that had the same problem and learned something new:

Windows uses BIOS time to hold ‘local’ time (UTC+offset+daylight savings according to the time zone used) and Linux uses BIOS time to hold Universal Time (UTC).

That got me to the ever so good Arch Linux Wiki (this is an area that I think Ubuntu has become weaker in; updated and good information in a community wiki. Don’t get me wrong, I love askubuntu.com).

Open Windows Powershell and run it as administrator:

reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_DWORD /f

If this does not solve it, try changing REG_DWORD to REG_QWORD.

Thunderbird and Office365 (mail + calendar)

Here’s how you setup Thunderbird to work with mail and calendar from Office365.

Install dependencies

sudo apt install thunderbird

Start Thunderbird, and go to Tools, Add-ons, Get Add-ons.

Search for Lightning and install the add-on.

Goto Ericssons github repository for exchange calendar and download the latest stable version. Go back to Tools, Add-ons, Get Add-ons, click on the gear icon next to the search and choose Install Add-on From File.... Navigate to where you saved the xpi plugin file.

Configure mail

Go to Edit, Account Settings, Account Actions and Add Mail Account. Enter your settings.
IMAP server: outlook.office365.com:993
SMTP server: outlook.office365.com:587

Configure calendar

Go to the Calendar (lightning) tab, right click in the left menu pane under Calendar, chose New Calendar... and select On The Network.

Format: Microsoft Exchange 2007/2010/2013
Name: <Name of the calendar>
E-Mail: <E-mail account created in previous step>
Exchange Type: Microsoft Office365

Click Check server and mailbox, it will ask you for your password.

Folder base: Calendar folder

Finish the wizard, and you’re all done!