How to fix mouse Lag Ubuntu 18.04?

Got some mouse lag in Ubuntu 18.04. Had it for a while now and just have kind of put up with it, but I need to get deeper into Ubuntu and linux which means actually trying to find solutions to all these weird linuxy problems.

I have a dual boot i5 integrated graphics ultra-book + Steel series rival 600. Silky smooth performance under windows, laggy under ubuntu, seems to be more laggy when moving between screens, but I am still not sure if it is a peak in GPU or CPU causing the problem. (Mouse completely stopped just now when I pressed “Review your question”.)

I have tried changing USB port. I have tried quitting programs in the taskbar such as Teams and f.lux. I have also tried the following fix which seemed to help somewhat but not completely:

How can I get rid of mouse lag under Ubuntu?

Is this just linux being linux or is this the excuse I need to splash out on a new a faster PC?

TIA any input is appreciated!

catalina – Unhide dock on fullscreen apps faster (with mouse)

I’m a new Mac user and I’m currently MacOS Catalina.

My question is how to unhide the dock on fullscreen apps without having to drag the mouse a lot further down than usual to get the dock. It doesn’t show dock until I drag my cursor way way down.

I understand with trackpad, I can simply move my cursor to bottom and keep touching the trackpad to get the dock but it is really difficult to get the dock using mouse (since I can’t really give a “touch” feedback)

20.04 – How to make a mouse button click last a determined period of time?

Stack Exchange Network

Stack Exchange network consists of 177 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

opengl – Transform the mouse coordinates to the GLSL plane

I am creating a 2D map editor in C ++ with GLFW. I want move and drag entities with the mouse, but I have a problem, the mouse coords are in the window size range (1200, 720) and the entity is in the GLSL range (100×100 I think), I compare the mouse coord with the 4 entity edges. How can I do this?

PD: Sorry for bad english.

mouse – Raise a window in 20.04 by clicking without clicking any of the buttons inside it (disable “click-through”)

I would like to configure Ubuntu 20.04 (with Gnome shell) so that if I click a window which does not have focus, that click raises the window and does nothing else; in particular, that click to raise the window does not actually have an effect on the window (so I can click where a button is without activating that button). In the old days on the Mac this was called “click-through”.

The reason for this is that it is very hard to click on a window to raise it without also clicking on a button inside it!

A Nautilus window mostly covered by other windows

Almost all the visible areas of that Nautilus window are “active” areas in some way; clicking in that window to focus and raise it will also change the folder that it is currently displaying.

Some clarifications:

  1. This is not about the window focus mode (focus-follows-mouse or sloppy focus). Windows are focused by clicking on them; I do not want focus-follows-mouse, and it is not what this question is about.
  2. This is about raising a window and giving it the focus by clicking on the window. I can switch to that window in other ways (alt-tab, for example, or by choosing it from the Dock) but I want to be able to click on a window to focus it and raise it, exactly as I currently can, but I don’t want to have to be careful to only click on an “inactive” area of that window to focus it.
  3. Yes, this problem is exacerbated by how there are not very many “inactive” areas in a window now that the title bar contains buttons. That’s not what this question is about, and I am quite happy with the window containing many buttons, as long as I’m not forced to click one of them just in order to give the window focus.

unity – How can I reset the mouse axes when respawning a player?

I am making a simple parkour game in which the camera will follow the mouse based on the mouse input axis * the sensitivity. This works great, but when I want to reset my character to the start I cant figure out how to reset the mouse axis to zero, thus preventing me from resetting the camera rotation. I have tried Input.ResetInputAxes();, but that seems to only reset the buttons.

using System.Collections;
using System;
using System.Collections.Generic;
using UnityEngine;
public class Movement : MonoBehaviour

    public CharacterController characterController;
    public Transform Player, camera;
    public Camera cam;
    public float XSensitivity, YSensitivity;
    public bool grounded, jumping;
    public float forwardSpeed, horizontalSpeed, jumpPower, gravity, sprintModifier;

    (HideInInspector) public float sideSpeed, lastPlayerPosX, lastPlayerPosZ, jumpSpeed, verticalRotation, horizontalRotation;

    private float isSprinting = 1;

    void Update()
        //This is where I get the axes
        float mouseX = Input.GetAxis("Mouse X"), mouseY = Input.GetAxis("Mouse Y");

        //This is how I rotate the player and camera 
        verticalRotation += -mouseY * YSensitivity;
        Player.transform.localRotation = Quaternion.Euler(0, horizontalRotation, 0);
        horizontalRotation += mouseX * XSensitivity;
        cam.transform.localRotation = Quaternion.Euler(verticalRotation, horizontalRotation, 0);

        if (Input.GetMouseButtonDown(0))
            Cursor.lockState = CursorLockMode.Locked;

        float horizontal = Input.GetAxis("Horizontal"), forward = Input.GetAxis("Vertical");

        grounded = characterController.isGrounded;

        if (grounded)
            if (Input.GetKey("left shift"))
                isSprinting = sprintModifier;
            if (Input.GetKey("left shift") == false)
                isSprinting = 1f;
            jumping = false;
            jumpSpeed = 0;
            sideSpeed = .75f;
            jumpSpeed -= (gravity * 25) * Time.deltaTime;

        if (Input.GetKey("space"))
            sideSpeed = .25f;
        if (Input.GetAxisRaw("Jump") != 0 && !jumping)
            jumping = true;
            jumpSpeed = jumpPower;

        lastPlayerPosX = Player.transform.position.x;

        lastPlayerPosZ = Player.transform.position.z;

        Vector3 motion = new Vector3(horizontal * horizontalSpeed * sideSpeed, jumpSpeed, forward * forwardSpeed * isSprinting);
        characterController.Move((Player.transform.rotation * motion) * Time.deltaTime);

    void OnTriggerEnter(Collider col)
        if ( == "deathbarrier")
            //Resets player to starting position
            Player.transform.position = new Vector3(20.5f, -2, -22.5f);
            //Is supposed to reset all inputs (including mouse)
            //Sets camera rotation to 0, but only for one frame before the stored mouse axes change it
            camera.transform.rotation = Quaternion.Euler(0, 0, 0);

Thanks for any tips!

gnome – Ghostly mouse trail after upgrading 19.04 to 20.04

Since upgrading to 20.04 I’ve been getting a ghostly mouse trail on my desktop. I found this…

I have the exact same problem after upgrading to Ubuntu 20.04 from
Ubuntu 18.04. I have found that the issue goes away when I disable zoom
in Settings -> Universal Access. This was never an issue in Ubuntu 18.04
for me with zoom enabled. At least now I know I can work around this
issue by just turning off zoom but it’d be great if there was a real fix
for this issue.

…and disabling zoom does indeed make the problem go away. Obviously that’s not a “fix”, since I enabled the zoom feature in the first place so I could use it. But I tend to think if there are visible signs of “unexpected behaviour”, there may also be associated invisible things going wrong (potentially damaging totally unrelated parts of my system).

What should I do? Is there a bug-free alternative to the Ubuntu standard Zoom facility?

security – Mouse slows down and wireless receiver message

My mouse suddenly slowed down. Then I must wait about a minute so that it will get back to its normal speed, then after using about 10 seconds it slows down again. I turned my computer off and on, detached and attached usb of mouse but result is the same

why did this happen and whata can I do to fix?

at the same minute that my mouse first slowed down, I saw a message in the lower right of my screen, it said “we are installing a wireless receiver” or something like that, I forgot exact wording but I do remember it said wireless receiver. As if one of those windows messages my computer gives me sometimes. What wireless receiver? Can these two things be related, and why did this happen , is someone doing something to my computer remotely?

I use Windows 10

Never experienced such thing before

xcode – macos laptop WakeUp with mouse

Closed. This question is off-topic. It is not currently accepting answers.

This question does not appear to be about Apple hardware or software within the scope defined in the help center.

Closed 12 hours ago by nohillside‚ô¶.

(Private feedback for you)
Edit question

MacOs, How with a laptop, use the mouse or the keyboard (connected in USB) To WakeUp?

On a laptop the WakeUp with MacOs is always achieved by pressing the PowerButton key, the USB ports are made inactive during standby.

DSDT or SSDT does not seem to be the solution. Maybe with the Kernel and a Kext dedicated to the mouse and the keyboard in USB?

Thank you for your answers.

sharepoint online – How to customize the tooltip when user hover mouse over title of a webpart ContentEditor

Stack Exchange Network

Stack Exchange network consists of 177 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange