Is it possible to change the extension position(by modifying the extension.js) in gnome-shell status area? I mean that I'd like to see the language indicator in the first position(from left to right), cuz it's visually easier to find it.

1 Answer 1


Using information from this page we can deduce that you need to change the line in the extension.js that says



Main.panel.addToStatusArea([sometext], [othertext], 1)

After modifying the extension.js file, hit Alt+F2 and then put 'r' in the box and hit enter.

I haven't found any central source to reference the gnome-shell JavaScript API (called GJS). Would be really handy if there was one easily accessible.

  • Sorry about that. I forgot to evaluate Panel from the linked code. The code is now correct.
    – Chuck R
    Oct 27, 2012 at 6:00
  • hm, I'm trying to move all-in-one-places extension and it's not working this way Main.panel.addToStatusArea('all-in-one-places', _indicator, 0);
    – user73331
    Oct 27, 2012 at 6:08
  • Let me see if I can get it working.
    – Chuck R
    Oct 27, 2012 at 6:09
  • I got it to work just fine. However, mine was already in position 0 and I moved it to position 1. Remember, that to reload the modified extension you have to press Alt+F2, enter 'r' into the box and hit enter. This will reload gnome-shell.
    – Chuck R
    Oct 27, 2012 at 6:12
  • awesome, it appeared I needed to move it to position 1,sou the language indicator become the position 0.
    – user73331
    Oct 27, 2012 at 6:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.