rpi_lcars
rpi_lcars copied to clipboard
Fullscreen
When I launch it within Raspbian it launches in a window. How can I make it launch fullscreen?
Sorry ... total noob here but I did get it installed and running ... baby steps!
please check app/config.py
I don't see anything in there about placing the app fullscreen? Only resolution which is fine, it just opens in a window which is the problem.
I don't have RPi near hand. Did you try without debug enabled? When last time many moths ago I tested on RPi, everything work in full screen. Remember this is more like learning tool than production software (at least for me). Feel free to learn and experiment with rpi_lcars.
You can try to uncomment the pygame.FULLSCREEN
parameter in this line:
https://github.com/tobykurien/rpi_lcars/blob/master/app/ui/ui.py#L16
I did unedit that comment and it still open in a window. All that did was change the content inside of the window.
Yea my experience has been that to run fullscreen, your desktop needs to run the same resolution as configured in config.py, i.e. 800x480 by default - remember this was designed to run on the official Rpi touch screen.
I am using the Rpi 7" touchscreen. However, when I go to the Display tab in Raspbian Config, it shows "Default 720x480". There is no option for 800x480. I tried editing the config.txt file based on some Google searches but they do not address the xwindow system. Does anyone have any idea how to get the Raspbian GUI to allow 800x480 resolution?
I think I set line 13 of ui/ui.py to be
self.screenSurface = pygame.display.set_mode(resolution,pygame.NOFRAME) #, pygame.FULLSCREEN)
And I have RESOLUTION = (800, 480) in the config section of lcars.py
From memory that was all I changed to go fullscreen
Exactly what I have too. I think my prob is that the display is 800x480 but the resolution in Raspbian GUI is not and I cannot figure out how to change it there.
I just checked and my Raspbian GUI resolution is set to Default 720x480 and it still works fullscreen
I have no issues running fullscreen with this parameter set on the 7" screen, (slightly different res)
I have also added the fullscreen option into the config, so can be turned on/off for dev work etc