https://github.com/m-col/xoop
Loop your X cursor around the screen 👉😎👉
https://github.com/m-col/xoop
Last synced: about 1 month ago
JSON representation
Loop your X cursor around the screen 👉😎👉
- Host: GitHub
- URL: https://github.com/m-col/xoop
- Owner: m-col
- License: mit
- Created: 2023-03-05T01:56:59.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-02-22T14:19:32.000Z (3 months ago)
- Last Synced: 2025-03-23T19:51:30.230Z (about 2 months ago)
- Language: C
- Size: 29.3 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: readme
- License: LICENSE
Awesome Lists containing this project
README
██╗ ██╗ ████████╗ ████████╗ ██╗ ██████╗
╚═██╗ ██╔═╝ ██╔═══════██╗ ██╔═══════██╗ ████╔═════██╗
╚═████╔═╝ ██║ ██║ ██║ ██║ ██╔═╝ ██║
████║ ██║ ██║ ██║ ██║ ██║ ██║
██╔═══██╗ ██║ ██║ ██║ ██║ ██║ ██║
██╔═╝ ╚═██╗ ╚═████████╔═╝ ╚═████████╔═╝ ██████████╔═╝
╚═╝ ╚═╝ ╚═══════╝ ╚═══════╝ ██╔═══════╝
██║
██║
╚═╝Loop your X cursor around the edges of the screen
👉😎👉
xoop turns your desktop into a flat torus, so that when the cursor hits one
side it continues and reappears out from the opposite side.Here is a video demonstration: https://mcol.xyz/static/xoop.mp4
Arguments
----------x x axis only
-y y axis only
-f fork
-d debug mode
-h helpRequired libraries
------------------On Ubuntu 23.10, the following packages are required:
$ sudo apt install \
libxcb-randr0-dev \
libxcb-util0-dev \
libxcb-xfixes0-dev \
libxcb-xinput-devTo install
----------$ make
$ sudo make installTo uninstall
------------$ sudo make uninstall
Multimonitor
------------xoop assumes that a multiple monitor setup creates a large rectangle with 4
edges, for example if you have two monitors of the same height side-by-side. If
your multi-monitor setup does not produce a large rectangle then the mouse will
only teleport on the far outside edges. This is because it is not always clear
where the mouse should teleport to. Contributions are welcome if you have a
solution!Contact
-------
Email me @ [email protected] for questions or contributions.