How to change keyboard layout for buildroot? - keyboard

I'm trying to change the keyboard layout (that is in us) to Spanish when launching the image with qemu.
Should I change something in the output folder, or is there an option when configuring the image I want to create?
Thank you very much.
Im using an x86_64 architecture with busybox and uclib.

Related

window builder exported jar: why does it look different from in eclipse

in eclipse i did set the window size / colors and testing the look in linux ubuntu eclipse.
after i exported it to a runnable jar, the colors are completely wrong: background color yellow became black.
the sizes of the fields are much bigger than defined.
Anybody can tell me why that happens and what needs to be changed?
ok my workaround:
develop and test with eclipse build path settings using GTK in eclipse.ini:
enter image description here
export build path for ubuntu GTK3 (it will look like GTK 2 in eclipse):
enter image description here
If there is a better way, please let me know.

Pen Width font turning to White automatically (Jaspersoft Studio 6.4 Arch Linux Gnome)

Im having some glitching issues while using JasperSoft Studio. (using the latest version from the AUR).Im using GNOME.
Steps to reproduce :
Add Text Field. Select it.
Go to Properties -> Borders -> Click on a border on the square.
The Pen Width (1.0 by default) appears for an instant and then "disappears" (Its still there as I can select it but i think the font color becomes white)
This can be temprorarily resolved by going to preferences and toggling the theme from classic -> GTK or vice versa. The resolution exists only for the current report and does not remain for other opened reports. Really annoying bug.
Ive tried Adwaita and GTK other themes etc...but no use. The bug persists.
I have a version 6.1.1 of Jaspersoft Studio on another machine running the latest UBUNTU GNOME and it works near perfectly.I tried running this version of Jasper on arch using various settings but it stops working as soon as I open a JRXML file. Nothing is clickable and I have to kill the process. I am guessing its a GTK issue.
I dont want to go back to using Ubuntu as I love the Arch experience. Can someone help me to run the AUR version of Arch without this glitch.
And if you think 6.1.1 should run fine on Arch...can someone help me overcome the GTK issue (Ive already tried export SWT_GTK3=0; but it doesnt work)
Thanks.
Try editing the runjss.sh script (probably in /opt/jaspersoftstudio) and add the line
export SWT_GTK3=0
Then try running JSS via that script and see if it helps.
I haven't had the same issue as you but I've been having a lot of Gnome-related problems and I'm using the same combination as your - Arch (Manjaro) and Gnome with JasperSoft Studio 6.4.3. Works perfectly since I added that line.
You can also edit the .desktop file to exec runjss instead of the default exec line.

Font smooth issue, fonts are not looking good in Debian QT [Embedded Qt]

I am using qt-x11-opensource-4.8.2 Debian Jessie on BBB Embedded device.
Steps I have tried to solve the Issue:
Configured the Qt font libraries and Transferred to the Board -> configured the font path properly.
Qt Creator Build & Run Changes has been done to run the Qt application on the Embedded device. Added the Environment variables [QTDIR, QT_QWS_FONTDIR & LD_LIBRARY_PATH] to the Build setup.
Downloaded all the QtGui Dependencies libraries for X11 in Embedded device.
X Rendering Extension; used for anti-aliasing, Run the application as cmd: ./Teledyne -xrender
Q_WS_X11 macro is defined in the code for support embedded Linux project, which will Export all X11 related functions.
Used the Qt Resource Embedded Fonts [Roboto & VeraBd] and Run the application
Used the Qt PreferAntialias and PreferFullHinting option to enable the smooth font.
Installed the basic font packages and configure them
cmd : apt-get install ttf-dejavu ttf-liberation
Using the XLFD -X logical font Description
cmd : xfontsel
Tried to change the font width point size and pixel size
Configure the XTT and Created a xtt font folder and loaded the font path to the Xservers session
cmd: xset +fp /usr/share/fonts/X11/xtt
Checked whether the lightdm may depends of the font configuration
created file : ~/.config/fontconfig/fonts.conf
link:https://lists.freedesktop.org/archives/lightdm/2015-April/000785.html
Create a file called .fonts.conf in home directory -> added content for the antialiasing, which will Enable subpixel-hinting and font-smoothing
Link:https://wiki.debian.org/Fonts
Created a Qt application with the few available fonts e.g.dejavu sans,Fixed[Sony],Bitstream Vera Sans,Courier,dejavu serif,Times
Tested the above fonts Qt application in the Device.
Any suggestions what might be causing this Issue ?
Please can any one help me on this, I am struck :(
Thanks in advance.
Are you compiling Qt with support for fontconfig?
We have been having similar problems related to bad rendering and
sometimes even non readable fonts, and after installing the dev
package of fontconfig and recompile Qt with support for fontconfig
everything works as expected.
At the end we've been getting again same problem of fonts being shown incorrectly ( basically bad rendering ) and was because RenderType uses which is defaulted to "Text.QtRendering" and we need to use "Text.NativeRendering" to have the proper rendering on platform used ( linux ).
http://doc.qt.io/qt-5/qml-qtquick-text.html#renderType-prop ->
Select Text.NativeRendering if you prefer text to look native on the
target platform and do not require advanced features such as
transformation of the text. Using such features in combination with
the NativeRendering render type will lend poor and sometimes pixelated
results.
Hope it helps.

What is this little black box and how do I get rid of it?

I built an application using Qt 5.2 for my TI AM335x EVM and it’s showing a little black box (see image below).
It looks like a highlighted cursor, when I touch any place on the screen it flashes (about once per touch). If it is a cursor.. I don’t want it there (there’s no mouse/keyboard with my project, just touch screen) so how do I get rid of it?
I know it has to be something with how my environment is configured because more than one of my projects is showing the same little black box in the same location.
This is the command I used to configure my environment:
./configure -prefix /usr/Qt5.2 -xplatform linux-am335x-g++ -no-sse -no-sse2 -no-glib -no-cups -no-largefile -no-accessibility -no-openssl -no-gtkstyle -opensource
Image of the black box:
Turns out this is unrelated to Qt after all.
It turns out the framebuffer console (fbcon) was running on my board. There is a cursor_blink setting for the fbcon and it needed to be set to 0 in order to not see the cursor show up.
I thought it was related to Qt version because when I was running the Qt4 application from TI I didn't see this, but it turns out they ran a script first disabling this.
By adding the following:
echo 0 > /sys/class/graphics/fbcon/cursor_blink
Into my init.d script, I was able to get rid of the cursor.

Solaris 10 keyboard problem

Im runing Solaris 10 - but im having problems with the keyboard.
Instead of - i get /, and instead of y i get z, etc. I tried changing every option in the menu "Keyboard Behaviour". I also tried changing kmdconfig from xorg to xsun, but then the graphics goes all wild and ugly - although the keyboard works fine then. Also cant change resolution in xsun mode.
By the way, im runing Solaris from Vmware, but i doubt this has anything to do with this.
Leave the graphic environment to the console:
dtconfig -d
dtconfig -reset
Select the correct keyboard layout you use:
kbd -s
Load it:
loadkeys
Check the keys are working properly. If okay, enable the graphical environment again:
dtconfig -e
If that still works, make that choice persistent after a reboot by updating your eeprom. eg:
eeprom kbd-type=Spanish
This should be migrated to superuser.com
It seems that you are expecting a german keyboard layout but are getting a US layout - at least the differences you are seeing are differences between those layouts. I don't know where to change that in openSolaris, but maybe it helps you find the correct place to look. Whatever desktop environment that you are using, it should have a tool to change the keyboard layout, probably somewhere with the other internationalization settings.

Resources