Page 1 of 1
[ SOLVED ] Wrong Keyboard Layout - Alt+Shift+2 to print "@" sign
Posted: 04 Jul 2020, 12:19
by hope
Hi, I am using the latest porteus 5.1.5 version. I used cheatcode to make my keyboard layout to Turkish layout. I can use Turkish keys except special signs such as @,#$... since I can print them only by pressing Alt+Shift+X (x=2 for @ sign , 3 for # and 4 for $ sing etc. ). I am using openbox theme. What is the problem?
Edited: 4 July 2020
I try to fix it(!
) by changing the gxkb's config file under /root/.config folder and now my application starting button at the top left of the screen which open programs and other menus does not work anymore with left mouse click ! How can I solve these new problems ? ( I SOLVED THIS PROBLEM SINCE IT IS DUE TO TR LANGUAGE LOCALE MODULE WHICH GIVES ERROR WITH START MENU ITEMS - PROBABLY DUE TO LANGUAGE CONVERSION TO TURKISH CHARACTERS - THEREFORE IF YOU HAVE SUCH PROBLEM LOCALE IS THE CAUSE OF THE PROBLEM, UNLOAD THE LOCALE MODULE FROM STARTUP AND IT WORKS AGAIN
)
How can I correctly print @,# and other signs with my keyboard
Thanks for everybody and STAY healthy.
Wrong Keyboard Layout - Alt+Shift+2 to print "@" sign
Posted: 04 Jul 2020, 17:35
by hope
Ok, I am searching the cause myself. What I did is "setxkbmap tr" command from console to change us(default) keyboard layout to Turkish one. Howoever, no successs.
Do I need to create my own Turkish keyboard layout or keyboard map ? What I need is matching symbols shown on my keyboard with mapped code to printout the shown on my keyboard! Do anybody knows a source of already prepared keyboard map files ? Porteus has lots of keyboard maps already defined in
Code: Select all
/usr/share/kbd/keymaps/i386/qwerty
However, although I load them by using
etc. (all keyboard maps starting with "tr") but no success. None of them correctly prints "at" & other signs. I am continuing to my search...
Wrong Keyboard Layout - Alt+Shift+2 to print "@" sign
Posted: 04 Jul 2020, 19:29
by fanthom
Hello hope,
Are you using Kiosk or Porteus Desktop version?
Thanks
Wrong Keyboard Layout - Alt+Shift+2 to print "@" sign
Posted: 04 Jul 2020, 19:55
by hope
Desktop version.
Wrong Keyboard Layout - Alt+Shift+2 to print "@" sign
Posted: 04 Jul 2020, 20:09
by Ed_P
hope wrote: ↑04 Jul 2020, 12:19
Hi, I am using the latest porteus 5.1.5 version.
And your Distribution shows "porteus 5.1.5" which is not regular/desktop Porteus 4.0 or 5.0rc1
hope.
Wrong Keyboard Layout - Alt+Shift+2 to print "@" sign
Posted: 04 Jul 2020, 20:25
by hope
I posted uname -a command below :
Linux porteus.example.net 5.1.5-porteus #1 SMP PREEMPT Sun May 26 17:25:39 Local time zone must be set-- x86_64...
Wrong Keyboard Layout - Alt+Shift+2 to print "@" sign
Posted: 04 Jul 2020, 20:35
by Ed_P
My error
hope.
5.1.5 is Porteus 5.0rc1
Wrong Keyboard Layout - Alt+Shift+2 to print "@" sign
Posted: 04 Jul 2020, 23:20
by ncmprhnsbl
check this topic and see if there is any relavence :
OpenBox and keyboard/font/codepage bug
Wrong Keyboard Layout - Alt+Shift+2 to print "@" sign
Posted: 05 Jul 2020, 12:06
by hope
No my fault, i gave kernel version as porteus version! As a newbie please accept my sorry.
Thank you very much ! If you did not send this link, I could never imagene that gxkb is the problem itself ! Exactly this was the same error !
Stay healty everybody.
Solved!
[ SOLVED ] Wrong Keyboard Layout - Alt+Shift+2 to print "@" sign
Posted: 06 Jul 2020, 22:46
by hope
Hi, I actually try to write a shell script to make automatic to removing gxkb from file inside /etc/xdg/openbox/autostart file etc... and create a "
autostart2" file and
changing its permissions to make it executable under /porteus folder(which saves changes and remains in the next boot).
autostart2 file contains:
Code: Select all
spacefm --desktop &
#fbpanel &
tint2 &
#nm-applet &
volumeicon &
and created my own startingScript to correct my keyboard to Turkish with script file includes this code which also includes reducing the screen brightness to nearly half :
Code: Select all
# !bin/sh
echo 400 > /sys/class/backlight/intel_backlight/brightness
sudo cp -v /mnt/sdb2/porteus/p/myLinuxCodes/autostart2 /etc/xdg/openbox/
sudo chmod 777 /etc/xdg/openbox/autostart2
sudo mv -v -f /etc/xdg/openbox/autostart2 /etc/xdg/openbox/autostart
# I changed my keyboard layout to Turkish, you can change line below
sudo setxkbmap tr
sudo logout
sudo login -p guest guest
actually I expected logout screen to come and ask me password but not! It works !
[ SOLVED ] Wrong Keyboard Layout - Alt+Shift+2 to print "@" sign
Posted: 02 Mar 2023, 12:15
by ascattolini
I have same issue but with Italian keyboard and Porteus Kiosk (Linux kiosk 5.15.28-kiosk). Cannot type "@" (alt+gr+ò gives "q"). How to resolve, since in the configuration parameters it is already primary_keyboard_layout=it?
Thanks,
Antonio