rigoletto@
Developer
Hello,
I am experiencing a few issues with x11/rxvt-unicode/ and I am not find the way to solve them.
.tcshrc
.Xresources
¹due to the terminus font being currently called
EDIT: I also suspect the urxvt slowness is indeed caused by compton, because I have some sporadic mouse lag what seem to not happens when not using compton. But this specific issue will have its own topic later.
11.0-RELEASE-p1
Thanks!
I am experiencing a few issues with x11/rxvt-unicode/ and I am not find the way to solve them.
- [SOLVED] the first one is some slowness, I not know what is causing it but trying to fix I found the second one.
- [SOLVED] I have x11-fonts/terminus-font installed and I am using it on urxvt, how ever I can't find a way to set it up without using
xft:
. I tryied-xos4-terminus-*-*-*-12-*
,-terminus-*-*-*-12-*
, and some variations and all didn't work¹. - [SEPARATED THREAD] from time to time I have the PS1/pointer messed up as pointed in this image, however it is the less messed it usually goes. EDIT: this particular issue seem to happen only when using
tcsh
.
.tcshrc
Code:
#
# .tcshrc - tcsh resource script, read at beginning of execution by each shell
#
setenv LANG en_US.UTF-8
setenv LC_MONETARY pt_BR.UTF-8
setenv LC_COLLATE C
setenv BLOCKSIZE M
setenv CLICOLOR 1
setenv PAGER more
setenv TERMINAL urxvtc
setenv QT_QPA_PLATFORMTHEME qt5ct
setenv XDG_MENU_PREFIX lxde-
if ( -X vim ) then
setenv EDITOR vim
alias vi vim
else if (-X vi) then
setenv EDITOR vi
endif
if ($?prompt) then
set autoexpand
set autolist = ambiguous
set autorehash
set color
set correct = cmd
set filec
set history = 2048
set histfile = ~/.tcsh_history
set mail = (/var/mail/$USER)
set savehist = (2048 merge)
set grey = "%{\033[1;30m%}"
set red = "%{\033[1;31m%}"
set green = "%{\033[1;32m%}"
set yellow = "%{\033[1;33m%}"
set blue = "%{\033[1;34m%}"
set magenta = "%{\033[1;35m%}"
set cyan = "%{\033[1;36m%}"
set white = "%{\033[1;37m%}"
set end = "%{\033[0m%}"
if ( $USER == root ) then
set prompt = "\n${blue}%~ ${red}%N@%m: \n❯❯❯${end} "
else
set prompt = "\n${red}%~ ${blue}%m: \n❯❯❯${end} "
endif
unset grey red green yellow blue magenta cyan white end
if ( $?tcsh ) then
bindkey "^[Od" backward-word # rxvt
bindkey "^[Oc" forward-word # rxvt
bindkey "\e[2~" overwrite-mode
bindkey "\e[3~" delete-char
bindkey "\e[1;5C" forward-word
bindkey "\e[1;5D" backward-word
bindkey "\e[5~" history-search-backward
bindkey "\e[6~" history-search-forward
bindkey "^W" backward-delete-word
endif
endif
alias h history 25
alias j jobs -l
alias la ls -aF
alias lf ls -FA
alias ll ls -lAF
.Xresources
Code:
!!! Font Tweaks !!!
Xft.rgba: none
Xft.hintstyle: full
Xft.lcdfilter: lcddefault
Xft.antialias: 1
Xft.hinting: 1
Xft.autohint: 1
!!! Visual Tweaks !!!
Xcursor.theme: Capitaine Cursors
!!! URXVT Tweaks !!!
URxvt.font: xft:Terminus:size=11
URxvt.boldFont: xft:Terminus:bold:size=11
URxvt.termName: rxvt-unicode-256color
URxvt.depth: 32
URxvt.background: [75]#000000
URxvt.cursorBlink: 1
URxvt.scrollBar: false
URxvt.scrollBar_right: false
URxvt.scrollBar_floating: false
!URxvt*scrollstyle: rxvt
URxvt.saveLines: 8192
! do not scroll with output
URxvt.scrollTtyOutput: false
! scroll in relation to buffer (with mouse scroll or Shift+Page Up)
URxvt.scrollWithBuffer: true
! scroll back to the bottom on keypress
URxvt.scrollTtyKeypress: true
URxvt.secondaryScreen: 1
URxvt.secondaryScroll: 0
URxvt.perl-ext-common: default,clipboard,matcher,
URxvt.keysym.M-c: perl:clipboard:copy
URxvt.keysym.M-v: perl:clipboard:paste
URxvt.keysym.M-C-v: perl:clipboard:paste_escaped
URxvt.keysym.Control-Up: \033[1;5A
URxvt.keysym.Control-Down: \033[1;5B
URxvt.keysym.Control-Left: \033[1;5D
URxvt.keysym.Control-Right: \033[1;5C
URxvt.url-launcher: /usr/local/bin/xdg-open
URxvt.matcher.button: 1
!!! Colour Tweaks !!!
*background: #0F0F0F
*foreground: #C8C8C8
¹due to the terminus font being currently called
xos4 Terminus
and the alias pointing to an unrelated font (it is fixed upstream already), I've created an alias:
Code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Fix the name of Terminus font -->
<alias>
<family>Terminus</family>
<prefer><family>xos4 Terminus</family></prefer>
<default><family>fixed</family></default>
</alias>
</fontconfig>
EDIT: I also suspect the urxvt slowness is indeed caused by compton, because I have some sporadic mouse lag what seem to not happens when not using compton. But this specific issue will have its own topic later.
11.0-RELEASE-p1
Thanks!
Last edited: