// Dot Gain Settings
Newspapers: 34%
Magazines and brochures: 24%
High-end brochures: 22%
–
// Common Minimum Highlight Settings
Newspapers: 5%
Magazines and brochures: 3%
High-end brochures: 3%
–
// Common Maximum Shadow Settings
Newspapers: 75%
Magazines and brochures: 90%
High-end brochures: 95%
make everything a link
<a href="pages/lists/listTransitional.html" class="entrance">Enter the kiosk</a>
.entrance {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
text-indent: -9999px; / we don't need to see the text, but some users and robots such as Google do /
}
install network manager (wicd-curses) i uključi auto connect
isključi power management wifi adaptera
u fajlu /etc/rc.local dodaj:
iwconfig wlan0 power off
ili dodaj reset skriptu u crontabu:
!/bin/bash
if ! [ "$(ping -c 1 192.168.65.254)" ]; then
echo "$(date -Iseconds) WiFi Reset Script" >> /home/pi/wifi_reset.log
sudo ifdown wlan0
sudo ifup wlan0
fi
"remove" removes the first matching value, not a specific index
"del" removes a specific index
"pop" returns the removed element
optional: hide taskbar:
Right-click on the taskbar and select "Panel Settings". Click on the "Advanced" tab, and check "Minimize panel when not in use". 0px
za processing:
@/usr/local/bin/processing-java --sketch=/home/pi/Desktop/SKETCH --run
sudo apt-get install -y ttf-mscorefonts-installer unclutter x11-xserver-utils
sudo nano .config/lxsession/LXDE-pi/autostart
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@point-rpi
BEGIN ADDED
Normal website that does not need any exceptions
@/usr/bin/chromium-browser --disk-cache-dir=/dev/null --incognito --start-maximized --kiosk http://gordonturner.com
Enable mixed http/https content, remember if invalid certs were allowed (ie self signed certs)
@/usr/bin/chromium-browser --incognito --start-maximized --kiosk --allow-running-insecure-content --remember-cert-error-decisions http://gordonturner.com
@unclutter
@xset s off
@xset s noblank
@xset -dpms
END ADDED
--disk-cache-dir=/dev/null
or
--disk-cache-size=1
(limiting the disk cache to 1 byte)
ffmpeg -i input.avi -c:v libx264 -preset slower -crf 20 -c:a libfaac output.mp4
"visually lossless" but not technically lossless, use a -crf value of around 17 or 18
A; B Run A and then B, regardless of success of A
A && B Run B if A succeeded
A || B Run B if A failed
A & Run A in background.
jack_control start
jack_control ds alsa
jack_control dps device hw:HD2
jack_control dps rate 48000
jack_control dps nperiods 2
jack_control dps period 64
sleep 10
a2jmidid -e &
sleep 10
qjackctl &
fluidsynth increase gain:
--gain 3
find device name:
sudo fdisk -l
write image to disk (+show progress)
sudo dd if=/dev/mmcblk0 of=~/Desktop/raspbian_backup.img status=progress