Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1026382 // linux_setPasswordRequiredOnResume

JavaX fragment (include)

// only has an effect on certain Linuxes
// does not work on Peppermint 10
sS linux_setPasswordRequiredOnResume(bool flag) {
  ret backtick("gsettings set org.gnome.desktop.screensaver ubuntu-lock-on-suspend " + flag);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026382
Snippet name: linux_setPasswordRequiredOnResume
Eternal ID of this version: #1026382/2
Text MD5: 06d891ed9a6585ebc356abea52101fb5
Author: stefan
Category: javax / linux
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-01 14:46:45
Source code size: 224 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 190 / 224
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1026383 - linux_passwordRequiredOnResume