Tiny Core Base > Raspberry Pi
On screen keyboard
Paul_123:
Touchscreens can be a bit small. I don’t even want a tray. Luckily kiosk mode covers it. And there is no way to exit out of Firefox. (Except to kill it from ssh). And because it’s piCore, you can just pull the plug to shut it off.
It is weird that Firefox doesn’t seem to always be able to figure out screen resolution without a window manager running. Anyway. It works with jwm
patrikg:
In chrome in kiosk mode there are settings to set the screen size, may be there some settings for firefox as well ?
Here are some settings for chrome i have seen for kiosk mode for raspberry pi. An this is not running with some window manager
--- Code: (bash) ---# screen size
width="1920"
height="1080"
# url
url="https://dev.to"
chromium-browser $url --window-size=$width,$height --window-position=0,0 --kiosk --no-sandbox --full-screen --incognito --noerrdialogs --disable-translate --no-first-run --fast --fast-start --ignore-gpu-blacklist --disable-quic --enable-fast-unload --enable-tcp-fast-open ---enable-native-gpu-memory-buffers --enable-gpu-rasterization --enable-zero-copy --disable-infobars --disable-features=TranslateUI --disk-cache-dir=/tmp
--- End code ---
Get from this url:
https://dev.to/nesterow/setup-minimal-kiosk-environment-with-alpine-linux-27b
And what i can see there an option -foreground for firefox. maybe when running without window manager this option will get the result that you ask for.
Paul_123:
Firefox is a bit more limited. Screen size refused to set from command line. But what did work. In the profile directory, there is a file called xulstore.json Setting things in there worked fine.
{"chrome://browser/content/browser.xhtml":{"main-window":{"sizemode":"normal","screenX":"0","screenY":"0","width":"800","height":"480"}}}
I thought it was a bit comical that they are using the chrome: keyword in the file.
Navigation
[0] Message Index
[*] Previous page
Go to full version