好!欢迎访问迷津渡口 现在时间是: 天气 °C ~ °C

迷津渡口

越感到迷惑 越接近真理

xterm完整配置--修正中文、复制粘贴和颜色显示美化

sublime的terminal插件需要用到xterm,于是查找资料完善了xterm的显示。

修改~/.Xdefaults,没有的自行创建:

! Xterm Configration Version 1.0
! A mixed version for XTerm setting from Internet
! @author 小指
! @email qingzz@qingzz.cn
! ~/.Xdefaults


! Information
XTerm*termName: Xterm-256Color


! Attribute
XTerm*loginShell: True
XTerm.borderLess: True
XTerm.cursorBlink: False
XTerm*visualBell: False
XTerm*marginBell: False
XTerm*alwaysHighlight: True
XTerm*SaveLines: 2048
XTerm.geometry: 80x40
XTerm*colorUL: #FFFF00
XTerm*colorBD: #FFFFFF
XTerm*preeditType: Root


! Fonts & Locale
XTerm.utf8: True
XTerm*locale: True
XTerm.cjkWidth: True
XTerm*utf8Title: True
XTerm*xftAntialias: True
! Chinese Input
XTerm*inputMethod: fcitx
XTerm*fontMenu*fontdefault*Label: Default
! English Font
XTerm*faceName: Ubuntu Mono:antialias=True:pixelsize=16
XTerm*boldFont: Ubuntu Mono:antialias=True:style=Bold:pixelsize=16
! Chinese Font
XTerm*faceNameDoublesize: WenQuanYi Zen Hei Mono:pixelsize=15:antialias=True
XTerm*XimFont: WenQuanYi Zen Hei Mono


! Themes
XTerm*scrollBar: False
XTerm*jumpScroll: True
XTerm*scrollKey: False
XTerm*rightScrollBar: False
XTerm*scrollTtyOutput: False
XTerm*faceSize: 12
XTerm*faceSize1: 12
XTerm*faceSize2: 12
XTerm*faceSize3: 12
XTerm*faceSize4: 12
XTerm*faceSize5: 12
XTerm*faceSize6: 12
XTerm*background: #363636
XTerm*foreground: #FFFFFF


! print color and bold/underline attributes
XTerm*printAttributes: 2
XTerm*printerCommand: cat > ~/xtermdump


! Mouse selecting to copy, ctrl-v to paste
! Ctrl p to print screen content to file
XTerm*VT100.Translations: #override \
Ctrl <KeyPress> V: insert-selection(CLIPBOARD,PRIMARY,CUT_BUFFER0) \n\
<BtnUp>: select-end(CLIPBOARD,PRIMARY,CUT_BUFFER0) \n\
Ctrl <KeyPress> P: print() \n

保存后,使用命令:

xrdb -load ~/.Xdefaults

重新打开XTerm,可以发现完美使用XTerm了。


下面简单解释中文修复和复制粘贴的问题。

首先中文修复,重点在这里:

! Chinese Input
XTerm*inputMethod: fcitx
XTerm*fontMenu*fontdefault*Label: Default
! English Font
XTerm*faceName: Ubuntu Mono:antialias=True:pixelsize=16
XTerm*boldFont: Ubuntu Mono:antialias=True:style=Bold:pixelsize=16
! Chinese Font
XTerm*faceNameDoublesize: WenQuanYi Zen Hei Mono:pixelsize=15:antialias=True
XTerm*XimFont: WenQuanYi Zen Hei Mono

中文输入是最上面两行,下面两个是显示英文的字体,最下面两个是显示中文的字体。

在Linux中,你可以使用`fc-list`查看系统安装的字体,自行查找喜欢的字体替换吧。


另外,复制使用鼠标选择,CTRL+V粘贴,可跨应用使用。

点赞0
   支持一下
挤眼 亲亲 咆哮 开心 想想 可怜 糗大了 委屈 哈哈 小声点 右哼哼 左哼哼 疑问 坏笑 赚钱啦 悲伤 耍酷 勾引 厉害 握手 耶 嘻嘻 害羞 鼓掌 馋嘴 抓狂 抱抱 围观 威武 给力
 点赞
 签到
 表情
 图片
 代码
提交评论

清空信息
关闭评论
profancyshop
 profancyshop 约 21 小时前回复
#171
<a href="http://www.mandydugan.com/nike-kd-8-viola-bianca-scarpej">nike kd 8 viola bianca</a> <a href="http://www.dxnkofe.com/womens-nike-air-max-90-all-blue-shoesh">womens nike air max 90 all blue</a> <a href="http://www.yurasmirnov.com/ua-clutchfit-prodigy-rojo-p%C3%BArpura-zapatosk">ua clutchfit prodigy rojo p煤rpura</a> <a href="http://www.blovese.com/nike-zoom-winflo-3-oro-amarillo-zapatosp">nike zoom winflo 3 oro amarillo</a> <a href="http://www.ztsurfboards.com/north-face-summit-series-800-fill-down-jacket-northfaceh">north face summit series 800 fill down jacket</a> <a href="http://www.visheshcap.com/adidas-neo-skate-gelb-schwarz-schuhej">adidas neo skate gelb schwarz</a>
profancyshop http://www.profancyshop.com/
yurasmirnov
 yurasmirnov 约 21 小时前回复
