Giter VIP home page Giter VIP logo

transparent-xcursor's Introduction

Transparent (hidden) cursor for Gnome / Wayland

Why?

While trying to hide cursors for a kiosk in the latest Raspbian Buster, all my old tricks didn't work. This was mainly due to it using Wayland. Wayland doesn't have the -nocursor option that X does.

Any hoo, I have never loved the old solutions I used anyways, since they requires addition software (unclutter) or, moving the mouse to 0,0 (which left 1 px showing).. Or, adding in some css, which chromium seems to break on occasion.

How?

Download the transparent file and overwrite any pointer file you want to hide. In the case of Wayland on Buster that file is:

/usr/share/icons/Adwaita/cursors/left_ptr

This file was generated with the xcursorgen command. You can duplicate the creation by running:

xcursorgen transparent.cfg transparent

or, in the case of the left_ptr file:

xcursorgen transparent.cfg left_ptr

transparent-xcursor's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

noahvogt

transparent-xcursor's Issues

there is no cursors folder under /usr/share/icons/Adwaita/

hi
I have the some problem, I want to hide the mouse cursor on weston(wayland) desktop display.
but I can not find the cursors subfolder.
how can I do it?
Thank you

-sh-5.0# pwd
/usr/share/icons/Adwaita
-sh-5.0# ls
16x16 24x24 icon-theme.cache scalable
-sh-5.0#

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.