4

how can i disable icons within the tray?

enter image description here

For example, i need to turn off dropbox icon. How can i do that? I am using Unity. Thanks in advance.

2 Answers 2

3

Have you tried this answer posted by Bruno Pereira? Can I blacklist an appindicator?

To not load an applet just prevent it from running.

If the indicator is coded in to the application and the application does not give you an option to remove the indicator from the panel you wont be able to omit it, you cannot omit an application indicator that is build in to the code and has no option to disable it, for that you need source code changes either made by you or you can suggest them to the app developer, which is the last case will be depend on which applications your are referring to.

There are no specific guidelines explaining if and application should or should not have an inductor applet, only what an indicator applet should do.

You can still remove the system applets made by gnome for you system or if the application it self uses an external applet to be used as a indicator.

To remove one of the gnome / unity indicators that are visible by default open the terminal and run this command to show all the applications that can be loaded at start up

cd /etc/xdg/autostart/ && ls Identify the applet that you want to prevent from loading and edit it with your favorite text editor, ie:

sudo nano nm-applet.desktop Locate the line with these contents

NoDisplay=true and change it to

NoDisplay=false Save and close the terminal.

Click the cog weel in the top right corner of the screen next to your username and select Startup Applications..., now you will see the application that you just edited the .desktop file and you can disable it.

The applet wont load on next boot

After enabling or disabling and applet following the steps above you will see that each .desktop that you modify will create it's own .desktop file in your ~/.config/autostart folder.

If an applet indicator that you want to disable does not show on your startup list you need to use the method above, else there will be a .desktop file inside ~/.config/autostart that can be edited with the described method and will then be possible to enabled/disabled in the startup applications.

3
  • Thanks! How can i whitelist systray application? Aug 9, 2014 at 20:08
  • @Heihachi , whitelist was taken out I believe in 13.04. to essentially get it back, run these: sudo add-apt-repository ppa:timekiller/unity-systrayfix sudo apt-get update sudo apt-get upgrade and then restart unity. To revert: sudo apt-get install ppa-purge sudo ppa-purge ppa:timekiller/unity-systrayfix
    – Ffej5647
    Aug 11, 2014 at 6:45
  • It would make sense and only be fair to the original author to format the text that was copied from the original answer as a quote because right now, what's original content and what was copied is indistinguishable.
    – Kay
    May 2, 2019 at 19:03
1

I'm running Ubuntu 14.04 with Flashback Metacity DE and this is how I did it: If you just want to remove the icon, hold down the Alt key and right click on the icon. Then select "Remove from panel". The nex time you boot it won't be there but the program will have started. If you want dropbox to stop opening when booting I did it by going to "System tools" then "preferences" then "startup applications". You then get a list of programs that startup when booting. Just select Dropbox and then click "Remove". Hope it's what you were looking for.

1
  • In KDE, right click on it and select always hide icon.
    – Joe
    Dec 4, 2016 at 1:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .