rseabra / smartcard-lock Goto Github PK
View Code? Open in Web Editor NEWGNOME Shell Extention that looks for smartcards, and immediately locks the screen if one is removed
License: GNU General Public License v3.0
GNOME Shell Extention that looks for smartcards, and immediately locks the screen if one is removed
License: GNU General Public License v3.0
So this is the output from journalctl -f --user...
Things "look fine"...
abr 09 20:38:35 desktop gnome-shell[1933420]: GNOME Smartcard Lock: initializing
abr 09 20:38:35 desktop gnome-shell[1933420]: GNOME Smartcard Lock: enabling
abr 09 20:38:35 desktop gnome-shell[1933420]: GNOME Smartcard Lock: "org.gnome.SettingsDaemon.Smartcard" appeared on the session bus
abr 09 20:38:35 desktop gnome-shell[1933420]: GNOME Smartcard Lock: Following presence of smartcard: /org/gnome/SettingsDaemon/Smartcard/Manager/Tokens/token_from_p11_2d_kit_2d_proxy_2e_so_slot_17
abr 09 20:38:38 desktop gnome-character[1934337]: JS LOG: Characters Application exiting
abr 09 20:38:41 desktop systemd[1916]: Stopped target smartcard.target - Smart Card.
abr 09 20:38:41 desktop gnome-shell[1933420]: GNOME Smartcard Lock: Requested org.gnome.ScreenSaver to lock
And the screen locks! But then disable is called (I don't understand why) and obviously there's something wrong with the cleanup...
abr 09 20:38:41 desktop gnome-shell[1933420]: GNOME Smartcard Lock: disabling
abr 09 20:38:41 desktop gnome-shell[1933420]: JS ERROR: Extension [email protected]: Error: No signal connection 0 found
_disconnect@resource:///org/gnome/gjs/modules/core/_signals.js:58:11
g_sc_l_proxy_cleanup@/home/rms/.local/share/gnome-shell/extensions/[email protected]/extension.js:9:10
disable@/home/rms/.local/share/gnome-shell/extensions/[email protected]/extension.js:145:3
_callExtensionDisable@resource:///org/gnome/shell/ui/extensionSystem.js:125:32
_onEnabledExtensionsChanged/<@resource:///org/gnome/shell/ui/extensionSystem.js:536:45
_onEnabledExtensionsChanged@resource:///org/gnome/shell/ui/extensionSystem.js:536:24
_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:658:14
_emit@resource:///org/gnome/gjs/modules/core/_signals.js:114:47
_sync@resource:///org/gnome/shell/ui/sessionMode.js:204:14
pushMode@resource:///org/gnome/shell/ui/sessionMode.js:163:14
activate@resource:///org/gnome/shell/ui/screenShield.js:620:34
lock@resource:///org/gnome/shell/ui/screenShield.js:666:14
LockAsync@resource:///org/gnome/shell/ui/shellDBus.js:519:28
_handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:368:35
_wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:401:34
abr 09 20:38:41 desktop gnome-shell[1933420]: Source ID 1128 was not found when attempting to remove it
abr 09 20:38:41 desktop gnome-shell[1933420]: Source ID 1255 was not found when attempting to remove it
abr 09 20:38:41 desktop gnome-shell[1933420]: Source ID 1307 was not found when attempting to remove it
abr 09 20:38:41 desktop gnome-shell[1933420]: [System monitor] applet disable
abr 09 20:38:43 desktop systemd[1916]: Reached target smartcard.target - Smart Card.
abr 09 20:38:50 desktop gnome-shell[1933420]: [System monitor] applet enabling
abr 09 20:38:50 desktop gnome-shell[1933420]: [System monitor] applet enabling done
abr 09 20:38:50 desktop gnome-shell[1933420]: loading default theme (Adwaita)
The extension appears to be in error, but the screen still locks:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.