nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   start an application on another screen using Twinview (http://www.nvnews.net/vbulletin/showthread.php?t=103154)

jesso 11-26-07 11:42 AM

start an application on another screen using Twinview
 
When I start a certain application from my KDE desktop I want it go to my 2nd display.

I use Twinview. How can I do this?

Code:

Section "ServerLayout"
    Identifier    "Default"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    FontPath        "/usr/share/fonts/misc/"
    FontPath        "/usr/share/fonts/TTF/"
    FontPath        "/usr/share/fonts/OTF"
    FontPath        "/usr/share/fonts/Type1/"
    FontPath        "/usr/share/fonts/CID/"
    FontPath        "/usr/share/fonts/100dpi/"
    FontPath        "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
    Load          "extmod"
    Load          "dbe"
    Load          "record"
    Load          "xtrap"
    Load          "glx"
    Load          "freetype"
    Load          "type1"
EndSection

Section "InputDevice"
    Identifier    "Keyboard0"
    Driver        "kbd"
EndSection

Section "InputDevice"
    Identifier    "Mouse0"
    Driver        "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier    "Monitor0"
    VendorName    "Mag"
    ModelName      "Proview"
    HorizSync      30.0 - 80.0
    VertRefresh    60.0 - 75.0
    Option        "DPMS"
EndSection

Section "Device"
    Identifier    "Card0"
    Driver        "nvidia"
    VendorName    "nVidia Corporation"
    BoardName      "GeForce 7600 GT"
    BusID          "PCI:2:0:0"
    Option        "TwinView"
    Option        "TwinViewOrientation" "RightOf"
    Option        "UseEdidFreqs"        "True"
    Option        "ConnectedMonitor"    "CRT-1, TV"
    #Option        "ConnectedMonitor"    "CRT-1"
    Option        "MetaModes"          "CRT-1: 1440x900, TV: 1280x720"
    Option        "TVStandard"          "HD720p"
    Option        "TVOutFormat"        "COMPONENT"
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "Card0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection    "Display"
        Depth      24
        Modes      "1440x900"
    EndSubSection
EndSection


Tub 11-26-07 11:51 AM

Re: start an application on another screen using Twinview
 
the easiest way in KDE is probably to right click the window title, select "Advanced" -> "Special Window/Application Settings" and create a rule that'll set the initial position of the window to some coordinates on the desired display.

or you could run the application with the --geometry parameter.


All times are GMT -5. The time now is 03:52 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.