Код: Выделить всё
wlr-randr
< /code>
он возвращает < /p>
SPI-1 "(null) (null) (SPI-1)"
Physical size: 73x49 mm
Enabled: yes
Modes:
480x320 px, 0.007000 Hz (preferred, current)
Position: 0,0
Transform: normal
Scale: 1.000000
Код: Выделить всё
wlr-randr --output SPI-1 --off
Код: Выделить всё
wlr-randr
< /code>
Это возвращает: < /p>
SPI-1 "(null) (null) (SPI-1)"
Physical size: 73x49 mm
Enabled: no
Modes:
480x320 px, 0.007000 Hz (preferred)
NOOP-1 "Headless output 2"
Enabled: yes
Modes:
1920x1080 px (current)
Position: 0,0
Transform: normal
Scale: 1.000000
Код: Выделить всё
wlr-randr --output NOOP-1 --off
но невозможно включить его снова
Код: Выделить всё
wlr-randr --output NOOP-1 --on
Я прочитал много-много сообщений на многих форумах
Подробнее здесь: https://stackoverflow.com/questions/793 ... -in-python
Мобильная версия