openSUSE 12.1 的 yast2 主题改改

心之所在 | 2011/12/24

早些时候安装12.1的时候就被那扭曲的yast样子恶心坏了,我一直还以为附带的是gtk版本所以样子才那么怪异,后来 /etc/sysconfig 那边gui设置成qt,貌似我还用root按照老版本进去设置过qt主题,还是那破样子,之后懒的管了。

安装之初是这个鸟样的

opensuse12.1yast.png (984×650)

有些模块按钮又是另外一个样子

受不了了,找了帖子改了改  http://forums.opensuse.org/english/get-technical-help-here/applications/468237-change-yast2-style-12-1-consistent-system-style-2.html

先要有安装 yast2-qt-branding-openSUSE 这个包,然后改名或删除  /usr/share/YaST2/theme/openSUSE-Oxygen/wizard

cd /usr/share/YaST2/theme/openSUSE-Oxygen
sudo mv wizard wizard.bak
之后世界正常了。

opensuse12.1yast3.png (993×655)

颜色我是用oxygen cold,所以跟root那边的oxygen配色有点不一致,这个用root登录kde改改就成。

话说这12.1的包命名乱的要死

  • yast2-theme-openSUSE
  • yast2-branding-openSUSE
  • branding-openSUSE
  • yast2-theme-openSUSE-Oxygen
  • yast2-branding-basedonopensuse
  • branding-basedonopensuse

这几个包,什么跟什么啊……

原因好像是有开发者给yast加了个样式功能 http://lizards.opensuse.org/2011/10/24/new-style-for-yast2/#comments

bug报告在这 Bug 731647 – Yast2 Qt doesn’t pick up system style unless yast2-branding-basedonopensuse is installed

话说我到现在还不知道传说中的12.1开机蜥蜴眼睛旋转动画长什么样子,我这开机就一张静止的绿色壁纸。

    泰达希尔-德鲁伊
    Tags:

    4 FEEDBACKS

    1. ark12211

      个人感觉这个yast超恶心的,各方面来说……

    2. marguerite

      我在等12.2出yast2主题编辑器. 默认的蛮好看的,不过应该是你有问题加载不上. 似乎有重写, 现在那家伙也是css控制的了…

    3. 我从11.4升级到12.1,那眼球会动,但重新安装12.1的话就没这效果了…

    4. stecue

      这就是典型的弄巧成拙。不去搞正事净去把好东西给扭曲来扭曲去。

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).

    This site uses Akismet to reduce spam. Learn how your comment data is processed.