Set the size in character cells. For example, -rows=28 -cols=110 requests 28 rows and 110 columns.
by Gary Rogers, Director of Training, APPX Software, Inc.
Windows shortcut
Right-click the Windows desktop shortcut and choose Properties. Add a space at the end of Target, followed by the two arguments.
-rows=28 -cols=110
Make sure there is a space before the - and that the arguments are lower case. Spelling is also important.
Linux launcher or shell
On Linux, edit the launcher you use to start the client. In the classic GNOME desktop, right-click its icon, choose Properties, then Launcher, and append
-rows=28 -cols=110 to the Command field. If you start the client from a shell, append those two arguments to your usual command.
macOS Terminal
On a Mac with Desktop Client 6.2.1 in Applications, quit the client, open Terminal and run the following command. If your client is installed in another folder, substitute its path.
"/Applications/AppxDesktopClient.app/Contents/MacOS/AppxDesktopClient" -rows=28 -cols=110
Sign-in options
On clients whose sign-in window has an Options tab with Screen rows and Screen columns, enter 28 and 110 there and connect. The client saves those settings for the next connection.
See
Desktop Client installation on macOS for the available startup options.
Check the status line after reconnecting
If you have users that need to run at a lower resolution, like 800x600, one problem that you will most likely encounter running a larger screen is the status line. While the Appx screen set for 28 rows and 110 columns fits on the desktop nicely at a resolution of 1024x768, the same screen run at 800x600 will be a little bit too big and the status line may be hidden by the desktop's taskbar. It is almost a given that you will get a call from a user complaining of a locked up screen when the real problem may be that an error message on the status line is hidden.
There are two ways to handle this issue. A simple way is to right-click on the taskbar, select Properties, and set the "Auto-hide the taskbar" option. When the cursor is not in the area of the bottom line of the screen the taskbar will disappear and the Appx Desktop Client's status line will be visible.
Another way is to set one of two (or both) options in the Client Preferences for the desktop client. We have found that setting screenAspect in the Startup section of the options to 2.5 will adjust the cell size so that the screen will be completely visible at 800x600. The screen aspect adjusts the height to width ratio of the cells making them slightly shorter, so the screen is also slightly shorter, but the font size remains the same.
You can also set the initialFontSize from the default value of 14 to 13 or 12. This option starts the client with a smaller font, which may also affect the user's ability to read the characters. You may want to experiment with both of these options to find which works best for your environment.
Both of these options can be set from the client start up by selection the Options tab, then the Advanced button. The options will be remembered between sessions. The options can also be added to the command line in the same manner as setting the -rows and -cols options above.
Dynamically Changing Client Window Size
One issue you may encounter when running at a larger screen size is that you have older programs that were designed for 21 x 80, and will show a lot of blank space when run in a size of 28 x 110. You can set -resizeMainWindowPane=true in the client options, and the client window will resize automatically. It will shrink for a 21 x 80 image, and expand for larger images (up to the original rows & columns you set).
Checking the Client Window Size
You can use the
.ENV GET SCREEN SIZE API to determine the current row & column setting. If this is not large enough for your image, you can issue an error message, or use the $newsession: parameter of
.CLIENT LOAD URL to open a new session with the required rows and columns.
Read the current screen size