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 按钮。 
  • 相关阅读:
    java 单点登录机制
    java 使用SAX解析xml 文件
    微信支付demo
    java 23种设计模式 深入理解
    感慨
    GC学习笔记
    mysql5.6乱码
    substring,subsequence,charAt执行效率的不同
    一个数组nums,其中任意两个值等于给定值target,返回这两个值在nums里的位置
    排序时间复杂度对比
  • 原文地址:https://www.cnblogs.com/nickchan/p/3104504.html
Copyright © 2011-2022 走看看