长弓无敌
===========================================================
我的Debian桌面秀
===========================================================
好久不来了,秀一个Debian FVWM桌面。 Debian Fvwm
junsheng 发表于:2007.07.19 21:48 ::分类: ( Linux ) ::阅读:(542次) :: 评论 (2)
===========================================================
upgrade the software and thoughts
===========================================================

Last night, I have spent about three hours to configure the Emacs, for my Emacs can't input Chinese characters with the fcitx input methond. Although Emacs has its own input method of pinyin, but I am not used to input Chinses with it.

This morning, I have spent about two hours to install the muse of emacs, which is the next generation of Emacs Wiki; The basic installment has been finished, but the configuration has some bugs and I haven't solved them all.

When there are some new version of software, I often want to upgrade and use them. Often I am tired for the installment and configuration for the uniform of the softares. Indeed, during the software engineering is hard to control for the new protery is added which will leads to the contradictory. It is just like the reform of human society. After several years, people are used to the fixed models and habits, but there are some bad things or order which will stop the development of human society. Some people want to reform the order, and others will keep the older order. This will often lead to the arguments even war. If the new problems can't be solved well, then the system will be worse even than before. But after some middle stage, the system overcomes the existing bugs. People will found the merits of the new system for its effect and efficiency. Using stable version, there will be no danger of the collapse of system, but we also can't enjoy the beautiful new life. Because we are young and even we are the early users of the software for our job or majors, we need to have the spirits of breaking the old order, even we know the existing bugs.


junsheng 发表于:2006.08.10 14:42 ::分类: ( Linux ) ::阅读:(351次) :: 评论 (0)
===========================================================
Debian 空间清理
===========================================================
当初装Debian时候没有划分太多分区,在80G的硬盘上只划出了13G的样子,用多用户方式安装的;/usr才4G多点,现在出现告急了。经常/usr使用率到达100%,由于自己经常安装并使用一些新软件的缘故。由于软件安装,/var也满了,无奈之下只好删除部分不用的软件,把/usr/share下的doc目录移到相对较大的空间;用 apt-get autoclean清除拉一些老版本的软件;哈哈,这下有能很爽了。要是再给我一次装Debian的机会,我会让他在我的硬盘上100%,可惜现在没有闲功夫整天搞安装,能工作就凑合着用吧。
junsheng 发表于:2006.08.04 20:22 ::分类: ( Linux ) ::阅读:(428次) :: 评论 (0)
===========================================================
Debian 技巧收集
===========================================================

How to change the hostname?

/bin/hostname newcomputername;

 查看全文
junsheng 发表于:2006.08.01 17:46 ::分类: ( Linux ) ::阅读:(1271次) :: 评论 (0)
===========================================================
Linux 忘记 root 密码
===========================================================

(1) GRUB

在引导装载程序菜单上,键入 [e] 来进入编辑模式。

  你会面对一个引导项目列表。查找其中类似以下输出 的句行:

  kernel /vmlinuz-2.4.18-0.4 ro root=/dev/hda2

  按箭头键直到这一行被突出显示,然后按 [e]。

  你现在可在文本结尾处空一格再添加 single 来告诉 GRUB 引导单用户 Linux 模式。按 [Enter] 键来使编辑结果生效。

  你会被带会编辑模式屏幕,从这里,按 [b], GRUB 就会引导单用户 Linux 模式。 结束载入后,你会面对一个与以下相似的 shell 提示:

  sh-2.05#

  现在,你便可以改变根命令,键入:

  bash# passwd root

  你会被要求重新键入口令来校验。结束后, 口令就会被改变,你便可以在提示下键入 reboot 来重新引导;然后,象平常一样登录为根用户。

 (2) LILO:

当系统启动到出现LILO引导画面时,对于图形引导方式按TAB键进入文本方式,然后在LILO处输入linux single回车即可进入免密码的控制台,进入以后使用passwd命令修改root的密码即可。


junsheng 发表于:2006.05.29 14:30 ::分类: ( Linux ) ::阅读:(561次) :: 评论 (0)
===========================================================
Debian下如何屏幕抓图?
===========================================================

常用的软件有两个:import(在imagemagick中)或者 scrot。因此安装软件:

#apt-get install imagemagick

or

#apt-get install scrot

 查看全文
