Package Details: key-mon 1.20-3

Git Clone URL: https://aur.archlinux.org/key-mon.git (read-only, click to copy)
Package Base: key-mon
Description: A screencast utility that displays your keyboard and mouse status
Upstream URL: https://github.com/scottkirkwood/key-mon
Licenses: Apache
Submitter: None
Maintainer: lkrms
Last Packager: lkrms
Votes: 56
Popularity: 0.003636
First Submitted: 2009-12-16 06:15 (UTC)
Last Updated: 2024-05-17 01:50 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

rafaelff commented on 2024-08-29 18:15 (UTC)

Also, namcap reports:

PKGBUILD (key-mon) W: Non-unique source name (1.20.tar.gz). Use a unique filename.

key-mon E: Apache is not a valid SPDX license identifier. See https://spdx.org/licenses/ for valid identifiers, or prefix the identifier with 'LicenseRef-', if it is custom.

rafaelff commented on 2024-08-29 18:14 (UTC)

To solve this issue, one can download the patch from the pull request #107 (https://github.com/scottkirkwood/key-mon/pull/107.patch) and apply to the source code.

Here is a diff from what is today and a PKGBUILD that works:

diff --git a/PKGBUILD b/PKGBUILD
index db6396b..ce9a44b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,8 +14,15 @@ arch=('any')
 license=('Apache')
 depends=('gtk3' 'python' 'python-cairo' 'python-gobject' 'python-xlib')
 makedepends=('python-setuptools')
-source=("${url}/archive/${pkgver}.tar.gz")
-sha512sums=('8f8ef0a1cad92d6bd6e3e954b7b6989e69153ade83a41362561eae2e546df6dc1e4165c4fbc47357d489ea8df7f24a1a52d2f72afa17482f04f509c0b8e4a4fd')
+source=("${url}/archive/${pkgver}.tar.gz"
+        "${url}/pull/107.patch")
+sha512sums=('8f8ef0a1cad92d6bd6e3e954b7b6989e69153ade83a41362561eae2e546df6dc1e4165c4fbc47357d489ea8df7f24a1a52d2f72afa17482f04f509c0b8e4a4fd'
+            'fb8a0431cf245ebe0a4ed1662af961222f1350cf42bae720d647eeae2e19537d6390e14ac0f1f1105a186ab9254b6153f0da85a84d2a0461ed4f166f7c861781')
+
+prepare() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    patch -p1 -i ../107.patch
+}

 build() {
     cd "${srcdir}/${pkgname}-${pkgver}"

Retro_Gamer commented on 2024-08-29 17:57 (UTC)

Still not working here, can we get this fixed?

key-mon                                                                                                                                                                                                                     
Traceback (most recent call last):
  File "/usr/bin/key-mon", line 2, in <module>
    import keymon.key_mon as km
  File "/usr/lib/python3.12/site-packages/keymon/key_mon.py", line 41, in <module>
    from . import settings
  File "/usr/lib/python3.12/site-packages/keymon/settings.py", line 29, in <module>
    from configparser import SafeConfigParser
ImportError: cannot import name 'SafeConfigParser' from 'configparser' (/usr/lib/python3.12/configparser.py). Did you mean: 'RawConfigParser'

rafaelff commented on 2024-08-03 06:54 (UTC)

Python 3.12 incompatibility was fixed after https://github.com/scottkirkwood/key-mon/issues/105 (see linked pull request), but not released. This patch would be nice to be included in here.

Minihawk commented on 2024-08-03 06:44 (UTC) (edited on 2024-08-03 06:47 (UTC) by Minihawk)

Does not work since some month

Thwows:


tutorius@pacoblitz ~]$ key-mon
Traceback (most recent call last):
  File "/usr/bin/key-mon", line 2, in <module>
    import keymon.key_mon as km
  File "/usr/lib/python3.12/site-packages/keymon/key_mon.py", line 41, in <module>
    from . import settings
  File "/usr/lib/python3.12/site-packages/keymon/settings.py", line 29, in <module>
    from configparser import SafeConfigParser
ImportError: cannot import name 'SafeConfigParser' from 'configparser' (/usr/lib/python3.12/configparser.py). Did you mean: 'RawConfigParser'?

Any hints?

jose1711 commented on 2022-04-08 08:50 (UTC)

could you please fix this?

$ pacman -Qql key-mon | while read i; file $i; end | grep 'no read permission'
/usr/share/icons/hicolor/key-mon.png: regular file, no read permission
/usr/share/icons/hicolor/key-mon.svg: regular file, no read permission

thanks, j

lyoneel commented on 2022-02-28 13:36 (UTC)

Today I installed and do not work until I installed python2-gobject2

akovia commented on 2021-03-22 23:16 (UTC)

@Popolon Thank you very much!

Popolon commented on 2021-03-22 20:55 (UTC)

@akovia, just need to replace python2-dbus by dbus-python in the PKGBUILD and it will run fine.