Guest User

Untitled

a guest
Mar 20th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #! /bin/sh
  2. #Requires wmctrl
  3. wmctrl -c firefox;
  4. gmusicbrowser -cmd "Quit";
  5. exit 0;
  6.  
  7. sudo gedit /etc/init/lightdm.conf
  8.  
  9. pre-stop script
  10. wmctrl -c firefox
  11. while [ -n "$(pidof firefox)" ]; do
  12. sleep 0.5
  13. done
  14. end script
Add Comment
Please, Sign In to add comment