simple theme on JDS

Sunday Jun 29, 2008

사실, 내가 가장 사랑하는 JDS/gnome theme는 Nimbus이다. 이 Nimbus에는 Sun Blueprint icons가 조합되면 이보다 아름다운 JDS는 없다. 하지만, 세상 모든 것이 그러하듯 찬란한 오색의 향연은 년 중 단 몇일이면 충분히 인상적이다. 그럼 언제나 아름다운 것은 어떤 것일까? simple하여 colour가 절제되고 직관적인 것이 아닐까? - 이런 관점에서는 과거 Classic MacOS 즉, System 시리즈에서 그 정답을 찾을 수 있다.

my JDS theme

지난 수개월 동안 '다시' 업무용 laptop의 主OS가 된 windows는 다시금 그 용도가 적절치 못하다는 판단에서 패기되었다. 나의 laptop은 가끔 Install Server가 되어야 하며 NFS server 그리고 수많은 tarball을 다루며 그 속에 기록된 여러 정보를 손쉽게 조회해야 한다. 업무 시간에 가장 많이 쓰는 utility는 terminal로 연결되는 unix shell(그리고 shell scripts), telnet, SSH, FTP 등이다. 그럼에도 불구하고 잠시간 windows를 선택한 건 세상과의 소통의 문제였는데, 이는 VitrualBox로 해결했다.

새로운 laptop의 主OS로 OpenSolaris 2008.05를 고려하기도 했지만, 한국어 표현의 문제와 '업무용'에서 가장 중요한 건 안정성 - 그로인하여 OpenSolaris는 접고, Solaris 10 5/08(U5)로 귀착했다. theme는 Control에서는 기본으로 제공되는 Mist, Windows Border로 Sloth와 Icon은 OpenWorld를 사용했다. simple하여 직관적이며 365일 눈을 자극하지 않으며 아름다움을 지속할 수 있는 조합에 대한 (당연히 주관적이지만) 최선의 결과가 아닐까 한다. 현재의 구성은 오른쪽 image로 link를 해 두었다.

Sloth는 사용의 불편이 약간 있는데, window border가 너무 얇아 grab하기가 어렵다는 것이다. 이는 간단한 수정으로 쉽게 변경이 가능하다.

jhin@nomad $ ls
COPYING                 ex.png                  metacity-theme-1.xml~
double.png              frame.png               minus.png
down.png                metacity-theme-1.xml    plus.png
jhin@nomad $ pwd
/export/home/jhin/.themes/Sloth-j/metacity-1
jhin@nomad $ vi ./metacity-theme-1.xml

    59          <distance name="left_width" value="3"/>
    60          <distance name="right_width" value="3"/>

원래의 값은 value="1"이었다.

[1] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

Xorg undisplayed fonts

Wednesday Mar 19, 2008

Apple Cinema Display 문제로 Sun의 X를 포기하고 Xorg를 선택한 이야기를 이곳에서 적은 적이 있다. 그 이후로 대체로 만족하며 Xorg에 적응하고 있었는데, 복병이 숨어 있었다. CDE에서 거의 모든 메뉴와 대화창에서 글자들이 나타나지 않는 것이다.

Xorg는 /etc/X11/xorg.conf 에서 fonts의 경로(path)를 읽어드려 표현한다는 점을 고려하면, CDE에서 표현하는 fonts는 이 경로들에 포함되지 않는다는 뜻이다.

이 표현의 문제는 JDS에서의 XIM(htt_server)에서도 들어났다 - XIM은 CDE나 JDS나 같은 것을 Solaris에서 사용한다, 그 기준은 CDE에서 잡혀진 듯 하다 - . 입력 언어를 전환하면, ASCII로 표현될 수 없는 문자는 XIM status window에서 빈채(blank)로 나타나는 것이다. 물론 입력에는 아무런 문제가 되지는 않았지만, XIM의 설정이라든지, 특수문자를 입력하기 위한 선택에서는 방법이 없어지는 것이다.

/etc/X11/xorg.conf 에 일상적으로 포함되지 않았지만, 필요한 fonts의 경로를 찾아내는 건 의외로 쉬운 일이었다. /etc/fonts/fonts.conf 를 참조하면 된다. 이곳에서 필요한 경로를 가지고 와서 /etc/X11/xorg.conf 에 넣어주면 끝나는 것이다.

