solarisinst.sh
来自「linux下的一款播放器」· Shell 代码 · 共 22 行
SH
22 行
#!/bin/shif [ `uname` = "SunOS" ] ; then echo "Checking display properties..." if [ -z "$DISPLAY" ] ; then DISPLAY=0:0 fi DEPTH=`/usr/X/bin/xdpyinfo -display $DISPLAY | grep "depth of root window" | sed -e 's/[^0-9]//g;'` if [ "$DEPTH" = "24" ] ; then echo "Color depth for $DISPLAY set to 24 bits (good!)" else echo "Color depth for $DISPLAY set to $DEPTH bits." echo "This may cause video to display incorrectly (especially for 8 bits.) Until" echo "this is fixed you may wish to switch to a higher bit depth if you plan on" echo "watching video with Helix Player." fielse echo "This script is only for Solaris!"fiecho ""
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?