17
May
2024

mSBC Airpods 3

17 May 2024
I recommend to use for this Pipewire. On pulseaudio not tested this method. Add new file sudo subl /etc/wireplumber/wireplumber.conf.d/50-bluez.conf With monitor.bluez.properties = { bluez5.enable-msbc = true } Then systemctl --user restart pipewire pipewire-pulse wireplumber sudo systemctl restart bluetooth TLDR I wondered for two weeks why the method described in the official Arch Linux guide, using the WirePlumber configuration file at <strike> /etc/wireplumber/bluetooth.lua.d/51-bluez-config.lua </strike> and syntax like <strike> bluez_monitor.properties = {</strike> It doesnt'work Instead, use /etc/wireplumber/wireplumber.conf.d/50-bluez.conf and syntax described in the beggining of post and will be fine
11
Mar
2024

Downgrade Plasma 6.0.1 to Plasma 5.2.7

11 Mar 2024
Plasma 6.0.1 is too laggy That is guide how to downgrade: sudo nano /etc/pacman.conf #[core] #Include = /etc/pacman.d/mirrorlist #[extra] #Include = /etc/pacman.d/mirrorlist [core] SigLevel = PackageRequired Server=https://archive.archlinux.org/repos/2024/03/01/$repo/os/$arch [extra] SigLevel = PackageRequired Server=https://archive.archlinux.org/repos/2024/03/01/$repo/os/$arch Then sudo pacman -Syyuu If you have a problem with broken u need to downgrade each package manually with pacman -U. sudo pacman -Qi expat libelf lib32-expat lib32-libelf sudo pacman -U /var/cache/pacman/pkg/lib32-expat-2.6.0-1-x86_64.pkg.tar.zst sudo pacman -U /var/cache/pacman/pkg/lib32-libelf-0.190-1-x86_64.pkg.tar.zst If you have problem with `plasma-framework5 exists in filesystem` sudo pacman -Syyuu --overwrite '*' The final step sudo reboot
4
Sep
2023

Artix impressions

04 Sep 2023
1. Openrc is sux because mpd and etc. Resolving by systemctl 2. After upgrade - Chrome update problem in build 3. After upgrade syslog-ng failing on boot
25
Nov
2022

run_scaled linux

25 Nov 2022
apt install xpra xvfb git clone https://github.com/kaueraal/run_scaled.git cd run_scaled/ cp run_scaled /usr/local/bin chmod +x /usr/local/bin run_scaled <yourapp>
4
Oct
2022

zsh

04 Oct 2022
install sudo apt install zsh make default shell zsh: chsh -s $(which zsh) oh my zsh: sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" copy plugins similar: git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting all plugins enum: plugins=(git zsh-autosuggestions zsh-syntax-highlighting fast-syntax-highlighting) hardcode install powerlevel10k: git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k Set `ZSH_THEME="powerlevel10k/powerlevel10k"` in `~/.zshrc`
22
Nov
2019

KDE Dive In

22 Nov 2019
Apps PHS 2019.1.4 DGP 2019.2.6 custom JDK DGP 2019.3 + plugin Choose Runtime + 8u212-linux-x64-b1596.1 latte launcher subl ~/.config/kwinrc [ModifierOnlyShortcuts] Meta=org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu OR kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu" qdbus org.kde.KWin /KWin reconfigure
17
Jun
2019

Dock station D3100

17 Jun 2019
Fix slowing CPU sudo nano /etc/X11/xorg.conf.d/20-intel.conf Section "Device" Identifier "Intel Graphics" Driver "Intel" Option "AccelMethod" "sna" Option "TearFree" "true" Option "TripleBuffer" "true" Option "MigrationHeuristic" "greedy" Option "Tiling" "true" Option "Pageflip" "true" Option "ExaNoComposite" "false" Option "Tiling" "true" Option "Pageflip" "true" Option "VSync" "false" EndSection
9
Nov
2018

Ubuntu Dive In

09 Nov 2018
Frontend build sudo apt-get install nodejs sudo apt-get install npm sudo npm install gulp-cli -g npm install gulp all-build Switch language sudo apt-get install gnome-tweaks gnome-tweaks Keyboard & Mouse tab Additional Layout Options button Switching to another layout Ctrl + Alt + Left/Right disable ubuntu gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left "['']" gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-right "['']" Linux + Nvidia sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt update ubuntu-drivers devices sudo apt install <recommended> Datagrip Data source properties -> Options tab -> Object filter: collation:-.*
6
Dec
2017

Network Tab fast image save

06 Dec 2017
a. Right click on an entry in the network log. Then select Copy All as HAR b. In console: ```js x = [<<PASTE HERE>>]; // paste here copied HAR (function(logObj, mime) { var results = []; logObj[0].log.entries.forEach(function (entry) { if (mime && entry.response.content.mimeType !== mime) return; results.push(entry.request.url); }); console.log(results.join('\n')); })(x, 'image/png'); // can be changed type ``` c. Save links in file d. `wget -i file`
30
Oct
2017

crontab

30 Oct 2017
**1-31/2** odd days **2-31/2** even days