junsheng 发表于:2006.05.09 17:55 ::分类: ( Linux ) ::阅读:(822次) :: 评论 (0)
===========================================================
My .emacs
===========================================================
(global-set-key [f1] 'cvs-examine)      ; 开始 PCL-CVS
(global-set-key [f5] 'undo) ; 或许 C- 或 C-/ 更方便
(global-set-key [f6] 'eshell) ; 一个 elisp 写的 shell
(global-set-key [f7] 'calendar) ; Emacs 的日历系统
(global-set-key [f9] 'view-mode) ; 只读方式查看文件
(global-set-key [f8] 'other-window) ; 跳转到 Emacs 的另一个窗口
(global-set-key [f11] 'compile) ; 在 Emacs 中编译
(global-set-key [f12] 'gdb) ; 在 Emacs 中调试
;; 这些功能键有时候还是很有用的。除了直接设置之外,还可以配合 Shift, Ctrl 设
;; 置,比如:
 查看全文
junsheng 发表于:2006.04.24 15:07 ::分类: ( Linux ) ::阅读:(1589次) :: 评论 (0)
===========================================================
用Debian遇到的部分问题和解决
===========================================================

1、待机命令,echo mem>/sys/power/state,之前要确认acpid已经启动;
2、打开Firefox的profilemanager,firefox -profilemanager;
3、支持speedstep,在/etc/modules里加入speedstep-ich、cpufreq_powersave和cpufreq_userspace这三项,其中第一项是针对PIIIM的笔记本,如果是迅驰用speedstep-centrino;
4、查看pcmcia读卡器的设备名,cat /proc/partions5、释放空间:apt-get clean
6、Linux下听ape用SuperMMX的mac-port:http://sourceforge.net/projects/mac-port/

 查看全文
junsheng 发表于:2006.04.24 15:05 ::分类: ( Linux ) ::阅读:(831次) :: 评论 (0)
===========================================================
About use Debian these days
===========================================================

These days, I have spent a lot of time to learn, use and configure Debian linux. Till now I think I am be familiar with the basic use, most of the configure command and program I have tried almost to each aspect.

Till now, I can solve almost problem by Google the corresponding BBS files.

 查看全文

junsheng 发表于:2006.04.12 21:34 ::分类: ( Linux ) ::阅读:(808次) :: 评论 (0)
===========================================================
Use FVWM, my .fvwm2rc
===========================================================
I have modified the fvwm congiguration file based on Wang Yin's FVWM file; I have changed some coding according to my own habit. 查看全文
junsheng 发表于:2006.04.11 13:24 ::分类: ( Linux ) ::阅读:(1082次) :: 评论 (0)
===========================================================
收集日常应用小技巧
===========================================================
转载很多小技巧; 查看全文
junsheng 发表于:2006.04.10 10:18 ::分类: ( Linux ) ::阅读:(2714次) :: 评论 (1)
===========================================================
Emacs wiki css
===========================================================
BODY {
padding : 0.7in;
font-size : medium;
font-family : Times New Roman, Times, serif;
background : white;
border-style: solid;
border-width: 20pt;
border-color: midnightblue;
padding: 0.7in;
}

body.framed {
padding: 10pt;
border-style:none;
}

body.ascii{
background-color : Black;
}

P{
text-indent : 2em;
}

p.banner {
text-align : center;
}

P.mmix{
text-indent : 0;
font-size : medium;
}

P.tip{
color: blue;
}

OL{
list-style-type: decimal;
padding-bottom : 8px;
text-indent : 0;
font-size : medium;
/*background: gray;*/
}

OL.arabic {
list-style-type: decimal;
}
OL.cjk {
list-style-type: cjk-ideographic;
}

OL.roman{
list-style-type: lower-roman;
}

A{
color: #813A66;
font-weight: bold;
text-decoration: none;
}

A:Hover {
caption-side : left;
background-color: #FF80FF;
text-decoration: none;
}

HR {
color: #2E8B57;
height: 1pt;
}

UL {
list-style-type : circle;
}

div{
border : 1pt;
border-color : white;
border-style : solid;
padding: 10pt;
}

IMG{
border : 0;
margin: 2 2 2 2;
}

img.formula {
border : thin;
border-color: blue;
border-style : solid;
}


pre {
border: #777777 1px solid;
padding: 0.5em;
margin-left: 1em;
margin-right: 2em;
white-space: pre;
background-color: snow;
color: #006400 ;
font-family : Luxi Mono, Luxi Sans, Monospace, sans-serif, 宋体;
font-size: 90%;
overflow: auto;
max-height: 3in;
}


pre.syntax {
background: lightblue;
}

pre.error {
background-color: pink;
}

pre.url {
background: bisque;
}

pre.verse {
background: pink;}
em {
color: #FF9900;
text-decoration:none;
font-style:normal;
}

em.phrase {
color: blue;
text-decoration:none;
font-style:normal;
}

h1 {
ont-size: 28px;
border-bottom: solid black 2pt;
padding: 0.1em;
padding-top: 0.2em;
padding-left: 0.3em;
padding-bottom: 2pt;
background: ;
color: #1E2A37;
}

h1.home{
color: #102C4A;
font-size: 34px;
}

h2 {
color:#666;
font-size: 18px;
border-top: solid black 1px;
border-bottom: solid black 1px;
padding: 0.1em;
padding-top: 0.2em;
padding-left: 0.3em;
padding-bottom: 0.3em;
background: LightGray;
}

h3 {
color:#666;
font-size: 16px;
border-left: solid black 1px;
border-bottom: solid black 1px;
padding: 0.1em;
padding-top: 0.2em;
padding-left: 0.3em;
padding-bottom: 0.3em;
width: 70%;
}

h4 {
color:#666;
font-size: 14px;
padding: 2px;
margin-top: 5px;
}

H5 {
color: #666;
text-align: left;
font-size: 12px;
font-size: 12px;
}


LI {
margin-top: 3ex;
}

LI.explained {
}

p.adage{
background: lightyellow;
border: green;
border-style: solid;
}

p.script {
font-size: small;
text-align:right;
}
img.latex-inline {
display: inline;
margin: 1px;
float: none;
position: relative;
vertical-align: middle;
border-style: none;
}

img.latex-display {
display: block;
margin: 25px;
float: none;
left: 15%;
position: relative;
vertical-align: middle;
border-style: none;
}
img.latex-inline {
display: inline;
margin: 1px;
float: none;
position: relative;
vertical-align: middle;
border-style: none;


img.latex-display {
display: block;
margin: 25px;
float: none;
left: 15%;
position: relative;
vertical-align: middle;
border-style: none;
} }} }

div.tl{
position: fixed;
width: 7%;
top: .4cm;
right: 0;
left: .4cm;
bottom: auto;
margin:0;
padding: 5px;
font-size: 28px;
color:#666;
border-bottom: 5px solid #000;
margin: 0px;
margin-bottom: 8px;
}


.example { border: 1pt solid black; padding: 10pt; background: rgb(240, 240, 255); overflow: auto }

junsheng 发表于:2006.04.07 15:30 ::分类: ( Linux ) ::阅读:(745次) :: 评论 (0)
===========================================================
Emacs wiki Chinese character display
===========================================================
  1. Use "locale" to show the environment settings.
  2. "export LC_ALL=zh_CN.GB2312"
  3. "export LANG=zh_CN.GB2312"
  4. relogin then OK, we can use emacs wiki display Chinese now.

junsheng 发表于:2006.03.26 17:54 ::分类: ( Linux ) ::阅读:(633次) :: 评论 (0)
===========================================================
Debian Install
===========================================================

The debian install can be various, and through my try for many times, I have found a fixed mode to fit for myself and my computer.

I use a CDROM which contains the Debian 3.1 Sarge, for I don't want to waste too many network flow of Bytes.

Set the BIOS to startup from the CDROM; Input "linux26" will install debian with kernal 2.6;

Choose the install language, here I will choose simple Chinese, for we have to meet some Chinese deal things.

The install of basic system is very easy, after a while, the system will reboot and need us to pick out the CDROM;

After set the users and password, especiall, we should remember the root password, or else we will be out of the system we just installed with hard work.

When the install process ask us to set the install apt sources.list; then we can choose http method or ftp method,

If we use http proxy, then we should choose http to set the proxy, it is like: http://user:password@proxyIP; after it is going to download the package information through internet, we should reboot through CTL+ALT+DEL; For we just setup proxy here; in fact, we can also vi the /etc/apt/apt.conf file to write the http or ftp proxy; But for convenience, we can choose this dummy method;

After reboot, we can choose set apt-source by hand, and here we will open a file, which has already existed several lines which contain the file:///CDROM like;

Choose the part we want to install, then the softwares will be read from the CDROM;

After reboot, something is wrong for the Chinise charaters have been to some blank square with some numbers in them;

Next, I change to the website linux sir for Debian fields, there are some talks about the Debian, in fact some problem, I have solved are according to those articles.

Change the content of /etc/apt/sources.list to the USTC Debian corresponding list;

Install package management software, which is called synaptic through the command:

apt-get install synaptic

Next, we can into the synaptic after input the root password; We can choose the corresponding softwares we like; the software can help us to find the needed softwares which have dependent relations;

Another good Debian learn site: Debian Notes I have learned a lot about Debian install and software application. The auido is a problem in Debian, but it can be solved according to the website mentioned just now.

The basic softwares have been installed now, next I will do some job and learn on the Debian liux.


junsheng 发表于:2006.03.24 10:50 ::分类: ( Linux ) ::阅读:(585次) :: 评论 (0)
===========================================================
关于Linux的学习
===========================================================

文字模式和图形模式的设定有那里不同?
摘自新闻群组﹕ tw.bbs.comp.linux 2002/01/03 查看全文
junsheng 发表于:2005.10.31 20:22 ::分类: ( Linux ) ::阅读:(1156次) :: 评论 (0)
===========================================================
What's Linux?
===========================================================
To kind of explain what Linux is is you have to explain what an operating system is.
And the thing about operating system is, you, I mean you are never ever supposed to see it. 查看全文
junsheng 发表于:2005.10.28 09:40 ::分类: ( Linux ) ::阅读:(686次) :: 评论 (0)
===========================================================
emacs 快速入门
===========================================================
简介
emacs 是Unix上的编辑器佼佼者,在命令列上打个"emacs"就好了,一上来只是提示, 查看全文
junsheng 发表于:2005.10.19 13:34 ::分类: ( Linux ) ::阅读:(1009次) :: 评论 (0)
===========================================================
vi 快速入门
===========================================================

简介
有了强大的emacs还要来学什么vi呢?其实vi应该是每个初学Unix的人所必备的, 在每台机器上一定都可以用,不像emacs没有装搞不好就没有的用。另外vi的好 处是它很小,不占内存,terminal可以动的地方就可以用。在做远程管理 等等状况非常好用。它算是一种标准编辑器,就像windows上一定有笔记本 这个程序一样 查看全文
junsheng 发表于:2005.10.19 13:30 ::分类: ( Linux ) ::阅读:(927次) :: 评论 (0)
===========================================================
Linux beginner's manual
===========================================================

Linux beginner's manual

It is very useful for linux beginners.


junsheng 发表于:2005.10.16 10:01 ::分类: ( Linux ) ::阅读:(666次) :: 评论 (0)
===========================================================
Microsoft Word V.S. LaTex
===========================================================
这几天看了一些资料,比较了一些软件。 查看全文
junsheng 发表于:2005.10.15 22:53 ::分类: ( Linux ) ::阅读:(894次) :: 评论 (0)
===========================================================
Install Intel 845 audio card on RedHat 8.0 (无声音解决方法)
===========================================================
I am very glad to say, after about one hour's try, I have solved the sound card prolblem of Intel 845 integrated sound card on RedHat Linux. 查看全文
junsheng 发表于:2005.10.15 22:39 ::分类: ( Linux ) ::阅读:(1024次) :: 评论 (0)
===========================================================
Install Intel 845 Vedio card on RedHat 8.0 (Xwindow 无法启动解决方法)
===========================================================
From yesteday, I have been installing the Linux operating system. 查看全文
junsheng 发表于:2005.10.15 14:59 ::分类: ( Linux ) ::阅读:(916次) :: 评论 (0)
===========================================================
some thoughts about linux and windows os
===========================================================
This is the first article that I write in Linux Operating system with the famous editor software emacs. 查看全文
junsheng 发表于:2005.10.15 14:56 ::分类: ( Linux ) ::阅读:(665次) :: 评论 (1)
自我介绍
切换风格
新闻聚合
博客日历
文章归档...
最新发表...
最新评论...
最多阅读文章...
最多评论文章...
博客统计...
Blog信息
网站链接...