This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Original script: https://gist.github.com/leodevbro/2987e8874a18b2086ea6cc1aa3c494e8 | |
| // v2.5 | |
| // Google Apps Script is a coding language based on JavaScript. | |
| // This Apps Script code helps us to sort addresses by most threads. | |
| // A thread is a group of messages, as a conversation. | |
| const modes = { | |
| inbox: "inbox", // to analyze threads in the "Inbox" folder | |
| outbox: "outbox", // to analyze threads in the "Sent" folder |
Add English (US, alt. intl.)
It's because the cedilla module isn't loaded by default when the locale is set to en, so you have to change the configuration files for gtk to add them:
- Edit configuration files:
sudo vim /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache
sudo vim /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules.cache
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SUBSYSTEM=="i2c-dev", ACTION=="add",\ | |
| ATTR{name}=="NVIDIA i2c adapter*",\ | |
| TAG+="ddcci",\ | |
| TAG+="systemd",\ | |
| ENV{SYSTEMD_WANTS}+="ddcci@$kernel.service" |
View Original source
External monitors can be controlled from linux via the DDC/CI interface. There is some great guidence on doing this in in the ArchWiki, but there are some problems on Nvidia that can be solved with workarounds listed in this issue.
Here's a step by step to getting it working on Arch.
- Install ddcutil and ddcci-driver-linux-dkms.
- Add
i2c-devto/etc/modules-load.d/modules.conf. - Add a ddcci service by creating the following in
/etc/systemd/system/ddcci@.service:
Related links:
lscpu | grep -i Virtualization
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # bw-ssh-add : Load SSH key from Bitwarden directly into ssh-agent. | |
| # Make sure that the ssh-agent is running. | |
| # Fail fast | |
| set -euo pipefail | |
| if [[ -z "${BW_SESSION:-}" ]]; then | |
| echo "No BW_SESSION found. Unlocking Bitwarden..." | |
| BW_SESSION=$(bw unlock --raw) |

