You are not logged in.
hi bunsen fans,
I wanted to somehow switch keyoboard layout switcher to show me layout text (code) instead of flags. But as I searched fbxkb doc and source I realized that show images is hardcoded. So it leads to choose other keyboard layout switcher. But other solution is just simple and use lightweight fbxkb - generate images with layout text:
/usr/share/fbxkb/images:
for f in *.png; do l=`echo $f | sed 's/\.png//g' | tr '[:lower:]' '[:upper:]'`; sudo cp $f $f.bckp; sudo convert -size 60x40 canvas:none -pointsize 32 -font DejaVu-Sans-Bold -fill WhiteSmoke -gravity center -draw "text 0,0 '$l'" -antialias $f; done
(convert is part of imagemagick)
(original images are backed up as .bckp)
(of course you can variate it to your needs)
Icon images on panel problem:
I don't know if this is broader problem or not but some icon images on my panel are somehow interleaved, including these layout text images
fbxkb layout text image: https://scrot.moe/image/Tctv
other apps icon images (firefox, terminal): https://scrot.moe/image/TmdY
Is this panel related or Xorg or image data? How can I fix this?
Edit: Hey, after tint2 restart images are fixed.
Last edited by regfaker (2016-09-16 07:02:33)
Offline
after tint2 restart images are fixed.
I think a compositor restart would also fix that.
Do you have an Intel graphics card?
Offline
yes, VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
(Lenovo ThinkPad T440)
Last edited by regfaker (2016-09-16 08:19:51)
Offline
Try switching to the UXA acceleration method:
sudo mkdir -p /etc/X11/xorg.conf.d
sudo tee /etc/X11/xorg.conf.d/20-intel.conf << EOF
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "UXA"
EndSection
EOF
If this doesn't help simply remove the file at /etc/X11/xorg.conf.d/20-intel.conf and reboot.
You could try the newer versions of the kernel, xserver-xorg-video-intel and libgl1-mesa-{dri,glx} from the jessie-backports repositories, they should offer better performance but at the expense of stability and security.
Offline