Re: How to reload extension with modified code
- From: Norman L Smith <nls1729 gmail com>
- To: Sergey Cherepanov <sergey cherepanov org>, gnome-shell-list gnome org
- Subject: Re: How to reload extension with modified code
- Date: Tue, 02 Jan 2018 10:56:59 -0500
Hello,
Your problem is due to the change from Xorg to Wayland. When the Gnome Shell is
run in a Wayland desktop session the shell cannot be restarted. Some linux
distributions provide the ability to log into an Xorg or Wayland session. Fedora provides
the option of using an X session. With Ubuntu you can install the vanilla Gnome session
which will give the option to run an X session. I wrote an extension to reload an extension
but it will only reload the extension if it is in an error state (ie. it had failed to be loaded
due to an error in the extension code and you have corrected the error). That extension is
really not very useful. You can develop under an X session and re-test under Wayland
after you get your code working. There are differences in the shell code when running
under X that might not work correctly if you depend on the X behavior in your extension.
The only way to handle that problem is to look into the shell's sources if the extension
works under X but fails under Wayland.
Hope this is useful...
Norman
On Mon, 2018-01-01 at 18:12 -0600, Sergey Cherepanov wrote:
Hi,
Alt->F2 + r does not restart gnome-shell any more.
I am developing gnome-shell extension
How to reload gnome-shell extension with new code?
Enable-disable extension do pick up new settings, but not new code.
Only way I found to reload gnome extension code - logout/login from gnome altogether. That is EXTREMELY intrusive.
Any suggestions how to reload extension code?
Thank you
Sergey
_______________________________________________
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]