Coder Social home page Coder Social logo

Comments (4)

payam-zahedi avatar payam-zahedi commented on August 11, 2024

Hi @douglashetherington

Thanks for sharing this to us.

Yes, we recognized that we have a problem with the newest version of the Raspberry Pi OS in kiosk mode command.
So we planned to fix it in the next version.

Did you test the new approach on your set-up?
Is it working completely? With full screen and so on?

from snapp_installer.

douglashetherington avatar douglashetherington commented on August 11, 2024

Hi @payam-zahedi,

It successfully launches the app but full screen didn't work. I just quickly ended up changing the my_application.cc file in the flutter project to add

  gtk_window_set_default_size(window, 1280, 720);
  gtk_window_fullscreen(GTK_WINDOW(window)); // <--- Added this line
  gtk_widget_show(GTK_WIDGET(window));

Which makes it work. - I thought i'd hidden the cursor but unclutter isn't working. Which is a bit of a shame.

I came across Cage - i've not tried it yet but it could be what you guys want.

from snapp_installer.

payam-zahedi avatar payam-zahedi commented on August 11, 2024

Thanks @douglashetherington

we will look into this issue and will let you know about the future changes

from snapp_installer.

payam-zahedi avatar payam-zahedi commented on August 11, 2024

In the newest version of the Raspberry Pi OS, the default display manager is Wayland. So all the possibilities of X11 will not work.

I fixed this issue in #6 PR, so we are support both Wayland and X11.

As You may have noticed, there is only a problem with full screen mode.

Under Wayland, certain keyboard features like alt + F11 won't work to make apps full screen. Checkout this issue

I added another command for the full screen issue. You can run the enable_fullscreen in the root of your flutter project to change your setting in your app.

Let me know if you need more information.

from snapp_installer.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.