mirror of
https://git.myvelabs.com/novnc/alpine.git
synced 2025-12-17 21:26:21 +00:00
Switched firefox to openbox
This commit is contained in:
parent
05f054f088
commit
30d62c5c9b
4 changed files with 10 additions and 8 deletions
|
|
@ -45,12 +45,11 @@ user_pref("browser.tabs.closeWindowWithLastTab", false);
|
||||||
user_pref("browser.fullscreen.autohide", false);
|
user_pref("browser.fullscreen.autohide", false);
|
||||||
firefox
|
firefox
|
||||||
|
|
||||||
# i3/firefox startup
|
# Openbox autostart
|
||||||
install /dev/stdin ~/.config/i3/startapp.sh <<- startup
|
cat >~/.config/openbox/autostart <<- 'firefox'
|
||||||
#!/usr/bin/env bash
|
|
||||||
# Run firefox
|
# Run firefox
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
firefox --profile /app/firefox ${MYVNC_FIREFOX_OPTS} --new-window ${MYVNC_FIREFOX_URL}
|
firefox --profile /app/firefox ${MYVNC_FIREFOX_OPTS} --new-window ${MYVNC_FIREFOX_URL}
|
||||||
done
|
done
|
||||||
startup
|
firefox
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
# syntax = docker/dockerfile:1
|
# syntax = docker/dockerfile:1
|
||||||
FROM myvnc/alpine/i3
|
FROM myvnc/alpine/openbox
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
# Build ARG: use "root" for debugging
|
# Build ARG: use "root" for debugging
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,10 @@ services:
|
||||||
image: myvnc/alpine/firefox
|
image: myvnc/alpine/firefox
|
||||||
container_name: firefox
|
container_name: firefox
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
build: .
|
# build: .
|
||||||
# shm_size: 2gb
|
# shm_size: 2gb
|
||||||
# security_opt:
|
security_opt:
|
||||||
# - seccomp:unconfined
|
- seccomp:unconfined
|
||||||
ports:
|
ports:
|
||||||
- ${MYVNC_FIREFOX_PORT}:6900
|
- ${MYVNC_FIREFOX_PORT}:6900
|
||||||
environment:
|
environment:
|
||||||
|
|
|
||||||
|
|
@ -40,3 +40,6 @@ framerate=60
|
||||||
depth=32
|
depth=32
|
||||||
${_MYVNC_VNCSHARING}
|
${_MYVNC_VNCSHARING}
|
||||||
vncconfig
|
vncconfig
|
||||||
|
|
||||||
|
# Openbox config
|
||||||
|
cp -a /etc/xdg/openbox ~/.config/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue