Closed yrtimiD closed 3 years ago
Which Distro you using?
it's Debian 10
Can you share your sources.list
please?
you mean sources.list of apt?
deb http://httpredir.debian.org/debian/ buster main contrib non-free
deb http://httpredir.debian.org/debian/ buster-updates non-free contrib main
deb http://security.debian.org/debian-security/ buster/updates main contrib non-free
deb http://deb.torproject.org/torproject.org/ buster main
deb [arch=amd64] https://download.docker.com/linux/debian/ buster stable
deb http://deb.debian.org/debian/ buster-backports non-free contrib main
and some in sources.list.d... are you looking for something special?
I wanted to see if your using some testing repository. You see that error on Melange right?
Only stable repo. yes, the error is on Melange.
I searched other applets for setTimeout usage, and all of them use custom implementation like:
function setTimeoutInSeconds(callback, s) {
return Mainloop.timeout_add_seconds(s, () => {
callback();
return false;
}, null);
}
Installing Debian here for test...
I got the same problem here, i will try to fix it.
I fixed it, but i cant make a pull request now, because i'm working a big update.
So if your are familiar with code, you can fix it yourself by editing the ~/.local/share/cinnamon/applets/qredshift@quintaoapplet.js
and replacing the this.verifyVersion()
function call with this one.
Starts on line 213
// --- Async Loading ---
this.verifyVersion(() => {
this.menu = this._applet_context_menu;
this.timeout_info = Mainloop.timeout_add_seconds(1, () => {
qLOG('Redshift required!');
this.setIcon();
this.set_applet_label(_("REDSHIFT NOT INSTALLED!"));
this.set_applet_tooltip(_("Requires Redshift: sudo apt-get install redshift"));
}, null);
}, (success) => {
Mainloop.source_remove(this.timeout_info)
// Set Menu
this.menu = this.appMenu;
// Disable Redshift
this.disableRedshiftService()
// Load Informations
this.setAdjustmentMethods(false);
this.setLocation(false);
this.doUpdate();
});
Thanks for the report! 🍻
Let me know if works.
Works perfectly! Thanks!
Fixed in version 1.6.0
Cinnamon 3.8.8 Applet version 1.5.5 Debian 10