User Tools

Site Tools


keckcaves:vnc_tool_patch_configuration_file

Here is a patch configuration file to include the VncTool in your application:

#
# VncTool w/ Vrui-1.0-068
#
# Ignore warnings about VncToolAssignment, VncTool should still end up
# in your tool menu.
#

section Vrui
    section "caveman.geology.ucdavis.edu"

        section Tools
            toolDsoNameTemplate lib%s.so
            toolSearchPaths ( "/usr/local/opt/Vrui-1.0-068/lib64/VRTools/", \
                              "/usr/local/opt/VncTool-1.0-068/" )

            section VncTool
                hostNames ( "Cavemac.local", "XXX" )  # Replace XXX with the IP address of your computer 
 
                # The next three lines add characters to the strings sent to the external computer via the VncTool
                beginDataString  "" 
                interDatumString "\\t"
                endDataString    "\\n"
 
                initialEnableClickThrough  true
                initialTimestampBeamedData true
                initialBeamedDataTag       ""
                initialAutoBeam            false
 
                initViaConnect     true
                rfbPort            0
                requestedEncodings ""
                sharedDesktopFlag  true
 
                section hostDescription_localhost
                    beginDataString  ""
                    interDatumString "\\t"
                    endDataString    "\\n"
 
                    initialEnableClickThrough  true
                    initialTimestampBeamedData true
                    initialBeamedDataTag       ""
                    initialAutoBeam            false

                   initViaConnect     true
                   rfbPort            0
                   requestedEncodings ""
                   sharedDesktopFlag  true
                endsection
            endsection

            toolNames (WandNavTool1,  \
                       WandNavTool2,  \
                       WandMenuTool1, \
                       VncToolAssignment )

            section VncToolAssignment
                toolClass VncTool
                #deviceName0 Wand
                #device0ButtonIndex0 5
            endsection
        endsection
    endsection

endsection
keckcaves/vnc_tool_patch_configuration_file.txt · Last modified: 2011/10/03 22:14 by sumner