Wednesday, May 3, 2017

Use HMI remotely

Main principles:
- login via ssh as root (sudo) to create tun interface
- enable IP forwarding on the proxy

Monday, November 14, 2016

Enable natural scrolling in xfce4

- Run /usr/lib/gnome-settings-daemon/gnome-settings-daemon.
It can be enabled in Settings -> Session and Startup -> Autostart -> GNOME Settings Daemon

- In dconf-editor find touchpad.
It can be in org.gnome.settings-daemon.peripherals.touchpad or in org.gnome.desktop.peripherals.touchpad.
Enable natural-scroll option.

- Reboot

Note:
reverse scroll direction option in System Settings should be disabled in my case

Sunday, December 20, 2015

Шифрованный контейнер

1) Create an empty container:
$ dd if=/dev/zero of=container.img count=20000
20000+0 records in
20000+0 records out
10240000 bytes (10 MB) copied, 0,0348345 s, 294 MB/s

Saturday, November 14, 2015

Использование .pac файла для коммутации прокси-серверов

Полезная ссылка

chromium

You may enforce that all chromium browser instances on a machine use the autoconfig url. Place a file (e.g. proxyConfig) below /etc/chromium-browser/policies/managed/ with the following content

Saturday, November 7, 2015

Use git through a proxy

Tutorial: how to use git through a proxy

What kind of proxy
The most common are an HTTP proxy, and a SOCKS5 proxy - for example, one opened with the ssh -D command, documented in ssh(1)

Настройка Firefox

Масштаб по умолчанию
about:config -> layout.css.devPixelsPerPx