Skip to content

Commit

Permalink
Add justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
salif committed Aug 2, 2024
1 parent 7b593f6 commit fdd1d82
Show file tree
Hide file tree
Showing 28 changed files with 663 additions and 128 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (C) 2019-2023 Salif Mehmed
Copyright (C) 2019-2024 Salif Mehmed

This software may be used, modified, copied, distributed, and sold,
both in source and binary form provided that the above copyright
Expand Down
246 changes: 246 additions & 0 deletions LINUX.all.json

Large diffs are not rendered by default.

16 changes: 11 additions & 5 deletions LINUX.all.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,20 @@

---

:First, backup some files. Run these commands“:
:I am not an expert in installing keyboard layouts, these instructions may not work for all Linux users“.

## :Follow these instructions“

**1.**:First, backup some files by running these commands“:

```bash
cp /usr/share/X11/xkb/symbols/bg /usr/share/X11/xkb/symbols/bg.old
cp /usr/share/X11/xkb/rules/evdev.xml /usr/share/X11/xkb/rules/evdev.xml.old
```

:Open file“ `/usr/share/X11/xkb/symbols/bg`:and append the following text block at the end of the file“
:If you get an error, first run this command:“ `su -l root`, „:then try running the commands again, or replace `cp` with `sudo cp`“.

**2.**:Open file“ `/usr/share/X11/xkb/symbols/bg`:and append the following text block at the end of the file“:

```
// github.com/salif/colemak-bg
Expand Down Expand Up @@ -78,7 +84,7 @@ xkb_symbols "colemak_bg" {
};
```

:Open file“ `/usr/share/X11/xkb/rules/evdev.xml`:and insert the following text block after the variant“ `Bulgarian (enhanced)`.
**3.** :Open file“ `/usr/share/X11/xkb/rules/evdev.xml`:and insert the following text block after the variant“ `Bulgarian (enhanced)`:

```xml
<variant>
Expand All @@ -89,11 +95,11 @@ xkb_symbols "colemak_bg" {
</variant>
```

:Then add“ `Bulgarian (Colemak)`:via the settings of your desktop environment“.
**4.** :Then add“ `Bulgarian (Colemak)`:via the settings of your desktop environment“.

## :Uninstalling

:To uninstall undo everything you did or restore the old files“:
:To uninstall restore the old files or undo everything you did“:

