Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env bash
- # will show the current resolution configurations without polling hardware
- # should also show list of available resolutions, but may not be possible if using
- # proprietary binary blobs for driving the graphics like NVIDIA
- xrandr --current
- # sets the resolution to 640x480 for screen 0
- xrandr --size 640x480 --screen 0
- # get the screen number
- echo $DISPLAY
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement