- 浏览: 205092 次
- 性别:
- 来自: 北京
文章分类
- 全部博客 (138)
- Linux - Adiministration (4)
- Linux - Shell (3)
- Linux - Programming (10)
- Linux - Miscellaneous (57)
- Theory - Data Structure & Algorithm (2)
- Theory - Fundamentals of Compiling (0)
- Theory - Operating System (0)
- Theory - Database (0)
- Theory - Miscellaneous (0)
- Oracle (16)
- J2SE&J2EE (32)
- 杂项 (8)
- UCM (1)
- English (1)
- 我的超级菜谱 (1)
- Case - J2EE Tutorial (0)
- Case - J2EE架构师之优秀枪手 (10)
- Apache项目学习 (0)
最新评论
-
yaolixing01:
他山界面开发框架 v22是一套基于Gecko v22 的开源收 ...
Firefox Plugin - Gecko SDK/npapi -
chenpeilei2003:
您是这篇博文的原创吗 , 我通篇看完了, 很受教。
学习的目 ...
如何系统地学习linux? -
inprice:
羊蝎子 -
inprice:
...
羊蝎子 -
RobertLeeJesus:
因为我有两台T61
我安装Solaris的全过程。
Firstly, I downloaded the debian stable version - the first ISO file, and burn it into a CD. Then install it into T61.
1. After installation, Video driver is not working. When it tries to start Gnome GUI, then it shows an error about video driver.
Copy and override a conf file - /usr/X11/xorg.xml, restart, it works. Please refer to
http://www.klabs.be/~fpiat/linux/debian/Etch_on_Thinkpad_T61.html
http://www.linuxdiyf.com/viewarticle.php?id=54314
2. The resolutin is not enough high, my T61 supports solution up to 1400*1050. But it only support 1024*768. Then I changed the font, it looks like it becores big resolution. It is only a workaroud.
Now I have a solution for this problem. Use this command to configure the resolution.
dpkg-reconfigure xserver-xorg
Please also refer to the sites,
http://forum.ubuntu.org.cn/viewtopic.php?t=60467&sid=16f21d41a3dd311e30f6e45dce0c6a8c
http://www.oklinux.cn/html/Basic/other/20070626/31709.html
http://reistlin.blueidea.com/archives/2006/662.shtml
Related Commands
dpkg-reconfigure -phigh xserver-xorg
The content of xorg.conf
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
#add those three lines
Option "EmulateWheel" "true"
Option "EmulateWheelTimeOut" "200"
Option "EmulateWheelButton" "2"
#For more information http://thinkwiki.org/wiki/How_to_configure_the_TrackPoint
EndSection
Section "Device"
Identifier "Configured Video Device"
Option "UseFBDev" "true"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptic"
Option "SendCoreEvents" "on"
Option "Device" "/dev/psaux"
Option "protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
#On my system, this is the identifier of the Trackpoint section, YMMV.
InputDevice "Configured Mouse"
#On my system, this is the identifier of the Touchpad section , YMMV.
InputDevice "Synaptics Touchpad"
EndSection
3. During installation, I set the passports with root/youarebest, robert/youarebest. When logging in in login dialog, the password doesn't work. Then I tried it again and again. It keeps not working. Then I am back to text mode, change the password to 123456 for both root and robert, then login in login dialog again. Damn it! It still doesn't work. Then I begin to be lost. But suddenly, an idean happens to me, I try to input 123456 with shift on. Then I got login. Wow! It is weired,isn't it? In text mode and after login Gnome, the password 123456 with shift key off works. Every time when I login in the Gnome login dialog, the password 123456 with shift key on works only. It is so weired.
Now I figure it out. After command dpkg-reconfigure xserver-xorg is done, the error doesn't appear.
4 By default, the keyboard layout is French. Maybe I made the wrong slection by mistake when installtion. So I changed it to US by System->Preference->Keyboard. Oresle the keys doesn't work normally. If you input character W, it is not W actually.
5 During installation, I just select the character set EN-US. Then the Chinese Font looks weired. Some characters big while some small. It is ugly. Maybe it is a common problem with Linux.
After the resolution is high enough, the Chinese font looks good.
6 The time is not right. After I upgrade it to test release, it works well.
7 The audio driver doesn't work. There is no sound in stable release, so I rebuild the driver. It is said that if it is the test release, it works at the first start.
For building the driver, please see http://www.klabs.be/~fpiat/linux/debian/Etch_on_Thinkpad_T61.html
If it is 1.0.14, it works automatically, if it is 1.0.13, then you need change this line to
dpkg -i /usr/src/alsa-modules-$(uname -r)_1.0.14-1+$(uname -r).deb
to
dpkg -i /usr/src/alsa-modules-$(uname -r)_1.0.13-1+$(uname -r).deb
8 How to mount a NTFS disk?
mount -t ntfs /dev/sda6 /E
chmod -R 755 /E
chown -R robert:robert /E
It only changes the foler recursively not including the files.
9 在进行基本安装之后,如果没有选择图形界面的话,是不会进入图形界面的,如果想要进入图形界面就必须要安装x-window系统,如果没有该系统就更别谈 什么KDE和GNOME了,因为它们是基于x-window的,而我的情况是,当我升级了一些包后,开机就默认进入文本界面了。
具体的操作如下:
- 首先先下载x-window的内核:apt-get -u install x-window-system-core;
- 下载登录管理界面gdm或kdm:apt-get -u install gdm gdm-themes;
- 下载GNOME或KDE:apt-get -u install gnome;
然后,重启计算机即可进入图形界面了!
When you login with multiple users, you can switch beteen different users and between text mode and GUI mode.
ctrl + alt + F1, first console
ctrl + alt + F2, second console
ctrl + alt + F3, third console
ctrl + alt + F4, forth console
ctrl + alt + F5, fifth console
ctrl + alt + F6, sixth console
ctrl + alt + F7, seventh Gnome
ctrl + alt + F8, eighth Gnome
ctrl + alt + F9, ninth Gnome
ctrl + alt + F10, tenth Gnome
ctrl + alt + F11, eleventh Gnome
ctrl + alt + F12, twelfth Gnome
If you install the Gnome, it will default to login GUI. Then you can log in another gui with menu Apps -> System Tools -> New Login
评论
Firstly, I list all of the files in /dev.
$ls -l > /tmp/temp.txt
Then, I plugin the USB Driver, and list it again.
$ls -l > /tmp/temp1.txt
Next I extract all of the files new in the /dev folder.
grep -v -f /tmp/temp.txt /tmp/temp1.txt
Then I got the list,
sdb sdb1 sg2 tty1 usbdev2.4_ep00 usbdev2.4_ep01 usbdev2.4_ep81
I try each one, then I found the sdb1 is the USB drive. Then I mount it like this,
sudo mount -t vfat /dev/sdb1 /mnt
1. Install the language package(locale -a to check which is intalled).
#dpkg-reconfigure locales
2. Install the platform for input method.
#apt-get install scim
3. Install the Smart Chinese Input Method
#apt-get install scim-chinese
4. Create a file /etc/X11/Xsession.d/, the content is as follows,
/usr/bin/scim -d
XMODIFIERS="@im=SCIM"
export XMODIFIERS
export GTK_IM_MODULE=scim
5. To make the Chinese look good, please install the font,
#apt-get install xfonts-intl-chinese xfonts-intl-chinese-big
#apt-get install ttf-arphic-uming scim-tables-zh im-switch
Reference:
http://www.91linux.com/html/linux_pub/debian/20070129/409.html
http://www.blogjava.net/mainamaiya/archive/2008/01/23/177363.html
http://wiki.linux.org.hk/w/Make_Debian_support_Chinese
mount -t ntfs /dev/sda6 /E
chmod -R 755 /E
chown -R robert:robert /E
Actually. it can map the drive successfully. But it can't change the file's owner and permission. It only can change the folder owner and permission.
So when you try to replay a video, it says there is no permission or something like that. The solutions is to copy the files that you want to replay to the local home folder, then change their owner and permission. So you can play them out of quesitons.
发表评论
-
Replace text in file
2009-06-09 21:53 875Windows @echo off if ... -
cpio
2009-06-08 15:31 1072Extract cpio -i </ ... -
Start to use svn
2009-04-14 15:18 827http://artis.imag.fr/~Xavier.De ... -
Linux 查看磁盘分区、文件系统、使用情况的命令和相关工具介绍
2009-03-11 00:46 1462原文 http://www.linuxsir.or ... -
Solaris Compiz Desktop Effect doesn't work.
2009-03-01 23:34 838When I enable the Solaris Deskt ... -
How to make a process run after the user logs out?
2009-01-04 18:05 884nohup nohup sort sales.dat ... -
进行有效编辑的七种习惯(vim)
2008-12-16 11:52 1077如果你的很多时间是用 ... -
Miscelaneous Tricks to use the Linux Command Line
2008-12-10 14:29 8621. The process name for Linux e ... -
How to map remote network drive
2008-12-09 15:29 8591. sudo apt-get install smbfs ... -
Install the SSH server - openssh-server
2008-12-09 15:24 1076sudo apt-get install openssh-se ... -
Ubuntu系统目录结构
2008-12-09 08:52 1100Ubuntu系统目录结构 ================== ... -
Ubuntu APT Proxy
2008-11-22 14:43 1110When I use ubuntu desktop in VM ... -
Ubuntu 8.10 + T61 nvidia 显卡驱动(特效)(compiz)不好用
2008-11-16 20:30 21121. System -> Administration ... -
multiple disks, multiple partitions, multiple OS
2008-10-31 22:39 14191. 基本知识 一块硬盘可以有1-3个主分区和1个扩展 ... -
Ubuntu 8.10 + T61中间小红钮不好用
2008-10-31 20:11 10781. Edit /etc/X11/xorg.conf, a ... -
Common compress command.
2008-10-31 11:51 976zip -r dest.zip source unzip -d ... -
How to see how much is a folder or a file?
2008-10-31 11:41 760du -sh -
How to decide what Linux is installed?
2008-10-31 11:34 740vi /proc/version -
Adding a startup script to be run at bootup
2008-10-30 21:30 1314Ubuntu 1. sudo vi /etc/init ... -
如何删除老版本的Ubuntu内核
2008-10-28 16:49 919sudo aptitude purge ~ilinux-im ...
相关推荐
6.4 New Features of the Process Integration Designer 6.4.1 Export Objects from the Integration Designer 6.4.2 Automatically Deploy after Import 6.4.3 Version History and Deployment Status 6.5 ...
No prior knowledge of geospatial concepts, tools or techniques is required - The book guides you through the process of installing and using various toolkits, obtaining geospatial data for use in ...
The book guides you through the process of installing and using various toolkits, obtaining geospatial data for use in your programs, and building complete and sophisticated geospatial applications ...
No prior knowledge of geospatial concepts, tools or techniques is required - The book guides you through the process of installing and using various toolkits, obtaining geospatial data for use in ...
No prior knowledge of geospatial concepts, tools or techniques is required - The book guides you through the process of installing and using various toolkits, obtaining geospatial data for use in ...
You can manage the process of installing the OS, and after installation, you can start and stop services of the new system (there is support for running your scripts) through the UI. The installation...
The 80x86 MOV Instruction 4.8 - Some Final Comments on the MOV Instructions <br>4.9 Laboratory Exercises 4.9.1 The UCR Standard Library for 80x86 Assembly Language Programmers 4.9.2 ...
By installing, copying, or otherwise using the Product, you agree to be bound by the terms of this EULA. If you do not agree to the terms of this EULA, do not install, copy, or use the Product.
In the context of the JavaMail API, your JavaMail-based program will communicate with your company or Internet Service Provider's (ISP's) SMTP server. That SMTP server will relay the message on to ...
The book starts with the basics, walking through the process of downloading and installing Xcode and the iOS 10 SDK, and then guides you though the creation of your first simple application. ...
Learn Linux in a Month of Lunches shows you how to install and use Linux for all the things you do with your OS, like connecting to a network, installing software, and securing your system. Whether ...
It walks you through the process of installing all the requirements and project setup to build client-side React web applications, managing synchronous and asynchronous data flows with Redux, and ...
This, combined with the vast amount of dependencies in the kernel and that it is not easy to see all the consequences of a kernel change, demands developers with a relative full understanding of the ...
You'll be walked through the process of installing and configuring Android on your BeagleBone Black, as well as preparing your PC development environment to create Android applications that directly ...
After downloading the plug-in, double-click the file to initiate the installation process. Follow the installer’s instructions carefully to complete the setup. #### Compiling Applications for Flash...
Learn Linux in a Month of Lunches shows you how to install and use Linux for all the things you do with your OS, like connecting to a network, installing software, and securing your system....