linukso吧 关注:1,479贴子:173,724

gnome3 的软件图标在哪修改?

只看楼主收藏回复

/usr/share/icons?
里面好多个文件夹,还有8X8,16X16,32X32……一大堆,晕死了
改哪个文件里的啊


1楼2011-06-23 23:23回复
    这么简单的问题也好意思问


    IP属地:山西2楼2011-06-23 23:24
    回复
      其实,我也不知道


      IP属地:山西3楼2011-06-23 23:24
      回复
        就知道您老不知道还不好意思问,其实我是替你问的。


        4楼2011-06-23 23:26
        回复
          让SLACK晚上伺候你,用他的小豆芽***花


          IP属地:山西5楼2011-06-23 23:27
          回复
            xterm木有图标,然后我下了一个48X48的xterm.png
            放在了/usr/share/icons/hicolor/48x48/apps里
            结果木有反应。。。


            6楼2011-06-23 23:28
            回复
              去IRC


              IP属地:山西7楼2011-06-23 23:29
              回复
                骗淫,Slack已经和你搅的有气无力了还肿么伺候我


                8楼2011-06-23 23:30
                回复
                  good idea


                  9楼2011-06-23 23:31
                  回复
                    不是可以设置*.desktop文件的图标路径的吗?


                    10楼2011-06-23 23:43
                    回复
                      哦,在哪设置?


                      11楼2011-06-23 23:50
                      回复
                        $ cat /usr/local/share/applications/kchmviewer.desktop
                        [Desktop Entry]
                        Name=KchmViewer
                        Categories=Qt;KDE;Office;Viewer;
                        Terminal=false
                        Type=Application
                        Encoding=UTF-8
                        Exec=kchmviewer %f
                        Icon=kchmviewer
                        GenericName=CHM file viewer
                        Comment=A viewer of CHM (MS-Help) files
                        MimeType=application/chm;application/x-chm;
                        # 再Icon=kchmviewer这个地方设置它, 语法是Icon=图标路径
                        


                        12楼2011-06-23 23:52
                        回复
                          知道啦,搜到了


                          13楼2011-06-23 23:52
                          回复
                            这个貌似需要更新icon数据库。
                            # Update any existing icon cache files:
                            if find /usr/share/icons 2> /dev/null | grep -q icon-theme.cache ; then
                            for theme_dir in /usr/share/icons/* ; do
                                if [ -r ${theme_dir}/icon-theme.cache ]; then
                                  echo "Updating icon-theme.cache in ${theme_dir}..."
                                  /usr/bin/gtk-update-icon-cache -t -f ${theme_dir} 1> /dev/null 2> /dev/null &
                                fi
                            done
                            # This would be a large file and probably shouldn't be there.
                            if [ -r /usr/share/icons/icon-theme.cache ]; then
                                echo "Deleting icon-theme.cache in /usr/share/icons..."
                                #/usr/bin/gtk-update-icon-cache -t -f /usr/share/icons 1> /dev/null 2> /dev/null &
                                rm -f /usr/share/icons/icon-theme.cache
                            fi
                            fi
                            


                            14楼2011-06-23 23:54
                            回复


                              15楼2011-06-23 23:59
                              回复