alexcmd commited on
Commit
9ff74cd
·
verified ·
1 Parent(s): c6aa3d7

cards s2 + live (part 2)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. cards/linux/console-switch-layout-altgr.json +83 -0
  2. cards/linux/cpu-check-frequency-info.json +54 -0
  3. cards/linux/cron-edit-other-user-crontab.json +80 -0
  4. cards/linux/cron-edit-user-crontab.json +62 -0
  5. cards/linux/cron-list-user-crontab.json +62 -0
  6. cards/linux/cron-prevent-overlap-flock.json +67 -0
  7. cards/linux/cron-remove-user-crontab.json +71 -0
  8. cards/linux/cron-run-x-app.json +68 -0
  9. cards/linux/cron-suppress-email-output.json +66 -0
  10. cards/linux/cups-add-airprint-printer.json +100 -0
  11. cards/linux/cups-enable-debug-logging.json +69 -0
  12. cards/linux/cups-fix-ppd-gutenprint.json +57 -0
  13. cards/linux/cups-fix-usb-permissions.json +109 -0
  14. cards/linux/cups-list-printers.json +58 -0
  15. cards/linux/cups-remove-printer.json +116 -0
  16. cards/linux/cups-test-print.json +54 -0
  17. cards/linux/disk-get-partlabel.json +81 -0
  18. cards/linux/disk-get-partuuid.json +81 -0
  19. cards/linux/disk-get-uuid-by-device.json +113 -0
  20. cards/linux/disk-list-persistent-names.json +77 -0
  21. cards/linux/display-manager-concept.json +57 -0
  22. cards/linux/dns-resolve-domain-nss.json +79 -0
  23. cards/linux/dual-boot-check-windows-boot-mode.json +61 -0
  24. cards/linux/eth-check-driver-status.json +73 -0
  25. cards/linux/eth-disable-ecn.json +64 -0
  26. cards/linux/eth-enable-interface.json +87 -0
  27. cards/linux/eth-fix-broadcom-module-order.json +82 -0
  28. cards/linux/eth-identify-cable.json +71 -0
  29. cards/linux/eth-reset-link-speed.json +92 -0
  30. cards/linux/ext4-enable-casefold.json +83 -0
  31. cards/linux/ext4-enable-fast-commit.json +82 -0
  32. cards/linux/fcitx-diagnose-problem.json +52 -0
  33. cards/linux/fcitx-disable-xkb-override.json +66 -0
  34. cards/linux/fcitx-fix-gtk-ctrl-space.json +55 -0
  35. cards/linux/fcitx-fix-kde-layouts.json +91 -0
  36. cards/linux/fcitx-set-environment-variables.json +50 -0
  37. cards/linux/fcitx5-diagnose.json +51 -0
  38. cards/linux/fcitx5-disable-xkb-override.json +52 -0
  39. cards/linux/file-change-ownership.json +96 -0
  40. cards/linux/file-change-permissions-numeric.json +122 -0
  41. cards/linux/file-change-permissions-text.json +143 -0
  42. cards/linux/file-view-permissions.json +66 -0
  43. cards/linux/firefox-hidpi-settings.json +60 -0
  44. cards/linux/flatpak-add-flathub-user.json +95 -0
  45. cards/linux/flatpak-install-app.json +112 -0
  46. cards/linux/flatpak-override-permission.json +88 -0
  47. cards/linux/flatpak-uninstall-app.json +136 -0
  48. cards/linux/flatpak-view-permissions.json +58 -0
  49. cards/linux/font-enable-subpixel-rgb-user.json +56 -0
  50. cards/linux/font-list-installed.json +59 -0
