Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    DWC on SBC question

    Scheduled Pinned Locked Moved
    Duet Web Control
    3
    21
    667
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Former User?
      A Former User @chas2706
      last edited by

      @chas2706 if you run launch-dwc it will run the same setting, but if you launch chrome on your own it should be okay?

      1 Reply Last reply Reply Quote 0
      • chas2706undefined
        chas2706
        last edited by

        @bearer said in DWC on SBC question:

        @chas2706 if you run launch-dwc it will run the same setting, but if you launch chrome on your own it should be okay?

        I have just tried that and found out that it must be something to do with the chrome browser because it opens in exactly the same fashion, without window icons and you close it by hovering at the top and clicking on the "X" that then appears.

        Thanks for your great suggestion though.

        Carloundefined 1 Reply Last reply Reply Quote 0
        • A Former User?
          A Former User
          last edited by

          thats odd; looked like its just being run in full screen mode (F11 on keyboard to toggle?) but seems odd that chrome should launch in full screen mode when not launched by the launch-dwc script that specifies --start-fullscreen

          need to set up another Pi soon I'll see if I can download the full image before then

          1 Reply Last reply Reply Quote 0
          • Carloundefined
            Carlo @chas2706
            last edited by Carlo

            @chas2706
            You can just place a short cut to the ip address and it will open in a standard window had the same issue...
            apparently changing the resolution of the screen and when asked to accept or revert selecting revert has fixed this on some installations may be worth a try but the ip link does work

            1 Reply Last reply Reply Quote 0
            • chas2706undefined
              chas2706
              last edited by

              @Carlo said in DWC on SBC question:

              @chas2706
              You can just place a short cut to the ip address and it will open in a standard window had the same issue...
              apparently changing the resolution of the screen and when asked to accept or revert selecting revert has fixed this on some installations may be worth a try but the ip link does work

              How do I create a shortcut to the ip address?

              Carloundefined 1 Reply Last reply Reply Quote 0
              • Carloundefined
                Carlo @chas2706
                last edited by

                @chas2706
                Open chromium enter the Pi ip 192.xxx.xx.xx
                save as a favorite add to tool bar
                Also hitting F11 exits full screen mode or touch screen hold finger on screen for couple seconds and Exit full screen with appear

                A Former User? 1 Reply Last reply Reply Quote 0
                • chas2706undefined
                  chas2706
                  last edited by

                  @Carlo said in DWC on SBC question:

                  @chas2706
                  Open chromium enter the Pi ip 192.xxx.xx.xx
                  save as a favorite add to tool bar
                  Also hitting F11 exits full screen mode or touch screen hold finger on screen for couple seconds and Exit full screen with appear

                  Great. Thanks for that.

                  1 Reply Last reply Reply Quote 0
                  • A Former User?
                    A Former User @Carlo
                    last edited by

                    @Carlo said in DWC on SBC question:

                    Open chromium enter the Pi ip 192.xxx.xx.xx

                    as dwc is running on the same host using http://localhost/ would make more sense and not be dependant on user networks which may differ from 192.168/16

                    if exiting full screen works then find launch-dwc and remove --start-fullscreen. if that doesn't work toggle overscan settings in raspi-config?

                    1 Reply Last reply Reply Quote 0
                    • chas2706undefined
                      chas2706
                      last edited by

                      Thanks both of you.
                      All sorted now.

                      1 Reply Last reply Reply Quote 0
                      • A Former User?
                        A Former User
                        last edited by

                        would you mind sharing, others may find the thread useful later?

                        1 Reply Last reply Reply Quote 0
                        • chas2706undefined
                          chas2706
                          last edited by

                          Just making you aware that when I edited autostart in /etc/xdg/lxsession and put a hash in front of @launch-dwc, when I rebooted I found that DWC still autostarted.
                          In my duetpi image there is another autostart found in /home/pi/.config/lxsession/LXDE/autostart.
                          It has exactly the same content as the other one in etc/xdg/lxsession but this MUST be the one the pi is looking at. Hashed out in here and DWC does not autostart.

                          Also I found a quicker solution to my problem.
                          In chrome I set the home page as duet3.local/ then in /home/pi/.config/lxsession/LXDE/autostart I hashed out @launch_dwc and added @chromium-browser.
                          Now on startup I have chrome autostarting in windowed mode and connected to DWC.

                          A Former User? 1 Reply Last reply Reply Quote 0
                          • chas2706undefined
                            chas2706
                            last edited by

                            Here's a copy of the new autostart file:

                            @lxpanel --profile LXDE
                            @pcmanfm --desktop --profile LXDE
                            @xscreensaver -no-splash
                            @/home/pi/./atx_on.sh
                            #@launch-dwc
                            @chromium-browser

                            Once again, thanks everyone for your help.

                            1 Reply Last reply Reply Quote 0
                            • A Former User?
                              A Former User @chas2706
                              last edited by

                              @chas2706 said in DWC on SBC question:

                              there is another autostart found in /home/pi/.config/lxsession/LXDE/autostart

                              huh, interesting, and redundant. wasn't clear from the DuetPi repo, but admittedly not familiar with pi-gen at all.

                              if fullscreen was the issue I'd lean towards editing launch-dwc and commenting out --start-fullscreen from there, then it works even if you add another user, change windowmanager or whatnot.

                              sudo sed -i 's/ --start-fullscreen/ #--start-fullscreen/' /usr/bin/launch-dwc should take care of it with a one-liner

                              1 Reply Last reply Reply Quote 0
                              • chas2706undefined
                                chas2706
                                last edited by

                                @bearer said in DWC on SBC question:

                                @chas2706 said in DWC on SBC question:

                                there is another autostart found in /home/pi/.config/lxsession/LXDE/autostart

                                huh, interesting, and redundant. wasn't clear from the DuetPi repo, but admittedly not familiar with pi-gen at all.
                                if fullscreen was the issue I'd lean towards editing launch-dwc and commenting out --start-fullscreen from there, then it works even if you add another user, change windowmanager or whatnot.
                                sudo sed -i 's/ --start-fullscreen/ #--start-fullscreen/' /usr/bin/launch-dwc should take care of it with a one-liner

                                Not so, because @launch-dwc does not have the extra --start-fullscreen parameters in it!

                                1 Reply Last reply Reply Quote 0
                                • A Former User?
                                  A Former User
                                  last edited by

                                  it should
                                  https://github.com/Duet3D/DuetPi/blob/master/stage-dsf-gui/00-autologin/files/launch-dwc#L3

                                  (and mine did)

                                  1 Reply Last reply Reply Quote 0
                                  • chas2706undefined
                                    chas2706
                                    last edited by

                                    Sorry, I was looking in the wrong place!
                                    Going to try that now.

                                    1 Reply Last reply Reply Quote 0
                                    • chas2706undefined
                                      chas2706
                                      last edited by

                                      You are a star.

                                      Commenting out --start-fullscreen works and has the extra benefit of no page tabs or search bar so you basically get full screen but with the window control buttons.
                                      Cheers.

                                      1 Reply Last reply Reply Quote 0
                                      • A Former User?
                                        A Former User
                                        last edited by

                                        That might be the --app parameter that does that. Interesting learned something new today!

                                        Anyways, glad it worked out!

                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post
                                        Unless otherwise noted, all forum content is licensed under CC-BY-SA