windows桌面远程连接可以更改“远程桌面大小”,但是我的竟然不能设置为1280x800或者1440x900像素,于是我猜是否可以跟linux一样修改配置文件呢?于是尝试一下保存连接设置为rdp文件,然后用记事本打开rdp文件,发现这个rdp文件果然是个纯文本文档。找到了desktopwidth和desktopheight行,修改成下面这样,然后每次启动远程桌面连接的时候打开这个rdp文件就行了!
screen mode id:i:1
desktopwidth:i:1440
desktopheight:i:900
session bpp:i:32
winposstr:s:2,3,386,0,1674,1049
compression:i:1
keyboardhook:i:2
displayconnectionbar:i:1
disable wallpaper:i:0
disable full window drag:i:1
allow desktop composition:i:1
allow font smoothing:i:1
disable menu anims:i:1
disable themes:i:0
disable cursor setting:i:0
bitmapcachepersistenable:i:1
full address:s:192.168.10.101
audiomode:i:1
redirectprinters:i:1
redirectcomports:i:0
redirectsmartcards:i:1
redirectclipboard:i:1
redirectposdevices:i:0
autoreconnection enabled:i:1
authentication level:i:2
prompt for credentials:i:1
negotiate security layer:i:1
remoteapplicationmode:i:0
alternate shell:s:
shell working directory:s:
gatewayhostname:s:
gatewayusagemethod:i:4
gatewaycredentialssource:i:4
gatewayprofileusagemethod:i:0
promptcredentialonce:i:1
drivestoredirect:s: