Quantcast
Channel: 우분투 한국 커뮤니티
Viewing all articles
Browse latest Browse all 4577

Re: 우분투 그놈 14.04 사용 중인데요 창제목 말고 시스템 기본 폰트를 제가 원하는 폰트로 못바꾸나요?

$
0
0
Author: protochaos
Forum: 데스크탑/소프트웨어 게시판
Date: 2014-08-10

그런 폰트들은 테마에서 설정하게 됩니다.
일반적으로 Ubuntu를 많이 사용하니, 이폰트를 바꿔치는것도 생각해 볼 수 있습니다.
<alias>
<family>Ubuntu</family>
<prefer>SeoulNamsanJang</prefer>
</alias>

또는
<match target="pattern">
<test name="family" compare="eq">
<string>Ubuntu</string>
</test>
<edit name="family" binding="same" mode="assign">
<stirng>SeoulNamsanJang</string>
</edit>
</match>

이런 식으로 말이지요.

그렇지 않다면, 테마의 글꼴을 변경하여야 합니다.

gtk2의 경우, ~/.gtkrc
style "user-font" {
font_name = "SeoulNamsanJang 10"
}

gtk3/unity의 경우

gsettings set org.gnome.desktop.interface monospace-font-name 'Monospace 9'
gsettings set org.gnome.desktop.interface font-name 'SeoulNamsanJang 10'
gsettings set org.gnome.desktop.interface document-font-name 'Serif 10'

그놈쉘의 경우
theme=$(gsettings get org.gnome.desktop.interface gtk-theme)
if [ -d ~/.themes/$theme ]; then theme_dir=~/.themes/$theme; else theme_dir=/usr/share/themes/$theme; fi
[ -d $theme_dir/gnome-shell ] && gedit $theme_dir/gnome-shell/gnome-shell.css

Viewing all articles
Browse latest Browse all 4577

Trending Articles