Since Ubuntu is quite bloated now, i have removed gdm, switched to fluxbox, and installed framebuffer. As the side effect, in X i couldn't change the language and usual xorg.conf config didn't work.
Solution was to edit file "/etc/default/console-setup", which currently looks like this (only important lines):
# The following variables describe your keyboard and can have the same
# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# in /etc/X11/xorg.conf.