How to properly start a Gnome-Shell extension via command line?

Viewed 6296

After copying myexentension@me.com folder to .../gnome-shell/extensions/ I'm executing this command on the terminal:

gnome-shell-extension-tool -e myexentension@me.com

Then, I restart my session with Alt + F2 and execute r, and everything works fine.

But can I start my extension only through the command line? Without Alt+F2+r? Without restarting my gnome-shell session?

2 Answers

Personally, I prefer a solid Alt+F2, r+Enter but maybe try disabling and enabling:

gnome-shell-extension-tool -d myexentension@me.com && gnome-shell-extension-tool -e myexentension@me.com

or

gnome-shell-extension-tool -r myexentension@me.com

Which may do the same thing. There's also gnome-shell-extension-prefs which you can use to do the same thing (and is typically hidden in Gnome for some reason).

Related