Fix: Acer Laptop freezes with Arch Linux and other systemd based distros

I had a problem with Arch-based (or systemd based?) distros with my Acer ES1-512 laptop. Every time I used systemctl suspend or pm-suspend the whole system just totally froze. Shutdown didn’t work either: the system was shut down, but the laptop didn’t turn off (screen backlight was on, and the fans were working too). I tried a bunch of kernels, systemd versions, different kernel parameters, but neither of them worked.

A week ago I installed Arch again and played around with the BIOS settings (again). Then I’ve found the source of the problem, or at least I think: I had to disable the xHCI support (External USB 3.0 controller) in the BIOS settings. After I disabled it, the freezes were stopped, my Acer laptop started to work properly. Shutdown works too.

I answered a question about this in the Arch Linux forums too: Acer Aspire E13 : Suspend/Poweroff don’t Work

UPDATE: The problem exists with Debian 8 “Jessie” too, so it seems it’s not Arch-specific, rather systemd-specific, I think. The solution should work with Debian (or with other systemd based distros) too.

Vimpv

Vimpv is a javascript plugin for Vimperator which allows you to follow/open video urls with mpv. Tested on Youtube and Vimeo.

Usage:

The default key map is ;m

You can map the default key to something else, for example, if you don’t use the mark command, you can map it to m in your ~/.vimperatorrc:

nmap m ;m

You can find the plugin in my dotfiles repo:

https://github.com/spcmd/dotfiles/blob/master/vimperator/.vimperator/plugin/vimpv.js

Vim Easy TODO

Today I released my very first Vim plugin called Vim Easy TODO. I’m using Vim for about 3 weeks now, and I like it a lot. I still have a lot to learn, but I’m looking forward to it. I needed some To-do list plugin like PlainTasks for Sublime Text. But I didn’t want to use some “heavy” plugin, I just needed to have some basic, formatted/colorized To-do list. So I decided to write it for myself. It’s not perfect, but it does the job. It has some basic customization feature, but not too much. Keep it simple and stupid, you now. :)

Vim Easy TODO is a simple & easy to use ‘To-do list’ plugin for - of course - Vim. For those who need only some basic functionality when creating To-do lists.

vim-easy-todo

If you interested, please visit the project’s page on github:

https://github.com/spcmd/vim-easy-todo