使用echo $XDG_SESSION_TYPE
即可得知是x11
還是wayland
。
GNOME 42後已預設使用Wayland,登入畫面GDM右下角齒輪會有GNOME
與GNOME on Xorg
的選項。
KDE Plasma 6後已預設使用Wayland,登入畫面SDDM左下角有Plasama (Wayland)
與Plasma (X11)
的選項。
如果覺得Wayland問題過多,嘗試切換回X11工作階段。
diff --git a/lib/libzsync/zsync.c b/lib/libzsync/zsync.c | |
index b425db9..02c47ad 100644 | |
--- a/lib/libzsync/zsync.c | |
+++ b/lib/libzsync/zsync.c | |
@@ -40,6 +40,8 @@ | |
#include <unistd.h> | |
#include <string.h> | |
#include <ctype.h> | |
+ | |
+#define __USE_XOPEN 1 |
Work-in-pogress
Ref: cloudflare/homebrew-cloudflare#21
# Clean up any old version of curl you may have already tried to install
brew remove -f curl
# Download the curl ruby install script provided by cloudflare
Inspired By: grafana/loki#333
version: "3"
networks:
loki:
Sample config files to demonstrate seup that creates and updates free SSL certificates from Let's Encrypt given that the domains are maintained at CloudFlare service.
Certbot verifies domains ownership by accessing CloudFlare API that adds temporary TXT DNS records. To enable it You must provide your CloudFlare API token. More details in documentation for dns-cloudflare Certbot plugin.
Certbot saves created certificates in Docker volume certbot_etc
. Pay attention to output of the certbot run - it mentions path to the created certificates.
More recent resolution: | |
1. cd ~/../../etc (go to etc folder in WSL). | |
2. echo "[network]" | sudo tee wsl.conf (Create wsl.conf file and add the first line). | |
3. echo "generateResolvConf = false" | sudo tee -a wsl.conf (Append wsl.conf the next line). | |
4. wsl --terminate Debian (Terminate WSL in Windows cmd, in case is Ubuntu not Debian). | |
5. cd ~/../../etc (go to etc folder in WSL). | |
6. sudo rm -Rf resolv.conf (Delete the resolv.conf file). | |
7. In windows cmd, ps or terminal with the vpn connected do: Get-NetIPInterface or ipconfig /all for get the dns primary and | |
secondary. |
If you're using a high-end bluetooth headset on your Macbook Pro it's likely your mac is using an audio codec which favors battery efficiency over high quality. This results in a drastic degradation of sound, the SBC codec is the likely culprit, read more about it here.
#!/bin/bash | |
## Account details | |
auth_email='[email protected]' | |
auth_key='00000000000000000000000000000000' | |
## Record to update | |
zone_name='domain.com' | |
record_name='domain.com' |
GVLKs for KMS and Active Directory-based activation of Office 2019 and Office 2016 | |
Applies to: Volume licensed versions of Office 2019 and Office 2016, including Project and Visio | |
By default, volume licensed versions of Office 2019 and Office 2016 are installed with a Generic Volume License Key (GVLK). | |
The GVLK enables Office to automatically discover and activate against your KMS host computer or Active Directory infrastructure. | |
Important | |
These license keys can't be used to activate your personal copy of Office. |