Last active
October 17, 2019 19:39
-
-
Save MMazoni/46f3422e42ff5505fdf6ebd4ab4caeb8 to your computer and use it in GitHub Desktop.
bash script para funcionar a resolução correta no desktop do trabalho(Linux Mint 18)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # xrandr funciona apenas com xorg, não com wayland | |
| [ "$XDG_SESSION_TYPE" = x11 ] || exit 0 | |
| xrandr --newmode "1360x768_60.00" 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync | |
| xrandr --addmode VGA-1 "1360x768_60.00" | |
| #lembre-se de dar permissões de executar o script e colocar no campo 'comandos' em aplicações de inicialização: | |
| # /bin/bash /path-do-arquivo/set_resolution.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment