Defina a exibição para uma resolução maior que 720p?

0

buen dia comunidad. O pedido de dados pré-existente e a ordem de atualização de arquivo são reais que são de 1366x768 por alguna superior como 1600x900 o 1920x1680. Cabe decir que 1366x768 é a máxima resolução soportada por mi monitor.

Intel Core i7 segunda geração a 2.00GHz

Mi driver de vídeo es: Controlador compatível com VGA: Família de processadores de núcleo de segunda geração da Intel Corporation Controlador Gráfico Integrado (rev 09)

Meu sistema é Ubuntu 14.10 x64

Google Tradutor :

comunidade de bom dia. Gostaríamos de perguntar se existe alguma maneira de modificar minha resolução atual, que é 1366x768 por alguns superiores, como 1920x1680 ou 1600x900. Podemos dizer que 1366x768 é a resolução máxima suportada pelo meu monitor.

Intel Core i7 segunda geração a 2.00GHz

Meu driver de vídeo é: Controlador compatível com VGA: Família de processadores de núcleo de segunda geração da Intel Corporation Controlador Gráfico Integrado (rev 09)

Meu sistema é o Ubuntu 14.10 x64

Muito obrigado! Adicionado a resolução de 1600x900 para coincidir com a proporção de 16: 9 da tela do meu laptop. Algumas fontes parecem um pouco borradas, existe uma maneira de aplicar um alias de fontes ou algo do tipo?

    
por jorgemuela 14.02.2015 / 01:44

2 respostas

0

Si, claro.

O seguinte é um script que funciona para LVDS1 (normalmente laptops). Eu não sei se funciona em outros modos. Eu não testei isso.

Execute xrandr --prop | grep connected para ver qual modo você usa. Se o LVDS1 estiver conectado , você poderá usar o script. e não "sobrecarrega" o hardware.

Tenha um diretório de usuários para scripts, por exemplo, mkdir ~/bin

Abra um arquivo vazio, gedit ~/bin/nxrez

Cole o seguinte script:

#!/bin/bash
# Marc Brumlik, Tailored Software Inc, [email protected]
# Wed Jan  2 05:23:54 CST 2013

# newrez v 1.0
# use xrandr to scale the display to a new resolution
# rewriten to handle mouse boundaries when scaled
# this requires setting a new resolution to the unused VGA1 device
# then scaling that for B display on the LVDS1 device
# modified by Moe to include zenity.

umask 000

# resolution can optionally be specified on command line
newrez=$1

# we MUST be running xrandr 1.3 or higher
if xrandr -v | grep "RandR version 1.[012]"
   then   zenity --info --title="XRandR version is too old" --text="You must be running Xrandr
version 1.3 or newer!
Time to upgrade your system  :-)"
      exit 0
fi

# find the currently connected devices, make a list
devices='xrandr -q | grep connected | grep -v disconnected | cut -d"(" -f1'

# there MUST be a "connected" LVDS1 and a "disconnected" VGA1
current='xrandr -q'

if echo "$current" | grep "LVDS1 connected" >/dev/null
   then   : OK
   else   zenity --info --title="PROBLEM" --text="Current display must be LVDS1"; exit 0
fi
if echo "$current" | grep "VGA1 disconnected" >/dev/null
   then   : OK
   else   zenity --info --title="IMPORTANT" --text="The VGA1 display resolution may be affected by this change"
fi

default='echo "$current" | grep -A 1 "^LVDS1" | tail -1 | awk '{print $1}''
H='echo $default | cut -d'x' -f1'
V='echo $default | cut -d'x' -f2'
HZ='echo $default | awk '{print $2}' | tr -d '[*+]''

# echo DEFAULT: $default $H $V

  title="Resolutions"
  text="Default Resolution: $default"


if [ -z "$newrez" ]
   then   while true
      do
         newrez=$(zenity --title="$title" --list \
            --height=250 --width 250 --text="$text" \
            --radiolist --column="X" --hide-column=2 --column="Resolution" --column="Screen Size" \
            FALSE    default     "1440 X 900 --- 100%" \
            FALSE   1800x1125    "1800 X 1125 -- 125%" \
            TRUE   2016x1260     "2016 X 1260 -- 140%" \
            FALSE   2304x1440    "2304 x 1440 -- 160%" )
#           additional settings tailored to your machine can be added here
#           changing the above ")" to a "\"
#           with the last one in the list ending with ")"
#           For example:
#           FALSE   1440x900    "1440 X 900 -- 140%" \
#           FALSE   4096x2400   "4096 X 2400 Maximum" )
         case $newrez in
            default|[0-9]*x[0-9]*)   break ;;
         esac
            exit 0
      done
fi

case $newrez in
   default)   xrandr --output VGA1 --auto --output LVDS1 --auto
         xrandr --output LVDS1 --mode $default --scale 1x1
         exit 0 ;;
esac

newH='echo $newrez | cut -d'x' -f1'
newV='echo $newrez | cut -d'x' -f2'
modeline='cvt $newH $newV $HZ | grep Modeline'
newmode='echo "$modeline" | sed 's/^.*"//''
cvtrez='echo "$modeline" | sed -e 's/_.*//' -e 's/^.*"//''

if [ "$newrez" != "$cvtrez" ]
   then   newrez=$cvtrez
      newH='echo $newrez | cut -d'x' -f1'
      newV='echo $newrez | cut -d'x' -f2'
fi

scaleH='echo -e "scale=10\n$newH / $H\nquit" | bc'
scaleV='echo -e "scale=10\n$newV / $V\nquit" | bc'

if echo "$current" | grep -A 100 "^VGA1" | grep $newrez >/dev/null
   then   : already there
   else   xrandr --newmode "$newrez" $newmode
      xrandr --addmode VGA1 $newrez
fi

if xrandr --output VGA1 --mode $newrez --output LVDS1 --fb $newrez --scale $scaleH"x"$scaleV 2>&1 | tee -a /tmp/xrandr.err
   then   : success
   else   zenity --info --title="Xrandr produced this error" --text="'cat /tmp/xrandr.err'"

The problem could be that Your video driver
does not support xrandr version 1.3
      rm -f /tmp/xrandr.err
fi

Salve e torne o script executável, chmod +x ~/bin/nxrez

Você pode até mesmo criar uma entrada de menu gedit ~/.local/share/applications/alilbigger.desktop ou colocar uma cópia no seu deck

[Desktop Entry]
Name=A little bigger screen
Comment=Change screen resolution for a large/smaller desktop
Exec= ./bin/nxrez
Icon=preferences-desktop-theme.png
Terminal=false
Type=Application
Categories=Settings;

Salve e clique fora.

    
por Nodak 14.02.2015 / 02:45
1

É possível definir uma resolução mais alta com xrandr do que o monitor suporta, mas o monitor não teria como exibi-lo e não exibiria nada. Você precisa de um monitor que possa exibir uma resolução maior se quiser vê-lo também.

    
por StenSoft 14.02.2015 / 02:03