Chuột phải vào panel>Propertise>Tab Background: ở đây có 3 lựa chọn:
1.None: bình thường, màu mè tùy themes.
2.Solid Color: chọn màu cho Panel.
Style: kéo thanh trượt sang trái phải để chọn độ trong suốt tuỳ ý.
3.Background Image :hình nền cho panel.
Chúng ta có thể đảo qua một chút về tab General:
+Orientation (vị trí của panel): có 3 lựa chọn: Top(trên), Bottom(dưới), Left(trái), Right (phải).
+Size: chiều rộng của Panel
+Expand: panel sẽ dài khắp chiều dài/rộng của màn hình (không chọn panel sẽ thu gọn những chỗ thừa không có item lại)
+Autohide: tự động ẩn.
+Show hide button: hiện nút ở 2 bên panel để ẩn/hiện panel.

nVidia graphics driver
Vào teminal gõ lệnh:
sudo apt-get install nvidia-glx-new (gói driver NVIDIA)Reboot lại. Nếu sau khi reboot mà máy hiển thị sai refresh rate (màn hình nhòe, nháy):
Vào Virtual Console (nhấn Ctrl + Alt + F1)
nhập user & pass
sudo nano /etc/X11/xorg.conf
Trong section "screen" tìm dòng nào để cấu hình refresh rate, giới hạn lại. Như máy mình giới hạn đến 75 Hertz
========================================================
Note that installing the nVidia driver will fix some screen resolution problems.
- Go to the System > Administration menu, click on Hardware Drivers, and then enable the nVidia Graphics Driver checkbox in the Device Driver tree. If you need to set up multiple monitors, go to step 3. Otherwise, just restart the computer and you're done!
- (alternative) If the previous step didn't work, you can manually install and enable the nVidia driver:
sudo apt-get install nvidia-glx-new
Note: If you have a GeForce4 video card, you may need to use nvidia-glx instead of nvidia-glx-new. And if you have a very old card, like a TNT, you may need to use nvidia-glx-legacy instead.
sudo nvidia-xconfig - Power off your computer, connect all monitors, and then turn the computer back on. When you get to the GRUB menu, select the option to boot into Ubuntu in recovery mode. You will eventually get to a menu where you can choose to drop into a root shell. Once you're at the root shell prompt, enable the nVidia driver:
sudo nvidia-xconfig --separate-x-screens
Finally, exit the root shell by pressing CTRL+D, and choose the Resume normal boot option. - You can further modify screen resolution, dual monitor setup, Xinerama, etc. using the nvidia-settings package:
sudo apt-get install nvidia-settings
You can change the settings in the "X Server Display Configuration" section and then click the "Save to X Configuration" button and save the file as /etc/X11/xorg.conf.
sudo nvidia-settings
Cách đây vài hôm mình gặp rắc rối lúc config Port Forwarding cái zoom X4 và quản lý cái Host của mình bằng cái D-Link. Vì vậy mình chuyển qua sử dụng Bridge mode để kết nối Internet. Lúc đầu tìm hiểu về Bridge mode mình cũng gặp khá nhiều trục trặc và vô tình mình phát hiện ra là có thể tạo ra nhiều PPP interfaces với 1 account. Mình thử Ping các IP của các Interface đó ttl trả về đều là 64 đều từ máy Linux mà ra hết. Tiếp theo mình thử sử dụng 2 máy để kết nối PPP tới ISP cả 2 máy đều có thể download được Full đường truyền. Từ đó mình có ý định sử dụng Load Balancing để chia tải cho các kết nối PPP và tăng tốc kết nối Internet. Thật ra ngay lúc đó mình cũng chỉ biết Load Balancing là chia tải chứ chưa thật sự biết nó là gì. Sau nửa ngày trời lục lọi trên Internet xem xét nhiều Software mình thấy Load Balancing chỉ hiệu quả khi tạo nhiều kết nối dùng để download hoặc upload thôi nếu cũng sử dụng 1 kết nối thì tốc độc vẫn bình thường và ứng dụng thích hợp nhất cho nó là Torrent. Mình cũng phát hiện rằng trong chính Ubuntu đã có chức năng này.
The stream editor sed
Nguồn: Tổng hợp từ cuốn sách “The Unix Programming Environment” của Brian W. Kernighan và Rob Pike.
Bài viết này giới thiệu những chức năng cơ bản nhất của sed, một chương trình xử lí văn bản cực mạnh trong Unix. Bài viết có sử dụng (mà không giải thích chi tiết) một số regular expression (cơ bản) và một số lệnh Unix (cũng cơ bản
)
Cú pháp chung của sed
Cú pháp chung của một lệnh sed là
sed 'danh sách các lệnh' 'danh sách các file đầu vào'




Category : 
