Adding a new keyboard layout

Hi,

I recently installed Garuda and tried to add a new keyboard layout. I did not find the one I'm used to : Arabic (102) AZERTY - Keyboard Layout Info

After doing some research I saw that layout files are stored in /usr/share/kbd/keymaps/i386/ with the extension .map.gz ,

The only files I found of my keyboard layout (Arabic 102 AZERTY) are in other formats (see link). Since I'm a complete noob I don't know how to convert the file to the proper format before putting it where it should be.

Can I get a hint ? Thanks !

System:    Kernel: 5.13.5-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0  
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen  
root=UUID=a7ae5efb-7242-4dd3-84f8-fe04ae270bc1 rw rootflags=subvol=@ quiet splash
rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3
Desktop: KDE Plasma 5.22.4 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1  
dm: SDDM Distro: Garuda Linux base: Arch Linux  
Machine:   Type: Desktop System: Gigabyte product: AB350M-Gaming 3 v: N/A serial: <filter>  
Mobo: Gigabyte model: AB350M-Gaming 3-CF v: x.x serial: <filter>  
UEFI-[Legacy]: American Megatrends v: F21 date: 02/08/2018  
Battery:   ID-1: hidpp_battery_0 charge: N/A condition: N/A volts: 3.7 min: N/A  
model: Logitech G502 LIGHTSPEED Wireless Gaming Mouse type: N/A serial: <filter>  
status: Discharging  
CPU:       Info: 6-Core model: AMD Ryzen 5 1600X bits: 64 type: MT MCP arch: Zen  
family: 17 (23) model-id: 1 stepping: 1 microcode: 8001129 cache: L2: 3 MiB  
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm  
bogomips: 86227  
Speed: 3045 MHz min/max: 2200/3600 MHz boost: enabled Core speeds (MHz): 1: 3045  
2: 3159 3: 3248 4: 3509 5: 3443 6: 3154 7: 3648 8: 3632 9: 3187 10: 3045 11: 3222  
12: 3380  
Vulnerabilities: Type: itlb_multihit status: Not affected  
Type: l1tf status: Not affected  
Type: mds status: Not affected  
Type: meltdown status: Not affected  
Type: spec_store_bypass  
mitigation: Speculative Store Bypass disabled via prctl and seccomp  
Type: spectre_v1  
mitigation: usercopy/swapgs barriers and __user pointer sanitization  
Type: spectre_v2 mitigation: Full AMD retpoline, STIBP: disabled, RSB filling  
Type: srbds status: Not affected  
Type: tsx_async_abort status: Not affected  
Graphics:  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]  
vendor: Sapphire Limited Nitro+ driver: amdgpu v: kernel bus-ID: 06:00.0  
chip-ID: 1002:67df class-ID: 0300  
Device-2: Logitech C920 HD Pro Webcam type: USB driver: snd-usb-audio,uvcvideo  
bus-ID: 1-1:2 chip-ID: 046d:0892 class-ID: 0102 serial: <filter>  
Display: x11 server: X.Org 1.20.12 compositor: kwin_x11 driver: loaded: amdgpu,ati  
unloaded: modesetting alternate: fbdev,vesa display-ID: :0 screens: 1  
Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x285mm (40.0x11.2")  
s-diag: 1055mm (41.5")  
Monitor-1: HDMI-A-0 res: 1920x1080 hz: 60 dpi: 92 size: 531x299mm (20.9x11.8")  
diag: 609mm (24")  
Monitor-2: DVI-D-0 res: 1920x1080 hz: 60 dpi: 92 size: 531x299mm (20.9x11.8")  
diag: 609mm (24")  
OpenGL:  
renderer: Radeon RX 580 Series (POLARIS10 DRM 3.41.0 5.13.5-zen1-1-zen LLVM 12.0.1)  
v: 4.6 Mesa 21.1.6 direct render: Yes  
Audio:     Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]  
vendor: Sapphire Limited driver: snd_hda_intel v: kernel bus-ID: 06:00.1  
chip-ID: 1002:aaf0 class-ID: 0403  
Device-2: AMD Family 17h HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel  
bus-ID: 08:00.3 chip-ID: 1022:1457 class-ID: 0403  
Device-3: Logitech C920 HD Pro Webcam type: USB driver: snd-usb-audio,uvcvideo  
bus-ID: 1-1:2 chip-ID: 046d:0892 class-ID: 0102 serial: <filter>  
Device-4: C-Media Audio Adapter (Unitek Y-247A) type: USB  
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-3.4:4 chip-ID: 0d8c:0014  
class-ID: 0300  
Sound Server-1: ALSA v: k5.13.5-zen1-1-zen running: yes  
Sound Server-2: JACK v: 1.9.19 running: no  
Sound Server-3: PulseAudio v: 15.0 running: no  
Sound Server-4: PipeWire v: 0.3.32 running: yes  
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte  
driver: r8169 v: kernel port: f000 bus-ID: 03:00.0 chip-ID: 10ec:8168  
class-ID: 0200  
IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    Local Storage: total: 931.51 GiB used: 17.01 GiB (1.8%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Crucial model: CT1000MX500SSD1 size: 931.51 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD
serial: <filter> rev: 010 scheme: MBR
Partition: ID-1: / raw-size: 931.51 GiB size: 931.51 GiB (100.00%) used: 17.01 GiB (1.8%)
fs: btrfs dev: /dev/sda1 maj-min: 8:1
ID-2: /home raw-size: 931.51 GiB size: 931.51 GiB (100.00%) used: 17.01 GiB (1.8%)
fs: btrfs dev: /dev/sda1 maj-min: 8:1
ID-3: /var/log raw-size: 931.51 GiB size: 931.51 GiB (100.00%)
used: 17.01 GiB (1.8%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
ID-4: /var/tmp raw-size: 931.51 GiB size: 931.51 GiB (100.00%)
used: 17.01 GiB (1.8%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
Swap:      Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.58 GiB used: 314.5 MiB (2.0%) priority: 100
dev: /dev/zram0
Sensors:   System Temperatures: cpu: 55.2 C mobo: N/A gpu: amdgpu temp: 50.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 823
Info:      Processes: 391 Uptime: 5h 15m wakeups: 14 Memory: 15.58 GiB used: 6.54 GiB (42.0%)
Init: systemd v: 249 tool: systemctl Compilers: gcc: 11.1.0 clang: 12.0.1
Packages: 1181 apt: 1 pacman: 1173 lib: 319 snap: 7 Shell: fish v: 3.3.1
default: Bash v: 5.1.8 running-in: konsole inxi: 3.3.06

Read

please
and post terminal in- and output from

inxi -Fza

as text!

Even if you personally think it is unnecessary.

and
:slight_smile:

4 Likes

There should not be need to download anything.

If you’re using KDE, open the menu and start typing “keyboard”, that’ll get you halfway there.

2 Likes