PINE64
How to make a GTK app start up fullscreen on boot? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6)
+---- Forum: Armbian (https://forum.pine64.org/forumdisplay.php?fid=84)
+---- Thread: How to make a GTK app start up fullscreen on boot? (/showthread.php?tid=3976)



How to make a GTK app start up fullscreen on boot? - julu - 02-28-2017

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!


RE: How to make a GTK app start up fullscreen on boot? - MarkHaysHarris777 - 02-28-2017

(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 ?


RE: How to make a GTK app start up fullscreen on boot? - julu - 02-28-2017

(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?