[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: opening data connection in Gambas editor, now opens in Sigil after install.


On 3/14/25 11:19 AM, Fabien Bodard wrote:


Le ven. 14 mars 2025 à 15:14, T Lee Davidson <t.lee.davidson@xxxxxxxxx <mailto:t.lee.davidson@xxxxxxxxx>> a écrit :

[snip]
    I thought at one time that Gambas used `xdg-open` for the purpose of opening data files/paths. But, this is apparently not the
    case because executing `xdg-open dummy.db` in a terminal emulator (Konsole) correctly launches DB Browser for SQLite.
[snip]>

Gambas read the mime info by itself

The code is in gb.desktop.

Just add an extension and all will go well. Because the file header magic string is not managed by our mime class (too slow to read each headers)

My file already has an extension, ".db". So, you must mean add a ".sqlite3" extension. Correct?


--
Lee

--- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ----
--- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----