export QT_QPA_PLATFORM=linuxfb
export QT_QPA_PLATFORM=linuxfb:offset=900x130:size=768x600
qutebrowser
O usando también: export QT_QPA_PLATFORM=eglfs
Cambiar el keymap:
sudo pacman -S ckbcomp
ckbcomp -layout xx > xx.kmap
O tomá un keymap desde acá: /usr/share/kbd/keymaps/i386/qwertz
kmap2qmap xx.kmap xx.qmap
QWS_KEYBOARD="TTY:keymap=xx.qmap"
Compilá kmap2qmap desde acá:: git clone https://github.com/openwebos/qt/
Y agregá en .bashrc
o en .config/fish/config.fish
:
export QT_QPA_PLATFORM=linuxfb:offset=900x130:size=768x600:keymap=es.qmap
Fuente: https://stackoverflow.com/questions/2669464/qt-embedded-for-linux-keyboard-layout-switching
Cambiar de TTY (Virtual Terminal):
chvt
with fbcon
(Framebuffer Console) LockingYou can lock the framebuffer so that the Qt app doesn’t redraw when you switch between VTs. Here’s how to do this:
Disable the framebuffer updates when switching VTs:
You can use fbcon
to disable the updates for the virtual terminal console. This
can be done by switching to a virtual terminal and executing the following command:
echo "1" > /sys/class/vtconsole/vtcon0/bind
This command will bind the virtual terminal (VT) console to the framebuffer and prevent it from redrawing when switching.