diff --git a/src/app.c b/src/app.c index a2d80bf2..10e6d4ee 100644 --- a/src/app.c +++ b/src/app.c @@ -353,7 +353,9 @@ static void init_App_(iApp *d, int argc, char **argv) { d->launchCommands = new_StringList(); iZap(d->lastDropTime); init_CommandLine(&d->args, argc, argv); - /* Where was the app started from? */ { + /* Where was the app started from? We ask SDL first because the command line alone is + not a reliable source of this information, particularly when it comes to different + operating systems. */ { char *exec = SDL_GetBasePath(); if (exec) { d->execPath = newCStr_String(concatPath_CStr( @@ -409,26 +411,17 @@ static void init_App_(iApp *d, int argc, char **argv) { load_MimeHooks(d->mimehooks, dataDir_App_); if (isFirstRun) { /* Create the default bookmarks for a quick start. */ - add_Bookmarks(d->bookmarks, - collectNewCStr_String("gemini://gemini.circumlunar.space/"), - collectNewCStr_String("Project Gemini"), - NULL, - 0x264a /* Gemini symbol */); - add_Bookmarks(d->bookmarks, - collectNewCStr_String("gemini://gemini.circumlunar.space/capcom/"), - collectNewCStr_String("CAPCOM Geminispace aggregator"), - NULL, - 0x264a /* Gemini symbol */); - add_Bookmarks(d->bookmarks, - collectNewCStr_String("gemini://gus.guru/"), - collectNewCStr_String("GUS - Gemini Universal Search"), - NULL, - 0x2690); add_Bookmarks(d->bookmarks, collectNewCStr_String("gemini://skyjake.fi/lagrange/"), collectNewCStr_String("Lagrange"), NULL, 0x1f306); + add_Bookmarks(d->bookmarks, + collectNewCStr_String("gemini://skyjake.fi/lagrange/getting_started.gmi"), + collectNewCStr_String("Getting Started"), + collectNewCStr_String("remotesource"), + 0x1f306); + fetchRemote_Bookmarks(d->bookmarks); } #if defined (iHaveLoadEmbed) /* Load the resources from a file. */ { diff --git a/src/prefs.c b/src/prefs.c index ce32962b..fe755c63 100644 --- a/src/prefs.c +++ b/src/prefs.c @@ -39,7 +39,7 @@ void init_Prefs(iPrefs *d) { d->headingFont = nunito_TextFont; d->monospaceGemini = iFalse; d->monospaceGopher = iFalse; - d->lineWidth = 40; + d->lineWidth = 38; d->bigFirstParagraph = iTrue; d->quoteIcon = iTrue; d->docThemeDark = colorfulDark_GmDocumentTheme; diff --git a/src/ui/window.c b/src/ui/window.c index f8123a17..1fed8025 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -56,7 +56,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */  static iWindow *theWindow_ = NULL;  -#if defined (iPlatformApple) +#if defined (iPlatformApple) || defined (iPlatformLinux) static float initialUiScale_ = 1.0f; #else static float initialUiScale_ = 1.1f;