[4] | 1 | ################################################# |
---|
| 2 | # sage application configuration file |
---|
| 3 | #----------------------------------------------- |
---|
| 4 | # |
---|
| 5 | # Sample app config format: |
---|
| 6 | # |
---|
| 7 | # atlantis { # name of application (HAS TO BE THE SAME AS THE APP CONFIG FILE IT'S TRYING TO LOAD) |
---|
| 8 | # configName default # name of this particular configuration |
---|
| 9 | # nodeNum 1 # OPTIONAL - number of nodes (used only for parallel applications) |
---|
| 10 | # Init 100 100 2000 1500 # initial position and size of this app's window on SAGE |
---|
| 11 | # exec 10.0.8.160 atlantis params # ip addres where to execute the application and all its parameters |
---|
| 12 | # nwProtocol TCP # OPTIONAL - TCP or UDP protocol used for streaming (default TCP) |
---|
| 13 | # bridgeIP 10.0.8.160 # OPTIONAL - sageBridge information to use for visualcasting |
---|
| 14 | # bridgePort 42000 # (default is specified at the bottom of this file) |
---|
| 15 | # staticApp # should be specified for static applications that do not refresh often |
---|
| 16 | # binDir some_dir # OPTIONAL - specifies where the application binary resides (use full paths) - default is $SAGE_DIRECTORY/bin |
---|
| 17 | # sync NO_SYNC | SOFT_SYNC | HARD_SYNC # OPTIONAL... specifies the syncronization mode for the application streams |
---|
| 18 | # audioFile some_file # OPTIONAL - specify the audio file to play with the app (without this the audio wont play) |
---|
| 19 | # sampleFormat Int16 # OPTIONAL - the format of the file (default is "Int16") |
---|
| 20 | # samplingRate 44000 # OPTIONAL - the sampling rate of the file (default is 44000) |
---|
| 21 | # } |
---|
| 22 | # |
---|
| 23 | ################################################## |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | atlantis { |
---|
| 27 | |
---|
| 28 | configName default |
---|
| 29 | Init 100 100 1000 1000 |
---|
| 30 | exec 127.0.0.1 atlantis |
---|
| 31 | masterIP 127.0.0.1 |
---|
| 32 | |
---|
| 33 | } |
---|
| 34 | |
---|
| 35 | #------------------------------ |
---|
| 36 | |
---|
| 37 | sagepdf { |
---|
| 38 | |
---|
| 39 | configName default |
---|
| 40 | Init 100 100 -1 -1 |
---|
| 41 | exec 127.0.0.1 sagepdf |
---|
| 42 | staticApp |
---|
| 43 | masterIP 127.0.0.1 |
---|
| 44 | sync SAGE_BLOCK_NO_SYNC |
---|
| 45 | |
---|
| 46 | } |
---|
| 47 | #------------------------------ |
---|
| 48 | |
---|
| 49 | pdfviewer { |
---|
| 50 | |
---|
| 51 | configName default |
---|
| 52 | Init 100 100 -1 -1 |
---|
| 53 | exec 127.0.0.1 pdfviewer |
---|
| 54 | staticApp |
---|
| 55 | masterIP 127.0.0.1 |
---|
| 56 | sync SAGE_BLOCK_NO_SYNC |
---|
| 57 | |
---|
| 58 | } |
---|
| 59 | |
---|
| 60 | #------------------------------ |
---|
| 61 | |
---|
| 62 | imageviewer { |
---|
| 63 | |
---|
| 64 | configName default |
---|
| 65 | Init 100 100 -1 -1 |
---|
| 66 | exec 127.0.0.1 imageviewer |
---|
| 67 | masterIP 127.0.0.1 |
---|
| 68 | sync SAGE_BLOCK_NO_SYNC |
---|
| 69 | staticApp |
---|
| 70 | } |
---|
| 71 | |
---|
| 72 | #------------------------------ |
---|
| 73 | |
---|
| 74 | render { |
---|
| 75 | |
---|
| 76 | configName default |
---|
| 77 | Init 100 100 1000 1000 |
---|
| 78 | exec 127.0.0.1 render |
---|
| 79 | staticApp |
---|
| 80 | masterIP 127.0.0.1 |
---|
| 81 | |
---|
| 82 | } |
---|
| 83 | |
---|
| 84 | #------------------------------ |
---|
| 85 | |
---|
| 86 | mplayer { |
---|
| 87 | |
---|
| 88 | configName default |
---|
| 89 | Init 100 100 -1 -1 |
---|
| 90 | exec 127.0.0.1 mplayer |
---|
| 91 | nwProtocol TCP |
---|
| 92 | masterIP 127.0.0.1 |
---|
| 93 | |
---|
| 94 | } |
---|
| 95 | |
---|
| 96 | #------------------------------ |
---|
| 97 | |
---|
| 98 | VNCViewer { |
---|
| 99 | |
---|
| 100 | configName MyDesktop |
---|
| 101 | Init 100 100 1024 768 |
---|
| 102 | exec 127.0.0.1 VNCViewer |
---|
| 103 | staticApp |
---|
| 104 | masterIP 127.0.0.1 |
---|
| 105 | sync SAGE_BLOCK_NO_SYNC |
---|
| 106 | |
---|
| 107 | } |
---|
| 108 | |
---|
| 109 | |
---|
| 110 | #---------------------------------------------------- |
---|
| 111 | # These are the default values that will be used in |
---|
| 112 | # case sageBridge information is not specified |
---|
| 113 | # for each app separately. |
---|
| 114 | # However, the application will only use sageBridge |
---|
| 115 | # if it is run in sageBridge mode from the SAGE UI, |
---|
| 116 | # otherwise it will ignore sageBridge info |
---|
| 117 | #---------------------------------------------------- |
---|
| 118 | |
---|
| 119 | |
---|
| 120 | defaultBridgeIP 10.0.8.160 |
---|
| 121 | defaultBridgePort 42000 |
---|
| 122 | |
---|