Use of Shell object in Gjs

后端 未结 3 1923
小蘑菇
小蘑菇 2021-02-14 01:00

I am writing a gtk+ app using Gjs ( Gnome JavaScript bindings ) As there are no documents available i am reading the sources of gnome-shell JavaScript\'s . In my app i need to g

3条回答
  •  遇见更好的自我
    2021-02-14 01:37

    You can't run gnome-shell extensions via gjs, they have to be loaded by gnome-shell itself. For development, this usually means putting them in ~/.local/share/gnome-shell/extensions/YOUR-EXTENSION-ID and restarting the shell.

提交回复
热议问题