Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบ >> Linux

12 Tweaks ทำให้ Ubuntu รู้สึกเหมือนบ้าน

Ubuntu เป็น Linux distribution ดีสำหรับเริ่มต้น แต่มี tweaks ที่อาจอยากทำให้มันทำงานและพฤติกรรมแบบที่คุณต้องการ โดยเฉพาะมือใหม่ Ubuntu หรือ Linux หากย้ายจาก Windows XP คุณเลือกถูกต้อง

นี่คือ tweaks เก๋ๆ ที่ช่วยให้ desktop zen ได้

ติดตั้ง Proprietary Drivers

สิ่งแรกควรทำ: ติดตั้ง proprietary drivers ถ้ามี Drivers นี้จาก manufacturer โดยทั่วไปทำให้ hardware ทำงานดีกว่า open source drivers ที่มากับ Ubuntu

12 Tweaks ทำให้ Ubuntu รู้สึกเหมือนบ้าน

ว่าจะมี proprietary drivers จริงหรือไม่ ขึ้นกับ hardware ของระบบ บาง hardware ไม่มี proprietary driver หรือ open source driver ทำงานดีกว่า อ้างอิง: hardware ที่มักมี proprietary drivers คือ AMD และ NVIDIA graphics cards, และ Broadcom wireless chipsets

เช็ค proprietary drivers ไปที่ Software & Updates utility คลิก Additional Drivers tab

ติดตั้ง Graphical Firewall Config Utility

12 Tweaks ทำให้ Ubuntu รู้สึกเหมือนบ้าน

ต่อไป ติดตั้ง graphical firewall configuration utility เพื่อ enable และ configure firewall สำหรับระบบ แม้ Linux รู้จัก immune viruses แต่ hackers อาจ remote access ระบบได้หากไม่มี firewall ป้องกัน network ports

ติดตั้งด้วยคำสั่ง

sudo apt-get install gufw

จะมีวิธี configure firewall ง่าย

ได้ Tweak Settings เพิ่ม

12 Tweaks ทำให้ Ubuntu รู้สึกเหมือนบ้าน

เพื่อเข้าถึง tweak settings มาก ติดตั้ง Gnome Tweak Tool และ Ubuntu Tweak ทั้งคู่ให้ทำ tasks หลากหลายและเปลี่ยนแปลง desktop aspects ต่างๆ โดยเฉพาะ Gnome Tweak Tool ติดตั้งเสร็จ สำรวจ settings แม้ไม่อยากเปลี่ยนตอนนี้ อาจอยากรู้ว่าสามารถเปลี่ยนได้ภายหลัง

Gnome Tweak Tool เปลี่ยน window, desktop, icons, font hinting, และมากมาย Ubuntu Tweak ให้ tweaks นิดหน่อย แต่มี shortcuts system-related tasks และ janitorial tools

ติดตั้งด้วยคำสั่ง

sudo apt-get install gnome-tweak-tool

Ubuntu Tweak (last tweak tool) มักไม่มี latest version ใน repos ควรดาวน์โหลด manual

ติดตั้ง Codecs, Pipelight และ Goodies อื่นๆ

12 Tweaks ทำให้ Ubuntu รู้สึกเหมือนบ้าน

เพื่อใช้คอมพิวเตอร์เต็มที่ ติดตั้ง proprietary software เพิ่ม: Flash สำหรับ best experience บนเว็บ, Pipelight สำหรับ Silverlight capabilities (ดู Netflix ดี), Oracle's Java version สำหรับ compatibility ดีกว่า open source, "Ubuntu Restricted Extras" ติดตั้ง Microsoft Core Fonts (Times New Roman), codecs ต่างๆ เพื่อไม่กังวล media format, และ DVD playback libraries สำหรับดู DVD (ถ้ามี DVD drive)

ทำได้ด้วยคำสั่ง

 sudo add-apt-repository ppa:pipelight/stable && sudo apt-get update && sudo apt-get install ubuntu-restricted-extras gstreamer0.10-ffmpeg libxine1-ffmpeg gxine mencoder libdvdread4 totem-mozilla icedax tagtool easytag id3tool lame nautilus-script-audio-convert libmad0 mpg321 pipelight-multi && sudo /usr/share/doc/libdvdread4/install-css.sh && sudo pipelight-plugin --enable silverlight

คำสั่งนี้ติดตั้ง codecs หลายตัว, DVD playback libraries, และ Pipelight ทำ steps เสร็จ DVD playback และ Pipelight installation หาก pop-up ปรากฏหลังเปิด browser หลังรันคำสั่ง นั้น normal

CompizConfig Settings Manager และ Extra Compiz Plugins

ปีก่อน Linux รู้จัก "flashy" desktops ให้ eye candy ทุกอย่าง แม้ phase นั้นลดลง แต่ software ที่ขับ eye candy ยังอยู่ (และใช้รัน Unity!) ตั้งค่าติดตั้ง CompizConfig Settings Manager

12 Tweaks ทำให้ Ubuntu รู้สึกเหมือนบ้าน