```bash
mv /usr/share/X11/xkb/symbols/bg.old /usr/share/X11/xkb/symbols/bg
Expand Down
16 changes: 11 additions & 5 deletions LINUX.ar.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,20 @@

---

أولاً، قم بعمل نسخة احتياطية لبعض الملفات. قم بتشغيل هذه الأوامر:
أنا لست خبيرًا في تثبيت تخطيطات لوحة المفاتيح، وقد لا تعمل هذه التعليمات مع جميع مستخدمي Linux.

## اتبع هذه التعليمات

**1.** أولاً، قم بعمل نسخة احتياطية لبعض الملفات عن طريق تشغيل هذه الأوامر:

```bash
cp /usr/share/X11/xkb/symbols/bg /usr/share/X11/xkb/symbols/bg.old
cp /usr/share/X11/xkb/rules/evdev.xml /usr/share/X11/xkb/rules/evdev.xml.old
```

افتح الملف `/usr/share/X11/xkb/symbols/bg` وقم بإلحاق الكتلة النصية التالية في نهاية الملف
إذا حصلت على خطأ، قم أولاً بتشغيل هذا الأمر: `su -l root`, ثم حاول تشغيل الأوامر مرة أخرى، أو استبدل `cp` بـ`sudo cp`.

**2.** افتح الملف `/usr/share/X11/xkb/symbols/bg` وقم بإلحاق الكتلة النصية التالية في نهاية الملف:

```
// github.com/salif/colemak-bg
Expand Down Expand Up @@ -78,7 +84,7 @@ xkb_symbols "colemak_bg" {
};
```

افتح الملف `/usr/share/X11/xkb/rules/evdev.xml` وأدخل الكتلة النصية التالية بعد المتغير `Bulgarian (enhanced)`.
**3.** افتح الملف `/usr/share/X11/xkb/rules/evdev.xml` وأدخل الكتلة النصية التالية بعد المتغير `Bulgarian (enhanced)`:

```xml
<variant>
Expand All @@ -89,11 +95,11 @@ xkb_symbols "colemak_bg" {
</variant>
```

ثم أضف `Bulgarian (Colemak)` من خلال إعدادات بيئة سطح المكتب لديك.
**4.** ثم أضف `Bulgarian (Colemak)` من خلال إعدادات بيئة سطح المكتب لديك.

## إلغاء التثبيت

لإلغاء التثبيت، قم بالتراجع عن كل ما قمت به أو استعادة الملفات القديمة:
لإلغاء التثبيت، قم باستعادة الملفات القديمة أو التراجع عن كل ما قمت به:

```bash
mv /usr/share/X11/xkb/symbols/bg.old /usr/share/X11/xkb/symbols/bg
Expand Down
18 changes: 12 additions & 6 deletions LINUX.bg.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
# Инсталиране на Linux
# Инсталиране в Linux

Превод: [english](LINUX.md), [中文](LINUX.zh-CN.md), [español](LINUX.es.md), [العربية](LINUX.ar.md), [português](LINUX.pt.md), [русский](LINUX.ru.md), [bahasa](LINUX.id.md), [türkçe](LINUX.tr.md), [esperanto](LINUX.eo.md)

---

Първо архивирайте някои файлове. Изпълнете тези команди:
Не съм експерт в инсталирането на клавиатурни подредби, тези инструкции може да не работят за всички потребители на Linux.

## Следвайте тези инструкции

**1.** Първо архивирайте някои файлове, като изпълните тези команди:

```bash
cp /usr/share/X11/xkb/symbols/bg /usr/share/X11/xkb/symbols/bg.old
cp /usr/share/X11/xkb/rules/evdev.xml /usr/share/X11/xkb/rules/evdev.xml.old
```

Отворете файла `/usr/share/X11/xkb/symbols/bg` и добавете следния текстов блок в края на файла
Ако получите грешка, първо изпълнете тази команда: `su -l root`, след това опитайте да изпълните командите отново или заменете `cp` със `sudo cp`.

**2.** Отворете файла `/usr/share/X11/xkb/symbols/bg` и добавете следния текстов блок в края на файла:

```
// github.com/salif/colemak-bg
Expand Down Expand Up @@ -78,7 +84,7 @@ xkb_symbols "colemak_bg" {
};
```

Отворете файла `/usr/share/X11/xkb/rules/evdev.xml` и вмъкнете следния текстов блок след варианта `Bulgarian (enhanced)`.
**3.** Отворете файла `/usr/share/X11/xkb/rules/evdev.xml` и вмъкнете следния текстов блок след варианта `Bulgarian (enhanced)`:

```xml
<variant>
Expand All @@ -89,11 +95,11 @@ xkb_symbols "colemak_bg" {
</variant>
```

След това добавете `Bulgarian (Colemak)` чрез настройките на вашата работна среда.
**4.** След това добавете `Bulgarian (Colemak)` чрез настройките на вашата работна среда.

## Деинсталиране

За да деинсталирате, отменете всичко, което сте направили, или възстановете старите файлове:
За да деинсталирате, възстановете старите файлове или отменете всичко, което сте направили:

```bash
mv /usr/share/X11/xkb/symbols/bg.old /usr/share/X11/xkb/symbols/bg
Expand Down
16 changes: 11 additions & 5 deletions LINUX.eo.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,20 @@ Traduko: [english](LINUX.md), [български](LINUX.bg.md), [中文](LINUX.

---

Unue, sekurigu iujn dosierojn. Rulu ĉi tiujn komandojn:
Mi ne estas sperta pri instalado de klavaraj aranĝoj, ĉi tiuj instrukcioj eble ne funkcias por ĉiuj uzantoj de Linukso.

## Sekvu ĉi tiujn instrukciojn

**1.** Unue, sekurigu iujn dosierojn rulante ĉi tiujn komandojn:

```bash
cp /usr/share/X11/xkb/symbols/bg /usr/share/X11/xkb/symbols/bg.old
cp /usr/share/X11/xkb/rules/evdev.xml /usr/share/X11/xkb/rules/evdev.xml.old
```

Malfermu dosieron `/usr/share/X11/xkb/symbols/bg` kaj aldonu la sekvan tekstoblokon ĉe la fino de la dosiero
Se vi ricevas eraron, unue rulu ĉi tiun komandon: `su -l root`, tiam provu ruli la komandojn denove, aŭ anstataŭigu `cp` per `sudo cp`.

**2.** Malfermu dosieron `/usr/share/X11/xkb/symbols/bg` kaj aldonu la sekvan tekstoblokon ĉe la fino de la dosiero:

```
// github.com/salif/colemak-bg
Expand Down Expand Up @@ -78,7 +84,7 @@ xkb_symbols "colemak_bg" {
};
```

Malfermu dosieron `/usr/share/X11/xkb/rules/evdev.xml` kaj enigu la sekvan tekstoblokon post la varianto `Bulgarian (enhanced)`.
**3.** Malfermu dosieron `/usr/share/X11/xkb/rules/evdev.xml` kaj enigu la sekvan tekstoblokon post la varianto `Bulgarian (enhanced)`:

```xml
<variant>
Expand All @@ -89,11 +95,11 @@ Malfermu dosieron `/usr/share/X11/xkb/rules/evdev.xml` kaj enigu la sekvan tekst
</variant>
```

Poste aldonu `Bulgarian (Colemak)` per la agordoj de via labortabla medio.
**4.** Poste aldonu `Bulgarian (Colemak)` per la agordoj de via labortabla medio.

## Malinstalado

Por malinstali malfaru ĉion, kion vi faris restarigi la malnovajn dosierojn:
Por malinstali restarigi la malnovajn dosierojn malfari ĉion, kion vi faris:

```bash
mv /usr/share/X11/xkb/symbols/bg.old /usr/share/X11/xkb/symbols/bg
Expand Down
16 changes: 11 additions & 5 deletions LINUX.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,20 @@ Traducción: [english](LINUX.md), [български](LINUX.bg.md), [中文](LI

---

Primero, haga una copia de seguridad de algunos archivos. Ejecute estos comandos:
No soy un experto en instalar distribuciones de teclado; es posible que estas instrucciones no funcionen para todos los usuarios de Linux.

## Siga estas instrucciones

**1.** Primero, haga una copia de seguridad de algunos archivos ejecutando estos comandos:

```bash
cp /usr/share/X11/xkb/symbols/bg /usr/share/X11/xkb/symbols/bg.old
cp /usr/share/X11/xkb/rules/evdev.xml /usr/share/X11/xkb/rules/evdev.xml.old
```

Abrir documento `/usr/share/X11/xkb/symbols/bg` y agregue el siguiente bloque de texto al final del archivo
Si recibe un error, primero ejecute este comando: `su -l root`, luego intente ejecutar los comandos nuevamente o reemplace `cp` con `sudo cp`.

**2.** Abrir documento `/usr/share/X11/xkb/symbols/bg` y agregue el siguiente bloque de texto al final del archivo:

```
// github.com/salif/colemak-bg
Expand Down Expand Up @@ -78,7 +84,7 @@ xkb_symbols "colemak_bg" {
};
```

Abrir documento `/usr/share/X11/xkb/rules/evdev.xml` e inserte el siguiente bloque de texto después de la variante `Bulgarian (enhanced)`.
**3.** Abrir documento `/usr/share/X11/xkb/rules/evdev.xml` e inserte el siguiente bloque de texto después de la variante `Bulgarian (enhanced)`:

```xml
<variant>
Expand All @@ -89,11 +95,11 @@ Abrir documento `/usr/share/X11/xkb/rules/evdev.xml` e inserte el siguiente bloq
</variant>
```

Luego añade `Bulgarian (Colemak)` a través de la configuración de su entorno de escritorio.
**4.** Luego añade `Bulgarian (Colemak)` a través de la configuración de su entorno de escritorio.

## Desinstalando

Para desinstalar, deshaga todo lo que hizo o restaure los archivos antiguos:
Para desinstalar, restaurar los archivos antiguos o deshacer todo lo que hiciste:

```bash
mv /usr/share/X11/xkb/symbols/bg.old /usr/share/X11/xkb/symbols/bg
Expand Down
16 changes: 11 additions & 5 deletions LINUX.id.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,20 @@ Terjemahan: [english](LINUX.md), [български](LINUX.bg.md), [中文](LIN

---

Pertama, buat cadangan beberapa file. Jalankan perintah ini:
Saya bukan ahli dalam memasang tata letak keyboard, petunjuk ini mungkin tidak berfungsi untuk semua pengguna Linux.

## Ikuti petunjuk ini

**1.** Pertama, buat cadangan beberapa file dengan menjalankan perintah ini:

```bash
cp /usr/share/X11/xkb/symbols/bg /usr/share/X11/xkb/symbols/bg.old
cp /usr/share/X11/xkb/rules/evdev.xml /usr/share/X11/xkb/rules/evdev.xml.old
```

Membuka file `/usr/share/X11/xkb/symbols/bg` dan tambahkan blok teks berikut di akhir file
Jika Anda mendapatkan kesalahan, jalankan perintah ini terlebih dahulu: `su -l root`, lalu coba jalankan kembali perintahnya, atau ganti `cp` dengan `sudo cp`.

**2.** Membuka file `/usr/share/X11/xkb/symbols/bg` dan tambahkan blok teks berikut di akhir file:

```
// github.com/salif/colemak-bg
Expand Down Expand Up @@ -78,7 +84,7 @@ xkb_symbols "colemak_bg" {
};
```

Membuka file `/usr/share/X11/xkb/rules/evdev.xml` dan masukkan blok teks berikut setelah varian `Bulgarian (enhanced)`.
**3.** Membuka file `/usr/share/X11/xkb/rules/evdev.xml` dan masukkan blok teks berikut setelah varian `Bulgarian (enhanced)`:

```xml
<variant>
Expand All @@ -89,11 +95,11 @@ Membuka file `/usr/share/X11/xkb/rules/evdev.xml` dan masukkan blok teks berikut
</variant>
```

Lalu tambahkan `Bulgarian (Colemak)` melalui pengaturan lingkungan desktop Anda.
**4.** Lalu tambahkan `Bulgarian (Colemak)` melalui pengaturan lingkungan desktop Anda.

## Menghapus instalasi

Untuk menghapus instalasi, batalkan semua yang Anda lakukan atau pulihkan file lama:
Untuk menghapus instalan, pulihkan file lama atau batalkan semua yang Anda lakukan:

```bash
mv /usr/share/X11/xkb/symbols/bg.old /usr/share/X11/xkb/symbols/bg
Expand Down
16 changes: 11 additions & 5 deletions LINUX.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,20 @@ Translation: [български](LINUX.bg.md), [中文](LINUX.zh-CN.md), [espa

---

First, backup some files. Run these commands:
I am not an expert in installing keyboard layouts, these instructions may not work for all Linux users.

## Follow these instructions

**1.** First, backup some files by running these commands:

```bash
cp /usr/share/X11/xkb/symbols/bg /usr/share/X11/xkb/symbols/bg.old
cp /usr/share/X11/xkb/rules/evdev.xml /usr/share/X11/xkb/rules/evdev.xml.old
```

Open file `/usr/share/X11/xkb/symbols/bg` and append the following text block at the end of the file
If you get an error, first run this command: `su -l root`, then try running the commands again, or replace `cp` with `sudo cp`.

**2.** Open file `/usr/share/X11/xkb/symbols/bg` and append the following text block at the end of the file:

```
// github.com/salif/colemak-bg
Expand Down Expand Up @@ -78,7 +84,7 @@ xkb_symbols "colemak_bg" {
};
```

Open file `/usr/share/X11/xkb/rules/evdev.xml` and insert the following text block after the variant `Bulgarian (enhanced)`.
**3.** Open file `/usr/share/X11/xkb/rules/evdev.xml` and insert the following text block after the variant `Bulgarian (enhanced)`:

```xml
<variant>
Expand All @@ -89,11 +95,11 @@ Open file `/usr/share/X11/xkb/rules/evdev.xml` and insert the following text blo
</variant>
```

Then add `Bulgarian (Colemak)` via the settings of your desktop environment.
**4.** Then add `Bulgarian (Colemak)` via the settings of your desktop environment.

## Uninstalling

To uninstall undo everything you did or restore the old files:
To uninstall restore the old files or undo everything you did:

```bash
mv /usr/share/X11/xkb/symbols/bg.old /usr/share/X11/xkb/symbols/bg
Expand Down
16 changes: 11 additions & 5 deletions LINUX.pt.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,20 @@ Tradução: [english](LINUX.md), [български](LINUX.bg.md), [中文](LIN

---

Primeiro, faça backup de alguns arquivos. Execute estes comandos:
Não sou especialista em instalação de layouts de teclado; essas instruções podem não funcionar para todos os usuários do Linux.

## Siga estas instruções

**1.** Primeiro, faça backup de alguns arquivos executando estes comandos:

```bash
cp /usr/share/X11/xkb/symbols/bg /usr/share/X11/xkb/symbols/bg.old
cp /usr/share/X11/xkb/rules/evdev.xml /usr/share/X11/xkb/rules/evdev.xml.old
```

Abrir arquivo `/usr/share/X11/xkb/symbols/bg` e anexe o seguinte bloco de texto no final do arquivo
Se você receber um erro, primeiro execute este comando: `su -l root`, tente executar os comandos novamente ou substitua `cp` por `sudo cp`.

**2.** Abrir arquivo `/usr/share/X11/xkb/symbols/bg` e anexe o seguinte bloco de texto no final do arquivo:

```
// github.com/salif/colemak-bg
Expand Down Expand Up @@ -78,7 +84,7 @@ xkb_symbols "colemak_bg" {
};
```

Abrir arquivo `/usr/share/X11/xkb/rules/evdev.xml` e insira o seguinte bloco de texto após a variante `Bulgarian (enhanced)`.
**3.** Abrir arquivo `/usr/share/X11/xkb/rules/evdev.xml` e insira o seguinte bloco de texto após a variante `Bulgarian (enhanced)`:

```xml
<variant>
Expand All @@ -89,11 +95,11 @@ Abrir arquivo `/usr/share/X11/xkb/rules/evdev.xml` e insira o seguinte bloco de
</variant>
```

Em seguida, adicione `Bulgarian (Colemak)` através das configurações do seu ambiente de trabalho.
**4.** Em seguida, adicione `Bulgarian (Colemak)` através das configurações do seu ambiente de trabalho.

## Desinstalando

Para desinstalar, desfaça tudo o que você fez ou restaure os arquivos antigos:
Para desinstalar, restaure os arquivos antigos ou desfaça tudo o que você fez:

```bash
mv /usr/share/X11/xkb/symbols/bg.old /usr/share/X11/xkb/symbols/bg
Expand Down
Loading

0 comments on commit fdd1d82

Please sign in to comment.