PINE64

Full Version: How to make a GTK app start up fullscreen on boot?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I have a board running Armbian and I was wondering how I could get an application to start up in full screen after the board boots? It is a GTK app. 

Thanks!
(02-28-2017, 01:28 PM)julu Wrote: [ -> ]I have a board running Armbian and I was wondering how I could get an application to start up in full screen after the board boots? It is a GTK app. 

hi, in my opinion you really don't want to do this...

... but, to answer your question there are many ways to auto-start and app in gnu+linux ... GTK or not.  You can start the app as a service.  You can start the app from rc.local.  The app may be started or restarted as a crontab automated job. 

You will want to study the system startup and determine which approach is best for you.  Getting back to my assertion , autostarting an app in a linux system is paramount to narrowing the general purpose machine to a specific purpose machine;  which is highly limiting.  The better approach is to have a very good remote system controller (automated,  ssh, vnc,  etc ) so that the machine can focus on its intended use but is not locked into one app startup. 

All of this is entirely your choice.  I hae many many many SBC computers ( none of them autostart into an app on the desktop )

Are you making the pine board into an advertising board, or a kiosk ?
(02-28-2017, 03:24 PM)MarkHaysHarris777 Wrote: [ -> ]
(02-28-2017, 01:28 PM)julu Wrote: [ -> ]I have a board running Armbian and I was wondering how I could get an application to start up in full screen after the board boots? It is a GTK app. 

hi, in my opinion you really don't want to do this...

... but, to answer your question there are many ways to auto-start and app in gnu+linux ... GTK or not.  You can start the app as a service.  You can start the app from rc.local.  The app may be started or restarted as a crontab automated job. 

You will want to study the system startup and determine which approach is best for you.  Getting back to my assertion , autostarting an app in a linux system is paramount to narrowing the general purpose machine to a specific purpose machine;  which is highly limiting.  The better approach is to have a very good remote system controller (automated,  ssh, vnc,  etc ) so that the machine can focus on its intended use but is not locked into one app startup. 

All of this is entirely your choice.  I hae many many many SBC computers ( none of them autostart into an app on the desktop )

Are you making the pine board into an advertising board, or a kiosk ?

Wow, thanks for the info! Yeah, I'm trying to make it act like a wall mounted control panel, I wouldn't need it to do much else besides run my app. Is this not a recommended practice?