Skip to content

Commit b21fe94

Browse files
gaming: use user-local environment file (#310)
1 parent 859fb2b commit b21fe94

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

src/content/docs/configuration/gaming.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ To avoid long loading times and stuttering, we can increase the global shader ca
579579
1. Open the terminal.
580580
2. Enter this command to edit the environment file:
581581
```sh
582-
sudo nano /etc/environment
582+
nano ~/.config/environment.d/gaming.conf
583583
```
584584
3. Paste the following at the end of the file:
585585
```sh
@@ -598,7 +598,7 @@ To avoid long loading times and stuttering, we can increase the global shader ca
598598
1. Open the terminal.
599599
2. Enter this command to edit the environment file:
600600
```sh
601-
sudo nano /etc/environment
601+
nano ~/.config/environment.d/gaming.conf
602602
```
603603
3. Paste the following at the end of the file:
604604
```sh

src/content/docs/de/configuration/gaming.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ Um lange Ladezeiten und Ruckler zu vermeiden, können wir die globale Shader-Cac
579579
1. Öffne das Terminal.
580580
2. Gib diesen Befehl ein, um die Umgebungsdatei zu bearbeiten:
581581
```sh
582-
sudo nano /etc/environment
582+
nano ~/.config/environment.d/gaming.conf
583583
```
584584
3. Füge Folgendes am Ende der Datei ein:
585585
```sh
@@ -598,7 +598,7 @@ Um lange Ladezeiten und Ruckler zu vermeiden, können wir die globale Shader-Cac
598598
1. Öffne das Terminal.
599599
2. Gib diesen Befehl ein, um die Umgebungsdatei zu bearbeiten:
600600
```sh
601-
sudo nano /etc/environment
601+
nano ~/.config/environment.d/gaming.conf
602602
```
603603
3. Füge Folgendes am Ende der Datei ein:
604604
```sh

src/content/docs/es/configuration/gaming.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ Para evitar largos tiempos de carga y stuttering, podemos aumentar el tamaño gl
579579
1. Abre la terminal.
580580
2. Introduce este comando para editar el archivo de entorno:
581581
```sh
582-
sudo nano /etc/environment
582+
nano ~/.config/environment.d/gaming.conf
583583
```
584584
3. Pega lo siguiente al final del archivo:
585585
```sh
@@ -598,7 +598,7 @@ Para evitar largos tiempos de carga y stuttering, podemos aumentar el tamaño gl
598598
1. Abre la terminal.
599599
2. Introduce este comando para editar el archivo de entorno:
600600
```sh
601-
sudo nano /etc/environment
601+
nano ~/.config/environment.d/gaming.conf
602602
```
603603
3. Pega lo siguiente al final del archivo:
604604
```sh

src/content/docs/fr/configuration/gaming.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ Pour éviter les longs temps de chargement et les saccades, nous pouvons augment
579579
1. Ouvrez le terminal.
580580
2. Entrez cette commande pour modifier le fichier d'environnement :
581581
```sh
582-
sudo nano /etc/environment
582+
nano ~/.config/environment.d/gaming.conf
583583
```
584584
3. Collez ce qui suit à la fin du fichier :
585585
```sh
@@ -598,7 +598,7 @@ Pour éviter les longs temps de chargement et les saccades, nous pouvons augment
598598
1. Ouvrez le terminal.
599599
2. Entrez cette commande pour modifier le fichier d'environnement :
600600
```sh
601-
sudo nano /etc/environment
601+
nano ~/.config/environment.d/gaming.conf
602602
```
603603
3. Collez ce qui suit à la fin du fichier :
604604
```sh

src/content/docs/pl/configuration/gaming.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ Aby uniknąć długich czasów ładowania i zacinania się, możemy zwiększyć
579579
1. Otwórz terminal.
580580
2. Wpisz to polecenie, aby edytować plik środowiska:
581581
```sh
582-
sudo nano /etc/environment
582+
nano ~/.config/environment.d/gaming.conf
583583
```
584584
3. Wklej następującą treść na końcu pliku:
585585
```sh
@@ -598,7 +598,7 @@ Aby uniknąć długich czasów ładowania i zacinania się, możemy zwiększyć
598598
1. Otwórz terminal.
599599
2. Wpisz to polecenie, aby edytować plik środowiska:
600600
```sh
601-
sudo nano /etc/environment
601+
nano ~/.config/environment.d/gaming.conf
602602
```
603603
3. Wklej następującą treść na końcu pliku:
604604
```sh

src/content/docs/ru/configuration/gaming.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ CachyOS включает в себя скрипт-обёртку [game-performan
579579
1. Откройте терминал.
580580
2. Введите эту команду для редактирования файла окружения:
581581
```sh
582-
sudo nano /etc/environment
582+
nano ~/.config/environment.d/gaming.conf
583583
```
584584
3. Вставьте следующее в конец файла:
585585
```sh
@@ -598,7 +598,7 @@ CachyOS включает в себя скрипт-обёртку [game-performan
598598
1. Откройте терминал.
599599
2. Введите эту команду для редактирования файла окружения:
600600
```sh
601-
sudo nano /etc/environment
601+
nano ~/.config/environment.d/gaming.conf
602602
```
603603
3. Вставьте следующее в конец файла:
604604
```sh

0 commit comments

Comments
 (0)