13

I installed a weather applet and a system monitoring applet yesterday, and I was wondering if it was possible to change the order of the icons on Wingpanel.

I.e. I would like to place the weather applet between the system-monitoring applet and the language icon on the picture below. Is there an easy way to do that?

enter image description here

7

I'm pretty sure it is not possible without rewriting Wingpanel.
You can propose your wish at the Wingpanel bugtracker, and if the developers like your idea, they may consider implementing it in the future.

1

Please note that this works for all indicators and not just application indicators. A few exceptions may not be adjustable.

According to this question ask Ubuntu, it is possible:

  • First:

    mkdir -p ~/.local/share/indicators/application cp /usr/share/indicator-application/ordering-override.keyfile ~/.local/share/indicators/application/

    • Indicator order is determined by a keyfile. These commands create such a keyfile for your user account.
  • Then:

    scratch-text-editor ~/.local/share/indicators/application/ordering-override.keyfile

  • The order of the indicators is determined by their corresponding number.

  • Lower numbers, mean higher priorities, which means these will be closer to the right of the panel.
  • You can add any indicator to the list and assign it a priority.
  • To set the order for a custom indicator, just add the name of its executable to the list and give it a custom priority.

Source: https://askubuntu.com/a/343886/1992 Further reading: http://www.webupd8.org/2011/06/how-to-change-application-indicators.html

  • Anyone tested this method? – Gabriel Jul 20 '15 at 3:35
  • I haven't, but it should work. If I'm not mistaken, Wingpanel works essentially the same as Unity in this regard. – RolandiXor Jul 20 '15 at 3:40
  • As indicated by Ted in the original post, this is for application indicators, not system indicators – Daniel Foré Jul 20 '15 at 6:59
  • I think you should edit your answer and explain what do these commands do exactly. – r3bl Jul 20 '15 at 8:29
  • @DanielForé as far as I'm aware this affects all indicators. – RolandiXor Jul 22 '15 at 15:56
0

Did anyone actually tested it if it works? I tried this method now on LOKI and it doesn't seem to work.

[Ordering Index Overrides]
nm-applet=1
gnome-power-manager=2
ibus=3
gst-keyboard-xkb=4
gsd-keyboard-xkb=5
my-weather-indicator=6
indicator-sensors=7
Telegram=8
megasync=9

enter image description here

If I messed something up, help is appreciated.

  • Likewise in Juno. I'm almost liable to download an older release and try it in a VM to see if I'm actually following the directions right. – TheDudeAbides May 16 at 20:01

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.