Linux用命令修改dpi,Linux用命令修改分辨率,非常有效

[root@lzf ~]# xrandr(查看当前分辨率和所有分辨率选项)

xrandr: Failed to get size of gamma for output default

Screen 0: minimum 320 x 200, current 1280 x 960, maximum 2560 x 1600

default connected 1280x960+0+0 0mm x 0mm

1024x768       60.0      0.0                            (这一行是当前分辨率,不算)

800x600        60.0     56.0      0.0                (这是第一行)

640x480        60.0      0.0

320x240         0.0

400x300         0.0

512x384         0.0

1152x864        0.0

1280x960        0.0*

1400x1050       0.0

1600x1200       0.0

1920x1440       0.0

2048x1536       0.0

854x480         0.0

1280x720        0.0

1366x768        0.0

1920x1080       0.0

1280x800        0.0

1440x900        0.0

1680x1050       0.0

1920x1200       0.0

2560x1600       0.0

720x480         0.0

720x576         0.0

320x200         0.0

640x400         0.0

800x480         0.0

1280x768        0.0

1280x1024       0.0

然后再在上面数你要设置的分辨率是第几行,比如我要设置1280*960,是在第七行, [root@lzf ~]# xrandr -s 7就这样,设置好了

关于xrandr的更多参数,大家可以 man 一下或者help都可以,以下是我help的。

[root@lzf ~]# xrandr --help

usage: xrandr [options]

where options are:

-display or -d

-help

-o

or --orientation

-q        or --query

-s /x or --size /x

-r or --rate or --refresh

-v        or --version

-x        (reflect in x)

-y        (reflect in y)

--screen

--verbose

--dryrun

--nograb

--prop or --properties

--fb x

--fbmm x

--dpi /

--output

--auto

--mode

--preferred

--pos x

--rate or --refresh

--reflect normal,x,y,xy

--rotate normal,inverted,left,right

--left-of

--right-of

--above

--below

--same-as

--set

--scale x

--transform ,,,,,,,,

--off

--crtc

--panning x[++[/x++[]]]

--gamma ::

--primary

--noprimary

--newmode

[+HSync] [-HSync] [+VSync] [-VSync]

--rmmode

--addmode

--delmode

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值