ppa를 사용하여 Ubuntu에 Cinnamon을 설치했습니다. 내가 겪고 있는 문제는 새로 설치된 GTK 테마가 테마 응용 프로그램에 미리보기를 표시하지 않는다는 것입니다. 여기 스크린샷이 있습니다. 보시다시피 창 테두리와 컨트롤 미리보기는 비어 있습니다. 어떻게 해결할 수 있나요? 그러나 Mint-x와 같은 기본 테마에는 미리보기가 표시됩니다.
답변1
답변이 늦었지만 여전히 유용하길 바랍니다. 이는 계피에 대한 테마 축소판이 제공되지 않기 때문에 발생할 가능성이 높습니다. 바라보다 /usr/share/cinnamon/thumbnails/gtk-3.0/README
:
HOW TO MAKE A GTK THEME THUMBNAIL?
----------------------------------
- Install ImageMagick ("apt install imagemagick")
- Open a terminal and run "cinnamon-preview-gtk-theme mytheme" (where mytheme is the name of the Theme you want to thumbnail)
- Press Alt+Print-Screen to take a screenshot of the window
- Go to your Pictures directory and move the screenshot to ~/screenshot.png
- Open a terminal and type:
cd
convert screenshot.png -gravity north-west -extent 120x35 thumbnail.png
WHICH THUMBNAIL IS USED BY CINNAMON TO REPRESENT A THEME?
---------------------------------------------------------
- Cinnamon first tries to find a gtk-3.0/thumbnail.png file in the theme directory
- If it doesn't find any, it looks in /usr/share/cinnamon/thumbnails/gtk-3.0/
그리고 /usr/share/cinnamon/thumbnails/metacity-1/README
:
HOW TO MAKE A METACITY THUMBNAIL?
---------------------------------
- Install ImageMagick ("apt install imagemagick")
- Open a window (Nemo for instance)
- Press Alt+Print-Screen to take a screenshot of the window
- Go to your Pictures directory and move the screenshot to ~/screenshot.png
- Open a terminal and type:
cd
convert screenshot.png -gravity north-east -extent 100x32 thumbnail.png
WHICH THUMBNAIL IS USED BY CINNAMON TO REPRESENT A THEME?
---------------------------------------------------------
- Cinnamon first tries to find a metacity-1/thumbnail.png file in the theme directory
- If it doesn't find any, it looks in /usr/share/cinnamon/thumbnails/metacity-1/