typing in arabic

Questions about Wine on Linux
Locked
g7fya
Newbie
Newbie
Posts: 4
Joined: Wed Jun 21, 2023 1:51 pm

typing in arabic

Post by g7fya »

Hello good People of winehq.org,

I am trying to type in Arabic on windows application run by wine. However it seem i can switch the language but when I type it types in English capital letters. I can read Arabic just fine no problem also I can copy paste. I try add keyboard layout to the 'WINE REGISTRY' without any luck.

Any help would be much appropriated

linux wine-staging-8.12
g7fya
Newbie
Newbie
Posts: 4
Joined: Wed Jun 21, 2023 1:51 pm

Re: typing in arabic

Post by g7fya »

anyone?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: typing in arabic

Post by jkfloris »

By default, Wine uses the Linux keyboard layout.
When I switch my keyboard between English and Arabic in GNOME, Wine recognizes it.
g7fya
Newbie
Newbie
Posts: 4
Joined: Wed Jun 21, 2023 1:51 pm

Re: typing in arabic

Post by g7fya »

jkfloris, thank for responding however I am using xfce4 and it dose not seem to recognizes my layout. could you please tell me your keyboard layout?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: typing in arabic

Post by jkfloris »

By default, my keyboard layout is "us"
You can use the setxkbmap program to switch between different layouts.
(In Debian/Ubuntu you can find this program in the "x11-xkb-utils" package.)

Code: Select all

# Show the current layout:
setxkbmap -query
  rules:      evdev
  model:      pc105
  layout:     us
  options:    terminate:ctrl_alt_bksp,eurosign:5,lv3:ralt_switch,compose:rwin

# list all available layouts
localectl list-x11-keymap-layouts

# Change the layout to Arabic:
# (There are probably other Arabic keyboard layouts than "sy" (Syria), but it was the first I could find.)
setxkbmap sy

# Start Wine:
cd "${HOME}/.wine/drive_c/Program Files/Windows NT/Accessories"
wine wordpad.exe

# If you also want to change the language/ locale
# For example, for Moroccan:
LC_ALL=ar_MA.utf8 wine wordpad.exe
g7fya
Newbie
Newbie
Posts: 4
Joined: Wed Jun 21, 2023 1:51 pm

Re: typing in arabic

Post by g7fya »

it seem my problem with the program I am using "Paltalk", testing the layout on wordpad.exe worked fine.
Locked