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.

Application autostart does not work

Featured Replies

Hi guys,
I am trying to make autostart of my app, but the app is launched by bash script that automatically launch the app again when crashed:
(it finds the latest application version and then launch...then it is waiting for crash , rerun and wait again) - when I placed this script in /etc/profile.d, my system got stuck on my application view without loading desktop (and other needed services).

#!/bin/bash
sleep 30
while true
do
str=`ls /home/lufa/Shared/QT/xxxx* | sort -n -t _ -k 2 | tail -n1`
if [ ! `pgrep $str` ] ; then
$str
fi
sleep 30
done

Thus, I  added autostart.sh.desktop file in ~/.config/autostart/  like this:
 

[Desktop Entry]
Type=Application
Name=Autostart
Exec="/home/lufa/Shared/autostart.sh"
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true


Unfortunately my app was not automatically launched :( Any ideas?

I assume that the progblem is GUI app. I got from crontab  log -  "QXcbConnection: Could not connect to display" - despiting I put "sleep 30" in my bash screipt to wait for ready Desktop.

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.