zoukankan      html  css  js  c++  java
  • Ubuntu 11.04 taskbar disappeared and recovery method

    2011-08-29
    Today, I saw Ubuntu's taskbar dsappeared when I entered the desktop. Oops!! XD
    But now I recoveried the taskbar. The method comes from http://hi.baidu.com/wmeihan/blog/item/60d656fcdbbdf40c08244d60.html
    Now, I copy it here:
     
     Ubuntu 11.04 Natty 中,Ubuntu 对顶部面板右上角的通知区域(系统托盘)采用了白名单制度,只有支持 Indicators 并位于白名单的部分程序才会被显示在系统托盘中,目前支持的程序有: Java apps, Mumble, Wine applications, Skype  hp-systray 。除些之外的 DropBox aMule 等大量程序都不会被显示在系统托盘中,不过事实上我们可以通过以下方法来解除这一限制。 
    - 命令行方式: 
    解禁所有程序 
    gsettings set com.canonical.Unity.Panel systray-whitelist "['all']"
    或者只解禁部分程序,把 YOUR_APPLICATION 替换成你需要解禁的程序。 
    gsettings set com.canonical.Unity.Panel systray-whitelist
    "['JavaEmbeddedFrame', 'Mumble', 'Wine', 'Skype', 'hp-systray',
    'YOUR_APPLICATION']" 
    - GUI 方式: 
    安装 dconf-tools
    sudo apt-get install dconf-tools

    在终端中输入 dconf-editor ,然后找到 desktop > unity > panel ,把 systray-whitelist 的值改为 ['all']  

     

    注:默认是['JavaEmbeddedFrame', 'Mumble', 'Wine', 'Skype', 'hp-systray', 'scp-dbus-service']

    最后注销并重新登录就可以了。 
    - 还原:
    命令行下用以下命令 
    gsettings set com.canonical.Unity.Panel systray-whitelist
    "['JavaEmbeddedFrame', 'Mumble', 'Wine', 'Skype', 'hp-systray']"
    GUI 下在 dconf-editor 中点击 Set to default 按钮。 
  • 相关阅读:
    前台js加密实例
    Redis 核心原理
    Rredis的安装与常用命令
    Zookeeper的源码环境的搭建和源码解读
    Zookeeper集群搭建
    Zookeeper的客户端API使用
    Zookeeper介绍
    HashMap的死锁 与 ConcurrentHashMap
    定时任务 & 定时线程池 ScheduledThreadPoolExecutor
    Fork/Join框架
  • 原文地址:https://www.cnblogs.com/nickchan/p/3104504.html
Copyright © 2011-2022 走看看