Hello!  To arch people using suckless st with ibus and vim like myself: I found 
that upgrading to ibus 1.5.28 causes _something_ to break when using st, which 
can be solved by downgrading to e.g. 1.4.26 [1].  I find it hard to 
debug/provide insight on what is different now ...  ibus worked in firefox but 
not in st, similar to what Vofan described back in 2021 [2].  

I thought this might be caused by (1) upgrading from st-0.8.5 to st-0.9.0, (2) 
st-font2-20190416-ba72400.diff failing on st-0.9.0 ... 

A separate problem showing up at the same time: chinese characters does not 
display, for which the ttf-arphic-ukai package has been sufficent before.  
Solution: install noto-fonts-cjk ...  I'm not satisfied with this solution, and 
I'm not sure this is why it worked, because my *font2 looks like, i.e. I define 
the ttf-arphic-ukai font from ukai.ttc ... 

Also, I added the -R flag in the .xinitrc exports [5], and somehow after 
reading some other thread than [2] decided to export the same to zsh in 
.zshrc.local [4] ... 

Also github does not work in suckless surf anymore ...  and surf-2.0 works 
better than the new surf-2.1, which makes me feel dumb.  Why can't I get the 
patches working right ...

This might seem like mulitiple issues occurring at the same time, or a mix of 
separate issues ...  

I'm happy the old downgrading mentality still works somehow on these many 
random upgrade problems since I've used arch since way over ten years. 

Best,
Rasmus 👍🏻


[1] doas pacman -U /var/cache/pacman/pkg/ibus-m17n-1.4.18-1-x86_64.pkg.tar.zst 
/var/cache/pacman/pkg/ibus-sunpinyin-3.0.0rc1+32+gf39c195-2-x86_64.pkg.tar.zst 
/var/cache/pacman/pkg/ibus-1.5.26-2-x86_64.pkg.tar.zst 
/var/cache/pacman/pkg/libibus-1.5.26-2-x86_64.pkg.tar.zst

[2] https://bbs.archlinux.org/viewtopic.php?id=263381

[3] static char *font2[] = {
        "Liberation Mono:style=Bold:pixelsize=18:antialias=true:autohint=true",
    "AR PL UKai CN:style=Book:pixelsize=18:antialias=true:autohint=true",
        "JoyPixels:style=Regular:pixelsize=18:antialias=true:autohint=true",
        "NotoEmoji Nerd Font 
Mono:style=Book:pixelsize=18:antialias=true:autohint=true"
};

[5] ibus-daemon -rxR &
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export XIM_PROGRAM="/usr/bin/ibus-daemon -rxR"

[4] export GTK_IM_MODULE=ibus QT_IM_MODULE=ibus XMODIFIERS=@im=ibus 
XIM_PROGRAM="/usr/bin/ibus-daemon -rxR"

Reply via email to