{ "info": { "author": "Ebrahim Azarisooreh", "author_email": "ebrahim.azarisooreh@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: X11 Applications", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Operating System :: Unix", "Topic :: Utilities" ], "description": "mousetrap\n=========\n\nA utility that hides the mouse after a specified interval of time has elapsed\nwithout activity.\n\nWhat is this?\n-------------\n\nThis is a small utility for linux desktops that hides the mouse during periods of inactivity. When the user does need to use the mouse again, the mouse pointer will be unhidden so that normal use can resume. Some users tend to get distracted when reading or working with a mouse pointer that sits over the content. This is very similar to programs like `hhp`, `hhpc`, `unclutter`, etc.\n\nThe process flow of `mousetrap` is as follows:\n\n1. There is no activity for user-specified amount of time (i.e. 6 seconds)\n2. Mouse is hidden\n3. Mouse is used, and subsequently unhidden\n4. Go back to step 1\n\nIf there is activity (i.e. click or movement) before the amount of time has elapsed in step 1, then the timer is reset and control remains in step 1.\n\nWhat's wrong with the others?\n-----------------------------\n\nThe other programs I've encountered had one or more of the following issues:\n\n* Resets the timer on motion, but not on button presses\n* Resets the timer on button presses, but not on motion\n* Reactivates mouse on click, but does not register the click on the window\n* Program predictably fails after a short amount of time\n* Does not work on tiling window managers like mine (Xmonad WM)\n* Works on tiling window managers, but fails to hide when sitting in between windows\n\nThe mere presence of any of the above issues is sufficient for me not to use such a program.\n\nHow do I install this?\n----------------------\n\nDo you have Arch Linux? Great, if so you can skip the rest of the instructions at the bottom and install it directly from the AUR: https://aur.archlinux.org/packages/mousetrap/\n\nOtherwise, In order to build this application you need to install `Python` >= 3.0 (https://www.python.org)\n\nAfter the installation, you may proceed to the first step below.\n\nFirst, install with::\n\n $ python setup.py install\n\nThen, assuming that the path you installed `mousetrap` to is in your `$PATH`::\n\n $ mousetrap -t 10\n\n\nThe `-t` flag specifies your preferred idle time, in seconds. All flag options are _absolutely_ mandatory.\n\nIssues\n------\n\nSome users have reported seeing an error of the form::\n\n Xlib.error.DisplayConnectionError: Can't connect to display \":0\": b'Invalid MIT-MAGIC-COOKIE-1 key'\n\n\n@deepakshantilalshah claims that the example command below is a workaround for such issues::\n\n DISPLAY=:0 mousetrap -t 10\n\n\nSee https://github.com/eazar001/mousetrap/issues/5 for more information.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/eazar001/mousetrap", "keywords": "hide mouse cursor pointer x11 xlib", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "mousetrap", "package_url": "https://pypi.org/project/mousetrap/", "platform": "", "project_url": "https://pypi.org/project/mousetrap/", "project_urls": { "Homepage": "https://github.com/eazar001/mousetrap" }, "release_url": "https://pypi.org/project/mousetrap/3.0.5/", "requires_dist": [ "python-xlib" ], "requires_python": "", "summary": "An X11 utility that hides the mouse pointer after a specified interval of time", "version": "3.0.5" }, "last_serial": 4231697, "releases": { "3.0.4": [ { "comment_text": "", "digests": { "md5": "507f8b9ee73102832a22d9216a263a29", "sha256": "dde2bcc41c5205cb8a87a44ed7309e5bc6d7a89bf85c3f63300bbe792f03b5f6" }, "downloads": -1, "filename": "mousetrap-3.0.4.tar.gz", "has_sig": false, "md5_digest": "507f8b9ee73102832a22d9216a263a29", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4663, "upload_time": "2016-08-12T21:01:53", "url": "https://files.pythonhosted.org/packages/0c/5a/5ebec1b07c1e80292371ff5237398c1217641c82334377fb7113fcaf72be/mousetrap-3.0.4.tar.gz" } ], "3.0.5": [ { "comment_text": "", "digests": { "md5": "f161e78224e6ba8a3397a3f9768f9966", "sha256": "ed4f023e34b62f765c86ec95b4323088a968ad21246c2392dd3193ae7ed8058a" }, "downloads": -1, "filename": "mousetrap-3.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "f161e78224e6ba8a3397a3f9768f9966", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4460, "upload_time": "2018-09-02T18:26:35", "url": "https://files.pythonhosted.org/packages/60/a1/b0a92d22e8d88e373c6711369ed82d47e0c30062c8afec7941340627667a/mousetrap-3.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cbe79798041cc61f97913b5ce9957280", "sha256": "e219ba65bf591532ed0538c7a88b5504620a40158f3dbe78fc4acb051922cdc3" }, "downloads": -1, "filename": "mousetrap-3.0.5.tar.gz", "has_sig": false, "md5_digest": "cbe79798041cc61f97913b5ce9957280", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4816, "upload_time": "2018-09-02T18:26:36", "url": "https://files.pythonhosted.org/packages/d2/67/f34df77383c0cd551c8a791ae3f6171c6189217a9bcb8d0f4ebd6e99d32d/mousetrap-3.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f161e78224e6ba8a3397a3f9768f9966", "sha256": "ed4f023e34b62f765c86ec95b4323088a968ad21246c2392dd3193ae7ed8058a" }, "downloads": -1, "filename": "mousetrap-3.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "f161e78224e6ba8a3397a3f9768f9966", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4460, "upload_time": "2018-09-02T18:26:35", "url": "https://files.pythonhosted.org/packages/60/a1/b0a92d22e8d88e373c6711369ed82d47e0c30062c8afec7941340627667a/mousetrap-3.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cbe79798041cc61f97913b5ce9957280", "sha256": "e219ba65bf591532ed0538c7a88b5504620a40158f3dbe78fc4acb051922cdc3" }, "downloads": -1, "filename": "mousetrap-3.0.5.tar.gz", "has_sig": false, "md5_digest": "cbe79798041cc61f97913b5ce9957280", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4816, "upload_time": "2018-09-02T18:26:36", "url": "https://files.pythonhosted.org/packages/d2/67/f34df77383c0cd551c8a791ae3f6171c6189217a9bcb8d0f4ebd6e99d32d/mousetrap-3.0.5.tar.gz" } ] }