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

    DWC on SBC question

    Scheduled Pinned Locked Moved
    Duet Web Control
    3
    21
    666
    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.
    • 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