#170
<a href="http://www.jupickuplines.com/nike-lebron-13-femmes-blanc-noir-chaussuresl">nike lebron 13 femmes blanc noir</a> <a href="http://www.saleuggboot.com/adidas-springblade-pro-vert-jaune-chaussuresq">adidas springblade pro vert jaune</a> <a href="http://www.fragmanizletv.com/dam%C3%A4nner-air-jordan-retro-10-lila-gr%C3%BCn-schuhei">dam盲nner air jordan retro 10 lila gr眉n</a> <a href="http://www.swisshomeas.com/air-yeezy-ii-2-sp-max-90-dam%C3%A4nner-gold-gelb-schuheh">air yeezy ii 2 sp max 90 dam盲nner gold gelb</a> <a href="http://www.marinersdiary.com/kvinners-nike-flyknit-lunar-2-svart-lilla-obuvj">kvinners nike flyknit lunar 2 svart lilla</a> <a href="http://www.bourseasie.com/femminile-nike-air-huarache-verde-viola-scarpep">femminile nike air huarache verde viola</a>
yurasmirnov http://www.yurasmirnov.com/
syderagencys
 syderagencys 约 22 小时前回复
#169
<a href="http://www.katieirene.com/yeezy-boost-950-marrone-nero-obuvf">yeezy boost 950 marrone nero</a> <a href="http://www.klimafeuer.com/lebron-12-chaussures-colors-schuhee">lebron 12 chaussures colors</a> <a href="http://www.kennethmarrin.com/nike-free-3.0-kvinners-gull-oransje-obuvd">nike free 3.0 kvinners gull oransje</a> <a href="http://www.akashkataria.com/nike-air-force-1-jersey-gull-sport-r%C3%B8d-butye">nike air force 1 jersey gull sport r酶d</a> <a href="http://www.fariselmasu.com/jordan-3-sort-lilla-r%C3%B8d-obuvd">jordan 3 sort lilla r酶d</a> <a href="http://www.cleanopoly.com/nike-structure-19-nero-diamond-kurpesf">nike structure 19 nero diamond</a>
syderagencys http://www.syderagencys.com/
goodnnasty
 goodnnasty 2019-04-22 16:36回复
#168
<a href="http://www.imfunniest.com/nike-high-tops-mercurialx-proximo-street-turf-marrone-bianca-scarpej">nike high tops mercurialx proximo street turf marrone bianca</a> <a href="http://www.emissariesbc.com/nike-free-trainer-5.0-herren-midnight-marine-wei%C3%9F-schuhej">nike free trainer 5.0 herren midnight marine wei脽</a> <a href="http://www.partnersspa.com/bb8-hat-disney-hath">bb8 hat disney</a> <a href="http://www.antirealtor.com/nike-air-max-97-rose-argent-chaussuresh">nike air max 97 rose argent</a> <a href="http://www.jkjuiceplus.com/dam%C3%A4nner-nike-kyrie-4-grau-schuheh">dam盲nner nike kyrie 4 grau</a> <a href="http://www.bkindvending.com/jordan-eclipse-red-and-grey-shoesk">jordan eclipse red and grey</a>
goodnnasty http://www.goodnnasty.com/
icecardonline
 icecardonline 2019-04-22 11:50回复
