Is it possible to change the order of icons shown in the indicator applet? With Tomboy indicator, Weather indicator, Clipboard-manager indicator, Ubuntu One and Dropbox indicators and a Battery Status indicator in addition to the classic Messages indicator and Sound Menu indicator my Indicator Applet becomes a little bit messed up, sorting the icons would help a lot...
The system indicators are in a fixed order by design. While you might not like the order, it makes support easier by having a fixed order (we can argue about the order endlessly). The application indicators work a little bit differently, they're designed so that there is a default order but applications can adjust that for continuity. For instance, if an application had two indicators that it wanted next to each other.
Because this system leads to a possible abuse by application developers there is a set of overrides in the system. The first is at the system level so that it can be managed by packages once the distro figures out there is an abusing application it can be fixed for all users. It's located at:
You can put any status notifier ID in there and give it a new ordering index that will because the new index for that application. There is also a per-user override file that can exist in your home directory at:
Hopefully that will give you some help in adjusting your panel the way that you prefer!
The official ubuntu ones (weather, ubu-one, battery, messages, me, sound, shutdown) are hardcoded in place. Sucks. The other ones should take their order using the law of first come first serve, right-left precedence. Judging from this brainstorm/feature request, the answer is: No, you cannot manually change the order of icons via the gui. But see @Ted Gould's answer.
Instructions to Enable sorting the Dropbox Indicator
Follow Ted Gould's instructions then if you would like to sort the Dropbox indicator, here are a few more steps:
Note: If you edited the file in
Because Dropbox appends the PID to the indicator name, and this changes every time Dropbox starts, you need to update the
To do this, you can open a text editor, copy and paste the following script, and name it something like
Now you can open "Startup Applications, and make a new entry, using the full path to your script as the "command" (using ~/start-dropbox.sh won't work, you have to do /home/yourname/start-dropbox.sh).
**Note: This is where you'd add the full script path to the end of
One optional step is to open the Dropbox settings and uncheck "Start dropbox on system startup". You can't just change the command for Dropbox that is already in the Startup Applications list, because Dropbox overwrites this every time it starts.
Here's what my