You are not logged in.

#1 2019-10-28 14:31:21

duyinthee
Member
Registered: 2015-06-14
Posts: 242
Website

how to enable presentation mode in sway windows manager

In this week, I moved to sway from gnome.
I set up my system in sway. It looks good. But I have a problem with presentation.
My work usually need to use presentation slides.

I have some configuration in ~/.config/sway/config file like this;

exec swayidle -w \
	timeout 300 'swaylock -f -e' \
	timeout 305 'swaymsg "output * dpms off"' \
	resume 'swaymsg "output * dpms on"' \
	before-sleep 'swaylock -f -e'

# Multi Head Setting
output eDP-1 pos 0 0 res 1366x768
output HDMI-A-2 pos 1370 0 res 1920x1080

Because of swayidle, while I am doing presentation, the screen goes off and get locked.

Could you please advice any idea so I can setup properly without losing any of both functions of "screen turns off then get locked" and "presentation mode if I connect external monitor or am using libreoffice impress presentation mode".

Is it possible by using System service files and Udev rules, I'm not sure, just thinking.

Last edited by duyinthee (2019-10-28 14:32:37)

Offline

Board footer

Powered by FluxBB