好!欢迎访问迷津渡口 现在时间是: 天气 °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
   支持一下
挤眼 亲亲 咆哮 开心 想想 可怜 糗大了 委屈 哈哈 小声点 右哼哼 左哼哼 疑问 坏笑 赚钱啦 悲伤 耍酷 勾引 厉害 握手 耶 嘻嘻 害羞 鼓掌 馋嘴 抓狂 抱抱 围观 威武 给力
 点赞
 签到
 表情
 图片
 代码
提交评论

清空信息
关闭评论
transitionbh
 transitionbh 2019-05-22 06:37回复
#216
<a href="http://www.ciaodearborn.com/los-angeles-clippers-mitchell--ness-nba-sandy-off-white-snapback-cap-hath">los angeles clippers mitchell  ness nba sandy off white snapback cap</a> <a href="http://www.ilrione.com/nike-free-3.0-v5-hyper-rosado-trainersce">nike free 3.0 v5 hyper rosado</a> <a href="http://www.bmthtaxis.com/john-varvatos-schwarz-converse-schuhek">john varvatos schwarz converse</a> <a href="http://www.delmotkrt.com/nike-air-force-1-mid-gull-bl%C3%A5-scarpef">nike air force 1 mid gull bl氓</a> <a href="http://www.emutemusic.com/air-jordan-melo-m10-brun-gr%C3%B8n-kurpesb">air jordan melo m10 brun gr酶n</a> <a href="http://www.kinofrost.com/amarillo-converse-chuck-taylor-zapatos-zapatosk">amarillo converse chuck taylor zapatos</a>
transitionbh http://www.transitionbh.com/
prontosignsus
 prontosignsus 2019-05-21 18:39回复
#215
<a href="http://www.atrapaniapp.com/femminile-nike-air-force-1-high-grigio-scarpei">femminile nike air force 1 high grigio</a> <a href="http://www.maplebeyond.com/nike-zoom-structure-19-schwarz-rot-schuheh">nike zoom structure 19 schwarz rot</a> <a href="http://www.collisionsix.com/adidas-neo-leather-red-silver-shoesl">adidas neo leather red silver</a> <a href="http://www.todololitas.com/san-jose-sharks-replica-jersey-nfli">san jose sharks replica jersey</a> <a href="http://www.jcwjrlaw.com/nike-air-max-90-premium-tape-svart-camo-gr%C3%A5-obuvk">nike air max 90 premium tape svart camo gr氓</a> <a href="http://www.vstsblog.com/mens-coach-wallet-blue-coachh">mens coach wallet blue</a>
prontosignsus http://www.prontosignsus.com/
avsomurie
 avsomurie 2019-05-21 07:33回复
#214
<a href="http://www.whatoiljobs.com/adidas-samba-lila-schuheh">adidas samba lila</a> <a href="http://www.mustberavi.com/nike-free-run-4.0-black-and-white-shoesk">nike free run 4.0 black and white</a> <a href="http://www.dynamixawards.com/air-jordan-retro-12-dark-bl%C3%A5-hvid-skol">air jordan retro 12 dark bl氓 hvid</a> <a href="http://www.nerdalertnews.com/kvinner-air-jordan-retro-13-gr%C3%A5-rosa-obuvk">kvinner air jordan retro 13 gr氓 rosa</a> <a href="http://www.dmvantalya.com/adidas-climacool-rosso-scarpei">adidas climacool rosso</a> <a href="http://www.houshyaree.com/adidas-projoator-verde-and-negro-zapatosh">adidas projoator verde and negro</a>
avsomurie http://www.avsomurie.com/
ayakkabiyeri
 ayakkabiyeri 2019-05-21 07:28回复
#213
<a href="http://www.xgaajgeg.com/noir-adidas-gazelle-trainers-chaussuresh">noir adidas gazelle trainers</a> <a href="http://www.bisnistrading.com/adidas-ace-16.3-blau-schuheh">adidas ace 16.3 blau</a> <a href="http://www.axxisdrilling.com/adidas-forum-mid-all-black-shoesk">adidas forum mid all black</a> <a href="http://www.bunqdesktop.com/adidas-ace-16.1-hvid-and-gr%C3%B8n-skoj">adidas ace 16.1 hvid and gr酶n</a> <a href="http://www.iamsubscribed.com/air-jordan-retro-7-rot-schwarz-wei%C3%9F-schuheh">air jordan retro 7 rot schwarz wei脽</a> <a href="http://www.bcstormwater.com/light-pink-nike-roshe-shoesk">light pink nike roshe</a>
ayakkabiyeri http://www.ayakkabiyeri.com/
gamekeyssale
 gamekeyssale 2019-05-20 03:47回复
#212
<a href="http://www.matrawildlife.com/north-face-3-in-1-jacket-men-northfaceh">north face 3 in 1 jacket men</a> <a href="http://www.hiyawigs.com/adidas-originals-tubular-triple-black-shoesh">adidas originals tubular triple black</a> <a href="http://www.fidgefingers.com/nike-tanjun-femmes-noir-and-blanc-chaussuresl">nike tanjun femmes noir and blanc</a> <a href="http://www.lintvan.com/nike-lunargato-2-atomic-orange-shoesj">nike lunargato 2 atomic orange</a> <a href="http://www.pubgdust.com/miami-marlins-new-era-2018-mlb-turn-back-the-clock-59fifty-cap-hatk">miami marlins new era 2018 mlb turn back the clock 59fifty cap</a> <a href="http://www.ahtantalya.com/nike-lebron-13-bl%C3%A5-lagoon-skoj">nike lebron 13 bl氓 lagoon</a>
gamekeyssale http://www.gamekeyssale.com/
clubephytus
 clubephytus 2019-05-20 02:24回复
