七 23
今天心血来潮,抛弃了windows,改玩Ubuntu了。这篇博客是用U904发的,电影也能看,可惜就是我这个笔记本的喇叭声音比较小,又没有带耳机,所以比较糟糕了。
然后就想玩http://www.coeffort.com/uhome/上的游戏了。结果让我失望,这些flash游戏大多对于Firefox的支持都有问题。挖金子游戏动画可以显示,但键盘却无法操纵;开心农场根本无法加载;得克萨斯扑克告诉我的flash版本太低,其实我安装的是flash 10 for linux。荣光医院也是无法加载。
所以,我觉得有些失望,尽管它们的未来一定会更好:
1。浏览器还是无法将操作系统隔离,Firefox在不同平台上还是有差距;
2。Adobe对于浏览器的支持也是无法做到全面一致;
3。Windows还是大家不能离开的操作系统。
4。开发者还是没有太多的习惯(需求)来开发支持Linux的软件。
Tagged with: SNS • Ubuntu
七 23
我的新做的wordpress skeme在Windows IE下和Firefox显示不一样,背景缺失。我觉得是应该让它一致才对。所以,搭建一个Linux Web服务有必要。下面是步骤,参考了不少资料:
Continue reading »
Tagged with: Apache • Linux • myPhpAdmin • MySQL • PHP • Ubuntu • wordpress
七 23
有的时候查找中文资料的时候,只能挪到我的windows系统上来搜索资料。今天下决心在Ubuntu上安装中文输入法。查找了一下,总的来说安装比较的顺利。感觉不错,下面是安装过程。
我安装的是fcitx,安装命令如下:
sudo apt-get install im-switch fcitx
im-switch -s fcitx -z default #设置为缺省
安装结束后我重启了系统,实质上只需要logoff便可以了。但我的系统显示是英文界面,所以,启动后我发现出现的界面出现方块。于是我安装指示gedit ~/.fcitx/config,打开文件也是乱码。所以,我修改了语言配置,将其设为中文。
一切OK。
参考:
http://wiki.ubuntu.org.cn/%E5%A6%82%E4%BD%95%E6%B7%BB%E5%8A%A0%E4%B8%AD%E6%96%87%E8%BE%93%E5%85%A5%E6%B3%95
http://wiki.ubuntu.org.cn/%E4%B8%AD%E6%96%87%E8%BE%93%E5%85%A5%E6%B3%95fcitx
Tagged with: Fcitx • IME • Linux • Ubuntu
七 06
1. Execute the following command “hcitool scan” and get the MAC address of the BT device.
2. Create .asoundrc file in the home Directory: vi ~/.asoundrc .
pcm.bluetoothraw {
type bluetooth
}
pcm.bluetooth{
type plug
slave{
pcm bluetoothraw
}
}
3. Restart OS or restart bluetooth;
4. Use the Following command to make rhythm box to work
“gconftool -t string -s /system/gstreamer/0.10/default/musicaudiosink “alsasink buffer-time=6000000 latency-time=1000000 device=bluetoothraw” ”
• Cross verify by selecting systempreferencesound
• See the playback option for Music and movies it should be ALSA(custom)
• Play the song.
• gstreamer extra and gstreamer ffmpeg video plug-ins required for mp3 play. This will be taken care by rhythm box tool.
• For AVRCP, include uinput in /etc/modules and reboot and try again.
Tagged with: A2DP • Bluetooth • rhythm box • Ubuntu
七 03
I found some minor issues on Blueman 1.10. It may improve the usability once it is fixed.
Continue reading »
Tagged with: Blueman • BlueZ • Ubuntu
六 25
如果是我早知道这样的问题,我就不会这么频繁的装操作系统了。但直到几天,我才找到取得分区UUID的方法,所以,才彻底的解决了问题。
Continue reading »
Tagged with: boot • Linux • Partition • Ubuntu
六 23
Currently, I am using Blueman 1.10 in my Ubuntu 9.04. Actually, it is a excellent program for BlueZ UI except for a few tiny bugs.
You can connect HID, FTP, OPP, PAN, SPP, A2DP, HFP by UI without any CLI command. It is really a better program than gnome-bluetooth.
Continue reading »
Tagged with: Blueman • Bluetooth • BlueZ • Ubuntu
六 18
pr_debug() http://www.kernel.org/doc/local/pr_debug.txt
Some files call pr_debug(), which is ordinarily an empty macro that discards
its arguments at compile time. To enable debugging output, build the
appropriate file with -DDEBUG by adding
CFLAGS_[filename].o := -DDEBUG
to the makefile.
For example, to see all attempts to spawn a usermode helper (such as
/sbin/hotplug), add to lib/Makefile the line:
CFLAGS_kobject_uevent.o := -DDEBUG
Then boot the new kernel, do something that spawns a usermode helper, and
use the “dmesg” command to view the pr_debug() output.
Tagged with: Linux • pr_debug • Ubuntu
六 16
Environment:
- Ubuntu 8.10 kernel 2.6.27.10
- BlueZ 4.40
Symptom:
Use Motorola H710 to connect BlueZ, it will make authority verification 2 times. The reason of failure at the first time is caused by this swapper Not tainted error. This error will report as following error in application level:
bluetoothd[6196]: accept_cb HUP or ERR on socket
bluetoothd[6196]: headset_close_rfcomm g_io_channel_shutdown
Continue reading »
Tagged with: Bluetooth • Kernel Error • Ubuntu
五 20
这篇文章是写如何编译Linux内核的,我参考了两篇文章,终于在我的机器上完全通过,下面是详细步骤。 Continue reading »
Tagged with: Linux • Ubuntu