cards/linux/console-switch-layout-altgr.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "console-switch-layout-altgr",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Switch console keyboard layouts using AltGr",
7
+ "summary": "Enable switching between two keyboard layouts in the text console using the AltGr key. This simulates layout switching on the TTY.",
8
+ "aliases": [
9
+ {
10
+ "text": "switch keyboard layout console",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "altgr layout switch",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "two layouts tty",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "переключение раскладок в консоли",
23
+ "lang": "ru"
24
+ },
25
+ {
26
+ "text": "altgr переключение",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "вторая раскладка клавиатуры",
31
+ "lang": "ru"
32
+ }
33
+ ],
34
+ "applies_to": {
35
+ "distros": [
36
+ {
37
+ "family": "any"
38
+ }
39
+ ],
40
+ "requires": [
41
+ "kbd"
42
+ ]
43
+ },
44
+ "steps": [
45
+ {
46
+ "explain": "Load two keymaps simultaneously. The first is the main layout, the second is the alternate layout accessible via AltGr. Example: 'us' as main, 'mk' as alternate.",
47
+ "cmd": "sudo loadkeys <MAIN_KEYMAP> <ALT_KEYMAP>",
48
+ "needs_root": true,
49
+ "risk": "low",
50
+ "placeholders": [
51
+ {
52
+ "name": "MAIN_KEYMAP",
53
+ "description": "Primary keyboard layout code",
54
+ "example": "us",
55
+ "discover_cmd": "localectl list-keymaps"
56
+ },
57
+ {
58
+ "name": "ALT_KEYMAP",
59
+ "description": "Secondary keyboard layout code",
60
+ "example": "mk",
61
+ "discover_cmd": "localectl list-keymaps"
62
+ }
63
+ ]
64
+ }
65
+ ],
66
+ "verify": [
67
+ {
68
+ "cmd": "localectl status",
69
+ "expect": "VC Keymap: <MAIN_KEYMAP>"
70
+ }
71
+ ],
72
+ "risk": "low",
73
+ "warnings": [
74
+ "Not all keymaps support this feature. If the second layout prints squares, it may be a font issue.",
75
+ "This is a temporary change. To make it persistent, edit /etc/vconsole.conf and set KEYMAP_TOGGLE."
76
+ ],
77
+ "source": {
78
+ "url": "https://wiki.archlinux.org/title/Linux_console/Keyboard_configuration#Layout_switching",
79
+ "title": "Linux console/Keyboard configuration",
80
+ "revision_id": 888113,
81
+ "license": "GFDL-1.3-or-later"
82
+ }
83
+ }
cards/linux/cpu-check-frequency-info.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "cpu-check-frequency-info",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Check CPU frequency and governor",
7
+ "summary": "View the current CPU frequency, available governors, and the active scaling driver using cpupower.",
8
+ "aliases": [
9
+ {
10
+ "text": "check cpu frequency",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "cpu governor status",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "cpupower frequency info",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "проверить частоту процессора",
23
+ "lang": "ru"
24
+ },
25
+ {
26
+ "text": "текущий governor cpu",
27
+ "lang": "ru"
28
+ }
29
+ ],
30
+ "applies_to": {
31
+ "distros": [
32
+ {
33
+ "family": "arch"
34
+ }
35
+ ]
36
+ },
37
+ "prerequisites": [
38
+ "cpupower package installed"
39
+ ],
40
+ "steps": [
41
+ {
42
+ "explain": "Display detailed information about CPU frequency scaling, including the current governor and frequency.",
43
+ "cmd": "cpupower frequency-info",
44
+ "risk": "low"
45
+ }
46
+ ],
47
+ "risk": "low",
48
+ "source": {
49
+ "url": "https://wiki.archlinux.org/title/CPU_frequency_scaling#Scaling_drivers",
50
+ "title": "CPU frequency scaling",
51
+ "revision_id": 886037,
52
+ "license": "GFDL-1.3-or-later"
53
+ }
54
+ }
cards/linux/cron-edit-other-user-crontab.json ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "cron-edit-other-user-crontab",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Edit another user's crontab",
7
+ "summary": "Use sudo to edit the crontab of a different user on the system.",
8
+ "aliases": [
9
+ {
10
+ "text": "edit root crontab",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "edit other user cron",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "sudo crontab -e",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "system wide cron",
23
+ "lang": "en"
24
+ },
25
+ {
26
+ "text": "редактировать crontab другого пользователя",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "cron root",
31
+ "lang": "ru"
32
+ },
33
+ {
34
+ "text": "изменить cron пользователя",
35
+ "lang": "ru"
36
+ }
37
+ ],
38
+ "applies_to": {
39
+ "distros": [
40
+ {
41
+ "family": "any"
42
+ }
43
+ ],
44
+ "requires": [
45
+ "cron"
46
+ ]
47
+ },
48
+ "steps": [
49
+ {
50
+ "explain": "Edit the crontab for a specific user. Replace <USERNAME> with the target user's name.",
51
+ "cmd": "sudo crontab -u <USERNAME> -e",
52
+ "risk": "medium",
53
+ "needs_root": true,
54
+ "placeholders": [
55
+ {
56
+ "name": "USERNAME",
57
+ "description": "The username whose crontab you want to edit.",
58
+ "example": "john",
59
+ "discover_cmd": "whoami"
60
+ }
61
+ ]
62
+ }
63
+ ],
64
+ "risk": "medium",
65
+ "rollback": [
66
+ {
67
+ "explain": "There is no automatic rollback. You must manually revert changes in the editor.",
68
+ "risk": "medium"
69
+ }
70
+ ],
71
+ "warnings": [
72
+ "Editing another user's crontab requires root privileges. Be careful not to break system tasks if editing root's crontab."
73
+ ],
74
+ "source": {
75
+ "url": "https://wiki.archlinux.org/title/Cron#Basic_commands",
76
+ "title": "Cron",
77
+ "revision_id": 886598,
78
+ "license": "GFDL-1.3-or-later"
79
+ }
80
+ }
cards/linux/cron-edit-user-crontab.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "cron-edit-user-crontab",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Edit your user crontab",
7
+ "summary": "Use the crontab command to safely edit the schedule of commands for your current user. Do not edit crontab files directly with a text editor.",
8
+ "aliases": [
9
+ {
10
+ "text": "edit crontab",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "add cron job",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "schedule command linux",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "crontab -e",
23
+ "lang": "en"
24
+ },
25
+ {
26
+ "text": "редактировать crontab",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "добавить задачу cron",
31
+ "lang": "ru"
32
+ },
33
+ {
34
+ "text": "настроить cron",
35
+ "lang": "ru"
36
+ }
37
+ ],
38
+ "applies_to": {
39
+ "distros": [
40
+ {
41
+ "family": "any"
42
+ }
43
+ ],
44
+ "requires": [
45
+ "cron"
46
+ ]
47
+ },
48
+ "steps": [
49
+ {
50
+ "explain": "Open your user's crontab in the default editor. If no editor is set, it may default to vi or nano.",
51
+ "cmd": "crontab -e",
52
+ "risk": "low"
53
+ }
54
+ ],
55
+ "risk": "low",
56
+ "source": {
57
+ "url": "https://wiki.archlinux.org/title/Cron#Basic_commands",
58
+ "title": "Cron",
59
+ "revision_id": 886598,
60
+ "license": "GFDL-1.3-or-later"
61
+ }
62
+ }
cards/linux/cron-list-user-crontab.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "cron-list-user-crontab",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "List your current cron jobs",
7
+ "summary": "View the list of scheduled commands currently set for your user.",
8
+ "aliases": [
9
+ {
10
+ "text": "list cron jobs",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "show crontab",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "crontab -l",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "check cron schedule",
23
+ "lang": "en"
24
+ },
25
+ {
26
+ "text": "посмотреть cron задачи",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "список cron",
31
+ "lang": "ru"
32
+ },
33
+ {
34
+ "text": "crontab list",
35
+ "lang": "ru"
36
+ }
37
+ ],
38
+ "applies_to": {
39
+ "distros": [
40
+ {
41
+ "family": "any"
42
+ }
43
+ ],
44
+ "requires": [
45
+ "cron"
46
+ ]
47
+ },
48
+ "steps": [
49
+ {
50
+ "explain": "Display the contents of your user's crontab.",
51
+ "cmd": "crontab -l",
52
+ "risk": "low"
53
+ }
54
+ ],
55
+ "risk": "low",
56
+ "source": {
57
+ "url": "https://wiki.archlinux.org/title/Cron#Basic_commands",
58
+ "title": "Cron",
59
+ "revision_id": 886598,
60
+ "license": "GFDL-1.3-or-later"
61
+ }
62
+ }
cards/linux/cron-prevent-overlap-flock.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "cron-prevent-overlap-flock",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Prevent overlapping cron jobs with flock",
7
+ "summary": "Use flock to ensure a long-running cron job does not start again if it is already running.",
8
+ "aliases": [
9
+ {
10
+ "text": "cron job overlap",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "prevent duplicate cron",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "flock cron",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "cron lock file",
23
+ "lang": "en"
24
+ },
25
+ {
26
+ "text": "cron не запускать дважды",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "flock для cron",
31
+ "lang": "ru"
32
+ },
33
+ {
34
+ "text": "блокировка cron задачи",
35
+ "lang": "ru"
36
+ }
37
+ ],
38
+ "applies_to": {
39
+ "distros": [
40
+ {
41
+ "family": "any"
42
+ }
43
+ ],
44
+ "requires": [
45
+ "cron",
46
+ "util-linux"
47
+ ]
48
+ },
49
+ "steps": [
50
+ {
51
+ "explain": "Edit your crontab.",
52
+ "cmd": "crontab -e",
53
+ "risk": "low"
54
+ },
55
+ {
56
+ "explain": "Wrap your command with '/usr/bin/flock -n /tmp/lock.backup /root/make-backup.sh'. Replace the lock name and command with your specific values. Save and exit.",
57
+ "risk": "low"
58
+ }
59
+ ],
60
+ "risk": "low",
61
+ "source": {
62
+ "url": "https://wiki.archlinux.org/title/Cron#Ensuring_exclusivity",
63
+ "title": "Cron",
64
+ "revision_id": 886598,
65
+ "license": "GFDL-1.3-or-later"
66
+ }
67
+ }
cards/linux/cron-remove-user-crontab.json ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "cron-remove-user-crontab",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Remove all user cron jobs",
7
+ "summary": "Delete all scheduled commands for your current user. This action is irreversible unless you have a backup.",
8
+ "aliases": [
9
+ {
10
+ "text": "delete cron jobs",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "clear crontab",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "remove all cron",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "crontab -r",
23
+ "lang": "en"
24
+ },
25
+ {
26
+ "text": "удалить cron задачи",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "очистить crontab",
31
+ "lang": "ru"
32
+ },
33
+ {
34
+ "text": "сбросить cron",
35
+ "lang": "ru"
36
+ }
37
+ ],
38
+ "applies_to": {
39
+ "distros": [
40
+ {
41
+ "family": "any"
42
+ }
43
+ ],
44
+ "requires": [
45
+ "cron"
46
+ ]
47
+ },
48
+ "steps": [
49
+ {
50
+ "explain": "Remove all entries from your user's crontab.",
51
+ "cmd": "crontab -r",
52
+ "risk": "medium"
53
+ }
54
+ ],
55
+ "risk": "medium",
56
+ "rollback": [
57
+ {
58
+ "explain": "You cannot automatically undo this. You must manually re-add your jobs using 'crontab -e' if you know what they were.",
59
+ "risk": "medium"
60
+ }
61
+ ],
62
+ "warnings": [
63
+ "This deletes all your scheduled jobs permanently. Ensure you have a backup if you might need them later."
64
+ ],
65
+ "source": {
66
+ "url": "https://wiki.archlinux.org/title/Cron#Basic_commands",
67
+ "title": "Cron",
68
+ "revision_id": 886598,
69
+ "license": "GFDL-1.3-or-later"
70
+ }
71
+ }
cards/linux/cron-run-x-app.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "cron-run-x-app",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Run X.org application from cron",
7
+ "summary": "Cron does not have access to the X server environment. You must manually set the DISPLAY variable to run graphical applications.",
8
+ "aliases": [
9
+ {
10
+ "text": "cron x11 app",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "run gui from cron",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "cron cannot open display",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "xorg cron job",
23
+ "lang": "en"
24
+ },
25
+ {
26
+ "text": "запустить gui из cron",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "cron не видит дисплей",
31
+ "lang": "ru"
32
+ },
33
+ {
34
+ "text": "DISPLAY cron",
35
+ "lang": "ru"
36
+ }
37
+ ],
38
+ "applies_to": {
39
+ "distros": [
40
+ {
41
+ "family": "any"
42
+ }
43
+ ],
44
+ "requires": [
45
+ "cron",
46
+ "xorg"
47
+ ],
48
+ "display_server": "x11"
49
+ },
50
+ "steps": [
51
+ {
52
+ "explain": "Edit your crontab.",
53
+ "cmd": "crontab -e",
54
+ "risk": "low"
55
+ },
56
+ {
57
+ "explain": "Prefix your command with 'env DISPLAY=:0'. Replace :0 with your actual display number if different (check with 'echo $DISPLAY'). For example: '0 8 * * * env DISPLAY=:0 /usr/bin/xclock'. Save and exit.",
58
+ "risk": "low"
59
+ }
60
+ ],
61
+ "risk": "low",
62
+ "source": {
63
+ "url": "https://wiki.archlinux.org/title/Cron#Running_X.org_server-based_applications",
64
+ "title": "Cron",
65
+ "revision_id": 886598,
66
+ "license": "GFDL-1.3-or-later"
67
+ }
68
+ }
cards/linux/cron-suppress-email-output.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "cron-suppress-email-output",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Suppress cron job email output",
7
+ "summary": "Prevent cron from sending emails for every job by redirecting output to /dev/null or setting MAILTO.",
8
+ "aliases": [
9
+ {
10
+ "text": "stop cron emails",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "cron mail spam",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "disable cron notifications",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "cron output to dev null",
23
+ "lang": "en"
24
+ },
25
+ {
26
+ "text": "отключить почту cron",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "cron не присылает письма",
31
+ "lang": "ru"
32
+ },
33
+ {
34
+ "text": "MAILTO cron",
35
+ "lang": "ru"
36
+ }
37
+ ],
38
+ "applies_to": {
39
+ "distros": [
40
+ {
41
+ "family": "any"
42
+ }
43
+ ],
44
+ "requires": [
45
+ "cron"
46
+ ]
47
+ },
48
+ "steps": [
49
+ {
50
+ "explain": "Edit your crontab to add redirection to the end of your command line.",
51
+ "cmd": "crontab -e",
52
+ "risk": "low"
53
+ },
54
+ {
55
+ "explain": "In the editor, append '>/dev/null 2>&1' to the end of the command line for the job you want to silence. For example: '0 1 * * * /path/to/script.sh >/dev/null 2>&1'. Save and exit.",
56
+ "risk": "low"
57
+ }
58
+ ],
59
+ "risk": "low",
60
+ "source": {
61
+ "url": "https://wiki.archlinux.org/title/Cron#Cronie",
62
+ "title": "Cron",
63
+ "revision_id": 886598,
64
+ "license": "GFDL-1.3-or-later"
65
+ }
66
+ }
cards/linux/cups-add-airprint-printer.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "cups-add-airprint-printer",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Add a network printer using AirPrint or IPP Everywhere",
7
+ "summary": "Add a modern network printer that supports AirPrint or IPP Everywhere without needing specific drivers. This uses the 'everywhere' model.",
8
+ "aliases": [
9
+ {
10
+ "text": "add airprint printer",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "add ipp printer",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "driverless printer setup",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "lpadmin everywhere",
23
+ "lang": "en"
24
+ },
25
+ {
26
+ "text": "добавить сетевой принтер",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "airprint linux",
31
+ "lang": "ru"
32
+ },
33
+ {
34
+ "text": "принтер без драйверов",
35
+ "lang": "ru"
36
+ }
37
+ ],
38
+ "applies_to": {
39
+ "distros": [
40
+ {
41
+ "family": "arch"
42
+ }
43
+ ],
44
+ "requires": [
45
+ "cups",
46
+ "avahi-daemon.service"
47
+ ]
48
+ },
49
+ "prerequisites": [
50
+ "CUPS is installed and running.",
51
+ "Avahi is installed and running for network discovery.",
52
+ "You know the IP address or hostname of the printer."
53
+ ],
54
+ "steps": [
55
+ {
56
+ "explain": "Add the printer queue using lpadmin. Replace <PRINTER_NAME> with a short name for the queue and <PRINTER_IP> with the printer's IP address.",
57
+ "cmd": "sudo lpadmin -p <PRINTER_NAME> -E -v \"ipp://<PRINTER_IP>/ipp/print\" -m everywhere",
58
+ "needs_root": true,
59
+ "risk": "medium",
60
+ "placeholders": [
61
+ {
62
+ "name": "PRINTER_NAME",
63
+ "description": "A short, descriptive name for the printer queue (no spaces).",
64
+ "example": "OfficePrinter"
65
+ },
66
+ {
67
+ "name": "PRINTER_IP",
68
+ "description": "The IP address of the network printer.",
69
+ "example": "192.168.1.50"
70
+ }
71
+ ]
72
+ }
73
+ ],
74
+ "risk": "medium",
75
+ "rollback": [
76
+ {
77
+ "explain": "Remove the printer queue.",
78
+ "cmd": "sudo lpadmin -x <PRINTER_NAME>",
79
+ "needs_root": true,
80
+ "risk": "medium",
81
+ "placeholders": [
82
+ {
83
+ "name": "PRINTER_NAME",
84
+ "description": "The name of the printer queue to remove.",
85
+ "example": "OfficePrinter"
86
+ }
87
+ ]
88
+ }
89
+ ],
90
+ "warnings": [
91
+ "Ensure the printer supports IPP Everywhere or AirPrint.",
92
+ "Avahi must be running for automatic discovery, though manual IP addition works without it."
93
+ ],
94
+ "source": {
95
+ "url": "https://wiki.archlinux.org/title/CUPS#AirPrint_and_IPP_Everywhere",
96
+ "title": "CUPS",
97
+ "revision_id": 888479,
98
+ "license": "GFDL-1.3-or-later"
99
+ }
100
+ }
cards/linux/cups-enable-debug-logging.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "cups-enable-debug-logging",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Enable CUPS debug logging to diagnose printing issues",
7
+ "summary": "Change the CUPS log level to 'debug' and view the error log in real-time to see exactly what is happening when a print job fails.",
8
+ "aliases": [
9
+ {
10
+ "text": "cups debug log",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "how to see cups errors",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "printer not working check log",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "включить лог cups",
23
+ "lang": "ru"
24
+ },
25
+ {
26
+ "text": "где смотреть ошибки принтера",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "cups error log",
31
+ "lang": "ru"
32
+ }
33
+ ],
34
+ "applies_to": {
35
+ "distros": [
36
+ {
37
+ "family": "any"
38
+ }
39
+ ]
40
+ },
41
+ "steps": [
42
+ {
43
+ "explain": "Edit /etc/cups/cupsd.conf and change the line starting with LogLevel to 'LogLevel debug'.",
44
+ "risk": "medium"
45
+ },
46
+ {
47
+ "explain": "View the last 100 lines of the error log and keep it open to watch for new errors as you try to print.",
48
+ "cmd": "sudo tail -n 100 -f /var/log/cups/error_log",
49
+ "needs_root": true,
50
+ "risk": "low"
51
+ }
52
+ ],
53
+ "risk": "medium",
54
+ "rollback": [
55
+ {
56
+ "explain": "Restore the default log level (usually 'info' or 'notice') in /etc/cups/cupsd.conf.",
57
+ "risk": "medium"
58
+ }
59
+ ],
60
+ "warnings": [
61
+ "Debug logs can be very large and fill up disk space if left enabled for a long time."
62
+ ],
63
+ "source": {
64
+ "url": "https://wiki.archlinux.org/title/CUPS/Troubleshooting#Debug_log",
65
+ "title": "CUPS/Troubleshooting",
66
+ "revision_id": 873801,
67
+ "license": "GFDL-1.3-or-later"
68
+ }
69
+ }
cards/linux/cups-fix-ppd-gutenprint.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "cups-fix-ppd-gutenprint",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Update PPD files for Gutenprint drivers",
7
+ "summary": "Run the cups-genppdupdate command to update Printer Description files if you see errors about PPD version incompatibility with Gutenprint.",
8
+ "aliases": [
9
+ {
10
+ "text": "cups ppd gutenprint error",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "update ppd files cups",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "gutenprint ppd mismatch",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "обновить ppd gutenprint",
23
+ "lang": "ru"
24
+ }
25
+ ],
26
+ "applies_to": {
27
+ "distros": [
28
+ {
29
+ "family": "any"
30
+ }
31
+ ]
32
+ },
33
+ "steps": [
34
+ {
35
+ "explain": "Run the PPD update utility to regenerate printer description files.",
36
+ "cmd": "sudo /usr/bin/cups-genppdupdate",
37
+ "needs_root": true,
38
+ "risk": "medium"
39
+ }
40
+ ],
41
+ "risk": "medium",
42
+ "rollback": [
43
+ {
44
+ "explain": "If printing breaks, restore the previous PPD files from backup or reinstall the printer driver.",
45
+ "risk": "medium"
46
+ }
47
+ ],
48
+ "warnings": [
49
+ "This command modifies system printer configuration files."
50
+ ],
51
+ "source": {
52
+ "url": "https://wiki.archlinux.org/title/CUPS/Troubleshooting#The_PPD_version_is_not_compatible_with_gutenprint",
53
+ "title": "CUPS/Troubleshooting",
54
+ "revision_id": 873801,
55
+ "license": "GFDL-1.3-or-later"
56
+ }
57
+ }
cards/linux/cups-fix-usb-permissions.json ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "cups-fix-usb-permissions",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Fix USB printer permissions",
7
+ "summary": "If CUPS cannot access a USB printer, check the device permissions and ensure the 'lp' group has access.",
8
+ "aliases": [
9
+ {
10
+ "text": "cups usb permission denied",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "usb printer not detected permissions",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "fix cups usb access",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "ошибки доступа usb принтер",
23
+ "lang": "ru"
24
+ }
25
+ ],
26
+ "applies_to": {
27
+ "distros": [
28
+ {
29
+ "family": "any"
30
+ }
31
+ ]
32
+ },
33
+ "steps": [
34
+ {
35
+ "explain": "List USB devices to find the Bus and Device ID of your printer.",
36
+ "cmd": "lsusb",
37
+ "risk": "low"
38
+ },
39
+ {
40
+ "explain": "Check the permissions of the USB device file using the Bus and Device ID from the previous step.",
41
+ "cmd": "ls -l /dev/bus/usb/<BUS_ID>/<DEVICE_ID>",
42
+ "placeholders": [
43
+ {
44
+ "name": "BUS_ID",
45
+ "description": "The bus number from lsusb (e.g., 001)",
46
+ "example": "001"
47
+ },
48
+ {
49
+ "name": "DEVICE_ID",
50
+ "description": "The device number from lsusb (e.g., 002)",
51
+ "example": "002"
52
+ }
53
+ ],
54
+ "risk": "low"
55
+ },
56
+ {
57
+ "explain": "Temporarily change the group to 'lp' and permissions to allow read/write for the group.",
58
+ "cmd": "sudo chgrp lp /dev/bus/usb/<BUS_ID>/<DEVICE_ID>",
59
+ "placeholders": [
60
+ {
61
+ "name": "BUS_ID",
62
+ "description": "The bus number from lsusb",
63
+ "example": "001"
64
+ },
65
+ {
66
+ "name": "DEVICE_ID",
67
+ "description": "The device number from lsusb",
68
+ "example": "002"
69
+ }
70
+ ],
71
+ "needs_root": true,
72
+ "risk": "medium"
73
+ },
74
+ {
75
+ "explain": "Change the permissions to 664.",
76
+ "cmd": "sudo chmod 664 /dev/bus/usb/<BUS_ID>/<DEVICE_ID>",
77
+ "placeholders": [
78
+ {
79
+ "name": "BUS_ID",
80
+ "description": "The bus number from lsusb",
81
+ "example": "001"
82
+ },
83
+ {
84
+ "name": "DEVICE_ID",
85
+ "description": "The device number from lsusb",
86
+ "example": "002"
87
+ }
88
+ ],
89
+ "needs_root": true,
90
+ "risk": "medium"
91
+ }
92
+ ],
93
+ "risk": "medium",
94
+ "rollback": [
95
+ {
96
+ "explain": "Reboot the system to reset USB device permissions to default.",
97
+ "risk": "medium"
98
+ }
99
+ ],
100
+ "warnings": [
101
+ "This is a temporary fix. For a permanent fix, create a udev rule."
102
+ ],
103
+ "source": {
104
+ "url": "https://wiki.archlinux.org/title/CUPS/Troubleshooting#Bad_permissions",
105
+ "title": "CUPS/Troubleshooting",
106
+ "revision_id": 873801,
107
+ "license": "GFDL-1.3-or-later"
108
+ }
109
+ }
cards/linux/cups-list-printers.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "cups-list-printers",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "List available printers and URIs",
7
+ "summary": "Check which printers are detected by CUPS and find their device URIs. Useful for troubleshooting or manual configuration.",
8
+ "aliases": [
9
+ {
10
+ "text": "list printers linux",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "find printer uri",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "lpinfo -v",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "check detected printers",
23
+ "lang": "en"
24
+ },
25
+ {
26
+ "text": "список принтеров linux",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "найти uri принтера",
31
+ "lang": "ru"
32
+ }
33
+ ],
34
+ "applies_to": {
35
+ "distros": [
36
+ {
37
+ "family": "arch"
38
+ }
39
+ ],
40
+ "requires": [
41
+ "cups"
42
+ ]
43
+ },
44
+ "steps": [
45
+ {
46
+ "explain": "List all available device URIs detected by CUPS.",
47
+ "cmd": "lpinfo -v",
48
+ "risk": "low"
49
+ }
50
+ ],
51
+ "risk": "low",
52
+ "source": {
53
+ "url": "https://wiki.archlinux.org/title/CUPS#CLI_tools",
54
+ "title": "CUPS",
55
+ "revision_id": 888479,
56
+ "license": "GFDL-1.3-or-later"
57
+ }
58
+ }
cards/linux/cups-remove-printer.json ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "cups-remove-printer",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Remove a printer queue",
7
+ "summary": "Cleanly remove a printer from CUPS. This disables the queue and then deletes it.",
8
+ "aliases": [
9
+ {
10
+ "text": "remove printer linux",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "delete printer queue",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "lpadmin -x",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "удалить принтер",
23
+ "lang": "ru"
24
+ },
25
+ {
26
+ "text": "убрать принтер из списка",
27
+ "lang": "ru"
28
+ }
29
+ ],
30
+ "applies_to": {
31
+ "distros": [
32
+ {
33
+ "family": "arch"
34
+ }
35
+ ],
36
+ "requires": [
37
+ "cups"
38
+ ]
39
+ },
40
+ "steps": [
41
+ {
42
+ "explain": "Reject new jobs for the printer.",
43
+ "cmd": "sudo cupsreject <PRINTER_NAME>",
44
+ "needs_root": true,
45
+ "risk": "medium",
46
+ "placeholders": [
47
+ {
48
+ "name": "PRINTER_NAME",
49
+ "description": "The name of the printer queue to remove.",
50
+ "example": "OfficePrinter"
51
+ }
52
+ ]
53
+ },
54
+ {
55
+ "explain": "Disable the printer.",
56
+ "cmd": "sudo cupsdisable <PRINTER_NAME>",
57
+ "needs_root": true,
58
+ "risk": "medium",
59
+ "placeholders": [
60
+ {
61
+ "name": "PRINTER_NAME",
62
+ "description": "The name of the printer queue to remove.",
63
+ "example": "OfficePrinter"
64
+ }
65
+ ]
66
+ },
67
+ {
68
+ "explain": "Remove the printer queue entirely.",
69
+ "cmd": "sudo lpadmin -x <PRINTER_NAME>",
70
+ "needs_root": true,
71
+ "risk": "medium",
72
+ "placeholders": [
73
+ {
74
+ "name": "PRINTER_NAME",
75
+ "description": "The name of the printer queue to remove.",
76
+ "example": "OfficePrinter"
77
+ }
78
+ ]
79
+ }
80
+ ],
81
+ "risk": "medium",
82
+ "rollback": [
83
+ {
84
+ "explain": "Re-add the printer using lpadmin with the original settings.",
85
+ "cmd": "sudo lpadmin -p <PRINTER_NAME> -E -v <DEVICE_URI> -m <MODEL>",
86
+ "needs_root": true,
87
+ "risk": "medium",
88
+ "placeholders": [
89
+ {
90
+ "name": "PRINTER_NAME",
91
+ "description": "The name of the printer queue.",
92
+ "example": "OfficePrinter"
93
+ },
94
+ {
95
+ "name": "DEVICE_URI",
96
+ "description": "The device URI of the printer.",
97
+ "example": "ipp://192.168.1.50/ipp/print"
98
+ },
99
+ {
100
+ "name": "MODEL",
101
+ "description": "The model or driver used.",
102
+ "example": "everywhere"
103
+ }
104
+ ]
105
+ }
106
+ ],
107
+ "warnings": [
108
+ "This action is irreversible unless you know the original configuration."
109
+ ],
110
+ "source": {
111
+ "url": "https://wiki.archlinux.org/title/CUPS#cups*",
112
+ "title": "CUPS",
113
+ "revision_id": 888479,
114
+ "license": "GFDL-1.3-or-later"
115
+ }
116
+ }
cards/linux/cups-test-print.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "cups-test-print",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Send a test print job",
7
+ "summary": "Send a simple test page to verify that a printer queue is working correctly.",
8
+ "aliases": [
9
+ {
10
+ "text": "test print linux",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "print test page",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "lpr testprint",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "проверить печать",
23
+ "lang": "ru"
24
+ },
25
+ {
26
+ "text": "тестовая страница",
27
+ "lang": "ru"
28
+ }
29
+ ],
30
+ "applies_to": {
31
+ "distros": [
32
+ {
33
+ "family": "arch"
34
+ }
35
+ ],
36
+ "requires": [
37
+ "cups"
38
+ ]
39
+ },
40
+ "steps": [
41
+ {
42
+ "explain": "Send the default CUPS test page to the default printer.",
43
+ "cmd": "lpr /usr/share/cups/data/testprint",
44
+ "risk": "low"
45
+ }
46
+ ],
47
+ "risk": "low",
48
+ "source": {
49
+ "url": "https://wiki.archlinux.org/title/CUPS#lp*",
50
+ "title": "CUPS",
51
+ "revision_id": 888479,
52
+ "license": "GFDL-1.3-or-later"
53
+ }
54
+ }
cards/linux/disk-get-partlabel.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "disk-get-partlabel",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Get GPT partition label (PARTLABEL)",
7
+ "summary": "Retrieve the label assigned to a GPT partition entry. This label is stored in the partition table and is independent of the filesystem.",
8
+ "aliases": [
9
+ {
10
+ "text": "get partlabel",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "find partition label gpt",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "lsblk partlabel",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "blkid partlabel",
23
+ "lang": "en"
24
+ },
25
+ {
26
+ "text": "узнать partlabel",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "метка раздела gpt",
31
+ "lang": "ru"
32
+ },
33
+ {
34
+ "text": "как найти метку раздела",
35
+ "lang": "ru"
36
+ }
37
+ ],
38
+ "applies_to": {
39
+ "distros": [
40
+ {
41
+ "family": "any"
42
+ }
43
+ ]
44
+ },
45
+ "steps": [
46
+ {
47
+ "explain": "Use lsblk to print only the PARTLABEL for the specified device.",
48
+ "cmd": "lsblk -dno PARTLABEL /dev/<DEVICE>",
49
+ "placeholders": [
50
+ {
51
+ "name": "DEVICE",
52
+ "description": "The block device path, e.g., sda1",
53
+ "example": "sda1",
54
+ "discover_cmd": "lsblk"
55
+ }
56
+ ],
57
+ "risk": "low"
58
+ },
59
+ {
60
+ "explain": "Alternatively, use blkid to print only the PARTLABEL value.",
61
+ "cmd": "sudo blkid -s PARTLABEL -o value /dev/<DEVICE>",
62
+ "needs_root": true,
63
+ "placeholders": [
64
+ {
65
+ "name": "DEVICE",
66
+ "description": "The block device path, e.g., sda1",
67
+ "example": "sda1",
68
+ "discover_cmd": "lsblk"
69
+ }
70
+ ],
71
+ "risk": "low"
72
+ }
73
+ ],
74
+ "risk": "low",
75
+ "source": {
76
+ "url": "https://wiki.archlinux.org/title/Persistent_block_device_naming#by-partlabel",
77
+ "title": "Persistent block device naming",
78
+ "revision_id": 886065,
79
+ "license": "GFDL-1.3-or-later"
80
+ }
81
+ }
cards/linux/disk-get-partuuid.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "disk-get-partuuid",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Get GPT partition UUID (PARTUUID)",
7
+ "summary": "Retrieve the unique identifier for a GPT partition. Unlike filesystem UUIDs, PARTUUIDs remain stable even if the filesystem is reformatted.",
8
+ "aliases": [
9
+ {
10
+ "text": "get partuuid",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "find partition uuid gpt",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "lsblk partuuid",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "blkid partuuid",
23
+ "lang": "en"
24
+ },
25
+ {
26
+ "text": "узнать partuuid",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "uuid раздела gpt",
31
+ "lang": "ru"
32
+ },
33
+ {
34
+ "text": "как найти partuuid",
35
+ "lang": "ru"
36
+ }
37
+ ],
38
+ "applies_to": {
39
+ "distros": [
40
+ {
41
+ "family": "any"
42
+ }
43
+ ]
44
+ },
45
+ "steps": [
46
+ {
47
+ "explain": "Use lsblk to print only the PARTUUID for the specified device.",
48
+ "cmd": "lsblk -dno PARTUUID /dev/<DEVICE>",
49
+ "placeholders": [
50
+ {
51
+ "name": "DEVICE",
52
+ "description": "The block device path, e.g., sda1",
53
+ "example": "sda1",
54
+ "discover_cmd": "lsblk"
55
+ }
56
+ ],
57
+ "risk": "low"
58
+ },
59
+ {
60
+ "explain": "Alternatively, use blkid to print only the PARTUUID value.",
61
+ "cmd": "sudo blkid -s PARTUUID -o value /dev/<DEVICE>",
62
+ "needs_root": true,
63
+ "placeholders": [
64
+ {
65
+ "name": "DEVICE",
66
+ "description": "The block device path, e.g., sda1",
67
+ "example": "sda1",
68
+ "discover_cmd": "lsblk"
69
+ }
70
+ ],
71
+ "risk": "low"
72
+ }
73
+ ],
74
+ "risk": "low",
75
+ "source": {
76
+ "url": "https://wiki.archlinux.org/title/Persistent_block_device_naming#by-partuuid",
77
+ "title": "Persistent block device naming",
78
+ "revision_id": 886065,
79
+ "license": "GFDL-1.3-or-later"
80
+ }
81
+ }
cards/linux/disk-get-uuid-by-device.json ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "disk-get-uuid-by-device",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Get UUID or label for a specific device",
7
+ "summary": "Retrieve the UUID or filesystem label for a specific partition (e.g., /dev/sda1) to use in configuration files like fstab.",
8
+ "aliases": [
9
+ {
10
+ "text": "get uuid of sda1",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "find label of partition",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "lsblk uuid specific device",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "blkid get uuid",
23
+ "lang": "en"
24
+ },
25
+ {
26
+ "text": "узнать uuid раздела",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "как узнать uuid диска",
31
+ "lang": "ru"
32
+ },
33
+ {
34
+ "text": "lsblk -dno uuid",
35
+ "lang": "ru"
36
+ },
37
+ {
38
+ "text": "blkid -s uuid",
39
+ "lang": "ru"
40
+ },
41
+ {
42
+ "text": "get partition uuid",
43
+ "lang": "en"
44
+ },
45
+ {
46
+ "text": "find uuid of drive",
47
+ "lang": "en"
48
+ },
49
+ {
50
+ "text": "blkid uuid",
51
+ "lang": "en"
52
+ },
53
+ {
54
+ "text": "specific partition uuid",
55
+ "lang": "en"
56
+ },
57
+ {
58
+ "text": "узнать uuid диска",
59
+ "lang": "ru"
60
+ },
61
+ {
62
+ "text": "uuid конкретного раздела",
63
+ "lang": "ru"
64
+ },
65
+ {
66
+ "text": "blkid sda1",
67
+ "lang": "ru"
68
+ }
69
+ ],
70
+ "applies_to": {
71
+ "distros": [
72
+ {
73
+ "family": "any"
74
+ }
75
+ ]
76
+ },
77
+ "steps": [
78
+ {
79
+ "explain": "Use lsblk to print only the UUID for the specified device.",
80
+ "cmd": "lsblk -dno UUID /dev/<DEVICE>",
81
+ "placeholders": [
82
+ {
83
+ "name": "DEVICE",
84
+ "description": "The block device path, e.g., sda1 or nvme0n1p2",
85
+ "example": "sda1",
86
+ "discover_cmd": "lsblk"
87
+ }
88
+ ],
89
+ "risk": "low"
90
+ },
91
+ {
92
+ "explain": "Alternatively, use blkid to print only the UUID value for the specified device.",
93
+ "cmd": "sudo blkid -s UUID -o value /dev/<DEVICE>",
94
+ "needs_root": true,
95
+ "placeholders": [
96
+ {
97
+ "name": "DEVICE",
98
+ "description": "The block device path, e.g., sda1 or nvme0n1p2",
99
+ "example": "sda1",
100
+ "discover_cmd": "lsblk"
101
+ }
102
+ ],
103
+ "risk": "low"
104
+ }
105
+ ],
106
+ "risk": "low",
107
+ "source": {
108
+ "url": "https://wiki.archlinux.org/title/Persistent_block_device_naming#by-uuid",
109
+ "title": "Persistent block device naming",
110
+ "revision_id": 886065,
111
+ "license": "GFDL-1.3-or-later"
112
+ }
113
+ }
cards/linux/disk-list-persistent-names.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "disk-list-persistent-names",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "List persistent block device names (UUID, label, ID)",
7
+ "summary": "Find the stable names for your disks and partitions, such as UUIDs, labels, or hardware IDs. These names do not change between boots, unlike /dev/sda or /dev/nvme0n1.",
8
+ "aliases": [
9
+ {
10
+ "text": "find disk uuid",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "list persistent device names",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "lsblk uuid",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "blkid list",
23
+ "lang": "en"
24
+ },
25
+ {
26
+ "text": "how to find partition uuid",
27
+ "lang": "en"
28
+ },
29
+ {
30
+ "text": "узнать uuid диска",
31
+ "lang": "ru"
32
+ },
33
+ {
34
+ "text": "список uuid разделов",
35
+ "lang": "ru"
36
+ },
37
+ {
38
+ "text": "lsblk показать uuid",
39
+ "lang": "ru"
40
+ },
41
+ {
42
+ "text": "blkid вывод",
43
+ "lang": "ru"
44
+ },
45
+ {
46
+ "text": "как найти метку диска",
47
+ "lang": "ru"
48
+ }
49
+ ],
50
+ "applies_to": {
51
+ "distros": [
52
+ {
53
+ "family": "any"
54
+ }
55
+ ]
56
+ },
57
+ "steps": [
58
+ {
59
+ "explain": "List all block devices with their file system types, labels, UUIDs, and mount points in a tree view.",
60
+ "cmd": "lsblk -f",
61
+ "risk": "low"
62
+ },
63
+ {
64
+ "explain": "Alternatively, use blkid to get detailed information including partition labels and UUIDs in an export-friendly format.",
65
+ "cmd": "sudo blkid -o export",
66
+ "needs_root": true,
67
+ "risk": "low"
68
+ }
69
+ ],
70
+ "risk": "low",
71
+ "source": {
72
+ "url": "https://wiki.archlinux.org/title/Persistent_block_device_naming#Persistent_naming_methods",
73
+ "title": "Persistent block device naming",
74
+ "revision_id": 886065,
75
+ "license": "GFDL-1.3-or-later"
76
+ }
77
+ }
cards/linux/display-manager-concept.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "display-manager-concept",
4
+ "platform": "linux",
5
+ "kind": "concept",
6
+ "title": "What is a display manager?",
7
+ "summary": "A display manager (or login manager) is the graphical screen you see when your computer boots, where you enter your username and password to start your desktop session. It replaces the text-only command line login.",
8
+ "aliases": [
9
+ {
10
+ "text": "what is display manager",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "login manager linux",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "graphical login screen",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "что такое дисплей менеджер",
23
+ "lang": "ru"
24
+ },
25
+ {
26
+ "text": "экран входа в систему linux",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "gdm sddm lightdm разница",
31
+ "lang": "ru"
32
+ }
33
+ ],
34
+ "applies_to": {
35
+ "distros": [
36
+ {
37
+ "family": "any"
38
+ }
39
+ ],
40
+ "desktop": [
41
+ "any"
42
+ ]
43
+ },
44
+ "steps": [
45
+ {
46
+ "explain": "A display manager is a program that starts automatically after boot to provide a graphical login interface. Common examples include GDM (for GNOME), SDDM (for KDE/LXQt), and LightDM (generic).",
47
+ "risk": "low"
48
+ }
49
+ ],
50
+ "risk": "low",
51
+ "source": {
52
+ "url": "https://wiki.archlinux.org/title/Display_manager",
53
+ "title": "Display manager",
54
+ "revision_id": 888081,
55
+ "license": "GFDL-1.3-or-later"
56
+ }
57
+ }
cards/linux/dns-resolve-domain-nss.json ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "dns-resolve-domain-nss",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Resolve a domain name using NSS",
7
+ "summary": "Use the getent command to check how your system resolves a domain name through the Name Service Switch (NSS). This shows the IP address associated with the domain.",
8
+ "aliases": [
9
+ {
10
+ "text": "resolve domain name",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "check dns resolution",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "getent ahosts",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "how to check dns",
23
+ "lang": "en"
24
+ },
25
+ {
26
+ "text": "domain name lookup",
27
+ "lang": "en"
28
+ },
29
+ {
30
+ "text": "проверить разрешение домена",
31
+ "lang": "ru"
32
+ },
33
+ {
34
+ "text": "как проверить dns",
35
+ "lang": "ru"
36
+ },
37
+ {
38
+ "text": "getent ahosts",
39
+ "lang": "ru"
40
+ },
41
+ {
42
+ "text": "резолв домена",
43
+ "lang": "ru"
44
+ }
45
+ ],
46
+ "applies_to": {
47
+ "distros": [
48
+ {
49
+ "family": "any"
50
+ }
51
+ ]
52
+ },
53
+ "prerequisites": [
54
+ "Internet connection",
55
+ "Know the domain name you want to resolve"
56
+ ],
57
+ "steps": [
58
+ {
59
+ "explain": "Query the NSS hosts database for the specified domain name.",
60
+ "cmd": "getent ahosts <DOMAIN_NAME>",
61
+ "risk": "low",
62
+ "placeholders": [
63
+ {
64
+ "name": "DOMAIN_NAME",
65
+ "description": "The domain name to resolve, e.g., archlinux.org",
66
+ "example": "archlinux.org"
67
+ }
68
+ ],
69
+ "expect": "The command outputs the IP address(es) associated with the domain."
70
+ }
71
+ ],
72
+ "risk": "low",
73
+ "source": {
74
+ "url": "https://wiki.archlinux.org/title/Domain_name_resolution#Resolve_a_domain_name_using_NSS",
75
+ "title": "Domain name resolution",
76
+ "revision_id": 877395,
77
+ "license": "GFDL-1.3-or-later"
78
+ }
79
+ }
cards/linux/dual-boot-check-windows-boot-mode.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "dual-boot-check-windows-boot-mode",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Check if Windows uses UEFI or Legacy BIOS",
7
+ "summary": "Knowing your Windows boot mode is essential for configuring the Linux bootloader correctly. UEFI requires GPT, while Legacy BIOS requires MBR.",
8
+ "aliases": [
9
+ {
10
+ "text": "check windows boot mode",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "uefi or legacy windows",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "msinfo32 bios mode",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "как узнать режим загрузки windows",
23
+ "lang": "ru"
24
+ },
25
+ {
26
+ "text": "uefi или legacy",
27
+ "lang": "ru"
28
+ }
29
+ ],
30
+ "applies_to": {
31
+ "distros": [
32
+ {
33
+ "family": "any"
34
+ }
35
+ ]
36
+ },
37
+ "steps": [
38
+ {
39
+ "explain": "Open the Run dialog in Windows.",
40
+ "gui": "Press Win+R.",
41
+ "risk": "low"
42
+ },
43
+ {
44
+ "explain": "Type msinfo32 and press Enter to open System Information.",
45
+ "cmd": "msinfo32",
46
+ "risk": "low"
47
+ },
48
+ {
49
+ "explain": "In the System Summary, look for 'BIOS Mode'. 'UEFI' means UEFI/GPT, 'Legacy' means BIOS/MBR.",
50
+ "gui": "Check the value of 'BIOS Mode' in the right pane.",
51
+ "risk": "low"
52
+ }
53
+ ],
54
+ "risk": "low",
55
+ "source": {
56
+ "url": "https://wiki.archlinux.org/title/Dual_boot_with_Windows#Windows",
57
+ "title": "Dual boot with Windows",
58
+ "revision_id": 886295,
59
+ "license": "GFDL-1.3-or-later"
60
+ }
61
+ }
cards/linux/eth-check-driver-status.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "eth-check-driver-status",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Check Ethernet driver status",
7
+ "summary": "Identify which kernel module drives your Ethernet card and verify if it is loaded.",
8
+ "aliases": [
9
+ {
10
+ "text": "check ethernet driver",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "ethernet not working driver",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "lspci ethernet",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "проверить драйвер сети",
23
+ "lang": "ru"
24
+ },
25
+ {
26
+ "text": "драйвер ethernet arch",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "нет интернета по кабелю",
31
+ "lang": "ru"
32
+ }
33
+ ],
34
+ "applies_to": {
35
+ "distros": [
36
+ {
37
+ "family": "any"
38
+ }
39
+ ]
40
+ },
41
+ "steps": [
42
+ {
43
+ "explain": "List Ethernet controllers and their kernel drivers.",
44
+ "cmd": "lspci -knnd ::0200",
45
+ "risk": "low",
46
+ "expect": "Output showing the Ethernet controller and 'Kernel driver in use: <module_name>'."
47
+ },
48
+ {
49
+ "explain": "Check if the driver module was loaded by the kernel.",
50
+ "cmd": "sudo dmesg | grep <MODULE_NAME>",
51
+ "needs_root": true,
52
+ "risk": "low",
53
+ "placeholders": [
54
+ {
55
+ "name": "MODULE_NAME",
56
+ "description": "The kernel driver name from the previous step (e.g., ixgbe, r8169).",
57
+ "example": "ixgbe"
58
+ }
59
+ ],
60
+ "expect": "Log lines indicating the driver initialized the device."
61
+ }
62
+ ],
63
+ "risk": "low",
64
+ "source": {
65
+ "url": "https://wiki.archlinux.org/title/Network_configuration/Ethernet#Device_driver",
66
+ "title": "Network configuration/Ethernet",
67
+ "revision_id": 845853,
68
+ "license": "GFDL-1.3-or-later"
69
+ },
70
+ "see_also": [
71
+ "linux-list-network-interfaces"
72
+ ]
73
+ }
cards/linux/eth-disable-ecn.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "eth-disable-ecn",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Disable Explicit Congestion Notification (ECN)",
7
+ "summary": "Turn off ECN if you experience network issues with older routers.",
8
+ "aliases": [
9
+ {
10
+ "text": "disable ecn",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "network issues ecn",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "sysctl tcp_ecn",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "отключить ecn",
23
+ "lang": "ru"
24
+ },
25
+ {
26
+ "text": "проблемы с роутером ecn",
27
+ "lang": "ru"
28
+ }
29
+ ],
30
+ "applies_to": {
31
+ "distros": [
32
+ {
33
+ "family": "any"
34
+ }
35
+ ]
36
+ },
37
+ "steps": [
38
+ {
39
+ "explain": "Disable ECN completely.",
40
+ "cmd": "sudo sysctl net.ipv4.tcp_ecn=0",
41
+ "needs_root": true,
42
+ "risk": "medium",
43
+ "expect": "net.ipv4.tcp_ecn = 0"
44
+ }
45
+ ],
46
+ "risk": "medium",
47
+ "rollback": [
48
+ {
49
+ "explain": "Restore the kernel default (enable for incoming requests).",
50
+ "cmd": "sudo sysctl net.ipv4.tcp_ecn=2",
51
+ "needs_root": true,
52
+ "risk": "medium"
53
+ }
54
+ ],
55
+ "warnings": [
56
+ "This change is temporary and will be lost on reboot. To make it permanent, edit /etc/sysctl.d/99-sysctl.conf."
57
+ ],
58
+ "source": {
59
+ "url": "https://wiki.archlinux.org/title/Network_configuration/Ethernet#Explicit_Congestion_Notification",
60
+ "title": "Network configuration/Ethernet",
61
+ "revision_id": 845853,
62
+ "license": "GFDL-1.3-or-later"
63
+ }
64
+ }
cards/linux/eth-enable-interface.json ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "eth-enable-interface",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Enable Ethernet interface",
7
+ "summary": "Bring a disabled Ethernet interface up if it has no link light or is down.",
8
+ "aliases": [
9
+ {
10
+ "text": "enable ethernet interface",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "ethernet link down",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "ip link set up",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "включить сетевую карту",
23
+ "lang": "ru"
24
+ },
25
+ {
26
+ "text": "нет линка ethernet",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "eth0 down",
31
+ "lang": "ru"
32
+ }
33
+ ],
34
+ "applies_to": {
35
+ "distros": [
36
+ {
37
+ "family": "any"
38
+ }
39
+ ]
40
+ },
41
+ "steps": [
42
+ {
43
+ "explain": "Bring the network interface up.",
44
+ "cmd": "sudo ip link set dev <INTERFACE> up",
45
+ "needs_root": true,
46
+ "risk": "medium",
47
+ "placeholders": [
48
+ {
49
+ "name": "INTERFACE",
50
+ "description": "The name of the Ethernet interface (e.g., eth0, enp34s0).",
51
+ "example": "enp34s0",
52
+ "discover_cmd": "ip link"
53
+ }
54
+ ],
55
+ "expect": "The interface state changes to UP."
56
+ }
57
+ ],
58
+ "risk": "medium",
59
+ "rollback": [
60
+ {
61
+ "explain": "Bring the interface down.",
62
+ "cmd": "sudo ip link set dev <INTERFACE> down",
63
+ "needs_root": true,
64
+ "risk": "medium",
65
+ "placeholders": [
66
+ {
67
+ "name": "INTERFACE",
68
+ "description": "The name of the Ethernet interface (e.g., eth0, enp34s0).",
69
+ "example": "enp34s0",
70
+ "discover_cmd": "ip link"
71
+ }
72
+ ]
73
+ }
74
+ ],
75
+ "warnings": [
76
+ "Ensure the cable is connected before enabling the interface."
77
+ ],
78
+ "source": {
79
+ "url": "https://wiki.archlinux.org/title/Network_configuration/Ethernet#Realtek_no_link_/_WOL_problem",
80
+ "title": "Network configuration/Ethernet",
81
+ "revision_id": 845853,
82
+ "license": "GFDL-1.3-or-later"
83
+ },
84
+ "see_also": [
85
+ "linux-list-network-interfaces"
86
+ ]
87
+ }
cards/linux/eth-fix-broadcom-module-order.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "eth-fix-broadcom-module-order",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Fix Broadcom Ethernet module loading order",
7
+ "summary": "Reload Broadcom network modules in the correct order if the interface is not working.",
8
+ "aliases": [
9
+ {
10
+ "text": "broadcom ethernet not working",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "tg3 module error",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "bcm57780 fix",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "broadcom сеть не работает",
23
+ "lang": "ru"
24
+ },
25
+ {
26
+ "text": "tg3 broadcom",
27
+ "lang": "ru"
28
+ }
29
+ ],
30
+ "applies_to": {
31
+ "distros": [
32
+ {
33
+ "family": "any"
34
+ }
35
+ ]
36
+ },
37
+ "steps": [
38
+ {
39
+ "explain": "Unload the tg3 module.",
40
+ "cmd": "sudo modprobe -r tg3",
41
+ "needs_root": true,
42
+ "risk": "medium"
43
+ },
44
+ {
45
+ "explain": "Load the broadcom module first.",
46
+ "cmd": "sudo modprobe broadcom",
47
+ "needs_root": true,
48
+ "risk": "medium"
49
+ },
50
+ {
51
+ "explain": "Load the tg3 module second.",
52
+ "cmd": "sudo modprobe tg3",
53
+ "needs_root": true,
54
+ "risk": "medium"
55
+ },
56
+ {
57
+ "explain": "Verify the driver loaded successfully.",
58
+ "cmd": "sudo dmesg | grep tg3",
59
+ "needs_root": true,
60
+ "risk": "low",
61
+ "expect": "Log lines showing tg3 initialization."
62
+ }
63
+ ],
64
+ "risk": "medium",
65
+ "rollback": [
66
+ {
67
+ "explain": "Reboot to reset module states.",
68
+ "cmd": "sudo reboot",
69
+ "needs_root": true,
70
+ "risk": "medium"
71
+ }
72
+ ],
73
+ "warnings": [
74
+ "This is a temporary fix. To make it permanent, create /etc/modprobe.d/broadcom.conf with 'softdep tg3 pre: broadcom'."
75
+ ],
76
+ "source": {
77
+ "url": "https://wiki.archlinux.org/title/Network_configuration/Ethernet#Broadcom_BCM57780",
78
+ "title": "Network configuration/Ethernet",
79
+ "revision_id": 845853,
80
+ "license": "GFDL-1.3-or-later"
81
+ }
82
+ }
cards/linux/eth-identify-cable.json ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "eth-identify-cable",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Identify network port by blinking LEDs",
7
+ "summary": "Make the LEDs on a network interface blink to help physically identify which port or cable corresponds to a specific interface.",
8
+ "aliases": [
9
+ {
10
+ "text": "blink network led",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "identify network port",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "ethtool identify",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "мигать светодиодом сети",
23
+ "lang": "ru"
24
+ },
25
+ {
26
+ "text": "найти сетевой порт",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "ethtool -p",
31
+ "lang": "ru"
32
+ }
33
+ ],
34
+ "applies_to": {
35
+ "distros": [
36
+ {
37
+ "family": "any"
38
+ }
39
+ ]
40
+ },
41
+ "steps": [
42
+ {
43
+ "explain": "Blink the LEDs on the specified interface for a given number of seconds.",
44
+ "cmd": "sudo ethtool -p <INTERFACE> <SECONDS>",
45
+ "risk": "low",
46
+ "needs_root": true,
47
+ "placeholders": [
48
+ {
49
+ "name": "INTERFACE",
50
+ "description": "The name of your network interface.",
51
+ "example": "eth0",
52
+ "discover_cmd": "ip link"
53
+ },
54
+ {
55
+ "name": "SECONDS",
56
+ "description": "Duration in seconds to blink the LEDs.",
57
+ "example": "10"
58
+ }
59
+ ]
60
+ }
61
+ ],
62
+ "risk": "low",
63
+ "source": {
64
+ "url": "https://github.com/tldr-pages/tldr/blob/main/pages/linux/ethtool.md",
65
+ "title": "tldr-pages: ethtool",
66
+ "license": "CC-BY-4.0"
67
+ },
68
+ "see_also": [
69
+ "eth-check-driver-status"
70
+ ]
71
+ }
cards/linux/eth-reset-link-speed.json ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "eth-reset-link-speed",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Reset Ethernet link speed",
7
+ "summary": "Restart the Ethernet adapter to fix speed downshift issues (e.g., stuck at 100Mbps instead of 1Gbps).",
8
+ "aliases": [
9
+ {
10
+ "text": "ethernet speed 100mbps",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "ethernet downshift",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "reset ethernet link",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "скорость сети 100",
23
+ "lang": "ru"
24
+ },
25
+ {
26
+ "text": "ethernet 100 вместо 1000",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "перезагрузить сетевую карту",
31
+ "lang": "ru"
32
+ }
33
+ ],
34
+ "applies_to": {
35
+ "distros": [
36
+ {
37
+ "family": "any"
38
+ }
39
+ ]
40
+ },
41
+ "steps": [
42
+ {
43
+ "explain": "Bring the interface down to reset the link negotiation.",
44
+ "cmd": "sudo ip link set dev <INTERFACE> down",
45
+ "needs_root": true,
46
+ "risk": "medium",
47
+ "placeholders": [
48
+ {
49
+ "name": "INTERFACE",
50
+ "description": "The name of the Ethernet interface.",
51
+ "example": "enp34s0",
52
+ "discover_cmd": "ip link"
53
+ }
54
+ ]
55
+ },
56
+ {
57
+ "explain": "Bring the interface back up to renegotiate the link speed.",
58
+ "cmd": "sudo ip link set dev <INTERFACE> up",
59
+ "needs_root": true,
60
+ "risk": "medium",
61
+ "placeholders": [
62
+ {
63
+ "name": "INTERFACE",
64
+ "description": "The name of the Ethernet interface.",
65
+ "example": "enp34s0",
66
+ "discover_cmd": "ip link"
67
+ }
68
+ ]
69
+ }
70
+ ],
71
+ "risk": "medium",
72
+ "rollback": [
73
+ {
74
+ "explain": "If the link fails to come up, try rebooting the system.",
75
+ "cmd": "sudo reboot",
76
+ "needs_root": true,
77
+ "risk": "medium"
78
+ }
79
+ ],
80
+ "warnings": [
81
+ "This will temporarily disconnect you from the network."
82
+ ],
83
+ "source": {
84
+ "url": "https://wiki.archlinux.org/title/Network_configuration/Ethernet#MicroStar_Motherboard_with_Realtek_8111/8168/8411",
85
+ "title": "Network configuration/Ethernet",
86
+ "revision_id": 845853,
87
+ "license": "GFDL-1.3-or-later"
88
+ },
89
+ "see_also": [
90
+ "eth-enable-interface"
91
+ ]
92
+ }
cards/linux/ext4-enable-casefold.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "ext4-enable-casefold",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Enable case-insensitive mode on ext4",
7
+ "summary": "Enable the casefold feature to allow case-insensitive directory operations, useful for Wine and some games.",
8
+ "aliases": [
9
+ {
10
+ "text": "ext4 case insensitive",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "enable casefold ext4",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "wine case insensitive ext4",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "регистронезависимый ext4",
23
+ "lang": "ru"
24
+ }
25
+ ],
26
+ "applies_to": {
27
+ "distros": [
28
+ {
29
+ "family": "arch"
30
+ }
31
+ ]
32
+ },
33
+ "prerequisites": [
34
+ "Identify the device path of the ext4 filesystem",
35
+ "Ensure the partition is not the /boot partition used by GRUB"
36
+ ],
37
+ "steps": [
38
+ {
39
+ "explain": "Enable the casefold feature on the filesystem.",
40
+ "cmd": "sudo tune2fs -O casefold <DEVICE>",
41
+ "needs_root": true,
42
+ "risk": "medium",
43
+ "placeholders": [
44
+ {
45
+ "name": "DEVICE",
46
+ "description": "The block device path",
47
+ "discover_cmd": "lsblk"
48
+ }
49
+ ]
50
+ },
51
+ {
52
+ "explain": "Enable the case-insensitive attribute on a specific empty directory.",
53
+ "cmd": "chattr +F <DIRECTORY>",
54
+ "risk": "low",
55
+ "placeholders": [
56
+ {
57
+ "name": "DIRECTORY",
58
+ "description": "Path to the empty directory to make case-insensitive",
59
+ "example": "/mnt/data/games"
60
+ }
61
+ ]
62
+ }
63
+ ],
64
+ "risk": "medium",
65
+ "rollback": [
66
+ {
67
+ "explain": "Disabling casefold is not reliably supported by tune2fs due to potential bugs. It is recommended to back up data and reformat if you need to remove this feature.",
68
+ "risk": "high"
69
+ }
70
+ ],
71
+ "warnings": [
72
+ "GRUB does not support casefold. Enabling it on /boot will make the system unbootable.",
73
+ "Casefold is incompatible with overlayfs, which may break Docker or Podman.",
74
+ "The directory must be empty when applying the attribute.",
75
+ "This feature cannot be reliably turned off once enabled."
76
+ ],
77
+ "source": {
78
+ "url": "https://wiki.archlinux.org/title/Ext4#Enabling_case-insensitive_mode",
79
+ "title": "Ext4",
80
+ "revision_id": 876860,
81
+ "license": "GFDL-1.3-or-later"
82
+ }
83
+ }
cards/linux/ext4-enable-fast-commit.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "ext4-enable-fast-commit",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Enable fast_commit feature on ext4",
7
+ "summary": "Enable the fast_commit journaling feature to improve ext4 performance. Can be enabled on existing filesystems.",
8
+ "aliases": [
9
+ {
10
+ "text": "enable fast commit ext4",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "ext4 fast commit",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "tune2fs fast_commit",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "включить fast commit ext4",
23
+ "lang": "ru"
24
+ }
25
+ ],
26
+ "applies_to": {
27
+ "distros": [
28
+ {
29
+ "family": "arch"
30
+ }
31
+ ]
32
+ },
33
+ "prerequisites": [
34
+ "Identify the device path of the ext4 filesystem"
35
+ ],
36
+ "steps": [
37
+ {
38
+ "explain": "Enable the fast_commit feature on the specified partition.",
39
+ "cmd": "sudo tune2fs -O fast_commit <DEVICE>",
40
+ "needs_root": true,
41
+ "risk": "medium",
42
+ "placeholders": [
43
+ {
44
+ "name": "DEVICE",
45
+ "description": "The block device path (e.g., /dev/sda1)",
46
+ "discover_cmd": "lsblk"
47
+ }
48
+ ]
49
+ }
50
+ ],
51
+ "risk": "medium",
52
+ "verify": [
53
+ {
54
+ "cmd": "sudo tune2fs -l <DEVICE> | grep features",
55
+ "expect": "Output includes 'fast_commit'."
56
+ }
57
+ ],
58
+ "rollback": [
59
+ {
60
+ "explain": "Disable the fast_commit feature.",
61
+ "cmd": "sudo tune2fs -O '^fast_commit' <DEVICE>",
62
+ "needs_root": true,
63
+ "risk": "medium",
64
+ "placeholders": [
65
+ {
66
+ "name": "DEVICE",
67
+ "description": "The block device path"
68
+ }
69
+ ]
70
+ }
71
+ ],
72
+ "warnings": [
73
+ "Enabling this feature can cause system corruption in case of a power cut.",
74
+ "Ensure you have backups before enabling experimental filesystem features."
75
+ ],
76
+ "source": {
77
+ "url": "https://wiki.archlinux.org/title/Ext4#Enabling_fast_commit",
78
+ "title": "Ext4",
79
+ "revision_id": 876860,
80
+ "license": "GFDL-1.3-or-later"
81
+ }
82
+ }
cards/linux/fcitx-diagnose-problem.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "fcitx-diagnose-problem",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Diagnose Fcitx input method issues",
7
+ "summary": "Run the built-in diagnostic tool to identify why Fcitx might not be working, such as Ctrl+Space failing to switch input methods.",
8
+ "aliases": [
9
+ {
10
+ "text": "fcitx diagnose",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "fcitx not working",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "ctrl space fcitx not working",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "диагностика fcitx",
23
+ "lang": "ru"
24
+ },
25
+ {
26
+ "text": "fcitx не переключает язык",
27
+ "lang": "ru"
28
+ }
29
+ ],
30
+ "applies_to": {
31
+ "distros": [
32
+ {
33
+ "family": "any"
34
+ }
35
+ ]
36
+ },
37
+ "steps": [
38
+ {
39
+ "explain": "Run the diagnostic command to check the status of Fcitx and its configuration.",
40
+ "cmd": "fcitx-diagnose",
41
+ "risk": "low",
42
+ "expect": "Output containing clues about common problems, such as missing environment variables or input method modules."
43
+ }
44
+ ],
45
+ "risk": "low",
46
+ "source": {
47
+ "url": "https://wiki.archlinux.org/title/Fcitx#Diagnose_the_problem",
48
+ "title": "Fcitx",
49
+ "revision_id": 869571,
50
+ "license": "GFDL-1.3-or-later"
51
+ }
52
+ }
cards/linux/fcitx-disable-xkb-override.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "fcitx-disable-xkb-override",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Prevent Fcitx from overriding system XKB settings",
7
+ "summary": "Configure Fcitx to stop overwriting keyboard layouts set by setxkbmap or xmodmap, allowing independent management.",
8
+ "aliases": [
9
+ {
10
+ "text": "fcitx overrides xkb",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "setxkbmap fcitx conflict",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "fcitx keyboard layout",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "fcitx переопределяет раскладку",
23
+ "lang": "ru"
24
+ },
25
+ {
26
+ "text": "конфликт fcitx и setxkbmap",
27
+ "lang": "ru"
28
+ }
29
+ ],
30
+ "applies_to": {
31
+ "distros": [
32
+ {
33
+ "family": "any"
34
+ }
35
+ ]
36
+ },
37
+ "steps": [
38
+ {
39
+ "explain": "Open the Fcitx configuration GUI (fcitx-config-gtk3).",
40
+ "gui": "Run 'fcitx-config-gtk3' or open it from the application menu.",
41
+ "risk": "low"
42
+ },
43
+ {
44
+ "explain": "Go to the 'Addon' tab and select 'Advanced'.",
45
+ "gui": "Click on the 'Addon' tab, then select 'Advanced' from the list.",
46
+ "risk": "low"
47
+ },
48
+ {
49
+ "explain": "Find 'X Keyboards Integration' in the list and click 'Configure'.",
50
+ "gui": "Search for 'xkb' or scroll to find 'X Keyboards Integration', then click the 'Configure' button.",
51
+ "risk": "low"
52
+ },
53
+ {
54
+ "explain": "Uncheck 'Allow to Override System XKB Settings' and click OK.",
55
+ "gui": "Uncheck the box labeled 'Allow to Override System XKB Settings', then click 'OK'.",
56
+ "risk": "low"
57
+ }
58
+ ],
59
+ "risk": "low",
60
+ "source": {
61
+ "url": "https://wiki.archlinux.org/title/Fcitx#Fcitx_and_setxkbmap",
62
+ "title": "Fcitx",
63
+ "revision_id": 869571,
64
+ "license": "GFDL-1.3-or-later"
65
+ }
66
+ }
cards/linux/fcitx-fix-gtk-ctrl-space.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "fcitx-fix-gtk-ctrl-space",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Fix Ctrl+Space not working in GTK programs",
7
+ "summary": "Force GNOME settings to use Fcitx as the input module if Ctrl+Space fails to activate it in GTK applications.",
8
+ "aliases": [
9
+ {
10
+ "text": "ctrl space not working gnome",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "fcitx gtk not working",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "gnome terminal fcitx",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "ctrl space не работает в gtk",
23
+ "lang": "ru"
24
+ },
25
+ {
26
+ "text": "fcitx в gnome terminal",
27
+ "lang": "ru"
28
+ }
29
+ ],
30
+ "applies_to": {
31
+ "distros": [
32
+ {
33
+ "family": "any"
34
+ }
35
+ ],
36
+ "desktop": [
37
+ "gnome"
38
+ ]
39
+ },
40
+ "steps": [
41
+ {
42
+ "explain": "Set the GNOME settings override to explicitly use Fcitx as the GTK input module.",
43
+ "cmd": "gsettings set org.gnome.settings-daemon.plugins.xsettings overrides \"{'Gtk/IMModule':<'fcitx'>}\"",
44
+ "risk": "low",
45
+ "expect": "No output, but Ctrl+Space should now work in GTK applications like gnome-terminal."
46
+ }
47
+ ],
48
+ "risk": "low",
49
+ "source": {
50
+ "url": "https://wiki.archlinux.org/title/Fcitx#Ctrl+Space_fail_to_work_in_GTK_programs",
51
+ "title": "Fcitx",
52
+ "revision_id": 869571,
53
+ "license": "GFDL-1.3-or-later"
54
+ }
55
+ }
cards/linux/fcitx-fix-kde-layouts.json ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "fcitx-fix-kde-layouts",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Fix keyboard layouts in KDE with Fcitx",
7
+ "summary": "Resolve issues where KDE keyboard layouts do not switch correctly when Fcitx is running by disabling KDE's own layout configuration.",
8
+ "aliases": [
9
+ {
10
+ "text": "kde fcitx keyboard layout",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "fcitx kde layout not switching",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "kde input devices fcitx",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "kde fcitx раскладка клавиатуры",
23
+ "lang": "ru"
24
+ },
25
+ {
26
+ "text": "не переключается раскладка kde fcitx",
27
+ "lang": "ru"
28
+ }
29
+ ],
30
+ "applies_to": {
31
+ "distros": [
32
+ {
33
+ "family": "any"
34
+ }
35
+ ],
36
+ "desktop": [
37
+ "kde"
38
+ ]
39
+ },
40
+ "steps": [
41
+ {
42
+ "explain": "Stop Fcitx if it is running.",
43
+ "cmd": "fcitx-remote -c",
44
+ "risk": "low",
45
+ "expect": "Fcitx stops."
46
+ },
47
+ {
48
+ "explain": "Open KDE System Settings.",
49
+ "gui": "Open 'System Settings' from the application launcher.",
50
+ "risk": "low"
51
+ },
52
+ {
53
+ "explain": "Go to Input Devices > Layouts and uncheck 'Configure layouts'.",
54
+ "gui": "Navigate to 'Input Devices' > 'Layouts' tab. Uncheck the box 'Configure layouts'.",
55
+ "risk": "medium"
56
+ },
57
+ {
58
+ "explain": "Go to Input Devices > Advanced and uncheck 'Configure keyboard options'.",
59
+ "gui": "Navigate to 'Input Devices' > 'Advanced' tab. Uncheck the box 'Configure keyboard options'.",
60
+ "risk": "medium"
61
+ },
62
+ {
63
+ "explain": "Start Fcitx again.",
64
+ "cmd": "fcitx &",
65
+ "risk": "low",
66
+ "expect": "Fcitx starts in the background."
67
+ },
68
+ {
69
+ "explain": "Configure your layouts in Fcitx via the tray icon.",
70
+ "gui": "Right-click the Fcitx tray icon, select 'Configure', and add your desired layouts.",
71
+ "risk": "low"
72
+ }
73
+ ],
74
+ "risk": "medium",
75
+ "rollback": [
76
+ {
77
+ "explain": "Re-enable 'Configure layouts' and 'Configure keyboard options' in KDE System Settings.",
78
+ "gui": "Go back to System Settings > Input Devices and re-check the boxes.",
79
+ "risk": "medium"
80
+ }
81
+ ],
82
+ "warnings": [
83
+ "Disabling KDE layout configuration means you must manage all keyboard layouts through Fcitx."
84
+ ],
85
+ "source": {
86
+ "url": "https://wiki.archlinux.org/title/Fcitx#fcitx_and_KDE",
87
+ "title": "Fcitx",
88
+ "revision_id": 869571,
89
+ "license": "GFDL-1.3-or-later"
90
+ }
91
+ }
cards/linux/fcitx-set-environment-variables.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "fcitx-set-environment-variables",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Set Fcitx environment variables for GTK and Qt",
7
+ "summary": "Configure environment variables so that GTK and Qt applications use Fcitx for input instead of falling back to XIM.",
8
+ "aliases": [
9
+ {
10
+ "text": "fcitx environment variables",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "set gtk_im_module fcitx",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "fcitx not working in apps",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "настроить переменные окружения fcitx",
23
+ "lang": "ru"
24
+ },
25
+ {
26
+ "text": "fcitx не работает в программах",
27
+ "lang": "ru"
28
+ }
29
+ ],
30
+ "applies_to": {
31
+ "distros": [
32
+ {
33
+ "family": "any"
34
+ }
35
+ ]
36
+ },
37
+ "steps": [
38
+ {
39
+ "explain": "Add the following lines to your ~/.xprofile file to register the input method modules. Log out and back in for changes to take effect.",
40
+ "risk": "low"
41
+ }
42
+ ],
43
+ "risk": "low",
44
+ "source": {
45
+ "url": "https://wiki.archlinux.org/title/Fcitx#Set_environment_variables_for_IM_modules",
46
+ "title": "Fcitx",
47
+ "revision_id": 869571,
48
+ "license": "GFDL-1.3-or-later"
49
+ }
50
+ }
cards/linux/fcitx5-diagnose.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "fcitx5-diagnose",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Diagnose Fcitx5 issues",
7
+ "summary": "Run the built-in diagnostic tool to check if Fcitx5 is correctly configured and identify common problems with input method activation.",
8
+ "aliases": [
9
+ {
10
+ "text": "fcitx5 diagnose",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "check fcitx5 status",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "fcitx5 not working fix",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "диагностика fcitx5",
23
+ "lang": "ru"
24
+ },
25
+ {
26
+ "text": "проверить fcitx5",
27
+ "lang": "ru"
28
+ }
29
+ ],
30
+ "applies_to": {
31
+ "distros": [
32
+ {
33
+ "family": "any"
34
+ }
35
+ ]
36
+ },
37
+ "steps": [
38
+ {
39
+ "explain": "Run the fcitx5-diagnose command in a terminal.",
40
+ "cmd": "fcitx5-diagnose",
41
+ "risk": "low"
42
+ }
43
+ ],
44
+ "risk": "low",
45
+ "source": {
46
+ "url": "https://wiki.archlinux.org/title/Fcitx5#Diagnose_problems",
47
+ "title": "Fcitx5",
48
+ "revision_id": 875713,
49
+ "license": "GFDL-1.3-or-later"
50
+ }
51
+ }
cards/linux/fcitx5-disable-xkb-override.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "fcitx5-disable-xkb-override",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Disable Fcitx5 overriding XKB settings",
7
+ "summary": "Prevent Fcitx5 from overriding your system keyboard layout settings (XKB). Useful if you want to manage keyboard layouts via setxkbmap or your desktop environment instead.",
8
+ "aliases": [
9
+ {
10
+ "text": "fcitx5 xkb override",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "stop fcitx5 changing keyboard layout",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "fcitx5 setxkbmap conflict",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "отключить переопределение xkb fcitx5",
23
+ "lang": "ru"
24
+ }
25
+ ],
26
+ "applies_to": {
27
+ "distros": [
28
+ {
29
+ "family": "any"
30
+ }
31
+ ]
32
+ },
33
+ "steps": [
34
+ {
35
+ "explain": "Open the Fcitx5 configuration tool.",
36
+ "cmd": "fcitx5-configtool",
37
+ "risk": "low"
38
+ },
39
+ {
40
+ "explain": "Navigate to Addons > XCB and uncheck 'Allow Overriding System XKB Settings'.",
41
+ "gui": "In Fcitx5 Configuration: Go to 'Addons', select 'XCB', and uncheck 'Allow Overriding System XKB Settings'.",
42
+ "risk": "low"
43
+ }
44
+ ],
45
+ "risk": "low",
46
+ "source": {
47
+ "url": "https://wiki.archlinux.org/title/Fcitx5#Disable_overriding_XKB_settings",
48
+ "title": "Fcitx5",
49
+ "revision_id": 875713,
50
+ "license": "GFDL-1.3-or-later"
51
+ }
52
+ }
cards/linux/file-change-ownership.json ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "file-change-ownership",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Change file or directory owner",
7
+ "summary": "Use chown to change the owner of a file or directory. This is often necessary when files are created by root but need to be accessed by a regular user.",
8
+ "aliases": [
9
+ {
10
+ "text": "change file owner linux",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "chown command",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "make file owned by user",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "fix permission denied root",
23
+ "lang": "en"
24
+ },
25
+ {
26
+ "text": "изменить владельца файла",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "chown как использовать",
31
+ "lang": "ru"
32
+ },
33
+ {
34
+ "text": "сменить владельца папки",
35
+ "lang": "ru"
36
+ }
37
+ ],
38
+ "applies_to": {
39
+ "distros": [
40
+ {
41
+ "family": "any"
42
+ }
43
+ ]
44
+ },
45
+ "steps": [
46
+ {
47
+ "explain": "Change the owner of a file or directory to a specific user. Requires root privileges.",
48
+ "cmd": "sudo chown <USERNAME> <PATH>",
49
+ "risk": "medium",
50
+ "needs_root": true,
51
+ "placeholders": [
52
+ {
53
+ "name": "USERNAME",
54
+ "description": "The username of the new owner.",
55
+ "example": "archie"
56
+ },
57
+ {
58
+ "name": "PATH",
59
+ "description": "Path to the file or directory.",
60
+ "example": "/media/Backup"
61
+ }
62
+ ]
63
+ }
64
+ ],
65
+ "risk": "medium",
66
+ "rollback": [
67
+ {
68
+ "explain": "Change ownership back to the original owner (often root).",
69
+ "cmd": "sudo chown <ORIGINAL_OWNER> <PATH>",
70
+ "risk": "medium",
71
+ "needs_root": true,
72
+ "placeholders": [
73
+ {
74
+ "name": "ORIGINAL_OWNER",
75
+ "description": "The original owner of the file (e.g., root).",
76
+ "example": "root"
77
+ },
78
+ {
79
+ "name": "PATH",
80
+ "description": "Path to the file or directory.",
81
+ "example": "/media/Backup"
82
+ }
83
+ ]
84
+ }
85
+ ],
86
+ "warnings": [
87
+ "chown clears setuid and setgid bits.",
88
+ "Non-root users cannot give away files they own to other users."
89
+ ],
90
+ "source": {
91
+ "url": "https://wiki.archlinux.org/title/File_permissions_and_attributes#Changing_ownership",
92
+ "title": "File permissions and attributes",
93
+ "revision_id": 885848,
94
+ "license": "GFDL-1.3-or-later"
95
+ }
96
+ }
cards/linux/file-change-permissions-numeric.json ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "file-change-permissions-numeric",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Change file permissions using numeric method",
7
+ "summary": "Use chmod with a 3-digit number to set read, write, and execute permissions for owner, group, and others simultaneously. Common defaults are 755 for directories and 644 for files.",
8
+ "aliases": [
9
+ {
10
+ "text": "chmod 755",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "chmod 644",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "numeric permissions linux",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "octal chmod",
23
+ "lang": "en"
24
+ },
25
+ {
26
+ "text": "изменить права числами",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "chmod 777",
31
+ "lang": "ru"
32
+ },
33
+ {
34
+ "text": "права доступа в цифрах",
35
+ "lang": "ru"
36
+ },
37
+ {
38
+ "text": "numeric permissions linux/en",
39
+ "lang": "en"
40
+ },
41
+ {
42
+ "text": "права доступа в цифрах/ru",
43
+ "lang": "ru"
44
+ },
45
+ {
46
+ "text": "set permissions numeric",
47
+ "lang": "en"
48
+ },
49
+ {
50
+ "text": "octal permissions",
51
+ "lang": "en"
52
+ },
53
+ {
54
+ "text": "chmod numbers",
55
+ "lang": "en"
56
+ },
57
+ {
58
+ "text": "установить права числами",
59
+ "lang": "ru"
60
+ },
61
+ {
62
+ "text": "права доступа 755",
63
+ "lang": "ru"
64
+ }
65
+ ],
66
+ "applies_to": {
67
+ "distros": [
68
+ {
69
+ "family": "any"
70
+ }
71
+ ]
72
+ },
73
+ "steps": [
74
+ {
75
+ "explain": "Set permissions using a 3-digit octal number. Each digit represents owner, group, and others. r=4, w=2, x=1.",
76
+ "cmd": "chmod <OCTAL> <FILENAME>",
77
+ "risk": "medium",
78
+ "placeholders": [
79
+ {
80
+ "name": "OCTAL",
81
+ "description": "3-digit octal permission value (e.g., 755 for rwxr-xr-x, 644 for rw-r--r--).",
82
+ "example": "755"
83
+ },
84
+ {
85
+ "name": "FILENAME",
86
+ "description": "Path to the file or directory.",
87
+ "example": "myfile.txt"
88
+ }
89
+ ]
90
+ }
91
+ ],
92
+ "risk": "medium",
93
+ "rollback": [
94
+ {
95
+ "explain": "Restore original permissions if known.",
96
+ "cmd": "chmod <ORIGINAL_OCTAL> <FILENAME>",
97
+ "risk": "medium",
98
+ "placeholders": [
99
+ {
100
+ "name": "ORIGINAL_OCTAL",
101
+ "description": "The original 3-digit octal permission value.",
102
+ "example": "644"
103
+ },
104
+ {
105
+ "name": "FILENAME",
106
+ "description": "Path to the file.",
107
+ "example": "myfile.txt"
108
+ }
109
+ ]
110
+ }
111
+ ],
112
+ "warnings": [
113
+ "Using 777 gives everyone full access and is a security risk.",
114
+ "Verify current permissions with 'stat -c %a <FILENAME>' before changing."
115
+ ],
116
+ "source": {
117
+ "url": "https://wiki.archlinux.org/title/File_permissions_and_attributes#Numeric_method",
118
+ "title": "File permissions and attributes",
119
+ "revision_id": 885848,
120
+ "license": "GFDL-1.3-or-later"
121
+ }
122
+ }
cards/linux/file-change-permissions-text.json ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "file-change-permissions-text",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Change file permissions using text method",
7
+ "summary": "Use chmod with letters (u, g, o, a) and symbols (r, w, x) to grant or remove specific permissions for the owner, group, or others.",
8
+ "aliases": [
9
+ {
10
+ "text": "chmod text method",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "give write permission to group",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "remove execute permission",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "chmod u g o",
23
+ "lang": "en"
24
+ },
25
+ {
26
+ "text": "изменить права доступа текстом",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "chmod g+w",
31
+ "lang": "ru"
32
+ },
33
+ {
34
+ "text": "дать права на запись группе",
35
+ "lang": "ru"
36
+ }
37
+ ],
38
+ "applies_to": {
39
+ "distros": [
40
+ {
41
+ "family": "any"
42
+ }
43
+ ]
44
+ },
45
+ "steps": [
46
+ {
47
+ "explain": "Set permissions for a specific user class. Replace <WHO> with u (user), g (group), o (others), or a (all). Replace <PERMS> with combinations of r, w, x, or leave empty to remove all.",
48
+ "cmd": "chmod <WHO>=<PERMS> <FILENAME>",
49
+ "risk": "medium",
50
+ "placeholders": [
51
+ {
52
+ "name": "WHO",
53
+ "description": "Who to change: u (owner), g (group), o (others), a (all).",
54
+ "example": "g"
55
+ },
56
+ {
57
+ "name": "PERMS",
58
+ "description": "Permissions to set: r (read), w (write), x (execute). Empty string removes all.",
59
+ "example": "rw"
60
+ },
61
+ {
62
+ "name": "FILENAME",
63
+ "description": "Path to the file or directory.",
64
+ "example": "myfile.txt"
65
+ }
66
+ ],
67
+ "alternatives": [
68
+ {
69
+ "explain": "Add a permission without removing others.",
70
+ "cmd": "chmod <WHO>+<PERM> <FILENAME>",
71
+ "placeholders": [
72
+ {
73
+ "name": "WHO",
74
+ "description": "Who to change: u, g, o, a.",
75
+ "example": "g"
76
+ },
77
+ {
78
+ "name": "PERM",
79
+ "description": "Single permission to add: r, w, or x.",
80
+ "example": "w"
81
+ },
82
+ {
83
+ "name": "FILENAME",
84
+ "description": "Path to the file.",
85
+ "example": "myfile.txt"
86
+ }
87
+ ]
88
+ },
89
+ {
90
+ "explain": "Remove a permission without affecting others.",
91
+ "cmd": "chmod <WHO>-<PERM> <FILENAME>",
92
+ "placeholders": [
93
+ {
94
+ "name": "WHO",
95
+ "description": "Who to change: u, g, o, a.",
96
+ "example": "a"
97
+ },
98
+ {
99
+ "name": "PERM",
100
+ "description": "Single permission to remove: r, w, or x.",
101
+ "example": "w"
102
+ },
103
+ {
104
+ "name": "FILENAME",
105
+ "description": "Path to the file.",
106
+ "example": "myfile.txt"
107
+ }
108
+ ]
109
+ }
110
+ ]
111
+ }
112
+ ],
113
+ "risk": "medium",
114
+ "rollback": [
115
+ {
116
+ "explain": "Restore original permissions if known, or use numeric method if you know the original octal value.",
117
+ "cmd": "chmod <ORIGINAL_OCTAL> <FILENAME>",
118
+ "risk": "medium",
119
+ "placeholders": [
120
+ {
121
+ "name": "ORIGINAL_OCTAL",
122
+ "description": "The original 3-digit octal permission value (e.g., 644).",
123
+ "example": "644"
124
+ },
125
+ {
126
+ "name": "FILENAME",
127
+ "description": "Path to the file.",
128
+ "example": "myfile.txt"
129
+ }
130
+ ]
131
+ }
132
+ ],
133
+ "warnings": [
134
+ "Changing permissions incorrectly can lock you out of files or expose sensitive data.",
135
+ "Always verify the current permissions with 'ls -l' before changing them."
136
+ ],
137
+ "source": {
138
+ "url": "https://wiki.archlinux.org/title/File_permissions_and_attributes#Changing_permissions",
139
+ "title": "File permissions and attributes",
140
+ "revision_id": 885848,
141
+ "license": "GFDL-1.3-or-later"
142
+ }
143
+ }
cards/linux/file-view-permissions.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "file-view-permissions",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "View file and directory permissions",
7
+ "summary": "Use the ls command with the -l option to see who can read, write, or execute a file or directory. The first column shows the permission bits.",
8
+ "aliases": [
9
+ {
10
+ "text": "check file permissions",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "ls -l meaning",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "how to see who owns a file",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "view access rights linux",
23
+ "lang": "en"
24
+ },
25
+ {
26
+ "text": "проверить права доступа",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "ls -l что значит",
31
+ "lang": "ru"
32
+ },
33
+ {
34
+ "text": "кто владелец файла",
35
+ "lang": "ru"
36
+ }
37
+ ],
38
+ "applies_to": {
39
+ "distros": [
40
+ {
41
+ "family": "any"
42
+ }
43
+ ]
44
+ },
45
+ "steps": [
46
+ {
47
+ "explain": "List the contents of a directory in long format to display permissions, owner, and group.",
48
+ "cmd": "ls -l <PATH>",
49
+ "risk": "low",
50
+ "placeholders": [
51
+ {
52
+ "name": "PATH",
53
+ "description": "Path to the file or directory you want to inspect.",
54
+ "example": "/home/user/Documents"
55
+ }
56
+ ]
57
+ }
58
+ ],
59
+ "risk": "low",
60
+ "source": {
61
+ "url": "https://wiki.archlinux.org/title/File_permissions_and_attributes#Viewing_permissions",
62
+ "title": "File permissions and attributes",
63
+ "revision_id": 885848,
64
+ "license": "GFDL-1.3-or-later"
65
+ }
66
+ }
cards/linux/firefox-hidpi-settings.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "firefox-hidpi-settings",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Adjust Firefox HiDPI settings",
7
+ "summary": "Configure Firefox's internal scaling settings via about:config to fix blurry or incorrectly sized UI elements on HiDPI displays.",
8
+ "aliases": [
9
+ {
10
+ "text": "firefox hidpi scaling",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "firefox too small",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "firefox display scale",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "firefox hidpi",
23
+ "lang": "ru"
24
+ },
25
+ {
26
+ "text": "масштаб firefox",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "файрфокс мелкие шрифты",
31
+ "lang": "ru"
32
+ }
33
+ ],
34
+ "applies_to": {
35
+ "distros": [
36
+ {
37
+ "family": "any"
38
+ }
39
+ ]
40
+ },
41
+ "steps": [
42
+ {
43
+ "explain": "Open Firefox and navigate to about:config.",
44
+ "gui": "Type about:config in the address bar",
45
+ "risk": "low"
46
+ },
47
+ {
48
+ "explain": "Search for 'layout.css.devPixelsPerPx' and set it to a value like 1.25 or 1.5 to increase UI scaling.",
49
+ "gui": "Set 'layout.css.devPixelsPerPx' to 1.5",
50
+ "risk": "low"
51
+ }
52
+ ],
53
+ "risk": "low",
54
+ "source": {
55
+ "url": "https://wiki.archlinux.org/title/HiDPI#Firefox",
56
+ "title": "HiDPI",
57
+ "revision_id": 886689,
58
+ "license": "GFDL-1.3-or-later"
59
+ }
60
+ }
cards/linux/flatpak-add-flathub-user.json ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "flatpak-add-flathub-user",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Add Flathub repository for current user",
7
+ "summary": "Add the official Flathub repository to your user configuration. This allows installing apps without root privileges.",
8
+ "aliases": [
9
+ {
10
+ "text": "add flathub repo",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "flatpak add remote user",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "добавить flathub",
19
+ "lang": "ru"
20
+ },
21
+ {
22
+ "text": "flatpak remote add",
23
+ "lang": "ru"
24
+ },
25
+ {
26
+ "text": "add flatpak remote",
27
+ "lang": "en"
28
+ },
29
+ {
30
+ "text": "add flathub to flatpak",
31
+ "lang": "en"
32
+ },
33
+ {
34
+ "text": "добавить репозиторий flatpak",
35
+ "lang": "ru"
36
+ },
37
+ {
38
+ "text": "configure flatpak source",
39
+ "lang": "en"
40
+ },
41
+ {
42
+ "text": "flatpak add remote",
43
+ "lang": "ru"
44
+ }
45
+ ],
46
+ "applies_to": {
47
+ "distros": [
48
+ {
49
+ "family": "any"
50
+ }
51
+ ],
52
+ "requires": [
53
+ "flatpak"
54
+ ]
55
+ },
56
+ "steps": [
57
+ {
58
+ "explain": "Add the Flathub repository for the current user only.",
59
+ "cmd": "flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo",
60
+ "risk": "low",
61
+ "alternatives": [
62
+ {
63
+ "explain": "Adds a new remote source if it doesn't already exist, allowing you to install apps from it.",
64
+ "cmd": "flatpak remote-add --if-not-exists <REMOTE_NAME> <REMOTE_URL>",
65
+ "placeholders": [
66
+ {
67
+ "name": "REMOTE_NAME",
68
+ "description": "A name for the remote source (e.g., flathub).",
69
+ "example": "flathub"
70
+ },
71
+ {
72
+ "name": "REMOTE_URL",
73
+ "description": "The URL of the remote repository.",
74
+ "example": "https://flathub.org/repo/flathub.flatpakrepo"
75
+ }
76
+ ],
77
+ "risk": "low"
78
+ }
79
+ ]
80
+ }
81
+ ],
82
+ "verify": [
83
+ {
84
+ "cmd": "flatpak remotes",
85
+ "expect": "flathub is listed in the remotes."
86
+ }
87
+ ],
88
+ "risk": "low",
89
+ "source": {
90
+ "url": "https://wiki.archlinux.org/title/Flatpak#Add_a_repository",
91
+ "title": "Flatpak",
92
+ "revision_id": 886042,
93
+ "license": "GFDL-1.3-or-later"
94
+ }
95
+ }
cards/linux/flatpak-install-app.json ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "flatpak-install-app",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Install a Flatpak application",
7
+ "summary": "Install a specific application from a Flatpak repository like Flathub. You can search for the app first to find its exact ID.",
8
+ "aliases": [
9
+ {
10
+ "text": "install flatpak app",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "how to install flatpak",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "flatpak install command",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "установить flatpak приложение",
23
+ "lang": "ru"
24
+ },
25
+ {
26
+ "text": "как установить flatpak",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "flatpak install",
31
+ "lang": "ru"
32
+ }
33
+ ],
34
+ "applies_to": {
35
+ "distros": [
36
+ {
37
+ "family": "any"
38
+ }
39
+ ],
40
+ "requires": [
41
+ "flatpak"
42
+ ]
43
+ },
44
+ "prerequisites": [
45
+ "Flatpak is installed",
46
+ "A remote repository (like flathub) is added"
47
+ ],
48
+ "steps": [
49
+ {
50
+ "explain": "Search for the application to find its exact ID or name.",
51
+ "cmd": "flatpak search <SEARCH_TERM>",
52
+ "risk": "low",
53
+ "placeholders": [
54
+ {
55
+ "name": "SEARCH_TERM",
56
+ "description": "The name of the application you want to find",
57
+ "example": "libreoffice"
58
+ }
59
+ ]
60
+ },
61
+ {
62
+ "explain": "Install the application from the specified remote (usually flathub).",
63
+ "cmd": "flatpak install <REMOTE> <APP_ID>",
64
+ "risk": "low",
65
+ "placeholders": [
66
+ {
67
+ "name": "REMOTE",
68
+ "description": "The name of the remote repository",
69
+ "example": "flathub",
70
+ "discover_cmd": "flatpak remotes"
71
+ },
72
+ {
73
+ "name": "APP_ID",
74
+ "description": "The application ID found in the previous step",
75
+ "example": "org.libreoffice.LibreOffice"
76
+ }
77
+ ],
78
+ "alternatives": [
79
+ {
80
+ "explain": "Install for the current user only (no root password needed).",
81
+ "cmd": "flatpak install --user <REMOTE> <APP_ID>",
82
+ "risk": "low",
83
+ "placeholders": [
84
+ {
85
+ "name": "REMOTE",
86
+ "description": "The name of the remote repository",
87
+ "example": "flathub"
88
+ },
89
+ {
90
+ "name": "APP_ID",
91
+ "description": "The application ID",
92
+ "example": "org.libreoffice.LibreOffice"
93
+ }
94
+ ]
95
+ }
96
+ ]
97
+ }
98
+ ],
99
+ "verify": [
100
+ {
101
+ "cmd": "flatpak list",
102
+ "expect": "The installed application appears in the list."
103
+ }
104
+ ],
105
+ "risk": "low",
106
+ "source": {
107
+ "url": "https://wiki.archlinux.org/title/Flatpak#Install_a_runtime_or_application",
108
+ "title": "Flatpak",
109
+ "revision_id": 886042,
110
+ "license": "GFDL-1.3-or-later"
111
+ }
112
+ }
cards/linux/flatpak-override-permission.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "flatpak-override-permission",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Override Flatpak application permissions",
7
+ "summary": "Change what a Flatpak application is allowed to access, such as denying access to the home folder.",
8
+ "aliases": [
9
+ {
10
+ "text": "change flatpak permissions",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "flatpak override",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "изменить права flatpak",
19
+ "lang": "ru"
20
+ },
21
+ {
22
+ "text": "flatpak override command",
23
+ "lang": "ru"
24
+ }
25
+ ],
26
+ "applies_to": {
27
+ "distros": [
28
+ {
29
+ "family": "any"
30
+ }
31
+ ],
32
+ "requires": [
33
+ "flatpak"
34
+ ]
35
+ },
36
+ "steps": [
37
+ {
38
+ "explain": "Override permissions for the application. This example denies access to the home folder.",
39
+ "cmd": "flatpak override --nofilesystem=home <APP_ID>",
40
+ "risk": "medium",
41
+ "placeholders": [
42
+ {
43
+ "name": "APP_ID",
44
+ "description": "The ID of the application",
45
+ "example": "org.libreoffice.LibreOffice"
46
+ }
47
+ ],
48
+ "alternatives": [
49
+ {
50
+ "explain": "Reset all overrides to default permissions.",
51
+ "cmd": "flatpak override --reset <APP_ID>",
52
+ "risk": "medium",
53
+ "placeholders": [
54
+ {
55
+ "name": "APP_ID",
56
+ "description": "The ID of the application",
57
+ "example": "org.libreoffice.LibreOffice"
58
+ }
59
+ ]
60
+ }
61
+ ]
62
+ }
63
+ ],
64
+ "rollback": [
65
+ {
66
+ "explain": "Reset permissions to default.",
67
+ "cmd": "flatpak override --reset <APP_ID>",
68
+ "risk": "medium",
69
+ "placeholders": [
70
+ {
71
+ "name": "APP_ID",
72
+ "description": "The ID of the application",
73
+ "example": "org.libreoffice.LibreOffice"
74
+ }
75
+ ]
76
+ }
77
+ ],
78
+ "warnings": [
79
+ "Changing permissions can break application functionality."
80
+ ],
81
+ "risk": "medium",
82
+ "source": {
83
+ "url": "https://wiki.archlinux.org/title/Flatpak#Override_sandbox_permissions_of_applications",
84
+ "title": "Flatpak",
85
+ "revision_id": 886042,
86
+ "license": "GFDL-1.3-or-later"
87
+ }
88
+ }
cards/linux/flatpak-uninstall-app.json ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "flatpak-uninstall-app",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Uninstall a Flatpak application",
7
+ "summary": "Remove a Flatpak application. You can also choose to delete its user data.",
8
+ "aliases": [
9
+ {
10
+ "text": "uninstall flatpak app",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "remove flatpak",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "удалить flatpak приложение",
19
+ "lang": "ru"
20
+ },
21
+ {
22
+ "text": "flatpak uninstall",
23
+ "lang": "ru"
24
+ },
25
+ {
26
+ "text": "remove flatpak app/en",
27
+ "lang": "en"
28
+ },
29
+ {
30
+ "text": "delete flatpak application/en",
31
+ "lang": "en"
32
+ },
33
+ {
34
+ "text": "как удалить flatpak/ru",
35
+ "lang": "ru"
36
+ },
37
+ {
38
+ "text": "remove flatpak app",
39
+ "lang": "en"
40
+ },
41
+ {
42
+ "text": "uninstall flatpak",
43
+ "lang": "en"
44
+ },
45
+ {
46
+ "text": "delete flatpak application",
47
+ "lang": "en"
48
+ },
49
+ {
50
+ "text": "flatpak remove",
51
+ "lang": "en"
52
+ },
53
+ {
54
+ "text": "как удалить flatpak",
55
+ "lang": "ru"
56
+ },
57
+ {
58
+ "text": "flatpak remove app",
59
+ "lang": "ru"
60
+ }
61
+ ],
62
+ "applies_to": {
63
+ "distros": [
64
+ {
65
+ "family": "any"
66
+ }
67
+ ],
68
+ "requires": [
69
+ "flatpak"
70
+ ]
71
+ },
72
+ "steps": [
73
+ {
74
+ "explain": "Uninstall the application. Add --delete-data to also remove user data and permissions.",
75
+ "cmd": "flatpak uninstall <APP_ID>",
76
+ "risk": "low",
77
+ "placeholders": [
78
+ {
79
+ "name": "APP_ID",
80
+ "description": "The ID of the application to remove",
81
+ "example": "org.libreoffice.LibreOffice",
82
+ "discover_cmd": "flatpak list"
83
+ }
84
+ ],
85
+ "alternatives": [
86
+ {
87
+ "explain": "Uninstall and delete all user data associated with the app.",
88
+ "cmd": "flatpak uninstall --delete-data <APP_ID>",
89
+ "risk": "medium",
90
+ "placeholders": [
91
+ {
92
+ "name": "APP_ID",
93
+ "description": "The ID of the application to remove",
94
+ "example": "org.libreoffice.LibreOffice"
95
+ }
96
+ ]
97
+ }
98
+ ]
99
+ }
100
+ ],
101
+ "verify": [
102
+ {
103
+ "cmd": "flatpak list",
104
+ "expect": "The application is no longer in the list."
105
+ }
106
+ ],
107
+ "risk": "medium",
108
+ "rollback": [
109
+ {
110
+ "explain": "Reinstall the application to restore it. Note that deleted user data cannot be automatically restored.",
111
+ "cmd": "flatpak install <REMOTE> <APP_ID>",
112
+ "risk": "low",
113
+ "placeholders": [
114
+ {
115
+ "name": "REMOTE",
116
+ "description": "The remote repository name",
117
+ "example": "flathub"
118
+ },
119
+ {
120
+ "name": "APP_ID",
121
+ "description": "The application ID",
122
+ "example": "org.libreoffice.LibreOffice"
123
+ }
124
+ ]
125
+ }
126
+ ],
127
+ "warnings": [
128
+ "Using --delete-data permanently removes user settings and data for that application."
129
+ ],
130
+ "source": {
131
+ "url": "https://wiki.archlinux.org/title/Flatpak#Uninstall_a_runtime_or_application",
132
+ "title": "Flatpak",
133
+ "revision_id": 886042,
134
+ "license": "GFDL-1.3-or-later"
135
+ }
136
+ }
cards/linux/flatpak-view-permissions.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "flatpak-view-permissions",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "View Flatpak application permissions",
7
+ "summary": "Check what resources and file system paths a Flatpak application is allowed to access.",
8
+ "aliases": [
9
+ {
10
+ "text": "check flatpak permissions",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "flatpak info permissions",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "права доступа flatpak",
19
+ "lang": "ru"
20
+ },
21
+ {
22
+ "text": "flatpak permissions",
23
+ "lang": "ru"
24
+ }
25
+ ],
26
+ "applies_to": {
27
+ "distros": [
28
+ {
29
+ "family": "any"
30
+ }
31
+ ],
32
+ "requires": [
33
+ "flatpak"
34
+ ]
35
+ },
36
+ "steps": [
37
+ {
38
+ "explain": "Show the sandbox permissions for the specified application.",
39
+ "cmd": "flatpak info --show-permissions <APP_ID>",
40
+ "risk": "low",
41
+ "placeholders": [
42
+ {
43
+ "name": "APP_ID",
44
+ "description": "The ID of the application",
45
+ "example": "org.libreoffice.LibreOffice",
46
+ "discover_cmd": "flatpak list"
47
+ }
48
+ ]
49
+ }
50
+ ],
51
+ "risk": "low",
52
+ "source": {
53
+ "url": "https://wiki.archlinux.org/title/Flatpak#View_sandbox_permissions_of_application",
54
+ "title": "Flatpak",
55
+ "revision_id": 886042,
56
+ "license": "GFDL-1.3-or-later"
57
+ }
58
+ }
cards/linux/font-enable-subpixel-rgb-user.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "font-enable-subpixel-rgb-user",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "Enable sub-pixel RGB rendering for current user",
7
+ "summary": "Enable sub-pixel RGB rendering for your user account by creating a symbolic link in your local fontconfig directory.",
8
+ "aliases": [
9
+ {
10
+ "text": "enable subpixel user",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "subpixel rgb user config",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "fontconfig user subpixel",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "включить субпиксельный рендеринг для пользователя",
23
+ "lang": "ru"
24
+ },
25
+ {
26
+ "text": "настроить шрифты для пользователя",
27
+ "lang": "ru"
28
+ }
29
+ ],
30
+ "applies_to": {
31
+ "distros": [
32
+ {
33
+ "family": "arch"
34
+ }
35
+ ]
36
+ },
37
+ "steps": [
38
+ {
39
+ "explain": "Create the user fontconfig directory if it does not exist.",
40
+ "cmd": "mkdir $XDG_CONFIG_HOME/fontconfig/conf.d",
41
+ "risk": "low"
42
+ },
43
+ {
44
+ "explain": "Create a symbolic link to the sub-pixel RGB preset in the user fontconfig directory.",
45
+ "cmd": "ln -s /usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf $XDG_CONFIG_HOME/fontconfig/conf.d/",
46
+ "risk": "low"
47
+ }
48
+ ],
49
+ "risk": "low",
50
+ "source": {
51
+ "url": "https://wiki.archlinux.org/title/Font_configuration#Presets",
52
+ "title": "Font configuration",
53
+ "revision_id": 876996,
54
+ "license": "GFDL-1.3-or-later"
55
+ }
56
+ }
cards/linux/font-list-installed.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 2,
3
+ "id": "font-list-installed",
4
+ "platform": "linux",
5
+ "kind": "task",
6
+ "title": "List installed fonts",
7
+ "summary": "Use fc-list to see which fonts are available on your system. This helps verify if a specific font is installed.",
8
+ "aliases": [
9
+ {
10
+ "text": "list fonts",
11
+ "lang": "en"
12
+ },
13
+ {
14
+ "text": "check installed fonts",
15
+ "lang": "en"
16
+ },
17
+ {
18
+ "text": "fc-list",
19
+ "lang": "en"
20
+ },
21
+ {
22
+ "text": "what fonts do i have",
23
+ "lang": "en"
24
+ },
25
+ {
26
+ "text": "список шрифтов",
27
+ "lang": "ru"
28
+ },
29
+ {
30
+ "text": "какие шрифты установлены",
31
+ "lang": "ru"
32
+ },
33
+ {
34
+ "text": "fc-list вывод",
35
+ "lang": "ru"
36
+ }
37
+ ],
38
+ "applies_to": {
39
+ "distros": [
40
+ {
41
+ "family": "any"
42
+ }
43
+ ]
44
+ },
45
+ "steps": [
46
+ {
47
+ "explain": "Run fc-list to display all fonts known to Fontconfig.",
48
+ "cmd": "fc-list ':' file",
49
+ "risk": "low"
50
+ }
51
+ ],
52
+ "risk": "low",
53
+ "source": {
54
+ "url": "https://wiki.archlinux.org/title/Font_configuration#Font_paths",
55
+ "title": "Font configuration",
56
+ "revision_id": 876996,
57
+ "license": "GFDL-1.3-or-later"
58
+ }
59
+ }