MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Updated to 2.15 but now have a random cursor

    Scheduled Pinned Locked Moved Troubleshooting
    11 Posts 5 Posters 4.0k Views 6 Watching
    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.
    • S Offline
      scumbelly
      last edited by

      @TDMPro2K

      Autohiding the Mouse Pointer

      Install unclutter:

      sudo apt-get install unclutter

      You can create an .xinitrc script to run the tool.
      See https://wiki.archlinux.org/index.php/Unclutter

      But a simpler option is to add a line to the end of the file:

      $ nano ~/.config/lxsession/LXDE-pi/autostart
      …
      @unclutter -display :0 -idle 3 -root -noevents

      This will add a 3 second delay, before the pointer disappears from the screen when not using it.

      T S 2 Replies Last reply Reply Quote 0
      • T Offline
        TDMPro2K @scumbelly
        last edited by

        @scumbelly Thanks I shall give it a try and see what happens

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @scumbelly
          last edited by

          @scumbelly that’s interesting. the css hides the cursor typically.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            scumbelly @sdetweil
            last edited by

            @sdetweil

            FYI

            My ‘dev’ system hasn’t had unclutter installed. It has a mouse and keyboard attached. If my mouse is turned off (wireless) the pointer appears centered on the screen. When I turn the mouse on the pointer disappears.

            Unclutter is installed on ‘playroompi’ and ‘garagepi’ systems with no pointer issues.

            To verify if installed,

            $ apt-cache policy unclutter
            unclutter:
            Installed: 8-21
            Candidate: 8-21
            Version table:
            *** 8-21 500
            500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
            100 /var/lib/dpkg/status

            If not,

            unclutter:
            Installed: (none)
            Candidate: 8-21
            Version table:
            8-21 500
            500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages

            Cheers

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @scumbelly
              last edited by sdetweil

              @scumbelly weird. most of my systems do not have a keyboard/mouse and do not have unclutter installed.

              no mouse appears over mm.

              if I plug in a mouse, no mouse appears over mm

              if I change the css, then the mouse appears
              main.css

              html {
                cursor: none
              

              comment out the cursor :none;

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              S M 2 Replies Last reply Reply Quote 0
              • S Offline
                scumbelly @sdetweil
                last edited by

                @sdetweil

                Your solution is certainly easier.

                Thanks for the information.

                Regards.

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TDMPro2K
                  last edited by TDMPro2K

                  HI Guys, Yeah it only showed since doing the update to the latest. I had no issue before.

                  The unclutter worked and its not showing once again.
                  @scumbelly Thanks for your help…

                  W 1 Reply Last reply Reply Quote 0
                  • W Offline
                    Wenike @TDMPro2K
                    last edited by

                    So, unclutter worked for me to hide the cursor but now I don’t have the normal RaspPi desktop and instead I’m in some Openbox thing. After some panic, I was able to figure out that I needed to right-click to bring up the menus (I use a Chromebook to VNC on and have a bluetooth keyboard/mouse combo that I use rarely if the Chromebook doesn’t work and the Chromebook has long-press to be right-click, which doesn’t translate very well outside of it). I’ve killed that autostart command and uninstalled unclutter (sudo apt-get --purge remove uncluter). How do I get it to stop going into Openbox and go back to using the desktop that I’m used to?

                    W 1 Reply Last reply Reply Quote 0
                    • W Offline
                      Wenike @Wenike
                      last edited by

                      @wenike Apparently, deleting that autostart file (or in my case, renaming it) caused it to be recreated and get the normal desktop back.

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        MajorC Project Sponsor @sdetweil
                        last edited by

                        @sdetweil since updated to v2.15 I have the cursor, too.

                        The main.css looks like:

                        html {
                          cursor: none;
                          overflow: hidden;
                          background: #000;
                          user-select: none;
                        }
                        

                        Not sure what to do.

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 1 / 1
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy