sS linux_switchToExternalMonitor_1() { S external = linux_getExternalMonitorID(); if (external == null) ret "No external monitor"; S internal = linux_getInternalMonitorID(); if (internal == null) ret "Unknown internal monitor ID"; ret backtick_verbose("xrandr --output " + external + " --auto --output " + internal + " --off"); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018311 |
Snippet name: | linux_switchToExternalMonitor_1 |
Eternal ID of this version: | #1018311/5 |
Text MD5: | 72d7d0babbae49f507b677c52a089e51 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-11-30 14:20:11 |
Source code size: | 345 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 365 / 416 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1026197 - linux_hasExternalMonitor #1026198 - linux_switchToInternalMonitor_1 #1026199 - linux_possibleExternalMonitorNames |