X resolution switching script

A little script to switch between different screen resolutions.

#!/bin/bash
xrandr -q |
grep "^[ *][0-9]" |
cut --output-delimiter : -c0-3,6-16,40- |
sed "s/:/\n/g" |
sed "s/*/ /g"  |
zenity --list --column "No" --column "Resolution" 
    --column "Refresh" --separator : |
xargs -n1 xrandr -r 60 -s
Permalink
Posted in:

Comments

No new comments allowed (anymore) on this post.

LiveSearch

Blogroll

Relayed

Archive

Buttons

  • RSS 2.0 Feed
  • Latest comments
  • XHTML 1.0 compliant
  • Powered by Flux CMS
  • Powered by Popoon

Login


BXCMSNG Errors:
Notice[8] Undefined index: 0 in [BX_PROJECT_DIR]/inc/bx/plugins/blog/categories.php at line 59.