Re: [fpc-pascal] Linux GTK-2 GUI app

2020-08-31 Thread leledumbo via fpc-pascal
> I meant to say that, without a .desktop file, the app is not double-clickable. This is DE/WM/FM dependent, you app must already have execute bit set anyway (otherwise, it won't be executable even through CLI). Some allow double clicking, some not, some configurable. -- Sent from:

Re: [fpc-pascal] Linux GTK-2 GUI app

2020-08-31 Thread Michael Van Canneyt via fpc-pascal
On Mon, 31 Aug 2020, Adriaan van Os via fpc-pascal wrote: Michael Van Canneyt wrote: This is a puzzling sentence: "From the Linux Terminal only" - As opposed to what ? I meant to say that, without a .desktop file, the app is not double-clickable. Of course it is ? The .desktop file is

Re: [fpc-pascal] Linux GTK-2 GUI app

2020-08-31 Thread Adriaan van Os via fpc-pascal
Michael Van Canneyt wrote: This is a puzzling sentence: "From the Linux Terminal only" - As opposed to what ? I meant to say that, without a .desktop file, the app is not double-clickable. Regards, Adriaan van Os ___ fpc-pascal maillist -

Re: [fpc-pascal] Using built-in serial instead of synaser and the like for Linux console app?

2020-08-31 Thread Bo Berglund via fpc-pascal
On Mon, 31 Aug 2020 11:15:10 +0200 (CEST), Michael Van Canneyt via fpc-pascal wrote: > > >On Mon, 31 Aug 2020, Bo Berglund via fpc-pascal wrote: > >> On Fri, 21 Aug 2020 21:03:31 +0200, Bo Berglund via fpc-pascal >> wrote: >> >> But when doing this I have run into a problem, how can I check

Re: [fpc-pascal] Using built-in serial instead of synaser and the like for Linux console app?

2020-08-31 Thread Michael Van Canneyt via fpc-pascal
On Mon, 31 Aug 2020, Bo Berglund via fpc-pascal wrote: On Fri, 21 Aug 2020 21:03:31 +0200, Bo Berglund via fpc-pascal wrote: Instead I need to add a thread for reading data so I can have an event driven reception of data. It would read available data and fire off a NotifyEvent to handle

Re: [fpc-pascal] Using built-in serial instead of synaser and the like for Linux console app?

2020-08-31 Thread Carsten Bager via fpc-pascal
On 31 Aug 2020 at 9:38, Bo Berglund via fpc-pascal wrote: > On Fri, 21 Aug 2020 21:03:31 +0200, Bo Berglund via fpc-pascal > wrote: > > >Instead I need to add a thread for reading data so I can have an event > >driven reception of data. It would read available data and fire off a >

Re: [fpc-pascal] Linux GTK-2 GUI app

2020-08-31 Thread Michael Van Canneyt via fpc-pascal
On Mon, 31 Aug 2020, Adriaan van Os via fpc-pascal wrote: Any recommendations for distributing a FPC gtk-2 GUI app on Linux ? I would prefer it to be as simple as possible. Use something like AppImage ? Create a .desktop file? Or create different packages for different distros ? The

Re: [fpc-pascal] Linux GTK-2 GUI app

2020-08-31 Thread leledumbo via fpc-pascal
> Or create different packages for different distros ? If you can afford the maintenance burden, this is the best that every specific distro user will love. Otherwise, just provide a compressed archive with README inside. -- Sent from: http://free-pascal-general.1045716.n5.nabble.com/

Re: [fpc-pascal] Using built-in serial instead of synaser and the like for Linux console app?

2020-08-31 Thread Bo Berglund via fpc-pascal
On Fri, 21 Aug 2020 21:03:31 +0200, Bo Berglund via fpc-pascal wrote: >Instead I need to add a thread for reading data so I can have an event >driven reception of data. It would read available data and fire off a >NotifyEvent to handle the incoming data in the main application. I have now

[fpc-pascal] Linux GTK-2 GUI app

2020-08-31 Thread Adriaan van Os via fpc-pascal
Any recommendations for distributing a FPC gtk-2 GUI app on Linux ? I would prefer it to be as simple as possible. Use something like AppImage ? Create a .desktop file? Or create different packages for different distros ? The application consists of an executable and a folder with .html and