그리하여 xorg.conf 의 속성 중 Section “Files” 부분을 아래와 같이 변경하였다.

Section "Files"
  RgbPath    "/usr/X11/lib/X11/rgb.txt"
  FontPath   "/usr/X11/lib/X11/fonts/TrueType/"
  FontPath   "/usr/X11/lib/X11/fonts/Type1/"
  FontPath   "/usr/X11/lib/X11/fonts/Type1/sun/"
  FontPath   "/usr/X11/lib/X11/fonts/F3bitmaps/"
  FontPath   "/usr/X11/lib/X11/fonts/misc/"
  FontPath   "/usr/X11/lib/X11/fonts/100dpi/"
  FontPath   "/usr/X11/lib/X11/fonts/75dpi/"
  #FontPath   "/usr/X11/lib/X11/fonts/local/"
  #FontPath   "/usr/X11/lib/X11/fonts/Speedo/"
  #FontPath   "/usr/X11/lib/X11/fonts/freefont/"
  # from /etc/fonts/fonts.conf
  FontPath  "/usr/openwin/lib/locale/KOI8-R/X11/fonts/TrueType/"
  FontPath  "/usr/openwin/lib/locale/ar/X11/fonts/TrueType/"
  FontPath  "/usr/openwin/lib/locale/en_US.UTF-8/X11/fonts/misc/"
  FontPath  "/usr/openwin/lib/locale/hi_IN.UTF-8/X11/fonts/TrueType/"
  FontPath  "/usr/openwin/lib/locale/iso_8859_13/X11/fonts/75dpi/"
  FontPath  "/usr/openwin/lib/locale/iso_8859_13/X11/fonts/TrueType/"
  FontPath  "/usr/openwin/lib/locale/iso_8859_15/X11/fonts/TrueType/"
  FontPath  "/usr/openwin/lib/locale/iso_8859_2/X11/fonts/75dpi/"
  FontPath  "/usr/openwin/lib/locale/iso_8859_2/X11/fonts/TrueType/"
  FontPath  "/usr/openwin/lib/locale/iso_8859_2/X11/fonts/Type1/"
  FontPath  "/usr/openwin/lib/locale/iso_8859_4/X11/fonts/75dpi/"
  FontPath  "/usr/openwin/lib/locale/iso_8859_4/X11/fonts/Type1/"
  FontPath  "/usr/openwin/lib/locale/iso_8859_5/X11/fonts/75dpi/"
  FontPath  "/usr/openwin/lib/locale/iso_8859_5/X11/fonts/TrueType/"
  FontPath  "/usr/openwin/lib/locale/iso_8859_5/X11/fonts/Type1/"
  FontPath  "/usr/openwin/lib/locale/iso_8859_7/X11/fonts/75dpi/"
  FontPath  "/usr/openwin/lib/locale/iso_8859_7/X11/fonts/TrueType/"
  FontPath  "/usr/openwin/lib/locale/iso_8859_7/X11/fonts/Type1/"
  FontPath  "/usr/openwin/lib/locale/iso_8859_8/X11/fonts/75dpi/"
  FontPath  "/usr/openwin/lib/locale/iso_8859_8/X11/fonts/TrueType/"
  FontPath  "/usr/openwin/lib/locale/iso_8859_8/X11/fonts/Type1/"
  FontPath  "/usr/openwin/lib/locale/iso_8859_9/X11/fonts/75dpi/"
  FontPath  "/usr/openwin/lib/locale/iso_8859_9/X11/fonts/TrueType/"
  FontPath  "/usr/openwin/lib/locale/iso_8859_9/X11/fonts/Type1/"
  FontPath  "/usr/openwin/lib/locale/ja/X11/fonts/75dpi/"
  FontPath  "/usr/openwin/lib/locale/ja/X11/fonts/TT/"
  FontPath  "/usr/openwin/lib/locale/ja/X11/fonts/TTbitmaps/"
  FontPath  "/usr/openwin/lib/locale/ko.UTF-8/X11/fonts/75dpi/"
  FontPath  "/usr/openwin/lib/locale/ko.UTF-8/X11/fonts/TrueType/"
  FontPath  "/usr/openwin/lib/locale/ko/X11/fonts/75dpi/"
  FontPath  "/usr/openwin/lib/locale/ko/X11/fonts/TrueType/"
  FontPath  "/usr/openwin/lib/locale/ru.ansi-1251/X11/fonts/TrueType/"
  FontPath  "/usr/openwin/lib/locale/th_TH/X11/fonts/75dpi/"
  FontPath  "/usr/openwin/lib/locale/th_TH/X11/fonts/TrueType/"
  FontPath  "/usr/openwin/lib/locale/zh.GBK/X11/fonts/75dpi/"
  FontPath  "/usr/openwin/lib/locale/zh.GBK/X11/fonts/TrueType/"
  FontPath  "/usr/openwin/lib/locale/zh/X11/fonts/75dpi/"
  FontPath  "/usr/openwin/lib/locale/zh/X11/fonts/TrueType/"
  FontPath  "/usr/openwin/lib/locale/zh_CN.GB18030/X11/fonts/75dpi/"
  FontPath  "/usr/openwin/lib/locale/zh_CN.GB18030/X11/fonts/TrueType/"
  FontPath  "/usr/openwin/lib/locale/zh_HK.BIG5HK/X11/fonts/75dpi/"
  FontPath  "/usr/openwin/lib/locale/zh_HK.BIG5HK/X11/fonts/TT/"
  FontPath  "/usr/openwin/lib/locale/zh_TW.BIG5/X11/fonts/75dpi/"
  FontPath  "/usr/openwin/lib/locale/zh_TW.BIG5/X11/fonts/TT/"
  FontPath  "/usr/openwin/lib/locale/zh_TW/X11/fonts/75dpi/"
  FontPath  "/usr/openwin/lib/locale/zh_TW/X11/fonts/TrueType/"
