Skip to content

FvwmEvent monitor_enabled #1231

@rasatpc

Description

@rasatpc
  • Fvwm3 version (run: fvwm3 --version)
    fvwm3 1.1.4 (1.1.3-21-ga15c008f)

Problem

To replace my current bash script, which runs specific FvwmButtons and pagers on the monitor when connected to the laptop, it was suggested to use "FvwmEvent monitor_enabled". Without going into details, this simple test config to run xterm when the monitor is connected does not work, nor does "monitor_disabled" (on laptop when disconnected).

DestroyModuleConfig FvwmEvent-MonitorTest: *
*FvwmEvent-MonitorTest: monitor_enabled "Exec xterm" # or "Exec exec xterm"

Module FvwmEvent FvwmEvent-MonitorTest

Current setting:

DesktopConfiguration per-monitor

aRandR:

#!/bin/sh
xrandr --output eDP-1 --mode 1920x1080 --pos 1920x0 --rotate normal --output HDMI-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal

Metadata

Metadata

Assignees

Labels

type:bugSomething's broken!

Type

No type

Projects

Status

To do

Relationships

None yet

Development

No branches or pull requests

Issue actions