Setting Electron flags (needed when running on Wayland)

I'm running RStudio on Wayland, and because I have fractional scaling enabled, I need to pass some Electron flags to avoid blurry rendering (as described e.g. in GUI text and icons blurry with fractional scaling in Ubuntu):

--ozone-platform-hint=auto
--enable-features=WaylandWindowDecorations
--ozone-platform=wayland

Some programs read ~/.config/electron-flags.conf, but RStudio seems to ignore this file. Other Electron-based programs like Visual Studio Code use their own Electron config file (code-flags.conf), so I was wondering if something like this exists for RStudio.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.

Great idea, I've opened an enhancement request: Provide a config file for setting electron/chromium flags · Issue #14641 · rstudio/rstudio · GitHub.

1 Like