Wednesday, October 27, 2010

Facts on Thinkpad W510 and Ubuntu 10.10

I got FHD no touch screen, no color calibration. It has 500G hard disk, 8 G ram, finger printer, camera, i7 720 CPU.

The high resolution would never be a problem, coz you can change the DPI. Now win 7 works well with zoom in. In Ubuntu, zoom in firefox can be set up by Noquints plugin.

Pros:
Very bright screen.
Windows blur in compiz.
More RAM of course. It's the reason I bought it.
Camera, audio, microphone work.

Cons:
You can't have both Xinerama and compiz.
Ubuntu can't boot with USB hard disk in USB 3.0 Port.
Multi touchpad not fully work. No zoom in/out. Two fingers scroll works some times with gpoint settings.
Finger printer not set up yet.

Stupid NVIDIA


I am depressed by the fact nvidia can not work with both ximerama and compiz. My poor T60 can work so well with them.

I have to settle down with No compiz or No ximerama. How frustrated!

One good thing is the window blur finally works on this new W510.

Monday, May 18, 2009

My smart Q7 is on the way

It's available now in China. I asked my friend pay for me and the product has been directly delivered by retailer to US. The price is $176. I didn't ask the shipping fee.

I have been looking for a linux tablet for long time. Previously, Nokia 810 was very expensive. Now, it's still more than $200. Actually, I like to get the keyboard for fast input. However, the big screen of smart Q7 seems to be more attractive. I will give some review after I got it.

Monday, March 30, 2009

Jaunty open source ATI driver flickering solution

My chip is radeon X1300

Change the driver from ati to radeonhd.
It's done.

Saturday, March 28, 2009

How to change the gnome-do icon


I like gnome-do docky's function but the default icon and the background color. The color can't be changed. But we can change the purple icon, which is very urgly due to size and color.

sudo cp /usr/share/pixmaps/ubuntustudio-floater-logo.svg /usr/share/icons/hicolor/scalable/apps/gnome-do.svg
sudo cp /usr/share/pixmaps/ubuntustudio-floater-logo.svg /usr/share/icons/hicolor/32x32/apps/gnome-do.png
sudo cp /usr/share/pixmaps/ubuntustudio-floater-logo.svg /usr/share/icons/hicolor/48x48/apps/gnome-do.png


Then restart gnome-do,done.

Sunday, March 22, 2009

Flashplayer in Jaunty ubuntu 9.04

http://ubuntuforums.org/showthread.php?t=772490

Saturday, March 14, 2009

Upgrade to Jaunty Jackalope from ubuntu 8.10

Settings->Administration->Update Manager

You will see a button for upgrade. Click and wait util it is done.

The problem in Alpha 6 is sivp is not consistent. I didn't solve it. It makes I can't install and remove other packages.

The other problem is flash player 10.0 doesn't work but 9 does.

Blender doesn't work under gnome even after shut off compiz. But it works under E16.

My video card is ATI X1300, the opensource driver works fine. Here is the configure file:

Section "Device"
Identifier "Configured Video Device"
Driver "ati"
BusID "PCI:1:0:0"
Option "XAANoOffscreenPixmaps"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection


Good things:
Compiz 0.8 is good. The Tab effect works right now, which lost the icon in previous version.
Volumn Control has been changed, more convenient.
Ubuntustudio theme is pretty, which maybe changed before.
New login window.
New default font configrations.
Ext4 support. I didn't change the file system coz is an upgrade.
I can't tell if the boot time really shortened.

What I expect actually is ibus input method, which has not been solved yet.

Friday, March 6, 2009

qq linux 输入法解决办法

创建一个启动文件QQ,改成可以运行的属性,再运行该文件就可以了
chmod +x QQ

#!/bin/sh
export GTK_PATH="/usr/lib32/gtk-2.0"
export GTK_IM_MODULE=xim
cd /home/kekegg/bin #你的qq文件放的位置
./qq

Tuesday, February 3, 2009

Monday, September 22, 2008

ATI driver problem after upgrade to Intrepid Ibex from Hardy (2)

The fglrx is still can not been used. The problem was described in last post.

The solution for using "radeon" is :

sudo apt-get install envyng-core
sudo envyng -t

select uninstall ATI driver

change the xorg.conf to use "radeon"
Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
EndSection

Section "Module"
Load "dri"
Load "GLcore"
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "radeon"
EndSection



reboot

Enable desktop effects in Systerm->Appearance->Effects

Enjoy it!!!!

Sunday, September 21, 2008

ATI driver problem after upgrade to Intrepid Ibex from Hardy

First, you can't open X with old driver. If you change Driver "fglrx" to "vesa", it will work without 3D effect.

The error in Xorg.0.log is:

(EE) module ABI major version (0) doesn't match the server's version (1)
(II) UnloadModule: "dri"
(II) Unloading /usr/lib/xorg/modules/extensions//libdri.so
(EE) Failed to load module "dri" (module requirement mismatch, 0)

The solution is :

sudo apt-get install envyng-core
sudo envyng -t

choose to remove all ati drivers

Then change xorg.conf to
Section "Device"
Identifier "Configured Video Device"
Driver "radeon"
EndSection

Then go to System-> Preference -> Appearance

Enable the 3D effect in one tab. The system will install the driver for you automatically.

Enjoy it:)

I think the key is remove old ATI drivers.

Wednesday, September 17, 2008

Matlab 2008a

Unable to initialize com.mathworks.mwswing.MJStartup
Fatal Error on startup: Failure loading desktop class

Solution:

cd ~
cd .matlab
sudo chown usrname:usrname -R R2008a/


那是因为你用root装的,你home目录下的.matlab/R2008a/ owner是root。把他改成你自己就好了。我试过,没问题的

Thursday, May 29, 2008

How to install google-gadgets-for-linux

Download adress:
http://code.google.com/p/google-gadgets-for-linux/

suzhe says
我装了以下包:
--I installed the followed packages:

If you lost some packages, the installation can probably be done. But It can not be run because losing the extensions.

libmozjs-dev
libxul-dev
libcurl4-openssl-dev
libgstreamer0.10-dev
libgstreamer-plugins-base0.10-dev
libdbus-1-dev
librsvg2-dev

另外还有 gtk 相关的开发包。
and the gtk relative packages.

Acturally I installed more than that coz I didn't really find out the package from configure file.

I use gtk, so I can disable qt-xml-http-request
./configure --disable-qt-xml-http-request
Good luck! It's really cool!!!!

Friday, May 23, 2008

vim token regular expression

When you use the regular expression in Vim, you probably want to cite the search results in the replaced pattern. Followed is one of the solution.

%s/\(\n\d\+\n\)/^M\1/g
\1 represent the searching content in (), you can put the second () after the first one.

Thursday, April 17, 2008

linux advantage

1.虽然我从未觉得用linux就显得另类,但实际效果可能就是这样的
2.如果经常用脚本,批量处理文件,批量运行程序,自动化的计算,太方便了
3.可以看到源码,如果对哪个程序感兴趣,可以寻根究底,文档免费,程序免费
4.如果你写程序,随时可以做些贡献,可能为社区贡献力量,你想开发windows?不太现实
5.个人认为桌面效果已经很不错了,甚至可以自己写compiz的plugin,也可以生活在前沿上,别人想开发什么,正在开发什么,你有什么要求和建议,都可以沟通
6.更好的机会提高工作,娱乐效率,比如可以浏览linux下的软件,可能有意想不到的功能,比如我发现有个软件列出了很多在线电台,听歌就免费了
7.开服务器方便,远程控制方便
8.hack工具很多
9.硬盘换到别的机器上不用重装系统
10.内存自动作为硬盘缓存,打开已经开过的程序非常快
11.升级频繁,感觉每天都是新的
12.永远有东西折腾,图形界面就很多,玩完一个换一个,发行版好多,不停的试
最后,简单

Sunday, April 13, 2008

Install FCITX Under Hardy Heron

在英文环境下安装FCITX没有安装SCIM方便,需要修改一些文件,现在简单列出安装的步骤:
安装FCITX包,直接使用sudo apt-get install fcitx即可,现在源中的文件版本是3.4.3
安装im-switch,直接使用sudo apt-get install im-switch即可
因为是英文环境,所以需要修改Xinput文件:
sudo vi /usr/lib/gtk-2.0/2.10.0/immodule-files.d/libgtk2.0-0.immodules
在该文件中找到
“xim” “X Input Method” “gtk20″ “/usr/share/locale” “ko:ja:th:zh”
替换为:
“xim” “X Input Method” “gtk20″ “/usr/share/locale” “en:ko:ja:th:zh”
im-switch -s fcitx
重新启动Xwindow即可

Friday, April 4, 2008

Can not rename file in nautilus

conflict with scim. Also problem in Opera. can not navigate in nautilus.

https://bugs.launchpad.net/ubuntu/+bug/34282


I've found the solution on Chinese Ubuntu forums on http://forum.ubuntu.org.cn/viewtopic.php?p=479741&sid=c37de1d11989db6ebe95227b35efa770#479818 ,
which say
sudo apt-get install scim-bridge
sudo gedit /etc/X11/xinit/xinput.d/scim
change GTK_IM_MODULE=xim into GTK_IM_MODULE="scim-bridge"
and restart X.
This fixed the problem (both deadkey and SCIM) for me.

Thursday, March 27, 2008

Fire Gesture does not work in Firefox 3 (FF3)

Check if you have Drag and Drop add-ons. It conflict with Fire Gestures. Uninstall it, will be fine.

Monday, March 17, 2008

Alt F2

The 'Run Application" applet will vanish after you delete the gnome panel if you like avant so much. Just

apt-get install gmrun

Then set the the short cuts in ccsm
General Option->Commands
set Command line 0 : gmrun
Then go to tab Actions->commands
set Key alt F2, then cancel that in General
You also can set screen edge as Bottum Left.

Sunday, March 16, 2008

Hardy scim 输入法

I want to switch from fcitx to scim after I upgrade my system from Gusty to Hardy.

after install the scim package, do
im-switch -s scim -z default


However, scim may conflict with nautilus and opera, So you can't rename file and navigating by key.

do the following

http://ubuntuforums.org/showpost.php?p=3676161&postcount=6