daily pastebin goal
52%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. gnome-screensaver-command -l
  2.    
  3. gnome-screensaver
  4.    
  5. gnome-screensaver-command -l
  6.    
  7. DISPLAY=:0 gnome-screensaver-command -l
  8.    
  9. mkdir ~/bin
  10.    
  11. #!/bin/bash
  12. gnome-screensaver-command -l
  13.    
  14. chmod +x ~/bin/lock
  15.    
  16. # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
  17. # exists.
  18.    
  19. vim ~/.profile # or one of the the other files if they exist
  20.    
  21. # set PATH so it includes user's private bin directories
  22. PATH="$HOME/bin:$HOME/.local/bin:$PATH"
  23.    
  24. you@yourUbuntu:~$ lock
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top