Re: is it possible to restart an extension via cli?



PS:
Sorry, I forgot to answer your other question:
I'm using gnome-shell 3.8.3-1 on arch.


(and if it's interessting for anyone:

 * CPU flat graph starts when network connection is established.
* I tried the command given in the last answer in a/usr/lib/systemd/system-sleep/ (post) script, but that didn't work. probably, because it's too early for a restart of the extension then. )


Anyway, I'm quite happy with the dbus command. :-)




Am 09.06.2013 07:46, schrieb Tim:
On 09/06/13 15:07, Bazon Bloch wrote:
Hello,

since recently I have a problem with https://extensions.gnome.org/extension/120/system-monitor/ :
after resume from standby, the CPU graph remains a flat line, that means the values aren't refreshed.
(although gnome-system-monitor works)
What version of gnome-shell are you using?

gnome-shell 3.8.3-1



to get the CPU graph working again, I can restart gnome-shell with alt+f2 r, but i'd like to avoid the time 
that takes.

so what i would like to have (apart from not having the problem in the first place) is a possibility to just 
restart that extension via a cli
command. (that could be executed automatically on resume.)
You can use the following command to restart an extension

gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method 
org.gnome.Shell.Extensions.ReloadExtension <UUID>

is there a possibility to do that?

thanks,
Bazon.
_______________________________________________
gnome-shell-list mailing list
gnome-shell-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-shell-list
_______________________________________________
gnome-shell-list mailing list
gnome-shell-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-shell-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]