[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian安裝問題



On Mon, Apr 09, 2001 at 09:39:19AM -0400, chc@bnl.gov wrote:
> 
> 我還是不太明白你的意思,因為我已經試了幾次。配置運行gpm,它會link /dev/mouse
> 到/dev/gpmdata,在console下是沒有問題的,但是一啟動X,鼠標工作是不正常的,總
> 是亂蹦。如果手工ln -s /dev/psaux /dev/mouse,並運行了gpm,剛開始在console
> 下,鼠標工作沒有問題。但是在X下鼠標工作不正常,再退出X在console下鼠標工作也
> 不正常了。
> 我的鼠標是Microsoft Intelligent PS/2 Mouse。
> 

Several other people already mentioned how you should do.
For X, in your Xconfigure file, you should have the mouse session as:

Section "Pointer"
    Protocol    "IMPS/2"
    Device      "/dev/gpmdata"

and in your /etc/gpm.conf like:
device=/dev/psaux
responsiveness=
repeat_type=raw
type=imps2
append=""

Normally, you don't edit /etc/gpm.conf. You can use 'gpmconfig' to
configure gpm interactively. It is easier.
repeat_type means gpm will repeat mouse movement to /dev/gpmdata and
X can read from there. raw means don't translate protocol of the repeated
mouse events. Now, both console and X can work with mouse happily.

> > > 2,X Window Manager。默認的好像是GNUStep WindowsMaker,我在.xinitrc中添
> 加
> > > gnome-session來啟動Gnome,結果發現所有運行程序開的窗口都沒有Title bar,
> 就是
> > > 說無法用鼠標來拖動,如何才能設置好呢?
> >
> > You have to also start a window manager (window maker or icewm...)
> > gnome-session don't manage window. It is window managers' job.
> 
> 我查看了一下文檔,試了幾次,還是不行。如果我想啟動wmaker和gnome-session, 如
> 何配置.xinitrc或者.xsession呢?多謝
> 
I don't use gnome myself but you can read /usr/doc/gnome-session/README.Debian.
basically, at the end of your .xinitrc, you just
/usr/bin/wmaker &
exec /usr/bin/gnome-session

You should pay attention on the '&' at the end of window manager. It has to
be started in the background. Others are just details.

-- 
Best regard
hashao<Nul

-- 
| This message was re-posted from debian-chinese-gb@lists.debian.org
| and converted from gb2312 to big5 by an automatic gateway.



Reply to: