Ubuntu 16.04 Xenial Guest on Vagrant – vagrant init bento/ubuntu-16.04

Vagrant can install a virtual guest system in two minutes. Vagrant also configures guest SSH server automatically. To use latest Ubuntu 16.04 LTS Xenial, you should use box bento/ubuntu-16.04. $ vagrant init bento/ubuntu-16.04 $ vagrant up $ vagrant ssh That’s … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Comments Off on Ubuntu 16.04 Xenial Guest on Vagrant – vagrant init bento/ubuntu-16.04

Instant Firewall – sudo ufw enable

Firewall prevents access to all ports, except the ones you allow. Ubuntu ‘ufw’ command makes it easy to set up a firewall on Ubuntu. It only takes two commands to set up a firewall: $ sudo ufw allow 22/tcp $ … Continue reading

Posted in Uncategorized | Tagged , , , , | Comments Off on Instant Firewall – sudo ufw enable

Simple Line Graph with Plotly.js

Draw a simple line graph with Plotly.js. With Plotly, drawing a line graph is just a single line of code.

Posted in Uncategorized | Tagged , , , , , , | Comments Off on Simple Line Graph with Plotly.js

Disable touchpad when typing – syndaemon

Does your palm hit your touchpad when you type? Syndaemon momentarily disables touchpad when typing, with many extra features.

Posted in Uncategorized | Tagged , , , , , , , , , | Comments Off on Disable touchpad when typing – syndaemon

Prefer IPv4 on Ubuntu 16.04 LTS xenial – /etc/gai.conf

New Ubuntu 16.04 LTS Xenial prefers IPv6 connections. In some networks, this breaks software updates. You can easily fix this by making Ubuntu prefer IPv4 connections over IPv6.

Posted in Uncategorized | Tagged , , , , , , , , , | Comments Off on Prefer IPv4 on Ubuntu 16.04 LTS xenial – /etc/gai.conf

Short Bash prompt – export PS1="\W\$ "

You can have a nice, deep directory stucture – and still keep your prompt short and tidy.

Posted in Uncategorized | Tagged , , | Comments Off on Short Bash prompt – export PS1="\W\$ "

Salt State with Multiple SLS Files

One salt state can have multiple SLS files. Other files are included from init.sls, so you can just use folder name to run the whole multi file state.

Posted in Uncategorized | Tagged , , , , , , | Comments Off on Salt State with Multiple SLS Files

txvars – Start X Applications from Long Living Screen Sessions

Do your ‘screen’ sessions last for a week or a month? Do you like to start your X applications from the command line? You might need txvars. This article requires fluency with command line interface.

Posted in Uncategorized | Tagged , , , , , | Comments Off on txvars – Start X Applications from Long Living Screen Sessions

USB MIDI keyboard on Linux – Akai LPK25

Akai LPK 25 Professional USB MIDI keyboard works on Ubuntu Linux. Keypress velocity, multiple keys and octave up/down all work as expected.

Posted in Uncategorized | Tagged , , , , , , , , , , , , | 1 Comment

English in Finland on Ubuntu

Use English with modern units, such as meters. Updated for Ubuntu 12.04 LTS. English is the common language of computers. But why does it come with obsolete units, such as feet instead of meters? English in Denmark en_DK.UTF-8 is the … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , | Comments Off on English in Finland on Ubuntu