Skip to content

Instantly share code, notes, and snippets.

@manolenso
Created January 9, 2014 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manolenso/8337533 to your computer and use it in GitHub Desktop.
Save manolenso/8337533 to your computer and use it in GitHub Desktop.
Script bash pour reinstaller ma config ecran apres un update linux header
#!/bin/bash
sudo apt-get update
sudo apt-get install build-essential linux-headers-$(uname -r)
sudo apt-get install virtualbox-ose-guest-x11
##### pour connaitre la configuration a ecrire $ cvt 1920 1080 ####
#### pour remettre en 16/9 specifique (à ma config) ####
xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
##### pour recrire le fichier de config ######
xrandr --addmode VBOX0 1920x1080_60.00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment