jingle
deepin
2016-05-11 15:32 关于深度商店,老版本展示,下载,安装,卸载都在一起,但是升级和卸载会和系统依赖相关,所以新版独立了出来。关于分辨率的问题,驱动问题这个也在寻求解决。
Reply Like 0 View the author
#!/bin/bash
# set screen resolution to 1680×1050
#Query current resolution
echo "Current resolution:"
xrandr
echo "-------------------------------------"
# New one modeline for 1680×1050
echo "New one modeline for 1680×1050:"
cvt 1680 1050
echo "-------------------------------------"
# Create resolution using "xrandr --newmode" command
echo "Create resolution 1680×1050:"
xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
echo "-------------------------------------"
# Add the resolution to monitor
echo "Add the resolution to monitor:"
xrandr --addmode VGA1 "1680x1050_60.00"
echo "-------------------------------------"
# Apply the resolution
echo "Apply the resolution:"
xrandr --output VGA1 --mode "1680x1050_60.00"
echo "-------------------------------------"
# Query current resolution again to determine the settings valid or not
echo "Current resolution after settings:"
xrandr
echo "-------------------------------------"
Popular Ranking
ChangePopular Events
More