[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.
[Thread Prev] | [Thread Next]
- Subject: Re: opening data connection in Gambas editor, now opens in Sigil after install.
- From: Fabien Bodard <gambas.fr@xxxxxxxxx>
- Date: Fri, 14 Mar 2025 16:19:57 +0100
- To: Gambas Mailing List <user@xxxxxxxxxxxxxxxxxxxxxx>
Le ven. 14 mars 2025 à 15:14, T Lee Davidson <t.lee.davidson@xxxxxxxxx> a écrit : > On 3/14/25 1:23 AM, Ian Roper wrote: > > I Installed Sigil eBook editor this morning from the Software manager on > Linux mint. > > > > Later I went to work on a Gambas project and found that when I click on > the data object, It tries to open in Sigil instead. > > > > I tested opening the database (Sqlite) in the file system and it opens > normally in the installed SqlLite browser which is the > > expected outcome. > > > > Assume that Sigil has overwritten something that effects the selection > of the application that Gambas uses. > > > > The file is a [SQLite3 database (application/vnd.sqlite3)] according to > the file manager properties. > > 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. > > Whereas in Gambas, right-clicking the file and selecting Properties shows > that Gambas thinks it is a plain text document. And > when the file is opened by Gambas, it is opened in Kwrite. > > So I have to say, I don't know from where Gambas gets its file/mime type > information. > 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) > -- > Lee > > --- Gambas User List Netiquette [ > https://gambaswiki.org/wiki/doc/netiquette] ---- > --- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] > ---- > > >
Re: opening data connection in Gambas editor, now opens in Sigil after install. | T Lee Davidson <t.lee.davidson@xxxxxxxxx> |
opening data connection in Gambas editor, now opens in Sigil after install. | Ian Roper <westozscribe@xxxxxxxxx> |
Re: opening data connection in Gambas editor, now opens in Sigil after install. | T Lee Davidson <t.lee.davidson@xxxxxxxxx> |