#211
<a href="http://www.thebiarritz.com/air-jordan-b-mo-gituttio-bianca-scarpel">air jordan b mo gituttio bianca</a> <a href="http://www.voydnet.com/air-jordan-retro-18-silver-orange-shoesj">air jordan retro 18 silver orange</a> <a href="http://www.foneandlone.com/nike-mercurial-vapor-superfly-ii-lyser%C3%B8d-s%C3%B8lv-skok">nike mercurial vapor superfly ii lyser酶d s酶lv</a> <a href="http://www.roomwhiz.com/kvinners-asics-gel-noosa-tri-8-gul-gr%C3%B8nn-obuvp">kvinners asics gel noosa tri 8 gul gr酶nn</a> <a href="http://www.riffsurfers.com/yeezy-boost-950-red-shoesi">yeezy boost 950 red</a> <a href="http://www.davidmgaines.com/nike-kaishi-sort-on-feet-skoj">nike kaishi sort on feet</a>
[url=http://www.clubephytus.com/]clubephytus[/url]
jobstodayng
 jobstodayng 2019-05-19 23:56回复
#210
<a href="http://www.germanxtube.com/hombres-nike-air-max-87-sb-negro-fluorescent-verde-zapatosk">hombres nike air max 87 sb negro fluorescent verde</a> <a href="http://www.eugenesklyar.com/mens-air-max-2016-all-black-shoesj">mens air max 2016 all black</a> <a href="http://www.bamadu.com/indiana-pacers-new-era-nba-black-satin-9fifty-snapback-cap-hath">indiana pacers new era nba black satin 9fifty snapback cap</a> <a href="http://www.gamekeyssale.com/world-cup-azul-amarillo-blanco-nike-mercurial-superfly-fg-zapatosl">world cup azul amarillo blanco nike mercurial superfly fg</a> <a href="http://www.aktuelresim.com/nike-roshe-blue-flyknit-shoesk">nike roshe blue flyknit</a> <a href="http://www.myshoesonsale.com/nike-air-max-2014-hvit-svart-volt-electric-gr%C3%B8nn-obuvi">nike air max 2014 hvit svart volt electric gr酶nn</a>
jobstodayng http://www.jobstodayng.com/
ispardmore
 ispardmore 2019-05-18 10:38回复
#209
<a href="http://www.findatrans.com/nike-zoom-structure-18-kvinders-sort-gr%C3%B8n-skoj">nike zoom structure 18 kvinders sort gr酶n</a> <a href="http://www.isabellerigal.com/nike-kobe-11-flyknit-hvit-gull-obuvi">nike kobe 11 flyknit hvit gull</a> <a href="http://www.esnafkocaeli.com/nike-shox-turbo-21-gull-rosa-obuvk">nike shox turbo 21 gull rosa</a> <a href="http://www.dkdjabar.com/kvinners-nike-kyrie-1-bl%C3%A5-gr%C3%B8nn-obuvi">kvinners nike kyrie 1 bl氓 gr酶nn</a> <a href="http://www.jamiecirillo.com/air-jordan-retro-28-oro-cielo-azul-zapatosk">air jordan retro 28 oro cielo azul</a> <a href="http://www.xpostshopx.com/coach-coach-1941-cooper-border-rivets-leather-satchel-coachh">coach coach 1941 cooper border rivets leather satchel</a>
ispardmore http://www.ispardmore.com/
lakeshorelax
 lakeshorelax 2019-05-16 10:13回复
#208
<a href="http://www.curveshampton.com/nike-free-run-5.0-frau-carbon-grau-schuhel">nike free run 5.0 frau carbon grau</a> <a href="http://www.jcvindreau.com/nike-air-max-95-l%C3%A6der-gul-guld-skoe">nike air max 95 l忙der gul guld</a> <a href="http://www.weinhefe.com/nike-free-inneva-tech-bianca-footg">nike free inneva tech bianca</a> <a href="http://www.fboagropec.com/adidas-zx-700-rojo-mujeres-sneakerd">adidas zx 700 rojo mujeres</a> <a href="http://www.kikoyboy.com/nike-roshe-run-flyknit-nero-kopen-ragazzo-schuhee">nike roshe run flyknit nero kopen ragazzo</a> <a href="http://www.giraprendi.com/yeezy-350-boost-v2-nero-qb-footf">yeezy 350 boost v2 nero qb</a>
lakeshorelax http://www.lakeshorelax.com/
stepmompics
 stepmompics 2019-05-15 17:40回复
#207
<a href="http://www.sasaetai.com/air-jordan-13-fl%C3%A5den-low-ulta-kurpesb">air jordan 13 fl氓den low ulta</a> <a href="http://www.thebruinsblog.com/nike-hyperrev-2015-negro-oro-zapatosk">nike hyperrev 2015 negro oro</a> <a href="http://www.jmbuildsnyc.com/air-flight-huarache-svart-bl%C3%A5-runningc">air flight huarache svart bl氓</a> <a href="http://www.brevardradio.com/nike-kaishi-gris-and-rojo-zapatosj">nike kaishi gris and rojo</a>
stepmompics http://www.stepmompics.com/
顶部留言底部
 00:00/00:00
我想和你虚度时光 - 花房姑娘(9)
  1. 我想和你虚度时光
  2. 花房姑娘
  3. 恋恋风尘
  4. 我喜爱一切不彻底的事物
  5. 我的心里是满的
  6. Long Way
  7. 给少年的歌
  8. 晴日共剪窗
  9. 天上的月你的脸