Alan my friend thanks for the help sort it out
used:
snap set ubuntu-frame display="
layouts:
# keys here are layout labels (used for atomically switching between them)
# when enabling displays, surfaces should be matched in reverse recency order
default: # the default layout
cards:
# a list of cards (currently matched by card-id)
- card-id: 0
DisplayPort-1:
# (disconnected)
HDMI-A-1:
# This output supports the following modes: 1920x1080@60.0, 1920x1080@59.9,
# 1920x1080@30.0, 1920x1080@30.0, 1920x1080@50.0, 1920x1080@25.0, 1680x1050@59.9,
# 1280x1024@75.0, 1280x1024@60.0, 1440x900@75.0, 1440x900@59.9, 1280x960@60.0,
# 1152x864@75.0, 1280x720@60.0, 1280x720@59.9, 1280x720@50.0, 1440x576@50.0,
# 1024x768@75.0, 1024x768@70.1, 1024x768@60.0, 800x600@75.0, 800x600@60.3,
# 800x600@56.2, 720x576@50.0, 720x480@60.0, 720x480@59.9, 640x480@75.0,
# 640x480@66.7, 640x480@60.0, 640x480@59.9, 720x400@70.1
#
# Uncomment the following to enforce the selected configuration.
# Or amend as desired.
#
state: enabled # {enabled, disabled}, defaults to enabled
mode: 1920x1080@60.0 # Defaults to preferred mode
position: [0, 0] # Defaults to [0, 0]
orientation: right # {normal, left, right, inverted}, defaults to normal
scale: 1
group: 0 # Outputs with the same non-zero value are treated as a single display
DisplayPort-2:
# (disconnected)
HDMI-A-2:
# (disconnected)
"