Skip to content

Instantly share code, notes, and snippets.

@Kabouik
Kabouik / UPDATE-shadowbeta-17.10.sh
Last active July 27, 2018 10:45
Using Shadow.tech application on a non-debian-based distribution
#!/bin/bash
# Script to "install" and update the Shadow.tech application on a non-debian-based distribution. This script will download the Debian package, extract it to your a home folder sub-directories, create a .desktop file and clean downloaded files.
# Download latest .deb for Ubuntu 17.10, extract it, and clean unnecessary files.
mkdir ~/.config/Shadow\ Beta/data/
wget https://macosx.update.blade-group.fr/mpl/linux/beta/artful/shadowbeta.deb -P ~/.config/Shadow\ Beta/
cd ~/.config/Shadow\ Beta/
ar -x shadowbeta.deb
mkdir -p data && tar -xf data.tar.xz -C data/
@Kabouik
Kabouik / Shadow-bug-report
Last active July 27, 2018 14:45
Shadowbeta.deb bug report for Solus distribution
# Copy and paste this code in the terminal for troubleshooting:
printf "\n\n# System information\n" && inxi -SMCG &&
printf "\n\n# Top 25 rows of shadow.log\n" && head -n 25 ~/.cache/blade/shadow/shadow.log &&
printf "\n\n# User groups\n" && id &&
printf "\n\n# Display manager\n" && echo $XDG_SESSION_TYPE &&
printf "\n\n# Video hardware acceleration\n" && vainfo &&
printf "\n\n# ClientSDL dependencies\n" && ldd -v ~/.config/Shadow\ Beta/data/opt/Shadow\ Beta/resources/app.asar.unpacked/native/linux/ClientSDL
@Kabouik
Kabouik / UPDATE-shadowbeta-18.04.sh
Created July 29, 2018 22:00
Using Shadow.tech application on a non-debian-based distribution (18.04)
#!/bin/bash
# Script to "install" and update the Shadow.tech application on a non-debian-based distribution. This script will download the Debian package, extract it to your a home folder sub-directories, create a .desktop file and clean downloaded files.
# Download latest .deb for Ubuntu 18.04, extract it, and clean unnecessary files.
mkdir ~/.config/Shadow\ Beta/data/
wget https://macosx.update.blade-group.fr/mpl/linux/beta/bionic/shadowbeta.deb -P ~/.config/Shadow\ Beta/
cd ~/.config/Shadow\ Beta/
ar -x shadowbeta.deb
mkdir -p data && tar -xf data.tar.xz -C data/
@Kabouik
Kabouik / Shadow-18.04-bug-report
Last active August 8, 2018 15:06
Shadowbeta.deb 18.04 bug report for Solus distribution
# Copy and paste this code in the terminal for troubleshooting:
printf "\n\n# System information\n" && inxi -SMCG &&
printf "\n\n# Top 25 rows of shadow.log\n" && head -n 25 ~/.cache/blade/shadow/shadow.log &&
printf "\n\n# User groups\n" && id &&
printf "\n\n# Display manager\n" && echo $XDG_SESSION_TYPE &&
printf "\n\n# Video hardware acceleration\n" && vainfo &&
printf "\n\n# ClientSDL dependencies\n" && ldd -v ~/.config/Shadow\ Beta/data/opt/Shadow\ Beta/resources/app.asar.unpacked/native/linux/ClientSDL | grep "not found"
@Kabouik
Kabouik / Unicode table
Created August 5, 2019 10:04 — forked from ivandrofly/Unicode table
Unicode table - List of most common Unicode characters *
Unicode table - List of most common Unicode characters *
* This summary list contains about 2000 characters for most common ocidental/latin languages and most printable symbols but not chinese, japanese, arab, archaic and some unprintable.
Contains character codes in HEX (hexadecimal), decimal number, name/description and corresponding printable symbol.
What is Unicode?
Unicode is a standard created to define letters of all languages ​​and characters such as punctuation and technical symbols. Today, UNICODE (UTF-8) is the most used character set encoding (used by almost 70% of websites, in 2013). The second most used character set is ISO-8859-1 (about 20% of websites), but this old encoding format is being replaced by Unicode.
How to identify the Unicode number for a character?
Type or paste a character:
This file has been truncated, but you can view the full file.
space
! exclamation mark
" quotation mark
# number sign
$ dollar sign
% percent sign
& ampersand
' apostrophe
( left parenthesis
) right parenthesis
@Kabouik
Kabouik / US, intl., with AltGr dead keys (custom version with extra characters)
Last active January 9, 2020 10:14
US-international layouts for F(x)tec Pro¹ QWERTY model
default partial alphanumeric_keys
xkb_symbols "us" {
include "us(basic)"
name[Group1]="Fxtec Pro1 English (US, intl., with AltGr dead keys)";
# Extra symbols on levels 3 (YellowArrow modifier) and 4 (Shift+YellowArrow), no dead keys on levels 1 and 2
key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde] };
key <AE01> { [ 1, exclam, onesuperior, exclamdown ] };
@Kabouik
Kabouik / gist:3b4097736282c1cb5b1fede162f85562
Created August 1, 2020 19:41 — forked from jatcwang/gist:ae3b7019f219b8cdc6798329108c9aee
List of all setxkbmap configuration options (including models/layout/etc)
! model
pc101 Generic 101-key PC
pc102 Generic 102-key (Intl) PC
pc104 Generic 104-key PC
pc105 Generic 105-key (Intl) PC
dell101 Dell 101-key PC
latitude Dell Latitude series laptop
dellm65 Dell Precision M65
everex Everex STEPnote
flexpro Keytronic FlexPro
@Kabouik
Kabouik / gist:f4fb26a432abe9d38657b38a6dbceec0
Last active February 26, 2021 01:43
Pro1x layout: Qwerty suggestion from the community

F(x)tec is using the Pro1x as a way to introduce new keyboard layouts, but we noticed the latest proposal on IGG doesn't seem to address the biggest issue with the original Pro¹ shifted qwerty layout: missing slash/question-mark key, creating problems in all OS's and necessity for OS-specific workarounds. Therefore we hope F(x)tec uses this opportunity to not only un-shift but to also improve functionality, especially as alternate OS's like Linux are now clearly targeted.

bfuptg6hxomow8jjsjyv
Fig. 1. Unshifted qwerty layout shown in the Pro1x campaign.

The community quickly showed interest in this topic, with more than 150 posts by users from multiple OS's and about 3k views in just a few days. After one week of vivid discussions to weigh the costs and benefits of each suggestion users came up with, we think we've finally agreed on layout proposals we believe would significantly improve the user

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.