亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 2055 | 回復(fù): 3
打印 上一主題 下一主題

請問程序如何在多屏幕間切換的 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2006-03-11 15:28 |只看該作者 |倒序?yàn)g覽
兩個屏幕, :0.0 和 :0.1  

運(yùn)行程序的時候可以指定display來指定某個顯示屏幕, 但如果一個程序已經(jīng)運(yùn)行了, 如果將它轉(zhuǎn)移動另一個屏幕上去?

謝謝!

論壇徽章:
1
榮譽(yù)會員
日期:2011-11-23 16:44:17
2 [報告]
發(fā)表于 2006-03-11 16:00 |只看該作者
man chvt
or
man screen

論壇徽章:
0
3 [報告]
發(fā)表于 2006-03-11 17:43 |只看該作者
chvt 和screen好象只是用于控制臺或虛擬控制臺的吧, 我主要想在給學(xué)生上課的時候, 將我顯示屏上的某個窗口送到投影儀上去,在windows上實(shí)際上用鼠標(biāo)托動就可以實(shí)現(xiàn), 但在linux上只有鼠標(biāo)可以在屏幕之間移動,如果試圖托動某個窗口到另一個屏幕的時候, 從屏幕的這端出去,又從另一邊進(jìn)來了,并不能到達(dá)另一個屏幕。

我用的是FVWM, 我知道用MoveToScreen 可以在屏幕間移動窗口, 但它用于開啟了Xinerama擴(kuò)展之后才可以, 當(dāng)我加Opiton "Xinerama" "true"之后啟動X會花屏

