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

Monday, July 20, 2015

Искажение звука в Skype и Viber в Linux


  • Откройте файл /etc/pulse/default.pa
  • Найдите строку load-module module-udev-detect и замените ее на load-module module-udev-detect tsched=0
  • Перезапустите pulse коммандой pulseaudio -k 
  • Перезапустите Skype, Viber

Monday, June 8, 2015

VMPlayer fails to build vmnet on linux mint

Для ядра 3.19 сборка модуля vmnet вываливается с ошибкой.
Используем патч.

$ curl http://pastie.org/pastes/9934018/download -o /tmp/vmnet-3.19.patch
$ cd /usr/lib/vmware/modules/source
# tar -xf vmnet.tar
# patch -p0 -i /tmp/vmnet-3.19.patch
# tar -cf vmnet.tar vmnet-only
# rm -r *-only
# vmware-modconfig --console --install-all


3D acceleration for vmware in linux mint

This is if you get the following error in vmware tools:
3D Graphics acceleration will be disabled
this computer does not have a 3D graphics system supported by vmware workstation.

Sunday, June 7, 2015

vmware-tools shared folders в гостевом linux

Если драйвер vmhgfs.ko не собирается (ошибка recipe for target '/tmp/modconfig-QTCd9T/vmhgfs-only/inode.o' failed), запускаем следующий скрипт:

#!/bin/sh -x
cd /usr/lib/vmware-tools/modules/source
tar xf vmhgfs.tar
grep -q d_u.d_alias vmhgfs-only/inode.c && echo "already patched" && exit 0
sed -i -e s/d_alias/d_u.d_alias/ vmhgfs-only/inode.c
cp -p vmhgfs.tar vmhgfs.tar.orig
tar cf vmhgfs.tar vmhgfs-only
vmware-config-tools.pl -d -m