EndSection

위의 추가된 경로는 현재 시스템에 설치된 모든 locale을 포함한 결과이다. 영문과 한국어만 설치되어 있다면, 제외되어야 할 부분은 많다. 어느 경로가 어떤 locale을 지원하는지는 경로이름이 명확하여 쉽게 판단할 수 있다.

사실, Solaris에서 /usr/X11 은 /usr/openwin 으로 link되어 있다.

original post was http://solarisinsider.com/archives/2006/02/15/97/ by me.

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

Nimbus Theme on Solaris not Nevada

Thursday Dec 06, 2007

OpenSolaris의 결과물이 정기적으로 취합되는 Solaris Express Community Edition을 업무에 기반 OS로 활용하는 것은 약간의 무리가 있었다. 여전히 개발 중인 이 version에서 안정성을 기대하는 것은 대통령 선거에서 절대적 가치로 투표할 후보를 찾는 일과 같다. 그래서 Solaris 10 Update 4 8/07 version으로 나의 laptop의 OS는 바뀌게 되었다. 목마르던 안정성은 (지구상 가장 안정적인 OS가 아니던가!) 일소되었지만, 이전 개발 version에서 선보였던 nimbus theme는 너무도 그리웠다. 한 gnome user는 자신의 blog에서 most sexy theme라고 nimbus를 치켜새우기도 했다.

nimbus theme on solaris 10

물론, open source project의 일환으로 진행되는 OpenSolaris의 component인 만큼 누구나 sourcebinaries를 download할 수 있지만, 이 source의 복잡성은 nimbus theme의 Solaris 10 적용에 얕은 착오로 인한 실패를 하기도 했다. 사실, 보다 솔직하게는 programming에 대한 지식의 부족으로 판단하는 게 맞을 것 같다. binaries는 요구 최소 platform에 만족되지 않았다. 윽!

나와 같은 생각을 하는 사람은 항상 나 혼자만은 아니다. 이와 같은 욕구를 가진 사람 중에 능동적이며 능력을 갖춘 사람은 항상 존재하는 법이다. google을 통하여 다음의 page를 만났다. 작성자는 친절하게도 tarball로 nimbus theme 0.8 version을 download할 수 있게 공개하고 있었다. unzip하고 /usr 아래로 위치를 바꿔주면 된다.

nimbus theme download for Solaris 10
# gzip -cd nimbus-0.0.8-sol10x64.tar.gz| tar xvf -
# cd ./nimbus-0.0.8-sol10x64
# chown -R root *
# tar cf nimbus.tar .
# cd /usr; tar xf $PATH/nimbus.tar

[1] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg