Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

To hide Skype from unity panel we can add file /etc/apparmor.d/usr.bin.skype with such content:

    # Last Modified: Tue Jun 12 03:49:49 2012 by izx
# REPOSITORY: http://apparmor.test.opensuse.org/backend/api draglor 53
# Additional profiling based on work by Андрей Калинин, LP: #226624

# Extremely simple profile for Skype designed ONLY to remove its panel
# icon on Ubuntu 12.04 by disabling access to the sni-qt library
# THIS PROFILE DOES NOT PROVIDE ANY OTHER KIND OF SECURITY

#include <tunables/global>

/usr/bin/skype {
  #include <abstractions/X>
  #include <abstractions/audio>
  #include <abstractions/base>
  #include <abstractions/dbus-session>
  #include <abstractions/fonts>
  #include <abstractions/freedesktop.org>
  #include <abstractions/kde>
  #include <abstractions/nameservice>
  #include <abstractions/nvidia>
  #include <abstractions/user-tmp>

  # deny read access to the sni-qt libraries, thus removing the panel icon
  deny /usr/lib/i386-linux-gnu/qt4/plugins/systemtrayicon/libsni-qt.so r,
  deny /usr/lib/x86_64-linux-gnu/qt4/plugins/systemtrayicon/libsni-qt.so r,

  /** mrwkl,
}

And after reloading apparmor skype hides from panel.

BUT! After it links in skype chat become dead and doesn't opens in browser!

How can I hide skype from unity panel with this workaround and keep links alive?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.