附上我的xorg.conf, 火兄幫俺分析一下,謝謝!


  1. Section "Module"
  2.     #Load        "dbe"      # Double buffer extension
  3.     Load        "GLcore"
  4.     Load        "i2c"
  5.     Load        "bitmap"
  6.     Load        "ddc"
  7.     SubSection  "extmod"
  8.       Option    "omit xfree86-dga"
  9.     EndSubSection
  10.     Load        "type1"
  11.     Load        "freetype"
  12.     Load        "glx"   # libglx.a
  13.     Load        "dri"   # libdri.a
  14.     Load        "int10"
  15.     Load        "type1"
  16.     Load        "dbe"
  17.     Load        "synaptics"   #touchpad driver
  18. EndSection

  19. Section "Files"
  20.     FontPath     "/usr/share/X11/fonts/misc"
  21.     FontPath     "/usr/share/X11/fonts/cyrillic"
  22.     FontPath     "/usr/share/X11/fonts/100dpi/:unscaled"
  23.     FontPath     "/usr/share/X11/fonts/75dpi/:unscaled"
  24.     FontPath     "/usr/share/X11/fonts/Type1"
  25.     FontPath     "/usr/share/X11/fonts/CID"
  26.     FontPath     "/usr/share/X11/fonts/100dpi"
  27.     FontPath     "/usr/share/X11/fonts/75dpi"
  28.     FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
  29.     FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
  30.     FontPath     "/usr/share/fonts/truetype/ttf-microsoft"
  31.     FontPath     "/usr/share/fonts/truetype/VeraSansYuanTi"

  32. EndSection

  33. Section "InputDevice"
  34.     Identifier  "Generic Keyboard"
  35.     Driver  "kbd"
  36.     Option  "CoreKeyboard"
  37.     #Option "AutoRepeat" "500 30"
  38.     Option "XkbRules"   "xorg"
  39.     Option "XkbModel"   "pc104"
  40.     Option "XkbLayout"  "us"
  41. EndSection

  42. Section "InputDevice"
  43.     Identifier  "Configured Mouse"
  44.     Driver "mouse"
  45.     Option "Device"     "/dev/input/mice"
  46.     Option "Protocol"   "ImPS/2"
  47.     Option "Emulate3Buttons" "true"
  48.     Option "ZAxisMapping"   "4 5"
  49.     Option "Buttons" "5"
  50. EndSection

  51. Section "InputDevice"
  52.     Identifier "Synaptics"
  53.     Driver "synaptics"
  54.     Option "SendCoreEvents" "true"
  55.     Option "Protocol" "auto-dev"
  56.     Option "Device" "/dev/psaux"
  57.     Option "ZAxisMapping" "4 5"
  58.     Option "Emulate3Buttons" "yes"
  59.     Option "SHMConfig" "on"
  60.     Option "LeftEdge" "120"
  61.     Option "RightEdge" "950"
  62.     Option "TopEdge" "120"
  63.     Option "BottomEdge" "700"
  64.     Option "FingerLow" "14"
  65.     Option "FingerHigh" "15"
  66.     Option "MaxTapTime" "180"
  67.     Option "MaxTapMove" "110"
  68.     Option "EmulateMidButtonTime" "75"
  69.     Option "VertScrollDelta" "20"
  70.     Option "HorizScrollDelta" "20"
  71.     Option "MinSpeed" "0.2"
  72.     Option "MaxSpeed" "0.8"
  73.     Option "AccelFactor" "0.025"
  74.     Option "EdgeMotionMinSpeed" "200"
  75.     Option "EdgeMotionMaxSpeed" "200"
  76.     Option "UpDownScrolling" "1"
  77.     Option "LeftRightScrolling" "1"
  78.     Option "CircularScrolling" "1"
  79.     Option "CircScrollDelta" "0.1"
  80.     Option "CircScrollTrigger" "2"
  81.     Option "CircularPad" "0"
  82.     Option "ClickTime" "100"
  83.     Option "TapButton1" "1"
  84.     Option "TapButton2" "2"
  85.     Option "TapButton3" "3"
  86. EndSection
  87. Section "Monitor"
  88.     Identifier  "Dell XGA LCD"
  89.     Option "DPMS"
  90. EndSection
  91. Section "Monitor"
  92.     Identifier "Projector"
  93.     Option "DPMS"
  94. EndSection

  95. Section "Device"
  96.     Identifier  "ATI Graphics Adapter"
  97.     Driver      "fglrx"
  98.     BusID       "PCI:1:0:0"
  99.     Screen      0
  100. EndSection

  101. Section "Device"
  102.     Identifier  "ATI Graphics Adapter1"
  103.     Driver      "fglrx"
  104.     BusID       "PCI:1:0:0"
  105.     Screen      1
  106. EndSection

  107. Section "Screen"
  108.     Identifier  "Dell XGA LCD"
  109.     Device      "ATI Graphics Adapter"
  110.     Monitor     "Dell XGA LCD"
  111.     DefaultDepth 24
  112.     Subsection "Display"
  113.         Depth   24
  114.         Modes   "1400x1050"
  115.         #ViewPort    0 0
  116.     EndSubsection
  117. EndSection

  118. Section "Screen"
  119.     Identifier "Projector"
  120.     Device "ATI Graphics Adapter1"
  121.     Monitor "Projector"
  122.     DefaultDepth 24
  123.     Subsection "Display"
  124.         Depth   24
  125.         Modes   "1024x768"
  126.     EndSubSection
  127. EndSection
  128. Section "ServerFlags"
  129.     Option  "DefaultServerLayout" "single"
  130. EndSection

  131. Section "ServerLayout"
  132.     Identifier      "dual"
  133.     Screen          "Dell XGA LCD"
  134.     Screen          "Projector" LeftOf "Dell XGA LCD"
  135.     InputDevice     "Configured Mouse" "CorePointer"
  136.     InputDevice     "Generic Keyboard" "CoreKeyboard"
  137.     InputDevice     "Synaptics"
  138.     #InputDevice    "Synaptics" "AlwaysCore"
  139. EndSection

  140. Section "ServerLayout"
  141.     Identifier      "single"
  142.     Screen          "Dell XGA LCD" 0 0
  143.     InputDevice     "Generic Keyboard" "CoreKeyboard"
  144.     InputDevice     "Configured Mouse" "CorePointer"
  145.     InputDevice     "Synaptics"
  146.     #InputDevice    "Synaptics" "AlwaysCore"
  147. EndSection

  148. Section "dri"
  149.     Mode 0666
  150. EndSection
復(fù)制代碼



分別用 startx -- -layout single 和 startx -- -layout dual 來啟動單屏和雙屏模式





原帖由 寂寞烈火 于 2006-3-11 16:00 發(fā)表
man chvt
or
man screen

論壇徽章:
0
4 [報告]
發(fā)表于 2006-03-12 10:02 |只看該作者
upup
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP