AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / unix / 问题

问题[rxvt](unix)

Martin Hope
vgl94
Asked: 2020-02-27 13:27:23 +0800 CST

URXVT 中缺少航空公司

  • 1

我在 urxvt 中配置 ViM 时遇到问题:下部和上部(缓冲)条是透明的。

urxvt

我尝试过的事情:

  • 在tty2中打开 vim并确认它看起来和 urxvt 中的一样
  • 它在terminator和gnome-terminal中看起来非常正确
  • 在 urxvt 中使用 tmux:它与其他终端一样工作
  • 修改colorsheme
  • 修改backgroundvim 的颜色
  • 修改 Xdefaults
  • 修改航空公司主题
  • 修改g:airline_powerline_fonts
  • $TERM在 urxvt 中设置不同
  • t_Co在 vimrc 中设置不同
  • gvim看起来和其他终端一样

其他的我都不太在意,除了这个。无法看到上下条加上深蓝色字体(很难看)是很烦人的。对于字形,我可能应该在我的 Xdefaults 中添加正确的字体。

附加调试信息:

  • echo $TERM给rxvt-unicode
  • CentOS 7
  • ViM 8.2 版(包括补丁 1-125)
  • 我的 Xdefaults
  • 我的 vimrc

注意:我知道这是使用 urxvt 时反复出现的问题,但我尝试了我能找到的每一个解决方案。

编辑:这似乎是我的 URXT 颜色支持/配置中的一个问题。我运行了 perl 脚本(包含在这篇文章中)并在urxvt和gnome-terminal中得到了这个。

vim rxvt
  • 1 个回答
  • 296 Views
Martin Hope
fnix
Asked: 2020-02-24 12:42:34 +0800 CST

在 URxvt 中设置光标闪烁率

  • 2

我想知道是否可以更改光标在 URxvt 中闪烁的速度。我发现的唯一与闪烁相关的配置选项URxvt.cursorBlink是一个布尔值。

如果无法更改 URxvt 中的速率,我想知道哪些替代轻量级终端仿真器支持这种选项。

terminal rxvt
  • 1 个回答
  • 720 Views
Martin Hope
Ritajit Kundu
Asked: 2019-05-06 18:33:55 +0800 CST

修复 rxvt 应用程序中的标题

  • 2

我需要在 rxvt 中为名为 cmus 的终端应用程序使用标题 (-title/-T)。但是,当我跑步时

urxvt -e cmus -T "cmus"

它打开和关闭。cmus 是一个音乐播放器,它会根据曲目动态更改标题,所以我发现很难绑定一些键来推动它。有没有其他方法可以附加它的标题?

rxvt
  • 1 个回答
  • 203 Views
Martin Hope
msam
Asked: 2018-06-16 05:28:40 +0800 CST

cygwin 上的 bspwm - 重绘缓慢问题

  • 0

我已经设法在 cygwin 2.10.0(0.325/5/3) (Windows 7) 下编译 bspwm 平铺窗口管理器,与 Openbox、LXDE 或 fwvm 相比,性能相当糟糕。你能给我一些解决这个问题的想法吗?

有时我需要在 windows 下测试一些 linux bash 脚本和命令,我需要多个终端窗口。将它装箱在 bspwm 的一个窗口中会非常方便,并且允许我根据需要设置我的终端工作区。

症状:

  • 通过 Shift + PgUp 或 PgDown 在终端(urxvt)中滚动时重绘速度较慢
  • Terminator 快一点,但打字很慢。
  • 节点切换、在桌面之间跳转等命令的执行延迟约为 300 毫秒(只是一个猜测)。这是相当小的,但它让工作流程感觉不愉快。

有些应用程序即使在 Openbox 或 Fvwm 下也需要时间才能启动,但 gui 响应速度很快,即使在运行大型 vim 文件等时,urxvt 也能快速启动。

首先这是我的 XWin 启动日志:

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.19.6.0
OS: CYGWIN_NT-6.1 CZCHOWN5022406 2.10.0(0.325/5/3) 2018-02-02 15:16 x86_64
OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (Win64)
Package: version 1.19.6-2 built 2018-03-12

XWin was started with the following command line:

/usr/bin/X :0 -auth /home/marek/.serverauth.9768 

ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 1920 h 1080
winInitializeScreenDefaults - native DPI x 96 y 96
[ 19542.838] (II) xorg.conf is not supported
[ 19542.838] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
[ 19542.838] LoadPreferences: /home/marek/.XWinrc not found
[ 19542.838] LoadPreferences: Loading /etc/X11/system.XWinrc
[ 19542.838] LoadPreferences: Done parsing the configuration file...
[ 19542.838] winDetectSupportedEngines - RemoteSession: no
[ 19543.087] winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
[ 19543.087] winDetectSupportedEngines - Returning, supported engines 00000005
[ 19543.087] winSetEngine - Using Shadow DirectDraw NonLocking
[ 19543.087] winScreenInit - Using Windows display depth of 32 bits per pixel
[ 19543.134] winWindowProc - WM_SIZE - new client area w: 1904 h: 1002
[ 19543.150] winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
[ 19543.150] MIT-SHM extension disabled due to lack of kernel support
[ 19543.150] XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
[ 19543.150] (EE) AIGLX: No native OpenGL in modes with a root window
[ 19543.430] (II) IGLX: enabled GLX_MESA_copy_sub_buffer
[ 19543.446] (II) IGLX: Loaded and initialized swrast
[ 19543.446] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 19544.054] winPointerWarpCursor - Discarding first warp: 952 501
[ 19544.054] (--) 5 mouse buttons found
[ 19544.054] (--) Setting autorepeat to delay=500, rate=31
[ 19544.054] (--) Windows keyboard layout: "00000409" (00000409) "US", type 4
[ 19544.054] (--) Found matching XKB configuration "English (USA)"
[ 19544.054] (--) Model = "pc105" Layout = "us" Variant = "none" Options = "none"
[ 19544.054] Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none"
[ 19544.725] winProcEstablishConnection - winInitClipboard returned.
[ 19544.725] winClipboardThreadProc - DISPLAY=:0.0
[ 19544.725] OS maintains clipboard viewer chain: yes
[ 19544.741] winClipboardProc - XOpenDisplay () returned and successfully opened the display.
cygwin rxvt
  • 1 个回答
  • 257 Views
Martin Hope
Ébe Isaac
Asked: 2018-05-20 01:09:49 +0800 CST

如何在 urxvt 中禁用 Ctrl+Shift 绑定(ISO 14755)?

  • 16

每当按下Ctrl+Shift组合键时,文本ISO 14755 mode文本就会在 urxvt 中的终端窗口的一角弹出。有没有办法在不必重建 urxvt 的情况下删除它?

我在 Manjaro Linux (i3wm) 中使用了 urxvt 的预构建版本。我想让复制和粘贴分别绑定到Ctrl++和Shift++ 。我遵循了这个解决方案并工作了。但这就是这个问题开始发生的时候。CCtrlShiftV

根据this source,可以通过将这两行添加到~/.Xresources文件中来解决切换问题。

URxvt.iso14755: true
URxvt.iso14755_52: false

ISO 14755 mode但是,每次我执行复制或粘贴时,小对话框仍然会弹出。另一种解决方案是在使用./configure --disable-iso14755.

keyboard-shortcuts rxvt
  • 1 个回答
  • 7204 Views
Martin Hope
Trevor Sears
Asked: 2017-12-09 06:54:53 +0800 CST

xrdb 冒号丢失错误

  • 2

我使用我的~/.Xresources文件进行配置URxvt,在向文件添加注释后,似乎导致xrdb停止接受该文件。

我现在明白了:

xrdb: colon missing on line 3, ignoring line
xrdb: colon missing on line 5, ignoring line
xrdb: colon missing on line 7, ignoring line
xrdb: colon missing on line 9, ignoring line
xrdb: colon missing on line 11, ignoring line
xrdb: colon missing on line 13, ignoring line
xrdb: colon missing on line 14, ignoring line
xrdb: colon missing on line 16, ignoring line
xrdb: colon missing on line 18, ignoring line
xrdb: colon missing on line 20, ignoring line
xrdb: colon missing on line 22, ignoring line
xrdb: colon missing on line 24, ignoring line
xrdb: colon missing on line 26, ignoring line

奇怪的是,这些并非都是注释行。其中一些是,其中一些是空白的,其中一些是实际的配置行。它似乎切断了某个点也很奇怪,该文件是 42 行。

我的~/.Xresources文件是

! === URvxt Configuration Section ===:

    ! Turn off the scrollbar.
    URxvt*scrollBar:            true

    ! Set an external border of 4 pixels.
    URxvt*externalBorder:   4

    ! Make the pointer blink.
    URxvt*pointerBlink:     true

    ! Save as many lines as zsh.
    URxvt*saveLines:            100000

    ! Set font to Terminus
    URxvt*font:             xft:Terminus:size=10

    ! === URxvt Colorscheme Section ===

        ! Set the foreground (text) to pure white.
        URxvt.foreground:       #FFFFFF

        ! Set the background to a grey-black.
        URxvt.background:       #151515

        ! Color 0 - Primary Background
        URxvt.color0:           #151515

        ! Color 1 - Primary Foreground
        URxvt.color1:           #FFFFFF

        ! Color 2 - Secondary Background
        URxvt.color2:           #1F1F1F

        ! Color 3 - Secondary Foreground
        URvxt.color3:           #787878

    ! === END URxvt Colorscheme Section

! === END URvxt Configuration Section ===

有谁知道为什么我会收到这些错误?

x11 rxvt
  • 1 个回答
  • 1728 Views
Martin Hope
mischa.mole
Asked: 2017-12-05 06:54:30 +0800 CST

如何在不使用“-cd”启动选项的情况下在某个目录中启动 rxvt 实例(可能“引号”错误)?

  • 2

我正在玩 udiskie 自动挂载脚本。我想要的是插入外部驱动器后,在挂载文件夹位置打开一个新的 rxvt 终端。

一切正常,唯一的问题是:如果我启动 rxvt 终端并-cd选择切换到目录,它会以某种方式阻止我卸载驱动器,即使在我 cd 到另一个目录之后也是如此。如果我在没有和 cd 的情况下手动启动终端-cd到挂载目录,我可以在切换到另一个目录后立即卸载;这就是我想要的。所以我的想法是从 rxvt 开始,-hold并-e选择通过它来执行cd。

但是,我无法让它发挥作用;rxvt 总是告诉我“不能执行孩子”之类的。在我的脚本中,我尝试了所有类似rxvt-unicode -hold -e "/bin/bash -c cd $@"的方法(脚本从 udiskie 获取挂载路径作为参数,这有效)在我能想到的所有组合中使用引号。甚至rxvt-unicode -hold -e "/bin/bash -c cd /etc"失败了,所以我认为这里出了点问题。

bash rxvt
  • 1 个回答
  • 2586 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    模块 i915 可能缺少固件 /lib/firmware/i915/*

    • 3 个回答
  • Marko Smith

    无法获取 jessie backports 存储库

    • 4 个回答
  • Marko Smith

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    user12345 无法获取 jessie backports 存储库 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl 为什么大多数 systemd 示例都包含 WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve