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 按钮。 
  • 相关阅读:
    BZOJ 1040 (ZJOI 2008) 骑士
    BZOJ 1037 (ZJOI 2008) 生日聚会
    ZJOI 2006 物流运输 bzoj1003
    ZJOI 2006 物流运输 bzoj1003
    NOI2001 炮兵阵地 洛谷2704
    NOI2001 炮兵阵地 洛谷2704
    JLOI 2013 卡牌游戏 bzoj3191
    JLOI 2013 卡牌游戏 bzoj3191
    Noip 2012 day2t1 同余方程
    bzoj 1191 [HNOI2006]超级英雄Hero——二分图匹配
  • 原文地址:https://www.cnblogs.com/nickchan/p/3104504.html
Copyright © 2011-2022 走看看