Search found 57 matches

by thatbruce
Monday 28th November 2022 10:34am
Forum: General
Topic: Program that Starts other programs
Replies: 8
Views: 136

Re: Program that Starts other programs

Probably/possibly yes, but I would try it in a terminal emulator first. As in, invoke your local terminal emulator with a command to execute and a "hold" so you can see what happens. That is what I have there: Shell "xfce4-terminal -e 'ls -l' -H" Wait xfce4-terminal is my local t...
by thatbruce
Monday 28th November 2022 5:56am
Forum: General
Topic: Program that Starts other programs
Replies: 8
Views: 136

Re: Program that Starts other programs

I might have accidentally stumbled on a simple solution for you. In your "startup" project try using Shell <cmd+args> WAIT e.g. Shell "xfce4-terminal -e 'ls -l' -H" Wait ( It was sitting in a v old program we use to swap between various object editors. It never occurred ...) b
by thatbruce
Thursday 24th November 2022 6:30am
Forum: General
Topic: QT5 Information
Replies: 1
Views: 43

Re: QT5 Information

Sorry, my bad.
That last one should be QT_LOGGING_RULES=*.debug=false;*.qpa.*=false.
It gets rid of annoying gaff like "qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1421, resource id: 23759460, major code: 40 (TranslateCoords), minor code: 0"
by thatbruce
Thursday 24th November 2022 6:20am
Forum: General
Topic: QT5 Information
Replies: 1
Views: 43

QT5 Information

This is more "specialized" than the "DidYouKnow" thread and is intended for those who have particular interest in getting the most out of the gb.gui.qt/gb.gui.qt5 components. 1) Getting your executable projects to work with your local qt5ct configuration This one has been irritat...
by thatbruce
Wednesday 23rd November 2022 12:27pm
Forum: General
Topic: Allowable characters in sqlite3 database file names
Replies: 4
Views: 72

Re: Allowable characters in sqlite3 database file names

Generally, and not specifically to SQLite, the engines tend to dislike (with extreme prejudice) anything but actual data with spaces in it. I think that must be because they rely on parsers that detect spaces as word boundaries. But just as a "schoolroom" example, consider naming some file...
by thatbruce
Wednesday 23rd November 2022 11:53am
Forum: Beginners
Topic: Creating a library
Replies: 13
Views: 185

Re: Creating a library

Thanks Bruce. Compiling from source means I don't need to install backports, which can be risky. I haven't done it yet but I'll let you know if I get any problems. As I said, I don't need the gtk libs but no harm in having them I guess. To be serious. :o Go for it, if you have even the slightest of...
by thatbruce
Wednesday 23rd November 2022 11:33am
Forum: Beginners
Topic: Creating a library
Replies: 13
Views: 185

Re: Creating a library

And one other "noice" thing about compiling from source is that it is entirely "package hell" free. I got so sick of "you cant install that because you haven't installed * gambas.xxx.yyy.zzz.alpha_plural_z.rpthnigo/dbpk_umlaut" stuff. Package installation is OK for the ...
by thatbruce
Saturday 19th November 2022 9:58am
Forum: General
Topic: Program that Starts other programs
Replies: 8
Views: 136

Re: Program that Starts other programs

No need to reinvent the stone hammer. sysvinit can do all this, systemd probably can as well but I couldn't be ... to find out if and how.
by thatbruce
Saturday 19th November 2022 9:33am
Forum: Beginners
Topic: Creating a library
Replies: 13
Views: 185

Re: Creating a library

I frequently leave the Main module in a library, but the code therein is either to test the pubic routines or to send two thousand volts through the user's keyboard should they try to run it. A library is just a gambas project that gets "installed" in ~/.local/share/gambas3/lib when you ma...
by thatbruce
Saturday 19th November 2022 8:42am
Forum: Beginners
Topic: I have a big problem with the help in the Gambas IDE
Replies: 13
Views: 188

Re: I have a big problem with the help in the Gambas IDE

(The other bruce) Here's a little project that is a pet of mine at the moment. Although it's still a work in progress, the goal is to provide a formatted output to stdout. If you load it in the IDE you will see a lot of gibberish at the top of the Main.PrintF() sub . Then hit F1 and select Selection...