As has been noted in a closed thread, the Flash version of the beautiful game Machinarium does not play very well under Ubuntu. The main problem is that the mouse is extremely laggy, especially when the cursor changes to a different icon (for example, when trying to use an item). This makes the game frustrating and ultimately unplayable.
There is a solution posted by Aaron Plattner, which is to recompile libX11 with a hack for the cursors. However, the instructions he gave no longer work quite right, mostly because machines nowadays are 64-bit. Here is a recipe which does work.
Code:
sudo apt install git gcc-multilib xtrans-dev libx11-dev:i386
git clone -b machinarium-workaround git://people.freedesktop.org/~aplattner/libX11
cd libX11
sed -i 's#$(srcdir)/##' nls/Makefile.am
CFLAGS=-m32 LDFLAGS=-m32 ./autogen.sh --prefix=$HOME/games/machinarium
make install
cd $HOME/games/machinarium
LD_LIBRARY_PATH=`pwd`/lib ./Machinarium
Bookmarks