Hello world again

Hello ,World ,

i like the flesh air in the sky ,just fly like a bird ,

 

Known Lucid Lynx issues/bugs with workarounds

Disclaimer : The purpose of this thread is to list known Lucid Lynx issues and bugs, and give the corresponding workarounds and launchpad entries.Feel free to propose other known Lucid Lynx bugs to be listed here but please provide a link to the workaround and a link to the corresponding launchpad entry.-------------------------------------------------Warning: Before upgrading or attempting a reinstall make sure you backup essential files.Please read the Release Notes and Overview:-http://www.ubuntu.com/getubuntu/releasenotes/1004http://www.ubuntu.com/getubuntu/releasenotes/1004overviewUpgrade 8.04 -> 10.04 can break apt-get.The package flashplugin-nonfree has been problematic when upgrading 8.04 -> 10.04 and breaks apt-get;Bug ReportFor those not wanting to read the bug report in detail, the fix is :
Code:sudo rm /var/lib/dpkg/info/flashplugin-nonfree.prerm
sudo dpkg --remove --force-remove-reinstreq flashplugin-nonfree
sudo dpkg --purge --force-remove-reinstreq flashplugin-nonfreeNautilus location bar, bread crumbs vs text based.Breadcrumbs is now the default. The button to switch between the two has been removed. Users can switch with ctrl+l and then esc to revert to breadcrumbs. To permanently switch to text users have to use gconf-editor from a terminal. Note: gconf-editor has been removed from the menus. The key is.apps>nautilus> preferences> always_use_location_entryMinimize, Maximize and Close button placement.A decision has been taken to move the placement to the left. Mark Shuttleworth explained that this was because "something" is going to be placed in the right hand area in the next release. Moving the buttons now would help enable this change.[[Update ]http://www.markshuttleworth.com/archives/333The buttons are in the old location on all default themes apart from Ambiance,Radiance and Dust, If you still want the Ambiance ,Radiance or Dust theme but with buttons on the right, choose one of those other themes and use the Customize button to achieve what you want. e.g.1. System > Preferences > Appearance2. Select the theme icon "New Wave"3. Click the button "Customize.."4. Select tab "Controls" and select "Ambiance"5. Select tab "Window border" and select "Ambiance"6. Select tab "Icons" and scroll down and select "Ubuntu-mono-dark"7. Select "Save Theme" to your choice.Using gconf-editor is not the right approach as this could bork future themes. This change makes it easier for themes to do interesting things with window borders. Unfortunately, if the wrong approach spreads, they won't be able to do that.Problem with Huawei usb mobile broadband dongles. Please see this bug report and click the affects me button if you have this bug. A fix is committed. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/446146.Also fix/workaround here. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/509547 See post #32Bootup/Plymouth. Users should experience a much faster boot however some users may experience problems with Plymouth after the nVidia graphics driver has been enabled. Users may experience plymouth using lower graphics resolution. https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/551013Graphical solution : http://news.softpedia.com/news/How-to-Fix-the-Big-and-Ugly-Plymouth-Logo-in-Ubuntu-10-04-140810.shtmlCommand line :(Some of the fixes put forward dont work for everyone.)One that works for nVidia and to try is this.
Code:gksu gedit /etc/default/gruband add the line in BOLD.# The resolution used on graphical terminal# note that you can use only modes which your graphic card supports via VBE# you can see them in real GRUB with the command `vbeinfo'#GRUB_GFXMODE=640x480GRUB_GFXPAYLOAD_LINUX=1680x1050 Save the file and run
Code:sudo update-grubThe resolution chosen should be your monitors native resolution.Other graphics card users may get a black screen with flashing cursor and then a very short duration plymouth. https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/540801One fix for this is to create this file.
Code:gksu gedit /etc/initramfs-tools/conf.d/splashand add this option FRAMEBUFFER=y, save the file.Then
Code:sudo update-initramfs -uPlymouth now has a hard dependency on mountall thus trying to remove Plymouth would remove half the OS. The advice is, if you don't want a graphical boot then uninstall any plymouth themes.If the problem is a slow boot, and you have no floppy drive, disable the floppy in the bios. This has been reported as a fix to this. https://bugs.launchpad.net/ubuntu/+source/udisks/+bug/551712If the problem is plymouth not displaying, and a black screen from grub to gdm, this could be due to graphics drivers needing to be loaded quicker. This is bugged.https://bugs.launchpad.net/ubuntu/+source/linux/+bug/539787Plymouth is installed with 2 themes by default you can install more via synaptic.To change themes this code is used.
Code:sudo update-alternatives --config default.plymouthJava. Sun java has been deprecated. Openjdk is now the default, i.e installing ubuntu-restricted-extras with recommends will install openjdk and the icedtea plugin. Openjdk has been certified by Java SE Test Compatibility Kit (TCK) and is compatible with the Java(TM) SE 6 platform on the amd64 (x86_64) and i386 (ix86) architectures. However sun-java is in the partner repo.There's a bug regarding the icedtea plugin and certain applets.https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/551328.Not fixed yet. Workaround may be to create a new Firefox profile.Boot options hidden by default on Desktop and Netbook LIVECDsThe Ubuntu 10.04 LTS Desktop and Netbook CDs feature a new boot interface that is non interactive by default. To configure advanced boot options, press any key at the first boot screen.
__________________

How to Fix the Big and Ugly Plymouth Logo in Ubuntu 10.04

As everyone already knows, the highly anticipated Ubuntu 10.04 LTS (Lucid Lynx) operating system was released on April 29th, after 6 months of work. The new features of this release can be seen by clicking the link above, however... it appears that Canonical refused to fix a bug. And we are talking about the Ubuntu logo shown during boot. (Please read the Plymouth README file located under the /usr/share/doc/plymouth/ directory, for more details).

Long story short, the logo looks fine when you install Ubuntu, but, after you install the proprietary Nvidia and ATI video drivers, the logo gets bigger and ugly! Below, we provide two fixes for this issue: the first one will fix the resolution of the Ubuntu logo, pretty much like it was when you installed Ubuntu; and the second one will remove the logo, showing only a dark screen until the login manager appears.

Without any further ado, follow the instructions below to fix your boot splash in Ubuntu 10.04 LTS (Lucid Lynx).

Editor's note: The instructions provided here are created for beginners in Linux. No terminal hassle! The first fix was developed by Hoa Nguyen from the Ubuntu community. All credits go to him! All I did was to find a second fix and compile them both in a very easy and user-friendly tutorial.

Alternative One - Fixing Plymouth's resolution

Step 1: Hit the ALT+F2 key combination, paste the following command and check the "Run in terminal" option:

sudo apt-get install v86d

...a terminal window will appear. Enter your password when asked, hit the Enter key and wait for the package to be installed. The terminal window will automatically close!



Step 2: Hit the ALT+F2 key combination, paste the following command and check the "Run in terminal" option:

gksu gedit /etc/default/grub

...enter your password when asked and hit the Enter key.

- Replace the following line (line number 9):

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

with this one:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap"

- Replace the following line (line number 18):

#GRUB_GFXMODE=640x480

with this one:

GRUB_GFXMODE=1280x1024

The file should look like this:



Save the file and close it!

Step 3: Hit the ALT+F2 key combination, paste the following command and check the "Run in terminal" option:

gksu gedit /etc/initramfs-tools/modules

When the text window appears, add the following line at the end of the file:

uvesafb mode_option=1280x1024-24 mtrr=3 scroll=ywrap

It should look like this:



Save the file and close it!

Step 4: Hit the ALT+F2 key combination, paste the following command and check the "Run in terminal" option:

echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash

...a terminal window will appear for a second or two. The terminal window will automatically close!



Step 5: Hit the ALT+F2 key combination, paste the following command and check the "Run in terminal" option:

sudo update-grub2

...a terminal window will appear. Enter your password when asked, hit the Enter key and wait for the command to finish. The terminal window will automatically close!



Step 6: Hit the ALT+F2 key combination, paste the following command and check the "Run in terminal" option:

sudo update-initramfs -u

...a terminal window will appear. Enter your password when asked, hit the Enter key and wait for the command to finish. The terminal window will automatically close!



Step 7: Reboot your computer. When the system starts, you should see a better looking Ubuntu logo!



Alternative Two - No logo at boot

Click the link below to install the Startup Manager application.

Install Startup Manager

If you use Firefox, choose "apturl" when asked and install the package. Wait for the installation to finish and go to System -> Administration -> StartUp-Manager.

Wait a few seconds for the program to start, and then choose 1280x1024 and 24 bits in the "Resolution" and "Color depth" drop-down menus. Also, check the "Show boot splash" option, and you can reduce the "Timeout in seconds" option to 0 (zero)! It should look something like this:



Close the application and wait a few seconds to apply the changes. Reboot your computer!

From our tests, this will make the Ubuntu logo disappear. All you will see is a dark screen, until GDM (GNOME Diplay Manager) appears.

Editor's note: You can play a little with the resolution of the first fix, as 1280x1024 may not work for everyone! Just make sure that you change it in all three locations as indicated above.

Nvidia drivers & Ubuntu 10.04 Lucid Lynx

***If your looking for the Nvidia Driver Installation guide, check http://www.sucka.net/2010/04/how-to-install-nvidia-video-driver-in-10-04-lucid-lynx/

Reading the Ubuntu Lucid development forum, I noticed most people can’t get the new Plymouth to work with Nvidia proprietary drivers. Some get just some errors, some see just some blue progress bar, etc.

But here is a very easy solution for getting Plymouth working with proprietary Nvidia drivers (and it works in VirtualBox too). Being so easy, I don’t understand why they haven’t included this tweak in Ubuntu Lucid yet, but I suppose there is a reason behind this so be aware of this before proceeding.

WARNING: Only follow this how-to if you know what you are doing. If you make any mistakes, Ubuntu might not start!

Here is what you have to do to get Plymouth working with proprietary Nvidia drivers:

Step 1: we must edit the /etc/default/grub file.

Open a terminal and type or paste this (if you are using the Run menu within Gnome use gksudo instead of plain old sudo):

$ sudo nano /etc/default/grub
On line #18, uncomment (uncomment = remove the “#” in front of the line “#GRUB_GFXMODE=640×480” and change the resolution to whatever you want. Here is how it should look:

GRUB_GFXMODE=1024x768
Step 2: edit the /etc/grub.d/00_header file.

$ sudo nano /etc/grub.d/00_header
And find the following line: “gfxmode=${GRUB_GFXMODE}” (it’s line 103 on my computer) and under it, paste this:

set gfxpayload=keep
Step 3: update Grub 2:

To update the GRUB, simply run the following command:

$ sudo update-grub
Once you complete the above steps, restart the computer and you should see the nice Plymouth screen like in the screenshot in the beginning of the post.

压榨性能 Firefox 3.6加速小诀窍

诚然Firefox是一个优秀的浏览器,虽然它已经足够快,但是对于喜欢压榨性能的发烧友可是远远不够,接下来就告诉大家几条进一步提升
Firefox速度的小窍门。

减少隐藏设定的历史记录
Firefox会保存浏览的历史记录,使用的时间越长,保存的历史记录数据也就越发庞大,
占用了太多的资源。



browser.history_expire_days:表示历史纪录过期天数,默认是180天!实际上没人用得上半年的历史记录,30天足矣。



browser.history_expire_sites:这个是最大保存的站点数量,默认是四万个。我们可以减少一些,一般来说一万就差不多了



自定义firefox的临时文件存放地址



输入about:config右键新建一个字符串名为browser.cache.disk.parent_directory
,然后输入新的临时文件的路径即可,建议把这个地址放到非系统盘,当然了,如果你追求极限,你可以用内存虚拟一个RamDisk来存放这些临时文件,体验
一下极速浏览的感觉。



开启多线程请求



允许浏览器同时发出多个请求给服务器,而不必等待服务器的返回信息



network.http.pipelining设置为true



network.http.proxy.pipelining设置为true



network.http.pipelining.maxrequests设置为6
(这里表示最多可以同时发送多少个请求,可以根据自己的机器和网络性能进行调整,一般6-8合适)



增加服务器的最大链接数



这个选项可以增加同时对网站服务器的连接数,也可以有效的提升浏览速度。具体的设置数值请根据自己的网络和计算机性能进行调整。



network.http.max-connections 32



network.http.max-connections-per-server 10



network.http.max-persistent-connections-per-proxy 10



network.http.max-persistent-connections-per-server 8



最小化时自动释放内存



此选项可以保证每次Firefox浏览器最小化的时候都会释放内存,可以有效减少内存占用,适合内存不是很充裕的机器。



config.trim_on_minimize ->true



页面快进/快退功能中保存的页面总数



页面快进快退一般会保存很多层页面,但是也会占用客观的内存资源。实际上我们一般用不上那么多,保存5层足矣。



browser.sessionhistory.max_total_viewers设置为5



缩短浏览器收到信息包的响应时间



nglayout.initialpaint.delay设置为0 (响应速度嘛,自然是越快越好了)



通过以上的设置,相信你的Firefox已经变得更加迅速了。当然了,本文仅仅适用于那些“性能发烧友”,如果您只是普通用户,如果您对目前您的
Firefox的性能表现很满意,那么就维持现状即可,如果不慎改错参数导致浏览器崩溃,那就得不偿失了。

opera 字体终极解决方案

很多朋友对于opera的字体设置感到非常头疼。虽然也有各种各样的解决方法,但总是不彻底,不是有这个问题就是有那个不满意。我这里有个方法可以帮你比
较好的解决opera字体问题,你想用什么字体就用什么字体,非常方便。

1、


码:


cd

gedit ~/.opera/styles/user/user.css


2、加入如下内容


码:
@charset "utf-8";

/*   Name: 雅黑 */

html,body,*{

font-family:"lihei Pro"!important;

font-size: 13px !important;

word-spacing: 0.4mm !important;

letter-spacing: 0.2mm !important;}


注意:lihei Pro这个地方的字体随便换成你喜欢的

我选择的是苹果字体

3、打开opera浏览器,然后view---->style----->manage
modes---->display,然后在my style sheet那一栏选择刚才编辑的黧黑文件即可。

中文菜单位置为:查看──样式──雅黑

重启opera



缺陷:由于采用css强制指定网页文字,浏览某些强制指定某一字体为该网站默认字体的网站页面时,会发生cpu占用过高的现象,(也即二者产生冲突)但这
并不影响正常浏览

用Alternate CD或iso文件升级Ubuntu==第二种方法

1、下载Alternate CD的iso文件。(DVD也可以。)

2、把iso文件刻录到光盘,把光盘放进光驱。

或者:

直接挂载iso文件。参考下面的命令:

sudo mount -o loop ~/Desktop/ubuntu-9.04-alternate-i386.iso
/media/cdrom0

# 把ubuntu-9.04-alternate-i386.iso文件放在桌面文件夹里。

或者:

用Gmount-iso这个软件(源里有)来在图形界面挂载。



3、按提示操作。



注:如果没有出现升级提示的话,可以按“Alt+F2”组合键,然后执行下面的命令行:

gksu "sh /cdrom/cdromupgrade"



注2:这种方法不适用于升级到测试版,只能使用正式版光盘镜像来升级。如果要升级到一个测试版的话,比如从Ubuntu9.04桌面版升级到
9.10beta版,可以按“Alt+F2”,然后在弹出的文本框中输入“update-manager
-d”(不包含引号),更新管理器将会启动并提示:“新发行版 ‘9.10’ 可用”。点击“更新”并按照屏幕上的指导操作即可。

本文地
址:http://ubuntuabc.com/123/?p=86
来自:UbuntuABC

Copyright © 2008 - All man's Pet - is proudly powered by Blogger
Smashing Magazine - Design Disease - Blog and Web - Dilectio Blogger Template