Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swillner/highlight-pointer
Highlight mouse pointer/cursor using a dot - useful for presentations, screen sharing, ...
https://github.com/swillner/highlight-pointer
cursor highlight-pointer mouse-cursor mouse-pointer presentation presenting screen-recording screen-sharing x11 x11-cursor
Last synced: about 16 hours ago
JSON representation
Highlight mouse pointer/cursor using a dot - useful for presentations, screen sharing, ...
- Host: GitHub
- URL: https://github.com/swillner/highlight-pointer
- Owner: swillner
- License: mit
- Created: 2020-04-27T07:00:27.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-11T23:50:47.000Z (3 months ago)
- Last Synced: 2024-11-06T06:12:26.301Z (8 days ago)
- Topics: cursor, highlight-pointer, mouse-cursor, mouse-pointer, presentation, presenting, screen-recording, screen-sharing, x11, x11-cursor
- Language: C
- Homepage:
- Size: 81.1 KB
- Stars: 140
- Watchers: 4
- Forks: 17
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# highlight-pointer
Highlight mouse pointer/cursor using a dot - useful for presentations,
screen sharing, ...## Demo
![](demo.gif)
## Features
- Very lightweight, should work on any Linux/Unix system running an X
server
- Should work with any software capturing/sharing the screen
regardless if it shows the cursor (like Zoom) or not (like Skype)
- Set color for mouse button released and/or pressed state
- Highlight using a filled or outlined dot
- Auto-hide highlight and/or cursor after a time when not moving and
re-show when moving again
- Global hotkeys for toggling cursor or highlighter and for toggling
auto-hiding## Installation
Download the `highlight-pointer` binary from the [releases
page](https://github.com/swillner/highlight-pointer/releases/latest)
or see below to build yourself.### Prerequisites
To build `highlight-pointer` you need the X11, Xext, Xfixes, and Xi
libraries. On Debian/Ubuntu, just install these using```
sudo apt-get install libx11-dev libxext-dev libxfixes-dev libxi-dev
```### Building
Just build the `highlight-pointer` binary using
```
make
```## Usage
Just call the `highlight-pointer` binary and include command line
options if you want to change color, size, etc. (see below).To quit the program press `Ctrl+C` in the terminal where you started
it, or run `killall highlight-pointer`.### Options
```
Usage:
highlight-pointer [options]-h, --help show this help message
DISPLAY OPTIONS
-c, --released-color COLOR dot color when mouse button released [default: #d62728]
-p, --pressed-color COLOR dot color when mouse button pressed [default: #1f77b4]
-o, --outline OUTLINE line width of outline or 0 for filled dot [default: 0]
-r, --radius RADIUS dot radius in pixels [default: 5]
--hide-highlight start with highlighter hidden
--show-cursor start with cursor shownTIMEOUT OPTIONS
--auto-hide-cursor hide cursor when not moving after timeout
--auto-hide-highlight hide highlighter when not moving after timeout
-t, --hide-timeout TIMEOUT timeout for hiding when idle, in seconds [default: 3]HOTKEY OPTIONS
--key-quit KEY quit
--key-toggle-cursor KEY toggle cursor visibility
--key-toggle-highlight KEY toggle highlight visibility
--key-toggle-auto-hide-cursor KEY toggle auto-hiding cursor when not moving
--key-toggle-auto-hide-highlight KEY toggle auto-hiding highlight when not movingHotkeys are global and can only be used if not set yet by a different process.
Keys can be given with modifiers
'S' (shift key), 'C' (ctrl key), 'M' (alt/meta key), 'H' (super/"windows" key)
delimited by a '-'.
Keys themselves are parsed by X, so chars like a...z can be set directly,
special keys are named as in /usr/include/X11/keysymdef.h
or see, e.g. http://xahlee.info/linux/linux_show_keycode_keysym.htmlExamples: 'H-Left', 'C-S-a'
```