svoid linux_showShutdownDialog() { if (!inPATH("lxsession-logout")) fail("Shutdown dialog not available for OS"); backtickInNewThread([[lxsession-logout "--prompt= Shut Down Computer? " --banner=]] + bashQuote(loadImageAsFile(#1009765)) + " --side=top"); }
Began life as a copy of #1000720
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1014007 |
| Snippet name: | linux_showShutdownDialog (for LXDE, e.g. Peppermint Linux) |
| Eternal ID of this version: | #1014007/3 |
| Text MD5: | 1bc1d24553d9a4ffe4409d2babb7546a |
| Author: | stefan |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-03-20 18:39:33 |
| Source code size: | 278 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 662 / 675 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |