Hello,
I try to get run RD on a square display on rpi.
I have problem with the fullscreen resulation.
I tryed almost 25 different window manager already, most of it do not offer fullscreen option (just maximized window with frames) for the RD app, any other app works fine.
Only the icewm allow the fullsreen by keyboard shortcut,
but the problem RD have no WM_CLASS property therefore the window managers handles different way and I can’t force the window manager to use fullscreen mode for this app at the startup. (I can do it with any other apps).
Without window manager RD starts at full width but left a little empty bar on the bottom of the screen.
The screen resulatiobn is 720x720 pixel. Anyway RD runs very well and fast on this config.
My question is, how the RD determine the screen resulation ?, what framwork is used ? Why have no WM_CLASS of this app ? Any command line option to set the res directly or at least the WM_CLASS ?
The resolution of the screens in Linux are determined by:
Display* display = OS::Linux::GetDisplay();
for (int i=0; i<ScreenCount(display); ++i)
{
auto screen = ScreenOfDisplay(display, i);
// store screen size
screen->width;
screen->height;
}
As for WM_CLASS, we just never encountered any reason to use it. I will add WM_CLASS “RD” into next release.
Thanks, the WM_CLASS also used by the window managers to load icon, grouping the app on taskbar, also some taskmanager requires to able the app to pin to taskbar. Thanks to a coincidence I found the solution. The app was exited while was in fullscreen mode with icewm (turned fullscreen by keycombo.), aftre that the RPI turned off and the init script does not starts any window manager at the next boot, I suprised the RD starts in full screen mode without any gaps… so I tought the RD stores the latest resulation was used and I found that file in the config dir. So edithing that file I can start the RD in any resulation without using any window managers. .(this is what I really wants
)