⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 modify-xinitrc

📁 具有IDE功能的编辑器
💻
字号:
#!/bin/shF=/usr/lib/X11/xinit/xinitrcOF=/usr/lib/X11/xinit/Xclients# check if the command is already present:if grep coolicon $OF >/dev/null 2>&1 | grep coolicon $F >/dev/null 2>&1 ; then    exit 0fiTF=/tmp/cooledit-installcat $F | sed -e '/^if.*Xclients/,$D' > $TF# estimate the speed of this machine:BOGOMIPS=`cat /proc/cpuinfo | grep bogomips | head -1 | cut -f2 -d: | cut -f1 -d.`if test -z "$BOGOMIPS" ; then    BOGOMIPS=50fiif test "$BOGOMIPS" -gt "500" ; then    BOGOMIPS=500fi# add use of shape extension if this is a fast machine:if test "$BOGOMIPS" -gt "80" ; then    OPTIONS="-s -X $BOGOMIPS"else    OPTIONS="-X $BOGOMIPS"ficat >> $TF <<EOF# start cooliconif coolicon --version >/dev/null 2>&1 ; then    if test -f \$MAIL ; then	MFILE=\$MAIL    elif test -f /var/spool/mail/\$LOGNAME ; then	MFILE=/var/spool/mail/\$LOGNAME    elif test -f /var/mail/\$LOGNAME ; then	MFILE=/var/mail/\$LOGNAME    else	MFILE=""    fi    if test -f \$MFILE ; then	coolicon $OPTIONS -M \$MFILE 2>&1 | coolmessage &    else	coolicon $OPTIONS 2>&1 | coolmessage &    fifiEOFsed -e '/^if.*Xclients/,$!D' $F >> $TFcp $F $F.pre-cooliconcat $TF > $Frm $TFexit 0

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -