Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:linux-tutorials:quickfixes [2024/04/03 15:49] – ↷ Page name changed from linux:linux-tutorials:hotfixes to linux:linux-tutorials:quickfixes Zyzonixlinux:linux-tutorials:quickfixes [2025/01/02 06:25] (current) – [Relaunch KDE Plasma after freeze] Zyzonix
Line 1: Line 1:
 ===== Quickfixes ===== ===== Quickfixes =====
 +
  
 ==== 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>sudo service sddm stop</code>+<code bash>sudo systemctl restart sddm</code> 
 + 
 +And without re-login: 
 +<code bash> 
 +kquitapp5 plasmashell && kstart5 plasmashell 
 +</code>
  
 ----- -----
  
-==== 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>nmcli device wifi show-password</code>+
  
------ +If a NTFS volume cannot be mounted due to a corrupted filesystem, it might be repairable by using ''nftsfix'': 
-==== Fix Discord (snap) spamming syslog ==== + 
-If Discord is spamming your syslog on Ubuntu or Debian and you installed it via snap, try this+<code bash>sudo ntfsfix -d /path/to/blockdevice</code> 
-<code bash>snap connect discord:system-observe</code> +Example''sudo ntfsfix -d /dev/sda1'' 
-Source: [[https://github.com/snapcrafters/discord/issues/43|github.com/snapcrafters/discord]]+ 
 +After running this command the filesystem might be able to mounted again.
  
 ----- -----
 +
 +
 +
 ==== Setlocale failed Debian/Ubuntu ==== ==== Setlocale failed Debian/Ubuntu ====
 If you got any error of the following when running ''apt'' or anything else: If you got any error of the following when running ''apt'' or anything else:
Line 31: Line 38:
 Just run the following command and select the correct locale: Just run the following command and select the correct locale:
 <code bash>sudo dpkg-reconfigure locales</code> <code bash>sudo dpkg-reconfigure locales</code>
 +
 +Or use:
 +<code bash>sudo localectl set-locale en_US.UTF-8</code>
 +
 +-----
 +
 +==== Allow users to write to specific directory ====
 +
 +To allow any user to read/write a directory adjust permissions with:
 +
 +<code bash>chmod -R 0777 /path/to/dir</code>
 +
 +''-R'' sets the permissions recursively. 
 +
 +//Sourced from [[https://superuser.com/questions/126073/chmod-to-allow-read-and-write-permissions-for-directory|superuser.com - Chmod to allow read and write permissions]]//
  • linux/linux-tutorials/quickfixes.1712152173.txt.gz
  • Last modified: 2024/04/03 15:49
  • by Zyzonix