Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| linux:linux-tutorials:quickfixes [2024/12/25 14:00] – Zyzonix | linux:linux-tutorials:quickfixes [2025/01/02 06:25] (current) – [Relaunch KDE Plasma after freeze] Zyzonix | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Quickfixes ===== | ===== Quickfixes ===== | ||
| - | ==== Create .img on Linux CLI ==== | ||
| - | It's quite simple to create an image of a disk, for example an SD card, therefore use the following command: | ||
| - | <code bash>dd if=/ | ||
| - | |||
| - | The ''/ | ||
| - | <code bash> | ||
| - | For example it can be ''/ | ||
| - | Remind that using this method will include also empty parts. An image of a 32 GB SD card will later have a size of 32 GB although for example 16 GB are unused. | ||
| - | |||
| - | ----- | ||
| ==== Relaunch KDE Plasma after freeze ==== | ==== Relaunch KDE Plasma after freeze ==== | ||
| Sometimes after some weeks of uptime when I entered my office in the morning, I discovered a freezed Plasma. | Sometimes after some weeks of uptime when I entered my office in the morning, I discovered a freezed Plasma. | ||
| To fix this, enter the system via SSH and then execute this command: | To fix this, enter the system via SSH and then execute this command: | ||
| - | <code bash> | + | <code bash> |
| And without re-login: | And without re-login: | ||
| Line 24: | Line 14: | ||
| ----- | ----- | ||
| - | ==== Show WiFi password via CLI ==== | + | ==== Fix NTFS file system |
| - | Thereby that a system is required to save WiFi passwords in clear, it can also show those passwords to you. | + | |
| - | By running the following command, the SSID, password and a QR-code of the current connected WiFi will be displayed in your CLI: | + | |
| - | <code bash> | + | |
| - | ----- | + | If a NTFS volume cannot be mounted due to a corrupted filesystem, it might be repairable by using '' |
| - | ==== Install Discord on Ubuntu via snap ==== | + | |
| - | Just use the following command: | + | |
| - | <code bash> | + | |
| - | === Fix Discord (snap) spamming syslog === | + | <code bash>sudo ntfsfix |
| - | If Discord is spamming your syslog on Ubuntu or Debian and you installed it via snap, try this: | + | Example: '' |
| - | <code bash>snap connect discord: | + | |
| - | Source: [[https://github.com/ | + | After running this command the filesystem might be able to mounted again. |
| ----- | ----- | ||
| + | |||
| + | |||
| + | |||
| ==== Setlocale failed Debian/ | ==== Setlocale failed Debian/ | ||
| If you got any error of the following when running '' | If you got any error of the following when running '' | ||
| Line 54: | Line 41: | ||
| Or use: | Or use: | ||
| <code bash> | <code bash> | ||
| + | |||
| + | ----- | ||
| + | |||
| + | ==== Allow users to write to specific directory ==== | ||
| + | |||
| + | To allow any user to read/write a directory adjust permissions with: | ||
| + | |||
| + | <code bash> | ||
| + | |||
| + | '' | ||
| + | |||
| + | //Sourced from [[https:// | ||