xrandr命令用法

2023-05-16

目录

1.常用命令 

 2.获取其他用法

 3.参数选择


1.常用命令 

xrandr

作用:显示当前显示器可以支持的分辨率

xrandr -q

也可以使用 -q 参数来查看屏幕目前支持的分辨率

root@ubuntu:/home/samba# xrandr
Screen 0: minimum 1 x 1, current 840 x 674, maximum 8192 x 8192
Virtual1 connected primary 840x674+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   840x674       60.00*+
   2560x1600     59.99  
   1920x1440     60.00  
   1856x1392     60.00  
   1792x1344     60.00  
   1920x1200     59.88  
   1600x1200     60.00  
   1680x1050     59.95  
   1400x1050     59.98  
   1280x1024     60.02  
   1440x900      59.89  
   1280x960      60.00  
   1360x768      60.02  
   1280x800      59.81  
   1152x864      75.00  
   1280x768      59.87  
   1024x768      60.00  
   800x600       60.32  
   640x480       59.94  
Virtual2 disconnected (normal left inverted right x axis y axis)
Virtual3 disconnected (normal left inverted right x axis y axis)
Virtual4 disconnected (normal left inverted right x axis y axis)
Virtual5 disconnected (normal left inverted right x axis y axis)
Virtual6 disconnected (normal left inverted right x axis y axis)
Virtual7 disconnected (normal left inverted right x axis y axis)
Virtual8 disconnected (normal left inverted right x axis y axis)

 2.获取其他用法

Try 'xrandr --help' for more information.
root@ubuntu:/home/samba# xrandr --help

 3.参数选择

usage: xrandr [options]
  where options are:
  --display <display> or -d <display>
  --help
  -o <normal,inverted,left,right,0,1,2,3>
            or --orientation <normal,inverted,left,right,0,1,2,3>
  -q        or --query
  -s <size>/<width>x<height> or --size <size>/<width>x<height>
  -r <rate> or --rate <rate> or --refresh <rate>
  -v        or --version
  -x        (reflect in x)
  -y        (reflect in y)
  --screen <screen>
  --verbose
  --current
  --dryrun
  --nograb
  --prop or --properties
  --fb <width>x<height>
  --fbmm <width>x<height>
  --dpi <dpi>/<output>
  --output <output>
      --auto
      --mode <mode>
      --preferred
      --pos <x>x<y>
      --rate <rate> or --refresh <rate>
      --reflect normal,x,y,xy
      --rotate normal,inverted,left,right
      --left-of <output>
      --right-of <output>
      --above <output>
      --below <output>
      --same-as <output>
      --set <property> <value>
      --scale <x>x<y>
      --scale-from <w>x<h>
      --transform <a>,<b>,<c>,<d>,<e>,<f>,<g>,<h>,<i>
      --off
      --crtc <crtc>
      --panning <w>x<h>[+<x>+<y>[/<track:w>x<h>+<x>+<y>[/<border:l>/<t>/<r>/<b>]]]
      --gamma <r>:<g>:<b>
      --brightness <value>
      --primary
  --noprimary
  --newmode <name> <clock MHz>
            <hdisp> <hsync-start> <hsync-end> <htotal>
            <vdisp> <vsync-start> <vsync-end> <vtotal>
            [flags...]
            Valid flags: +HSync -HSync +VSync -VSync
                         +CSync -CSync CSync Interlace DoubleScan
  --rmmode <name>
  --addmode <output> <name>
  --delmode <output> <name>
  --listproviders
  --setprovideroutputsource <prov-xid> <source-xid>
  --setprovideroffloadsink <prov-xid> <sink-xid>
  --listmonitors
  --listactivemonitors
  --setmonitor <name> {auto|<w>/<mmw>x<h>/<mmh>+<x>+<y>} {none|<output>,<output>,...}
  --delmonitor <name>

 如果想设置某个分辨率,那么就可以使用下列命令来设置

