dfd9d0de96
I've updated this based on comments, simplifying the command handling. Currently the screen-share module uses a hard-coded command to start the fullscreen shell server. This patch causes the module to read the command from the weston config file (from the "command" key in the "screen-share" section). The default value remains the same (i.e. to run weston with the RDP backend and fullscreen shell), but is now located in the weston config file. As well as allowing the arguments to the fullscreen shell server to be changed, this also permits an alternative fullscreen shell server to be used if required, without needing to recompile. Since the command is run as the user running weston, this should not pose any additional security risk. Signed-off-by: Andrew Wedgbury <andrew.wedgbury@realvnc.com>
71 lines
1.5 KiB
INI
71 lines
1.5 KiB
INI
[core]
|
|
#modules=xwayland.so,cms-colord.so
|
|
#shell=desktop-shell.so
|
|
#gbm-format=xrgb2101010
|
|
|
|
[shell]
|
|
background-image=/usr/share/backgrounds/gnome/Aqua.jpg
|
|
background-color=0xff002244
|
|
background-type=tile
|
|
panel-color=0x90ff0000
|
|
locking=true
|
|
animation=zoom
|
|
startup-animation=fade
|
|
#binding-modifier=ctrl
|
|
#num-workspaces=6
|
|
#cursor-theme=whiteglass
|
|
#cursor-size=24
|
|
|
|
#lockscreen-icon=/usr/share/icons/gnome/256x256/actions/lock.png
|
|
#lockscreen=/usr/share/backgrounds/gnome/Garden.jpg
|
|
#homescreen=/usr/share/backgrounds/gnome/Blinds.jpg
|
|
#animation=fade
|
|
|
|
[launcher]
|
|
icon=/usr/share/icons/gnome/24x24/apps/utilities-terminal.png
|
|
path=/usr/bin/gnome-terminal
|
|
|
|
[launcher]
|
|
icon=/usr/share/icons/gnome/24x24/apps/utilities-terminal.png
|
|
path=@bindir@/weston-terminal
|
|
|
|
[launcher]
|
|
icon=/usr/share/icons/hicolor/24x24/apps/google-chrome.png
|
|
path=/usr/bin/google-chrome
|
|
|
|
[launcher]
|
|
icon=/usr/share/icons/gnome/24x24/apps/arts.png
|
|
path=@abs_top_builddir@/weston-flower
|
|
|
|
[screensaver]
|
|
# Comment path to disable screensaver
|
|
path=@libexecdir@/weston-screensaver
|
|
duration=600
|
|
|
|
[input-method]
|
|
path=@libexecdir@/weston-keyboard
|
|
|
|
#[output]
|
|
#name=LVDS1
|
|
#mode=1680x1050
|
|
#transform=90
|
|
#icc_profile=/usr/share/color/icc/colord/Bluish.icc
|
|
|
|
#[output]
|
|
#name=VGA1
|
|
#mode=173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
|
|
#transform=flipped
|
|
|
|
#[output]
|
|
#name=X1
|
|
#mode=1024x768
|
|
#transform=flipped-90
|
|
|
|
#[touchpad]
|
|
#constant_accel_factor = 50
|
|
#min_accel_factor = 0.16
|
|
#max_accel_factor = 1.0
|
|
|
|
[screen-share]
|
|
command=@bindir@/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize
|