Guest User

setVm

a guest
Apr 12th, 2016
54
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. if [[ $(virsh list | grep win10) == "" ]]
  3. then
  4. vm=win10
  5. fi
  6.  
  7. xrandr --output HDMI2 --off
  8. xrandr --output HDMI1 --primary
  9.  
  10. cset set -c 0,4 -s system
  11. cset proc -m -f root -t system
  12. cset proc -k -f root -t system
  13.  
  14. cpupower -c 1-3 frequency-set -g performance
  15. cpupower -c 5-7 frequency-set -g performance
  16.  
  17. synergyc 192.168.1.38:24800
RAW Paste Data Copied