Till now, you can't move AppIndicators in Ubuntu so you can't re-arrange them to your likings. However, there is a hardcore method by editing some configuration files.
Edit /usr/share/indicator-application/ordering-override.keyfile:
(Note that editing this file would make the changes for all users on your PC. If you want to do it for a single user only, move the above mentioned file to ~/.local/share/indicators/application/ and make the changes there. The directories might not be there under the ~/.local/share directory and you might need to create new ones.)
You would see a file similar to this.
The order is from right to left, so 'nm-applet=1' means that it would be the first applet to show on the right and the others ascending to the left.
I've re-arranged a few AppIndicators as you can see in the screenshot above. 'syspeek' is at '1', then 'nm-applet' and then the 'classicmenu-appindicator'.
If you don't know the name of a certain AppIndicator and still want to re-locate it, run this command all-at-once in the Terminal:
You would see an output similar to this:
In this output, 'transmission, classicmenu_indicator, nm_applet, syspeek' are the names of those AppIndicators currently running. For those which have got an 'underscore' in their name, you would have to replace it with a minus for the 'ordering-override.keyfile', e.g. 'nm_applet' would become 'nm-applet'.
Edit /usr/share/indicator-application/ordering-override.keyfile:
(Note that editing this file would make the changes for all users on your PC. If you want to do it for a single user only, move the above mentioned file to ~/.local/share/indicators/application/ and make the changes there. The directories might not be there under the ~/.local/share directory and you might need to create new ones.)
gksudo gedit /usr/share/indicator-application/ordering-override.keyfile
You would see a file similar to this.
[Ordering Index Overrides]
nm-applet=1
gnome-power-manager=2
ibus=3
gst-keyboard-xkb=4
gsd-keyboard-xkb=5
nm-applet=1
gnome-power-manager=2
ibus=3
gst-keyboard-xkb=4
gsd-keyboard-xkb=5
The order is from right to left, so 'nm-applet=1' means that it would be the first applet to show on the right and the others ascending to the left.
I've re-arranged a few AppIndicators as you can see in the screenshot above. 'syspeek' is at '1', then 'nm-applet' and then the 'classicmenu-appindicator'.
[Ordering Index Overrides]
syspeek=1
nm-applet=2
classicmenu-indicator=3
transmission=4
ibus=5
gst-keyboard-xkb=6
gsd-keyboard-xkb=7
syspeek=1
nm-applet=2
classicmenu-indicator=3
transmission=4
ibus=5
gst-keyboard-xkb=6
gsd-keyboard-xkb=7
If you don't know the name of a certain AppIndicator and still want to re-locate it, run this command all-at-once in the Terminal:
dbus-send --type=method_call --print-reply \
--dest=com.canonical.indicator.application \
/com/canonical/indicator/application/service \
com.canonical.indicator.application.service.GetApplications | grep "object path"
--dest=com.canonical.indicator.application \
/com/canonical/indicator/application/service \
com.canonical.indicator.application.service.GetApplications | grep "object path"
You would see an output similar to this:
object path "/org/ayatana/NotificationItem/transmission/Menu"
object path "/org/ayatana/NotificationItem/classicmenu_indicator/Menu"
object path "/org/ayatana/NotificationItem/nm_applet/Menu"
object path "/org/ayatana/NotificationItem/syspeek/Menu"
object path "/org/ayatana/NotificationItem/classicmenu_indicator/Menu"
object path "/org/ayatana/NotificationItem/nm_applet/Menu"
object path "/org/ayatana/NotificationItem/syspeek/Menu"
In this output, 'transmission, classicmenu_indicator, nm_applet, syspeek' are the names of those AppIndicators currently running. For those which have got an 'underscore' in their name, you would have to replace it with a minus for the 'ordering-override.keyfile', e.g. 'nm_applet' would become 'nm-applet'.