xterm配置文档

记录一下xterm配置,文件:~/.Xdefaults

 

!look and feel
xterm.termName: xterm-256color
xterm.geometry: 80x36
xterm*scrollBar: false
xterm*rightScrollBar: true
xterm*loginshell: true
xterm*cursorBlink: true
xterm*background:  black
xterm*foreground:  gray
xterm.borderLess: true
xterm.cursorBlink: true
xterm*colorUL: yellow
xterm*colorBD: white

!fix alt key input
xterm*eightBitInput: false
xterm*altSendsEscape: true

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

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


!font and locale
xterm*locale: true
xterm.utf8:     true
xterm*utf8Title: true
xterm*fontMenu*fontdefault*Label: Default
!xterm*faceName: Monaco:antialias=True:pixelsize=15
!xterm*faceName: monofur:antialias=True:pixelsize=20
!xter*boldFont: DejaVu Sans Mono:style=Bold:pixelsize=15
!xterm*faceNameDoublesize: wenquanyi bitmap song:pixelsize=16:antialias=True
XTerm.vt100.faceName: DejaVu Sans Mono:antialias=True:pixelsize=15

XTerm.vt100.faceNameDoublesize:WenQuanYi Zen Hei Mono:antialias=True:pixelsize=15
xterm*xftAntialias: true
xterm*cjkWidth:false            !<-----谢谢xeoc指正 

!-- Tango color scheme
*xterm*color0: #2e3436
*xterm*color1: #cc0000
*xterm*color2: #4e9a06
*xterm*color3: #c4a000
*xterm*color4: #3465a4
*xterm*color5: #75507b
*xterm*color6: #0b939b
*xterm*color7: #d3d7cf
*xterm*color8: #555753
*xterm*color9: #ef2929
*xterm*color10: #8ae234
*xterm*color11: #fce94f
*xterm*color12: #729fcf
*xterm*color13: #ad7fa8
*xterm*color14: #00f5e9
*xterm*color15: #eeeeec

最后运行xrdb ~/.Xdefaults就行了

上网找到后自己稍微改了下,感谢作者:http://forum.ubuntu.org.cn/viewtopic.php?t=143221

MobAXTerm 是一款功能强大的远程桌面工具,它支持 X11 连接和 SSH 登录,包括与 XFTP(FTP 客户端)集成,用于文件传输。以下是配置 MobAXTerm 以连接到 XFTP 服务器并上传文件的基本步骤: 1. **安装和启动 MobAXTerm**: - 下载并安装 MobAXTerm。确保选择适合您操作系统的版本(Windows, Linux, 或 macOS)。 - 启动 MobAXTerm,并在主界面中创建一个新的会话。 2. **设置 SSH 连接**: - 在会话配置中,选择 "SSH" 或 "X11" 类型,输入您的服务器地址(IP或域名),用户名,和密码/密钥。 - 如果使用密钥对,请选择 "Public key authentication" 并提供相应的公钥路径。 3. **配置 XFTP**: - 在 "Session" 菜单中,找到并启用 "X11 Forwarding" 选项。这将允许您的会话转发 X11 命令到远程服务器。 - 在 "X11 Applications" 部分,添加 XFTP 的完整路径,如 `/path/to/xftp`,这里假设 XFTP 已经安装在默认位置。 4. **连接并打开 XFTP**: - 点击 "Connect" 连接到服务器,然后在弹出的窗口中选择 "X11 Applications",你应该能看到 XFTP 启动。 5. **上传文件**: - 在 XFTP 中,导航到你想要上传文件的目标目录,点击 "File" -> "New Remote Dir" 创建目标目录(如果不存在)。 - 点击 "File" -> "Open Local File",选择本地文件,然后点击 "Upload" 或 "Send" 按钮进行上传。 6. **确认连接和文件传输**: - 确认 XFTP是否成功登录并显示在远程服务器上,然后检查文件是否已成功上传。
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值