xrandr -s 1440x900

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

xrandr命令用法 的相关文章

  • 【vnc远程桌面】未联网状态下使用离线包配置vnc

    系统为ubuntu18 04 amd64版本 本教程使用vino配置远程服务器 首先 xff0c 离线安装vino包后远程传输给待控制服务器 xff1a sudo apt update sudo apt get download apt c
  • 7.用选择排序法对一个数组进行排序。

    include lt stdio h gt define N 5 void datesort int a int i j k temp for i 61 0 i lt N 1 i 43 43 k 61 i for j 61 i 43 1 j
  • error while loading shared libraries: xxx.so.x"错误的原因和解决办法

    一般我们在Linux下执行某些外部程序的时候可能会提示找不到共享库的错误 比如 tmux error while loading shared libraries libevent 1 4 so 2 cannot open shared o
  • Linux终端进度条显示进程执行进度

    在Linux执行费时操作 xff08 如tar xff09 时显示进度条 xff0c 以不至于让用户觉得程序卡死了 效果 文本进度条 结束后 xff1a 图形化字符进度条 文本进度条怎么做 进度条实现 网上有一些老六会说要下载一些工具 xf
  • 判断页面相似度的python实现

    判断页面相似度的python实现 xff1a 两天时间实现了一小部分 xff0c 大量其实是xpath解析以及字符串和文件操作 xff0c 性能还需要改善 xff0c 下面说一下步骤 xff1a 动态获取DOM树结构 xff1a 因为主要是
  • Win10下VScode+MSVC+CMake搭建C++开发环境

    最近工作需要大规模C 43 43 开发 xff0c 以往都是使用Visual Studio xff08 以下简称VS xff09 xff0c 虽然VS是一款很强大的IDE xff0c 但也同样带来过于庞大 xff0c 运行卡顿等问题 xff
  • iOS 表视图

    基本概念 1 表头视图 xff08 table header view xff09 表视图最上边的视图 xff0c 用于展示表视图的信息 2 表脚视图 xff08 table footer view xff09 表视图最下面的视图 xff0
  • ISBN从10到13位的算法

    图书的ISBN有两种编码 xff0c 一种长度是10位的 xff0c 另一种是13位的 两者其实是可以用特定的算法相互推导的 xff0c 关键在于最后一位校验码的计算 1 10位到13位 10位的isbn编号是7111165616 xff0
  • 阿里云服务器(ECS)实战--安全组策略配置(端口放行)

    什么是阿里云安全组策略 xff1f 阿里云安全组是一种虚拟防火墙 也是阿里云处于安全考虑的一种策略 一台ECS云服务器实例必须至少属于一个安全组 我们知道服务器的各种服务要依赖端口来实现 我们可以将安全组想象成服务器各个端口的开关 默认创建
  • 字符串的排序(全排序)

    一 前言 剑指Offer 中题38 二 题目 输入一个字符串 xff0c 打印出该字符串中字符的所有排列 例如 xff0c 输入字符串abc xff0c 则打印出由字符a b c所能排列出来的所有字符串abc xff0c acb xff0c
  • 自己总结的一些c语言概念 练习题

    c语言的一些基础概念 局部变量的作用域为局部变量所在的局部范围 xff0c 局部变量优于全局变量 举例如下 xff1a span class token keyword int span num span class token opera
  • iOS本地搜索(谓词)

    Use Code 默认搜索 64 param fieldArray 搜索字段数组 64 param inputString 输入文字 64 param array 搜索数据源 64 return 搜索结果 NSArray searchWit
  • zabbix 发送邮件和短信的脚本

    对接sms和监控的脚本 xff0c 其实原理很简单 xff0c zabbix会通过参数的方式传送给脚本三个参数 1 user 2 subject 3 message body 然后通过curl 通过get的方式提交网页就ok了 bin ba
  • gcc/clang编译带pthread.h头文件的源码时需要的参数

    今天敲了一个小程序 xff0c 编译时出现错误 xff1a undefined reference pthread create 原来由于pthread库不是Linux系统默认的库 xff0c 连接时需要使用库libpthread a 所以
  • python 让cpu满载

    今天弄监控报警阈值 xff0c 想要让一台linux主机满载 xff0c 却发现这个很简单的任务实现起来很难 首先从网上下载的各种bench xff0c 基本全都运行不了 在不就是无法让cpu满载 xff0c 晚上看python想起来了与来
  • windows server 服务器搭建AD、Exchange 2010

    0x01 关于windows server 在vsphere 虚拟化环境中搭建win 服务器 xff0c 并安装exchange 通过这次对win的服务器配置 xff0c 多少对win系服务有了一些了解 在win中每一种服务都能以一种集群式
  • python国内镜像站

    pipy国内镜像目前有 xff1a http pypi douban com 豆瓣 http pypi hustunique com 华中理工大学 http pypi sdutlinux org 山东理工大学 http pypi mirro
  • 能不用yum安装就不用yum装

    能不用yum安装就不用yum装 xff01 能不用yum安装就不用yum装 xff01 能不用yum安装就不用yum装 xff01 重要的事情说三遍
  • zabbix 使用JMX 监控tomcat

    JMX Java Management Extensions 是java提供的一种管理接口 xff0c 通常使用JMX来监控系统的运行状态或管理系统的某些方面 xff0c 比如清空缓存 重新加载配置文件等 百度百科介绍 xff1a JMX
  • python 核心编程第二版 9-9

    原题 xff1a 进入python标准库所在的目录 检查每个 py 文件看是否有doc xff0c 如果有 xff0c 对其格式进行适当的整理归类 你的程序执行完毕后 xff0c 应该生成一个漂亮的清单 里边列出哪些模块有文档字符串 xff

