Skip to content

Large software cursor for screen recording on X11

Notifications You must be signed in to change notification settings

neetsots/swcursor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swcursor

swcursor example screenshot

This is a hack based fork of swcursor to replicate mouse overlays on linux.

This is a simple software cursor for X11 environments, it creates an overlay window with an (large) image that follows the cursor around. You will need to arrange for your normal cursor to be hidden, or screen record using ffmpeg's kmsgrab which often does not capture harware cursors at all.

Installation and Usage

You will need to have working development libraries for gtk-3.0, gdk and xlib.

$ make
$ ./swcursor

Usage: ./swcursor [-ir] [file...]

-i [file.png]
 load the png file as mouse cursor

-r [number]
set the refresh rate per seconds

Example:
./swcursor -i cursors/cursor-large.png -r 12
# A variety of cursors can be found in the cursors folder
# You can display any transparent PNG image you like for the cursor
$ ./swcursor cursors/cursor-large.png

For more details see https://github.com/andykitchen/swcursor

About

Large software cursor for screen recording on X11

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 97.7%
  • Makefile 2.3%