Re: =?UTF-8?Q?=E6=8A=80=E6=9C=AF=E9=97=AE=E9=A2=98=EF=BC=9A=E4=BD=BFgnome?= =?UTF-8?Q?=E5=90=AF=E5=8A=A8=E5=89=8D=E6=89=A7=E8=A1=8C=E4=B8=80?= =?UTF-8?Q?=E4=B8=AA=E8=84=9A=E6=9C=AC?=



This should also work if you use gdm as the display manager.

Jeff
On Wed, 2010-11-03 at 17:01 +0800, 刘红丹 wrote:
> /etc/gdm/PreSession ?
> 
> 在 2010年11月3日 下午4:28,Jeff Cai <jeff cai oracle com>写道:
>         You can put some scripts under /etc/X11/xinit/xinitrc.d which
>         will run
>         before gnome-session get started.
>         
>         Jeff
>         
>         On Wed, 2010-11-03 at 15:23 +0800, Zhang Weiwu, Beijing wrote:
>         > 如果使gnome启动前,用户登录之后,在做任何其它事之前,先执行
>         一个脚本,等
>         > 候脚本运行完,再启动gnome,如何做到?应该找哪方面资料?
>         >
>         > 我问这问题是想在登录后执行一个用户可选择是否的同步脚本,其退
>         出后gnome-
>         > session再正常运行。待同步的内容有基本的gnome配置
>         (如.gconf*),所以适合
>         > 在任何gnome应用跑起来之前运行。
>         >
>         > 要是十年前,我就写.xsession了。如今怕是物是人非了,不知道从
>         哪里开始。
>         >
>         > 我使用的是Ubuntu 10.10.
>         > _______________________________________________
>         > gnome-cn-list mailing list
>         > gnome-cn-list gnome org
>         > http://mail.gnome.org/mailman/listinfo/gnome-cn-list
>         
>         _______________________________________________
>         gnome-cn-list mailing list
>         gnome-cn-list gnome org
>         http://mail.gnome.org/mailman/listinfo/gnome-cn-list
>         
> 
> 
> 
> -- 
> 刘红丹
> http://liuhongdan.com/



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