gnome 如何自定义样式_在Gnome 3中自定义字体
gnome 如何自定義樣式
Gnome 3 is great and I can understand that it emphasizes on simplicity. However, the configuration settings for Gnome 3 does not provide tools for certain functions that I need. One of them is customizing the fonts. This post will summarize the tools/tips that I adopted to customize the fonts in Gnome 3.
Gnome 3很棒,我可以理解它強調簡單性。 但是,Gnome 3的配置設置未提供我所需的某些功能的工具。 其中之一是自定義字體。 這篇文章將總結我用來自定義Gnome 3中字體的工具/技巧。
Usually, the settings will take effect after being changed. If they did not take effect, you can manually restart Gnome 3 without rebooting the Linux.
通常,設置將在更改后生效。 如果它們沒有生效,則可以手動重新啟動Gnome 3,而無需重新啟動Linux 。
The default configuration tool of Gnome 3 does not provide the option to change the fonts. However, the gnome-tweak-tool provides it. If you have not installed it, you need to install it first. On Fedora, run
Gnome 3的默認配置工具不提供更改字體的選項。 但是, gnome-tweak-tool提供了它。 如果尚未安裝,則需要先安裝。 在Fedora上運行
# yum install gnome-tweak-tool默認字體和字體文件中的Gnome 3 ∞ (Default fonts and document fonts in Gnome 3 ∞)
This is the default fonts and document fonts used in Gnome 3. In the “Fonts” tab in the gnome-tweak-tool, you can set the fonts.
這是Gnome 3中使用的默認字體和文檔字體。在gnome-tweak-tool的“ Fonts”選項卡中,您可以設置字體。
For more details, please check How to change the fonts used in Gnome 3.
有關更多詳細信息,請檢查如何更改Gnome 3中使用的字體 。
窗口標題字體和字號在侏儒3 ∞ (The window title font family and size in Gnome 3 ∞)
You may find that the window title font family and size are set separately from the default fonts. However, the gnome-tweak-tool does not provide a setting for it yet. You can set the by the native gsettings commands like:
您可能會發現窗口標題字體系列和大小是與默認字體分開設置的。 但是, gnome-tweak-tool尚未提供設置。 您可以通過本地gsettings命令設置,例如:
$ gsettings set org.gnome.desktop.wm.preferences titlebar-font 'Sans Bold 10'For more details, please check How to change the window title font family and size in Gnome 3.
有關更多詳細信息,請檢查如何在Gnome 3中更改窗口標題字體系列和大小 。
的Gnome的字體外殼的侏儒3字體∞ (Fonts of gnome-shell for Gnome 3 fonts ∞)
Lastly, the gnome-shell uses different settings that are not tracked by the gsettings. The gnome-shell use customized themes, you can either install your own theme which specifies the fonts in a css file, or change the theme style to customize the fonts.
最后,gnome-shell使用gsettings不會跟蹤的不同設置。 gnome-shell使用自定義主題,您可以安裝自己的主題以在css文件中指定字體,也可以更改主題樣式以自定義字體。
If you are using the default theme, you can change the css style file for the them by editing the file /usr/share/gnome-shell/theme/gnome-shell.css and replace the fonts-family with the fonts that you like.
如果使用默認主題,則可以通過編輯文件/usr/share/gnome-shell/theme/gnome-shell.css來更改它們的css樣式文件,并用所需的fonts-family替換fonts-family 。
For more details, please check How to change the fonts of gnome-shell for gnome3.
有關更多詳細信息,請檢查如何更改gnome3的gnome-shell字體 。
侏儒3的屏幕截圖∞ (A screenshot of Gnome 3 ∞)
Here is a screenshot of my desktop.
這是我的桌面的屏幕截圖。
For reference, here is the version of Gnome 3 that I used when this post is written:
作為參考,這是本文撰寫時使用的Gnome 3版本:
Name : gnome-session Version : 3.8.4 Release : 1.fc19 Architecture: x86_64翻譯自: https://www.systutorials.com/customizing-fonts-in-gnome-3/
gnome 如何自定義樣式
總結
以上是生活随笔為你收集整理的gnome 如何自定义样式_在Gnome 3中自定义字体的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python不是有效的win32应用程序
- 下一篇: (六)Graphics基本应用