การปรับแต่ง Theme ใน Ubuntu 12.04

ติดตั้ง GNOME Tweak Tool

GNOME TWEAK TOOL IN UBUNTU 12.04: Install Gnome Tweak Tool in Ubuntu 12.04 Precise Pangolin

General tweaks (for both GNOME Shell and Unity)
Change themes, fonts and more with GNOME Tweak Tool
Ubuntu gnome tweak tool

Features:
> Install and switch gnome-shell themes
> Switch gtk/icon/cursor themes
> Switch window manager themes
> Change

  • The user-interface and titlebar fonts
  • Icons in menus and buttons
  • Behavior on laptop lid close
  • Shell font size
  • File manager desktop icons
  • Titlebar click action
  • Shell clock to show date
  • Font hinting and antialiasing

To install:

  • sudo apt-get install gnome-tweak-tool

When installation complete, GNOME Tweak Tool should show up as “Advanced Settings” in the menu. Besides changing fonts or themes, GNOME Tweak Tool can also be used to disable/enable GNOME Shell extensions, tweak the desktop, various windows behavior or GNOME Shell.

Ref: http://www.noobslab.com/2011/10/install-gnome-tweak-tool-in-ubuntu-1110.html

เรียกตรงได้ได้ด้วยคำสั่ง

$ gnome-tweak-tool

 

การดาวน์โหลดและติดตั้ง Themes

Download Themes ของ Ubuntu ได้ที่ http://gnome-look.org/

จากนั้น extract ไฟล์ที่ดาวน์โหลดมา แล้วนำมาไว้ที่ /usr/share/themes

เรียกใช้งาน gnome-tweak-tool

gnome-tweak-tool

เลือก Theme ที่ต้องการ

 

การเปลี่ยน Theme ใน Drupal

Drupal สามารถทำการเปลี่ยน Theme ได้ง่ายๆ โดยการ ดาวน์โหลด Theme ได้จาก http://drupal.org/project/themes ซึ่งจะมี Theme ให้เลือกมากมาย แต่ที่สำคัญคือ ต้องเลือกดาวน์โหลด Theme ให้เวอร์ชั่นตรงกับเวอร์ชั่นของ Drupal ที่ติดตั้งไว้ เช่น 5.x, 6.x หรือ 7.x จากนั้นทำการติดตั้ง Theme ดังนี้

  1. ดาว์นโหลดไฟล์ ในตัวอย่างนี้ ดาวน์โหลดไฟล์ชื่อ Earth_birthday-6.x-1.1.tar.gz โดยนำไฟล์มาเก็บไว้ที่ /home/stang/src
  2. แตกไฟล์ด้วยคำสั่ง tar –zxvf /home/stang/src/Earth_birthday-6.x-1.1.tar.gz
  3. จาก นั้นทำการสร้างไดเร็กทอรี่ themes ไว้ภายใต้ sites/all/ ด้วยคำสั่ง mkdir ดังนี้<yourpath>/sites/all/themes โดยให้แทน <yourpath> ด้วย path ไปยังที่ตั้งของเว็บไซต์
  4. ทำการ copy ไดเร็กทอรี่ Earth_birthday มาไว้ภายใต้ <yourpath>/sites/all/themes ด้วยคำสั่ง cp –r /home/stang/src/Earth_birthday  <yourpath>/sites/all/themes
  5. ทำการเลือก Theme ที่ Drupal เช่นไปที่ http://www.k6.in.th/?q=admin/build/themes
  6. คลิก เลือก Enable ที่ Theme ที่ต้องการ ให้สามารถใช้งานได้ หรือจะเลือกให้เป็นค่าปริยายได้ โดยการเลือก Default จากนั้นกดปุ่ม Save configuration เป็นอันเรียบร้อย

drupal_theme_enable_w500

drupal_theme_enable2_w500