Comments (7)
Doing checks when screen is locked (meaning keep the extension active) I won't do.
But you found an edge case that require fixing nonetheless. Each time you lock your screen, the timer is restarted. So if you lock you screen often, then the only check you'll ever have is the first one on login. I will fix that.
Also, I see another thing (less annoying but still) : when you change the check interval in settings, the timer is reset.
from arch-update.
That's a first ...
Do you have anything related to arch-update in logs ?
Maybe in journalctl -g "JS ERROR"
from arch-update.
When I open "Settings" window of the extension I have always :
systemd[59110]: Started dbus-:[email protected].
gjs[52233]: Unknown key gtk-modules in /home/user/.config/gtk-4.0/settings.ini
I got rid of this warning by commenting the offending line. (Probably a remnant of KDE)
I also sometimes get (while using the Settings window) :
gnome-shell[335010]: Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise:
_promisify/proto[asyncFunc]@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:448:16
openExtensionPrefs@resource:///org/gnome/shell/ui/extensionSystem.js:320:26
openPreferences@resource:///org/gnome/shell/extensions/extension.js:27:26
_openSettings@file:///home/user/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js:209:19
activate@resource:///org/gnome/shell/ui/popupMenu.js:195:14
_init/<@resource:///org/gnome/shell/ui/popupMenu.js:112:24
@resource:///org/gnome/shell/ui/init.js:21:20
I have seen some people have
/bin/sh -c "/usr/bin/checkupdates"
instead of
/usr/bin/checkupdates
I'll try this, even if it should be the same result.
from arch-update.
It seems to work now.
I don't really understand why, because my SHELL variable is "/bin/bash" and /bin/sh is symlinked to bash ...
from arch-update.
False alert, it still does not work as expected.
I have "interval between check" on 30 min, and it looks like it worked once this afternoon, while I was using the PC.
Could it be that when the screen is locked, the autocheck is not performed ?
Can I enable some detailed logs somewhere ?
Edit : I just checked another gnome-extension (GSConnect) recently updated, and guess what :
So I'm assuming that "by default", gnome-extensions are not active while the screen is locked.
Ideally, I'd like to set "interval between check" to 1440min (24 hours), and I'd like that the check would be done even if my screen is locked.
from arch-update.
Indeed. Extension is disabled when screen is locked.
from arch-update.
I assume you consider it's not a bug. But could it be a new feature ? (See my use case above)
from arch-update.
Related Issues (20)
- Fedora adaptation? HOT 4
- Update button not working after a while HOT 4
- [Feature request] Debian and apt HOT 9
- Local pacman dir folder setting changed needs a restart HOT 1
- How to change fnome-terminal to alacritty to update? HOT 1
- Refresh seems not to be working anymore? HOT 1
- Gnome 45 version HOT 12
- Rejected from extensions.gnome.org HOT 2
- Package names are underlined HOT 6
- AUR : pamac issue HOT 15
- Check AUR updates and show them in the topbar icon HOT 2
- [Feature request] option to move the indicator into quick settings menu HOT 1
- wiki error with the update command for yay HOT 2
- add whitelist
- Incompatibility with Gnome 46 (beta) HOT 27
- Version number is not shown properly while scrolling HOT 2
- Enhancement archlinux news HOT 2
- PACKAGE_INFO_CMD ==> Bad Request HOT 8
- Yay updates HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arch-update.