28. July 2018

Unable to shut down Windows on computer with Linux dual boot

After installing Linux in dual boot on the computer with Windows you may experience a strange problem. It’s no longer possible to shut down the computer from Windows. The computer immediately re-spawns to the Windows login screen.

The issue is most likely caused by booting Windows from the incorrect bootloader. If you have two partitions (sda1, sda2) on the system, make sure that you’re booting Windows from the one with the operating system.

Booting from incorrect partition could cause other strange errors, like problems with updating Windows. You can read more in the article: Failed to install Feature update of Windows 10, version 1803 on machine with Linux dual boot.

28. July 2018

Failed to install Feature update of Windows 10, version 1803 on machine with Linux dual boot

I was chasing a very strange bug for a long time: Windows 10 was not able to install any feature update.

Update history in Windows contained just a message:

Feature update to Windows 10, version 1803
Failed to install on ‎2018-‎05-‎24 - 0xc1900101

To keep the long story short: I was starting Windows by the incorrect bootloader.

Grub from Linux Mint auto-discovered two Windows partitions /dev/sda1 and /dev/sda2. The first partition was just a small partition with bootloader from the previous installation of Windows. When booted by “chainloader +1” the boot automatically kicked in and started Windows stored on the second partition. Unfortunately it had an impact on updates and shutdown of the computer.

The correction was quite simple. Just start Windows from the second partition.

I rebooted the computer from sda2 partition and then I started the new installation of Windows 10, version 1803 update using Windows 10 Upgrade tool.

This correction also fixed another strange bug, that I was not able to shutdown Windows. When I selected “shutdown”, Windows respawned in a few seconds back into login screen. Again the problem was that old bootloader from the first partition kicked in, after the shutdown of Windows and resumed it.

Big thanks to Max Green for pointing out that the problem might be caused by invoking incorrect bootloader.

14. July 2018

How to install Brother DCP-1610W on Linux Mint

Brother DCP-1610W and DCP-1610WE are laser printers with WiFi support. The problem is that configuration files for printing are not part of common distributions like Linux Mint.

You can try to use Foomatic driver for DCP-1200, but the result won’t be great. It’s necessary to install drivers from Brother.

There is one gotcha. If you install just a CUPS Wrapper from Brother, it won’t work. You need to install LPR and CUPS packages.

Download two deb files:

LPR printer driver (deb package)

CUPSwrapper printer driver (deb package)

Install them:

dpkg -i dcp1610wlpr-3.0.1-1.i386.deb
dpkg -i dcp1610wcupswrapper-3.0.1-1.i386.deb

The last command should add a printer to your system. CUPS should be also able to discover the printer on WiFi using mDNS. The important part of the configuration is:

Maker and Model which is set to: Brother DCP-1610W for CUPS

2. July 2018

How to switch tabs in Xed

Xed is the default text editor in Linux Mint. Xed has some neat features. E.g. it has support for tabs.

How to switch between opened tabs?

Ctrl+Alt+PgUp - switch to the next left tab
Ctrl+Alt+PgDown - swith to the next right tab

The other option is to use the mouse wheel and switch between tabs by the scrolling.

1. July 2018

How to display line numbers in Xed

Xed is the default text editor in Linux Mint with Cinnamon environment. It is fast and simple to use for editing source codes or text documents. The default configuration comes without enabled line numbers. Here is how you can enable line numbers.

Open menu Edit and select Preferences.

Click checkbox Display line numbers.

The change will take place immediately.

Here is the recording of “How to”:

  • Quick search

  • Links

  • Twitter

    Follow @jurajmichalek on twitter.

  • Comments

  • Tags

  • Topics