二所SDD双屏FVWM启动异常问题

rc.local
echo "1"> /proc/sys/fs/suid_dumpable


echo "512 32000 32 128" > /proc/sys/kernel/sem
echo "1048576" > /proc/sys/net/core/rmem_default
echo "1048576" > /proc/sys/net/core/rmem_max
echo "1048576" > /proc/sys/net/ipv4/udp_mem
echo "1048576" > /proc/sys/net/ipv4/udp_rmem_min
 会不会网卡启动提示内存不足于此有关!
 
 Xclients
 if [ -x /usr/local/bin/fvwm2 ] ; then
exec /usr/local/bin/fvwm
fi


XScreenSaver
timeout: 0:05:00
cycle: 0:05:00
lock: True
lockTimeout: 0:10:00


system/xfce/desktop         //xfce-4.4.tgz,Xfce是使用率仅次于KDE与Gnome的Linux桌面系统,Xfce建基在GTK+ 2.x之上。它使用Xfwm作为窗口管理器
DISPLAYMANAGER=XFCE


.fvwm2rc   //fvwm-2.5.28.tar.gz  //$HOME/.fvwm/.fvwm2rc
DestroyMenu Utilities
AddToMenu   Utilities "ATC System Root Menu" Title
#PREF 3
+ "&Terminal%mini.term.xpm%" Exec exec xterm  //执行XTERM后xterm不能输入内容,xterm窗口死机不能关闭
+ I Exec xscreensaver -no-splash
锁定屏幕也不是WM必须有的功能。几乎所有WM都是调用另外一个程序,比如 xscreensaver 来锁定屏幕和提供屏幕保护,
然后在它们的菜单里加入对 xscreensaver 配置程序 xscreensaver-demo 的调用。看起来好像是WM提供了屏幕保护功能,
让很多用户模糊了WM的职责。
EdgeScroll 0 0     //鼠标不会因为接近屏幕边缘而自动进入相近的桌面
EdgeResistance 500 0
EdgeThickness 1


//然后建立3个虚拟桌面,分别命名为Main,Work,Games(标号为0,1,2)。当你的鼠标移动到屏幕边缘时,EdgeScroll参数设定屏幕滚动的百分比。
'EdgeScroll100100'代表,如果把鼠标移动到屏幕边缘,整个屏幕都会滚动至下一个屏幕。EdgeResistance设定滚动发生前需要多少'阻力'(时间延迟),
而EdgeThickness则会设定EdgeScroll效果发生时与'root'窗口间的像素模糊度是多少。如果你不喜欢这种效果,可以设置'EdgeThickness0'或'EdgeScroll00'


I have a multi head setup (multiple screens used under X).  How
      can I tell fvwm to use different configurations for the screens?


A: Fvwm spawns itself into all found screens unless -s command line
   parameter is specified, as explained in the man page.  All spawned
   fvwm processes by default use the same configuration on each
   screen. There are several ways to change the default behavior.


   Write your configuration file as you would if you had only one
   screen.  Then move the screen specific lines into separate
   configuration files and call them, for example, config.<screen>
   where <screen> is the screen number.  Usually this will be 0 for
   the main screen and 1 for the secondary screen.  Place the screen
   specific files in the $HOME/.fvwm directory or whatever you set
   $FVWM_USERDIR to.  Now add this line to your config file:


     Read config.$[screen]


   The $[screen] will be replaced with the number of the screen each
   instance of fvwm is started on.




   Another method, which should work for older fvwm versions as well,
   is to specify a separate file for each screen explicitly.  For
   this, start a separate fvwm for each screen in your .xinitrc (or
   .Xclients):


     fvwm -s -d :0.0 -f config-0 &
     fvwm -s -d :0.1 -f config-1 &
     fvwm -s -d :0.2 -f config-2


   Note that only the last command is without a trailing ampersand.
   If you wish, config-* files may all include "Read config-common".
   
KDE支持双屏幕?
你需要:
一个双屏的服务器(如MertroX) 
一个能在multi-headed X 服务器下运行的窗口管理器.
AFAIK, KWM不行.


多屏显示(USE?ON?MULTI-SCREEN?DISPLAYS):
如果没有指定-s命令行参数,fvwm将自动在每个显示器上启动。每个启动的fvwm都被独立对待。在每个显示器上重启fvwm将互不影响。指令EdgeScroll?0?0
在多屏显示时被强烈推荐。你可能需要在每个显示器上分别退出,才能完全的退出X会话。不要把它和Xinerama支持相混淆。
XINERAMA支持(XINERAMA?SUPPORT)
Fvwm支持Xinerama扩展,类似于多屏显示但允许在屏幕之间移动窗口。如果fvwm编译时添加了Xinerama支持,则在通过Xinerama方式支持和使用多屏显示的X?server上运行时,Xinerama将被使用。没有使用这个选项时,整个桌面被当作一个大的屏幕。EdgeResistance??命令明确的指定了,在两个Xinerama屏幕之间移动窗口通过屏幕边界时的阻力值(explicit?resistance?value)。Xinerama支持可以在配置文件里使用Xinerama命令打开和关闭。很多模块和命令能够很好的与Xinerama一起工作。
在支持X格式geometry的地方,fvwm的Xinerama扩展允许通过扩展geometry来指定一个屏幕。为了这个目的,需要在geometry‘的末尾添加@’‘,并于@’之后紧跟一个屏幕号(screen?number‘)或一个字母。字母为g’时表示全局屏幕(由所有Xinerama屏幕组‘成的矩形),字母p’‘表示第一个屏幕,字母c’表示当前屏幕(鼠标指针当前所在的那个屏幕)。如果X?server不支持Xinerama或者仅有一个屏幕被使用,这个字母(screen?bit)将被忽略。
Style?*?IconBox?64x300-0-0@p
能够配置Xinerama支持使用一个primary屏幕。Fvwm能够在这个屏幕上放置新的窗口和图标。primary屏幕认为屏幕0,但可以使用XineramaPrimaryScreen命令改变。

参考:
http://www.fvwm.org/documentation/faq/
http://wenku.baidu.com/view/3c877733a32d7375a41780a9
http://wenku.baidu.com/link?url=OaiBXJygT0UuQoCNLCdWYRkinbWEHZVhrlo5VKJ43yFWuCm9_EQTn1STGwNVoRAVAk14aWTY-cP2r25jmMHyb59lTFlnEyUyLbiDeYzWu0W

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7970627/viewspace-1808645/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/7970627/viewspace-1808645/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值