沈雅

努力,以不负沈雅之名!
嵌入式、Linux、Cosplay、Acg、动漫、各种文学 全为我所爱矣!
交流联系:QQ88459122

Elementary OS Freya 全局菜单和应用图标


普通安装方法(本方法安装的全局菜单在右边!):

由于更新(当前版本为wingpanel是R230相信或类似的东西,它不随全局菜单正常工作正常).

sudo add-apt-repository ppa:varlesh-l/test

sudo apt-get update

sudo apt-get install --reinstall wingpanel indicator-appmenu

gsettings set org.pantheon.desktop.wingpanel blacklist "['']"

killall wingpanel

安装适合0.3.1版本的全局菜单:

sudo add-apt-repository ppa:varlesh-l/test

sudo apt-get update
sudo apt-get install --reinstall wingpanel=0.3~r217-1 indicator-appmenu
gsettings set org.pantheon.desktop.wingpanel blacklist "['']"
killall wingpanel

通过一下这个方法保持运行!
sudo apt-mark hold wingpanel
due to update (current version for wingpanel is  r230 I believe or something like that and  it DOESN'T works correctly along with Global Menu correctly)



And don't liked it and run the uninstaller:
     
    sudo apt-get purge wingpanel indicator-appmenu
    sudo add-apt-repository -r ppa:varlesh-l/test
    sudo apt-get update
    sudo apt-get install --reinstall pantheon-shell wingpanel
    gsettings set org.pantheon.desktop.wingpanel blacklist "['libappmenu.so']"
    killall wingpanel


如果你需要以下的这种效果,继续看下去吧!



修改左上角的"应用程序"变成Elementary OSlogo图标:

1.以管理员(root)权限打开文件管理器:

  • sudo pantheon-files

2.进入到 /usr/share/themes/这里是你的主题名/gtk-3.0文件夹

3.把你要使用的图标复制到这个文件夹

4.确保图标具有适当的权限通过右键点击它,选择属性>更多>,使它为644-    777,否则wingpanel可能无法加载。

5.用Scratch打开这个文件:

  • /usr/share/themes/这里是你的主题名/gtk-3.0/apps.css

6.找到以下的这个配置项:

  • .panel-app-button, and change what's in the {brackets} 

   把他改成:

  • .panel-app-button > GtkWidget > GtkWidget:first-child { padding: 0px 24px 0px 0px; font-size: 0px; background-image: url("icon.svg"); background-repeat: no-repeat; }

    这里的icon.svg是你下载的图标的名字,自己看着修改.

7.在终端输入:killall wingpanel后将看到上面的变化。

注意:上面图标的填充调整为24x24像素,但你可以自己调整以适应更          大/小/大,只是改变“24px”到你的图像的宽度。

GTK主题安装:

  • sudo add-apt-repository ppa:mpstark/elementary-tweaks-daily

  • sudo apt-get update

  • sudo apt-get install elementary-yo

安装elementary-tweaks,用于调整gtk主题和plank主题:

  • sudo apt-get install elementary-tweaks

Captiva 图标主题:


Installation Ubuntu

  • sudo add-apt-repository ppa:captiva/ppa

  • sudo apt-get update

  • sudo apt-get install captiva-icon-theme

Archlinux

  • yaourt -S captiva-icons-git Download

备注:

全局菜单解决办法地址:

https://plus.google.com/104117558565024967863/posts/MfJaUWYvXc2

图标主题地址:https://github.com/captiva-project/captiva-icon-theme

更换应用程序图标:https://www.reddit.com/r/elementaryos/comments/3fzd6s/tutorial_how_to_replace_the_applications_text_on/

评论(2)
热度(5)
  1. 清汤白菜一口郭沈雅 转载了此文字

© 沈雅 | Powered by LOFTER