随机推荐

  • 源码安装python后,运行某些模块提示缺少libpython2.7.so

    源码安装python后 xff0c 运行某些模块提示缺少libpython2 7 so 造成这个问题的原因是使用 configure 时没有附加 enable shared 编译时使用如下命令编译 span class hljs strin
  • 2021/04/28 前端post请求传数组

    背景 xff1a 后端需要这种格式的数据 xff0c 接口文档要求如下 我也是第一次见 xff0c 后端说这叫 xff0c post一个表单数组 xff0c 原来的项目里有现成的 xff0c 参考如下 网上看 xff0c 这种描述大致是 x
  • 树莓派3B+,Lubuntu16.04安装vscode个人经验总结

    个人经验总结 xff0c 如有更好办法 xff0c 还请不吝赐教 xff01 适合树莓派3B 43 的ubuntu16 04 43 ROS Kinetic系统下载网址 xff1a https learn ubiquityrobotics c
  • 远程命令/代码执行漏洞(RCE)总结

    介绍 Command Injection xff0c 即命令注入 xff0c 是指通过提交恶意构造的参数破坏命令语句结构 xff0c 从而达到执行恶意命令的目的 PHP命令注入攻击漏洞是PHP应用程序中常见的脚本漏洞之一 当应用需要调用一些
  • 大话数据结构

    数据结构按照视点的不同可分逻辑结构和物理结构 逻辑结构 xff1a 1 集合结构 2 线性结构 3 树形结构 4 图形结构 物理结构 xff1a 1 顺序存储结构 2 链式存储结构 算法定义 xff1a 算法是解决特定问题求解步骤的 描述
  • hive常用函数

    hive常用函数 1 字符串函数1 1 字符串长度函数 xff1a length1 2 字符串反转函数 xff1a reverse1 3 字符串连接函数 xff1a concat1 4 带分隔符字符串连接函数 xff1a concat ws
  • bash:command&nbsp;not&nbsp;found以及原理

    如果新装的系统 xff0c 运行一些很正常的诸如 xff1a shutdown xff0c fdisk的命令时 xff0c 悍然提示 xff1a bash command not found 那么 首先就要考虑root 的 PATH里是否已
  • Codeforces Round #356 (Div. 1) 题解(待补)

    Bear and Prime 100Bear and Tower of CubesBear and Square GridBear and Chase Bear and Prime 100 This is an interactive pr
  • Centos 7 /local_lim.h:38:26: fatal error: linux/limits.h: No such file or directory

    今天在给一台全新的CENTOS 7 编译 部署GITHUB 项目时遇到如下问题 xff1a In file included from usr include bits posix1 lim h 160 0 from usr include
  • INTEL 傲腾16G 的再利用

    虽然当年INTEL 傲腾上市时自称是 MEMORY xff0c 不过时至2021年 xff0c 把傲腾看成一个 NVME 的SSD就可以了 技术参数 性能测试这些网上已经有很多了 xff0c 不再赘述了 缺点很明显 xff1a 容量太小 x
  • Dell 服务器 用板载网口访问iDrac 并设置风扇静音

    最近需要在办公区域放一台DELL R230 进行测试 xff0c 由于加装了 C2000 pro NVME SSD作为数据盘 xff0c 导致风扇开机后就直奔15000 43 转 xff1b 官方的解释是 xff1a 由于PCIE通道上使用
  • sina 股票接口 2022.1.21 更新

    常年以来 xff0c 作为数据挖掘的一部分 xff0c 作为模拟交易的接口 xff0c 一直使用 sina 的股票接口 http hq sinajs cn 白嫖 xff1b 2022年1月21日 xff0c 这次新浪接口更新后增加了 htt
  • 使用nginx 反向代理 wordpress

    最近需要使用WORDPRESS 建立一个知识库 WIKI xff0c nginx 和wordpress的安装教程网上已经有很多了 xff0c 不再赘述 具体配置参照如下 xff0c 达到效果 xff1a 访问 https www abc c
  • linux 查看CPU 核心温度

    以下命令直接查看CPU 核心温度 echo cat sys class thermal thermal zone0 temp 1000
  • 加速github下载

    前言 由于github 的服务器在海外 xff0c 在国内下载github资源很慢 xff0c 或者无法下载 尤其是最近AI 大火 提供一种加速方式 git config global url 34 https g blfrp cn 34
  • 后ARM时代,嵌入式工程师的自我修养

    1 嵌入式学习的一些概念理解误区 很多嵌入式初学者认为 xff0c 学嵌入式 xff0c 就是学习ARM xff0c 就是学习开发板 买一块开发板 xff0c 然后在上面 移植 u boot Linux内核 xff0c 再使用busybox
  • Linux在shell下输出进度条

    无论下载 xff0c 解压缩 xff0c 复制等情况时 xff0c 我们总能看到进度条这种东西 进度条以图片形式的可视化窗口直观的显示出计算机处理当前任务的速度 xff0c 完成度 xff0c 剩余完成的任务量 xff0c 以及需要的时间等
  • linux ls 按文件大小排序

    ls Sl 其是按照由大到小排序 xff0c 如果想要反过来 xff0c 从小到大 xff0c 那么用 ls Slr 再者 xff0c 如果想要输入是按照 便于人类阅读的方式 xff0c 那么就再加一个 h xff0c 表示 34 huma
  • 常用损失函数

    损失函数汇总 1 目标检测类1 1 分类1 1 1 centerloss1 1 2 arcsoftmax 1 1 3 focalloss 1 2 人脸1 2 1GIOU loss1 2 2 DIOU LOSS1 2 3 CIOU LOSS1
  • xrandr命令用法

    目录 1 常用命令 2 获取其他用法 3 参数选择 1 常用命令 xrandr 作用 xff1a 显示当前显示器可以支持的分辨率 xrandr q 也可以使用 q 参数来查看屏幕目前支持的分辨率 root 64 ubuntu home sa