Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. #!/usr/bin/env bash
  2.  
  3. # will show the current resolution configurations without polling hardware
  4. # should also show list of available resolutions, but may not be possible if using
  5. # proprietary binary blobs for driving the graphics like NVIDIA
  6. xrandr --current
  7.  
  8. # sets the resolution to 640x480 for screen 0
  9. xrandr --size 640x480 --screen 0
  10.  
  11. # get the screen number
  12. echo $DISPLAY
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement