Modify the sequence of the Ubuntu System Tray

Source: Internet
Author: User
ApplicationIndicators has severe restrictions in Unity. For example, the whitelist of ApplicationIndicators indicates that no icons are displayed on the system tray. (See here for solutions ). Today, we will introduce how to change the order. Let's take a look: before modification: After modification: (note the position of the icon of the Ibus Input Method) modification method: sudogedit/usr/share/indicator-appl

Application Indicators has severe restrictions in Unity. For example, the Application Indicators whitelist means that no icons are displayed at the system tray. (See here for solutions ).

Today, we will introduce how to change the order. Let's take a look:

Before modification:

After modification:

 

(Note the icon location of the Ibus input method)

Modification method:

Sudo gedit/usr/share/indicator-application/ordering-override.keyfile then you can get a list like this:

Nm-applet = 1
Gnome-power-manager = 2
Ibus = 3
Gst-keyboard-xkb = 4
Gsd-keyboard-xkb = 5
The numeric value refers to the icon position, from 1 to 5 from right to left.

So you can modify it as needed and insert new things. For example, you can insert my-weather-indicator to the list:

Nm-applet = 1
Gnome-power-manager = 2
Ibus = 3
My-weather-indicator = 4
Gst-keyboard-xkb = 5
Gsd-keyboard-xkb = 6
At present, we only know that ibus is the input method, and other things have not been tested. In addition, you need to know what the new things are, which is troublesome, therefore, you do not need to go about this unless necessary.

Save and exit after modification, and then restart (Make sure ). Then you can see the effect.

Note: This method modifies all users. If you only want to modify it on your own users, create and modify it on your own:

~ /. Local/share/indicators/application/ordering-override.keyfile

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.