#167
<a href="http://www.clashopedia.com/adidas-ultra-boost-grau-3.0-schuhej">adidas ultra boost grau 3.0</a> <a href="http://www.adamomacri.com/nike-air-max-1-brave-blau-schuhei">nike air max 1 brave blau</a> <a href="http://www.waltonranchtx.com/kvinners-nike-air-presto-hvit-gr%C3%B8nn-obuvj">kvinners nike air presto hvit gr酶nn</a> <a href="http://www.dominickcars.com/nike-huarache-triple-nero-scarpel">nike huarache triple nero</a> <a href="http://www.libertactica.com/nike-air-max-87-rouge-chaussuresh">nike air max 87 rouge</a> <a href="http://www.flixzine.com/nike-shox-deliver-boys-preschool-tutti-nero-nero-scarpeh">nike shox deliver boys preschool tutti nero nero</a>
[url=http://www.icecardonline.com/]icecardonline[/url]
htgsingapore
 htgsingapore 2019-04-21 15:49回复
#166
<a href="http://www.candacebenson.com/nike-flyknit-trainer-rosa-zebra-butye">nike flyknit trainer rosa zebra</a> <a href="http://www.kodakid.com/nike-kd-9-gr%C3%BCn-himmelblau-kurpesc">nike kd 9 gr眉n himmelblau</a> <a href="http://www.brantfordpark.com/reebok-zig-fuel-bleu-ciel-butya">reebok zig fuel bleu ciel</a> <a href="http://www.landsmanbook.com/nike-cortez-hvid-on-feet-schuheg">nike cortez hvid on feet</a> <a href="http://www.moviestellar.com/asics-gel-noosa-tri-7-marr%C3%B3n-azul-butyf">asics gel noosa tri 7 marr贸n azul</a> <a href="http://www.djprofi.com/nike-free-run-2-lyser%C3%B8d-and-sort-knight-butya">nike free run 2 lyser酶d and sort knight</a>
htgsingapore http://www.htgsingapore.com/
sophiecrooks
 sophiecrooks 2019-04-21 15:20回复
#165
<a href="http://www.imfunniest.com/north-face-gore-tex-running-jacket-northfaceh">north face gore tex running jacket</a> <a href="http://www.emissariesbc.com/jordan-eclipse-schwarz-anthracite-4-schuhek">jordan eclipse schwarz anthracite 4</a> <a href="http://www.partnersspa.com/nike-air-presto-gr%C3%B8n-skoi">nike air presto gr酶n</a> <a href="http://www.antirealtor.com/adidas-pure-boost-2-rouge-chaussuresh">adidas pure boost 2 rouge</a> <a href="http://www.jkjuiceplus.com/san-francisco-giants-trucker-cap-hatl">san francisco giants trucker cap</a> <a href="http://www.bkindvending.com/hommes-air-max-2016-royal-bleu-vert-noir-chaussuresh">hommes air max 2016 royal bleu vert noir</a>
sophiecrooks http://www.sophiecrooks.com/
alpigap
 alpigap 2019-04-21 05:37回复
#164
<a href="http://www.niffadvisory.com/kvinners-nike-flyknit-agility-beige-chaussuresf">kvinners nike flyknit agility beige</a> <a href="http://www.rahsaskatoon.com/nike-air-max-shake-evolve-jaune-orange-butya">nike air max shake evolve jaune orange</a> <a href="http://www.remaxsetitres.com/nike-lebron-12-low-hvid-noise-schuheg">nike lebron 12 low hvid noise</a> <a href="http://www.runninbunions.com/herren-ralph-lauren-london-olympic-beige-gelb-polou">herren ralph lauren london olympic beige gelb</a> <a href="http://www.dinerwaresfv.com/nike-dunk-b%C3%B8rn-sko-sort-gr%C3%A5-chaussuresa">nike dunk b酶rn sko sort gr氓</a> <a href="http://www.fwmuslims.com/nike-air-flight-89-university-blau-zone-schuhee">nike air flight 89 university blau zone</a>
alpigap http://www.alpigap.com/
vuduchoan
 vuduchoan 2019-04-21 02:45回复
#163
<a href="http://www.flushnhunt.com/nike-zoom-pegasus-32-bleu-ciel-jaune-chaussuresj">nike zoom pegasus 32 bleu ciel jaune</a> <a href="http://www.evelpa.com/nike-zoom-pegasus-34-lila-schwarz-schuhej">nike zoom pegasus 34 lila schwarz</a> <a href="http://www.taaliminfos.com/nike-shox-avenue-sort-himmelbl%C3%A5-skok">nike shox avenue sort himmelbl氓</a> <a href="http://www.cacikvideo.com/adidas-neo-high-grigio-blu-scarpeh">adidas neo high grigio blu</a> <a href="http://www.grossavind.com/nike-air-force-1-tutti-nero-vnxk-scarpei">nike air force 1 tutti nero vnxk</a> <a href="http://www.boltsfans.com/mens-chicago-cubs-44-anthony-rizzo-1988-light-blue-majestic-jersey-nflh">mens chicago cubs 44 anthony rizzo 1988 light blue majestic jersey</a>
vuduchoan http://www.vuduchoan.com/
bestoftumblr
 bestoftumblr 2019-04-21 02:03回复
#162
<a href="http://www.thebiarritz.com/mens-navy-blue-north-face-hoodie-northfaceh">mens navy blue north face hoodie</a> <a href="http://www.voydnet.com/adidas-zx-900-rot-rosa-schuhej">adidas zx 900 rot rosa</a> <a href="http://www.foneandlone.com/nike-air-max-lunar-1-bl%C3%A5-gr%C3%B8n-skoh">nike air max lunar 1 bl氓 gr酶n</a> <a href="http://www.roomwhiz.com/nike-air-max-90-hyperfuse-gris-argent-chaussuresh">nike air max 90 hyperfuse gris argent</a> <a href="http://www.riffsurfers.com/indiana-pacers-mitchell--ness-nba-old-cool-script-snapback-cap-hatl">indiana pacers mitchell  ness nba old cool script snapback cap</a> <a href="http://www.davidmgaines.com/nike-air-flight-89-vert-noir-chaussuresh">nike air flight 89 vert noir</a>
bestoftumblr http://www.bestoftumblr.com/
顶部留言底部
 00:00/00:00
我想和你虚度时光 - 花房姑娘(9)
  1. 我想和你虚度时光
  2. 花房姑娘
  3. 恋恋风尘
  4. 我喜爱一切不彻底的事物
  5. 我的心里是满的
  6. Long Way
  7. 给少年的歌
  8. 晴日共剪窗
  9. 天上的月你的脸