Small refactoring

This commit is contained in:
zador-blood-stained 2017-10-29 23:20:20 +03:00
parent d5be205215
commit 59355d30f9
5 changed files with 2 additions and 2 deletions

View file

@ -0,0 +1,14 @@
# Default settings for chromium-browser. This file is sourced by /bin/sh from
# /usr/bin/chromium-browser
# Options to pass to chromium-browser
CHROMIUM_FLAGS="--disable-smooth-scrolling \
--disable-low-res-tiling \
--enable-low-end-device-mode \
--num-raster-threads=$(grep -c processor /proc/cpuinfo) \
--profiler-timing=0 \
--disable-composited-antialiasing \
--disk-cache-dir=/tmp/${USER}-cache \
--disk-cache-size=$(findmnt --target /tmp -n -o AVAIL -b | awk '{printf ("%0.0f",$1*0.3); }') \
--no-sandbox \
--test-type"

View file

@ -0,0 +1,7 @@
// This file can be used to configure global preferences for Firefox
user_pref("browser.startup.homepage", "https://www.armbian.com");
pref("reader.parse-on-load.enabled", false);
pref("browser.cache.disk.enable", false);
pref("browser.cache.memory.enable", true);
pref("browser.cache.memory.capacity", "-1");

View file

@ -0,0 +1,14 @@
Section "Device"
Identifier "i.MX Accelerated Framebuffer Device"
Driver "vivante"
Option "fbdev" "/dev/fb0"
Option "vivante_fbdev" "/dev/fb0"
Option "HWcursor" "false"
EndSection
Section "ServerFlags"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection