Is it possible to remove mouse pointer bounds (i.e. wrap the screen)?

I wonder it is possible to remove mouse pointer bounds. I mean when I move mouse pointer to right side of screen, I want it appear on left side. Also same thing for top/bottom bounds. To be clarify, you may think it like snake game without screen walls.


Solution 1:

I've put up an easier-to-install version on my github here, you can install it using:

$ ./configure
$ make
$ make install

(original answer)

I believe using Taralli would allow for such a thing to happen with multiple workspaces...

There's some more info about what it is here and it seems to be what you're looking for. Compilation is easy and should work on regular rectangular screens by running

$ ./build.sh rectangular
$ # Note: if the above command fails try 'gcc -O2 -Wall -std=c99 -pedantic -o taralli_rectangular main.c map_rectangular.c -lX11 -lXi'
$ ./taralli_rectangular
$ sudo mv taralli_rectangular /usr/bin/taralli_rectangular

and then setting the binary to run on boot.

If you get the errors like:

In file included from main.c:1:0:
common.h:5:19: fatal error: X11/X.h: No such file or directory
 #include <X11/X.h>
                   ^
compilation terminated.
In file included from map_rectangular.c:1:0:
common.h:5:19: fatal error: X11/X.h: No such file or directory
 #include <X11/X.h>
                   ^
compilation terminated.

Install these dev packages:

sudo apt-get update
sudo apt-get install libx11-dev libxext-dev libxi-dev

And run the compilation steps again.

Solution 2:

You can use brightside to accomplish this, It has a option to wrap around when you mouse hits a screen edge.

  1. Install brightside with:

    sudo apt-get update
    sudo apt-get install brightside
    
  2. In terminal run:

    brightside-properties
    
  3. This box should then appear:

enter image description here

Lasstly Check the boxes that say:

[✓] Switch to adjacent workspace when mouse is moved to edge of screen
[✓] When switching workspace, wrap around edges of workspace layout

enter image description here