Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #266311
| From | Chris Jölly <ml-debian-cj@joelly.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Connamon: Desklet "Network usage monitor" fills logfiles |
| Date | 2024-01-20 08:00 +0100 |
| Message-ID | <HYduF-4iOG-3@gated-at.bofh.it> (permalink) |
| References | <HWcjn-34Nv-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hello,
that issue was already reported "upstream" and is fixed in the meantime.
The issue was a compatibility issue with Clutter.
Cheers
On 1/14/24 18:11, Chris Jölly wrote:
>
> Hello,
>
> I try to use the desklet Network usage monitor which I can download
> using the Desklet control.
>
> It downloads and installs without issues, and when I try to activate
> it it is not shown on the desktop. vnstat and vnstati are installed.
>
> Looking into the logs with journalctl, the following error message is
> shown 3 times every 2 seconds:
>
> Jan 14 08:07:58 laptop1 cinnamon[2643]: JS ERROR: TypeError:
> Clutter.Texture is not a constructor
> _updateGraph/<@/home/chris/.local/share/cinnamon/desklets/netusage@30yavash.com/4.0/desklet.js:144:29
> spawnCommandLineAsync/<@/usr/share/cinnamon/js/misc/util.js:206:17
>
> The code around line 144 in desklet.js is:
>
> if (this._device != "null") {
> if (!this.useExtendedDisplay) { this.extendedDisplay =
> "-s" };
> let image =
> `${path}/vnstatImage_${this._device}_${this.extendedDisplay}.png`;
> let command = 'vnstati ' + this.extendedDisplay + ' -ne
> -i ' + this._device + ' -o ' + image ;
> // GLib.spawn_command_line_async(command);
>
> Util.spawnCommandLineAsync(command, () => {
> let l = new Clutter.BinLayout();
> let b = new Clutter.Box();
> let c = new Clutter.Texture({keep_aspect_ratio:
> true, filter_quality: 2, filename: image });
> b.set_layout_manager(l);
> * b.add_actor(c);*
> this.imageWidget.destroy_all_children();
> this.imageWidget.set_child(b);
> });
> }
>
>
> I used Alf+F2 and "lg" to get more insights, but was not successful. I
> can see that Clutter is provided with the package cinnamon-common, but
> I could not find the definition of Clutter.Texture. But I am not a
> Javscript developer, so just tried to grep around a little bit.
>
> I read that whole Clutter is already unmaintained. Does it look like
> those Clutter based Cinnamon stuff is slowly fading out?
>
> BR
>
> Chris
>
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
Connamon: Desklet "Network usage monitor" fills logfiles Chris Jölly <ml-debian-cj@joelly.net> - 2024-01-14 18:20 +0100 Re: Connamon: Desklet "Network usage monitor" fills logfiles Chris Jölly <ml-debian-cj@joelly.net> - 2024-01-20 08:00 +0100
csiph-web