Workaround for Arch Adding some more context here for those who may not know how to apply the solutions given here:
-
Install/update code-features
yay code-features
-
In VSCode, Shift-Ctrl-P > "Configure Runtime Arguments" > Add this line:
Workaround for Arch Adding some more context here for those who may not know how to apply the solutions given here:
Install/update code-features
yay code-features
In VSCode, Shift-Ctrl-P > "Configure Runtime Arguments" > Add this line:
# src: ~/.config/mimeapps.list | |
# url: https://binfalse.de/2019/06/27/thunar-s-volatile-default-application/ | |
# default open | |
[Default Applications] | |
text/plain=xed.desktop | |
# open with submenu | |
[Added Associations] | |
text/plain=code-oss.desktop;nvim.desktop; |
https://www.reddit.com/r/Fedora/comments/88rze5/fedora_wont_let_me_login_into_preexisting_user/
I've kept my /home partition the same across distros. I just installed Fedora KDE spin, but not it won't let me login through SDDM. This hasn't been an issue with other distributions like Ubuntu or Arch. Not the best first impression...
How do I fix this?
I get the following error when trying to login in the console:
-- username : /home/username: change directory failed: permission denied
# setup cura 5 on ubuntu 22.04 with mesa opengl | |
# 1. unpack appimage | |
./Ultimaker-Cura-5.0.0-linux.AppImage --appimage-extract | |
cd ./squashfs-root | |
# 2. fix "dri not found" | |
# libGL error: MESA-LOADER: failed to open crocus: /usr/lib/dri/crocus_dri.so: cannot open shared object | |
# file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) |
# 1. search where is the most space use | |
for i in /*; do echo $i; find $i |wc -l; done | |
# or | |
for i in /var/*; do echo $i; find $i |wc -l; done | |
# 2. delete unused files (in my case php sessions) |
# /etc/ssh/sshd_config.d/ipqos.conf | |
# https://discourse.osmc.tv/t/solved-ssh-connection-sometimes-hangs/76504/5 | |
IPQoS cs0 cs0 |
# 1. install wine (from winehq site, not repo) | |
# 2. wine dipfree_en.exe | |
# 3. apt install winbind to resolve ntlm_auth | |
# 4. add MESA_GL_VERSION_OVERRIDE=4.5COMPAT in .desktop files to resolve GLXBadFBConfig (on my intel video) | |
# 5. follow https://askubuntu.com/questions/323437/how-to-prevent-wine-from-adding-file-associations | |
# to back xdg-open <url> in browser | |
# ( rm ~/.local/share/appliations/wine-extension-htm; update-mime-database ~/.local/share/mime/ ) | |
# 5.1. check it | |
# xdg-settings get default-web-browser |
import vobject # pip install vobject | |
import argparse | |
import csv | |
import sys | |
def notify_skip(card: vobject.vCard) -> None: | |
print(sys.stderr, 'skipped:', card, | |
file=sys.stderr) | |
pass |
- hosts: all | |
any_errors_fatal: True | |
gather_facts: no | |
become: True | |
tasks: | |
- name: test python-apt | |
raw: "which python && python -c \"import apt\"" | |
ignore_errors: True | |
changed_when: False | |
failed_when: False |
CN := example.com | |
gen_key: | |
openssl req -nodes -newkey rsa:4096 -keyout $(CN).key.new -noout -subj \ | |
"/C=RU/CN=www.$(CN)" | |
gen_csr: | |
openssl req -new -key $(CN).key -out $(CN).csr -subj \ | |
"/C=RU/CN=www.$(CN)" |