ติดตั้ง extra plugins เพิ่ม effects ที่ configure ได้ แม้ทำ desktop flashy ได้ แต่เพิ่ม productivity ได้หาก invoke plugins ที่ถูกต้อง ตัวอย่าง: tweak หา pointer หลังกด keyboard shortcut ทวีป tweak ใช้ "desktop cube" ทำให้ switch virtual desktops เข้าใจง่ายกว่า

ติดตั้งด้วยคำสั่ง

sudo apt-get install compizconfig-settings-manager compiz-plugins-extra

ติดตั้ง configuration utility และ extra plugins สำหรับ framework

ลบ Amazon Results จาก Dash

12 Tweaks ทำให้ Ubuntu รู้สึกเหมือนบ้าน

Ubuntu เพิ่ม Amazon integration เข้า Unity Dash ไปหลาย releases แล้ว หลายคนร้องเรียน privacy at risk เพราะทุก search ส่งไป Amazon servers ผมส่วนตัวแค่ cover Amazon results unnecessary สำหรับความต้องการ

ลบ Amazon search results จาก Dash รันคำสั่ง

sudo apt-get autoremove unity-lens-shopping

และ restart จะลบ Dash lens ที่รับผิดชอบ results นั้น

ทางเลือก: ไป System Settings -> Privacy ปิด Online Search Results โปรดทราบ toggle นี้ส่งผลไม่แค่ Amazon results แตทุก dash lenses ที่ต้องการ internet

เปลี่ยน Scroll Overlays เป็น Scrollbars

12 Tweaks ทำให้ Ubuntu รู้สึกเหมือนบ้าน

Ubuntu เพิ่ม scroll overlays สำหรับ touch-friendly และ space saving แต่ไม่ใช่ทุกคนชอบ บางคนยังชอบ scrollbars แบบเก่า

เปลี่ยนกลับรันคำสั่ง

gsettings set com.canonical.desktop.interface scrollbar-mode normal

เปลี่ยน setting ใน GNOME "registry" ให้รู้ว่าอยาก normal scrollbars กลับ

แสดงชื่อมุมขวาบน

12 Tweaks ทำให้ Ubuntu รู้สึกเหมือนบ้าน

หากมี multiple users บนคอมพิวเตอร์ อาจดีที่จะแสดงชื่อมุมขวาบนจอ verify ว่า login บัญชีถูกต้อง

Enable ด้วยคำสั่ง

gsettings set com.canonical.indicator.session show-real-name-on-panel true

เปลี่ยน setting ใน GNOME "registry" ให้แสดงชื่อ

ลบ White Dots จาก Login Screen

12 Tweaks ทำให้ Ubuntu รู้สึกเหมือนบ้าน

เกี่ยวกับ login หากไม่ชอบ grid of white dots บน login screen ลบได้! รันคำสั่งนี้ และเหมือนไม่เคยมี!

รันคำสั่งตามลำดับ:

sudo xhost +SI:localuser:lightdm
sudo su lightdm -s /bin/bash
gsettings set com.canonical.unity-greeter draw-grid false

คำสั่งเหล่านี้ให้รันคำสั่งในชื่อ lightdm (program ที่รัน login screen) และรันคำสั่งเปลี่ยน setting ใน GNOME "registry" ปิด dots

ปิด Guest Account

Guest accounts บนคอมพิวเตอร์อาจมีประโยชน์ แต่บางคน (รวมผม) เห็นว่า waste of space

ปิด guest account รันคำสั่ง

sudo gedit /etc/lightdm/lightdm.conf

เพิ่มบรรทัดนี้ท้ายไฟล์:

allow-guest=false

simple configuration file modification ที่ระบบอ่านทุก boot

เปิด Hibernation

ไม่แน่ใจเมื่อไหร่เกิดขึ้น แต่ hibernation feature ของ Ubuntu disabled by default ตอนนี้ ผมเคย hibernate ค่อนข้างบ่อย ขาดฟีเจอร์นี้

ขอขอบคุณ มีคำสั่งอีกอัน enable hibernation ให้ระบบ ตรวจสอบว่าระบบมี swap partition บน hard drive อย่างน้อยเท่ากับ RAM ที่ติดตั้ง

เพื่อดีกว่า ทำ swap partition 125% ของ RAM ตัวอย่าง: swap partition 5GB หาก RAM 4GB จะ hibernate ได้แม้ RAM ใช้เต็มและ swap ใช้บ้าง หาก hard drive เล็ก ควรพยายามทำ swap partition 105% ของ RAM สำหรับ hibernation สำเร็จ

Enable hibernation รันคำสั่ง

sudo gedit /var/lib/polkit-1/localauthority/50-local.d/hibernate.pkla

copy และ paste ต่อไปนี้ลงไฟล์:

[Re-enable Hibernate]Identity=unix-user:*Action=org.freedesktop.upower.hibernateResultActive=yes

configuration file modification ที่ระบบอ่านทุก boot

สรุป

ลิสต์ tweaks นี้ควรพาคุณไปสู่ desktop ที่เหมาะกับรสนิยมมากขึ้น ไม่รวม recommended applications สำหรับติดตั้ง สำหรับนั้น ดูที่ Best Linux Software page

Tweaks อื่นๆ แนะนำให้เพื่อนอ่านได้อะไร? Tweak โปรดของชุดนี้คืออะไร? บอกในความคิดเห็น!