-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathreadme
70 lines (48 loc) · 2.16 KB
/
readme
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
██╗ ██╗ ████████╗ ████████╗ ██╗ ██████╗
╚═██╗ ██╔═╝ ██╔═══════██╗ ██╔═══════██╗ ████╔═════██╗
╚═████╔═╝ ██║ ██║ ██║ ██║ ██╔═╝ ██║
████║ ██║ ██║ ██║ ██║ ██║ ██║
██╔═══██╗ ██║ ██║ ██║ ██║ ██║ ██║
██╔═╝ ╚═██╗ ╚═████████╔═╝ ╚═████████╔═╝ ██████████╔═╝
╚═╝ ╚═╝ ╚═══════╝ ╚═══════╝ ██╔═══════╝
██║
██║
╚═╝
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 help
Required libraries
------------------
On Ubuntu 23.10, the following packages are required:
$ sudo apt install \
libxcb-randr0-dev \
libxcb-util0-dev \
libxcb-xfixes0-dev \
libxcb-xinput-dev
To install
----------
$ make
$ sudo make install
To 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.