santiago / start_chromium.sh - Pi no disk writing
0 polubień
0 forków
1 plików
Ostatnio aktywne
# RUN chromium in full screen with minimal SD-Card writes, runs OK on a Raspberry 3 with a webpage playing video
1 | #!/bin/sh |
2 | |
3 | # RUN chromium in full screen with minimal SD-Card writes, runs OK on a Raspberry 3 with a webpage playing video |
4 | |
5 | # ADD a ram disk in fstab with this line |
6 | # tmpfs /tmpcache tmpfs nodiratime,noatime,nosuid,nodev,size=256M 0 0 |
7 | |
8 | # and that this script is called on startup for a minimalistic (no desktop setup) |
9 | # /etc/xdg/openbox/autostart |
santiago / amishell.sh window decoration
0 polubień
0 forków
1 plików
Ostatnio aktywne
1 | #!/bin/bash |
2 | |
3 | cd /home/pi/scripts/ |
4 | /bin/lxterminal -e 'tmux' & |
5 | sleep 8 |
6 | source ./windowfix.sh |
7 | |
8 | window_name="tmux" |
9 | |
10 | #resizing like this fails on cool retro term but we use geometry above |
santiago / windowfix.sh
0 polubień
0 forków
1 plików
Ostatnio aktywne
1 | #!/usr/bin/env zsh |
2 | |
3 | |
4 | wait_find_window_id() { |
5 | while true; do |
6 | window_id=$(wmctrl -l | grep "$1" | awk '{print $1}') |
7 | if [ -n "$window_id" ]; then |
8 | echo "$window_id" |
9 | return |
10 | fi |
Nowsze
Starsze