Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Clean boot into chromium-browser kiosk mode with Tinkerboard S for touchscreen app

Featured Replies

Hello all,

 

My team and I are trying to use the ASUS Tinkerboard S (running Armbian Bionic v4.19.7, i.e. ubuntu bionic 18.04) as a platform to host a webapp,  with a touchscreen as the user interface. 

 

We've successfully set up the Tinkerboard S to open chromium-browser in kiosk mode on startup using systemd, and a script that launches `chromium-browser --kiosk --app=server_url`.

 

Our next step is to customize the boot process with the following changes:

- none (or as few as possible) lines of text while the services are starting up

- include a splash screen with our company logo, if possible

 

Any advice on how to accomplish this or where to look to get started would be greatly appreciated! Thanks!

5 hours ago, tyrelkostyk said:

Our next step is to customize the boot process with the following changes:

- none (or as few as possible) lines of text while the services are starting up

 

Redirecting boot log to console (/boot/armbianEnv.txt) and disabling getty service?

 

5 hours ago, tyrelkostyk said:

- include a splash screen with our company logo, if possible


We only developed this for Allwinner hardware platform and without research its hard to tell if there is a lot or little work to get the same result.

Spoiler

 

 

 

  • Author

Hi Igor,

 

Thanks for the response. Unfortunately, I am unaware of how to redirect the boot log using /boot/armbianEnv.txt. I tried setting verbosity=0 which changed nothing, and disabling the getty service appeared to have no effect either.

 

That video you sent me seems perfect for our use case. How did you achieve that? Is there another forum post that describes how to achieve this? I searched the entire forum and was unable to find it, if so.

 

Thanks!

  • Author

Figured a big part of it out - I simply added console=tty0 to the /boot/armbianEnv.txt file. Didn't realize this was an option until I scoured through the arm /boot/boot.cmd file. Thanks again!

 

Another issue (I can post this as a separate post in the forums):

How can I hide the mouse pointer at all times? Like I said this is for a touchscreen application.

 

  • Author

Also figured out how to disable mouse cursor at all times, permanently (until undone):

 

in the /etc/default/nodm file, find the line with nodm_x_options='-nolisten tcp'  and add '-nocursor'  , ending up with nodm_x_options='-nolisten tcp -nocursor' 

13 minutes ago, tyrelkostyk said:

Also figured out how to disable mouse cursor at all times, permanently (until undone):

 

in the /etc/default/nodm file, find the line with nodm_x_options='-nolisten tcp'  and add '-nocursor'  , ending up with nodm_x_options='-nolisten tcp -nocursor' 


Cool. You will need to adopt this fix for lightdm since we change it to lightdm + autologin https://github.com/armbian/build/pull/1404 

 

"switched from nodm to lightdm display manager by default: nodm has one cosmetic bug which makes the desktop reload when you initiate shutdown. You think it already unloaded, but it loads again ... than it shutdowns. Its a known bug in this display manager for years and nobody wants to fix it. I really don't want to deal also with that. armbian-config way was already switched to light display manager, autologin function is implemented"

  • Author
On 7/2/2019 at 11:11 AM, Igor said:


Cool. You will need to adopt this fix for lightdm since we change it to lightdm + autologin https://github.com/armbian/build/pull/1404 

 

 "switched from nodm to lightdm display manager by default: nodm has one cosmetic bug which makes the desktop reload when you initiate shutdown. You think it already unloaded, but it loads again ... than it shutdowns. Its a known bug in this display manager for years and nobody wants to fix it. I really don't want to deal also with that. armbian-config way was already switched to light display manager, autologin function is implemented"

Okay great! Fixing that cosmetic shutdown bug will be nice. When will the next release build be? Assuming that that's when this change from nodm to lightdm will be launched.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.