Quick Language Switch (Gnome)

Keyboard Modifiers Status(Linux)

gnome-display-brightness-ddcutil

https://extensions.gnome.org/extension/744/hide-activities-button/

https://extensions.gnome.org/extension/906/sound-output-device-chooser/

https://extensions.gnome.org/extension/1238/time/

https://extensions.gnome.org/extension/4308/network-stats/

https://extensions.gnome.org/extension/2741/remove-alttab-delay-v2/

https://extensions.gnome.org/extension/3530/true-color-invert/

https://extensions.gnome.org/extension/4099/no-overview/

https://extensions.gnome.org/extension/2236/night-theme-switcher/

https://extensions.gnome.org/extension/5330/pingindic/

https://extensions.gnome.org/extension/307/dash-to-dock/

https://extensions.gnome.org/extension/1336/run-or-raise/

config: `~/.config/run-or-raise/shortcuts.conf`

# Here you list all the shortcuts.
#
# The shortcuts may be defined in two ways:
#
# 1. Run-or-raise form: shortcut,command,[wm_class],[title]
#        * `wm_class` and `title` are optional and case sensitive
#        * if none is set, lowercased launch `command` is compared with lowercased windows wm_classes and titles
#
# 2. Run only form: shortcut,command
#
#
# In fact, full form is `shortcut[ char][:mode],command,[wm_class],[title]`
# while `char` allows you to use layered shortcuts and `mode` to further specify circumstances.
#
# =================
# Run or raise form
# =================
#
# If you're using Arch, you may want to match by wm_class = gnome-terminal-server , just check yourself by Alt+F2/lg/Windows
# This line cycles any firefox window (matched by "firefox" in the window title) OR if not found, launches new firefox instance.
F1,firefox,,
F2,sh -c "$HOME/Applications/cursor.sh",Cursor,

# on wayland
F3,gnome-terminal,gnome-terminal-server,
# on x11
F3,gnome-terminal,Gnome-terminal,

<Super>e,nautilus,org.gnome.Nautilus,

# You may use regular expression in title or wm_class.
# Just put the regular expression between slashes.
# E.g. to jump to pidgin conversation window you may use this line
# (that means any windows of wm_class Pidgin, not containing the title Buddy List)"
# <Super>KP_1,pidgin,Pidgin,/^((?!Buddy List).)*$/


# Have the mail always at numpad-click.
# <Super>KP_2,chromium-browser --app=https://mail.google.com/mail/u/0/#inbox,mail.google.com,


# =============
# Run only form
# =============
#
# This line will launch the `notify-send` command.
# <Super>y,notify-send Hello world

# This layered shortcut will output the text only when you write `hello` after hitting <Super>e.
# <Super>e h e l l o,notify-send Layered hello

# This layered shortcut will not interfere with the shorcut above that is launching a terminal.
# <Super>e <Super>r,notify-send Layered 'Terminal was not launched.'

# Blank lines are allowed. Line starting with "#" means a comment.
# Now delete these shortcuts and put here yours.
# How to know wm_class? Using xprop or the looking glass tool, see README.md

~/Applications/cursor.sh

# sudo apt install -y software-properties-common
# sudo add-apt-repository -y ppa:appimagelauncher-team/stable
# sudo apt update
# sudo apt install -y appimagelauncher
/usr/lib/x86_64-linux-gnu/appimagelauncher/binfmt-bypass $(dirname "$0")/cursor*.AppImage --no-sandbox $@ &

Dash to Dock

Import gnome config

~/.bash_aliases

# don't save duplicate lines or lines starting with space
HISTCONTROL=ignoreboth

# disable:
# Ctrl+s → freeze screen.
# Ctrl+q → unfreeze screen.
stty ixoff -ixon

eval $(thefuck --alias f)

alias s="bash start.sh"
alias a="vim ~/.bash_aliases; source ~/.bash_aliases"
alias crons="crontab -e; sudo service cron reload"
stty intr \^x # SEND SIGINT USING CTRL+X (SO WE CAN REMAP COPY PASTE TO BE CTRL+C CTRL+V)
alias cursor="~/Applications/cursor.sh"
alias python="python3"
alias pip="pip3"
alias i='sudo apt install'
alias pbcopy="xclip -sel clip"

Advantage 2 Keyboard Remap

file: ADVANTAGE2/active/qwerty.txt

[2]>[7]
[1]>[8]
[caps]>[home]
[lshift]>[rshift]
[7]>[2]
[8]>[1]
[home]>[rwin]
[rctrl]>[tab]
[rwin]>[escape]
{lctrl}{q}>{speed5}{-rctrl}{-rshift}{z}{+rctrl}{+rshift}
{f9}>{speed5}{-lalt}{tab}{+lalt}

Single Click to open files/folders

Switch Firefox tabs by scrolling

make control + wheel scroll not zoom in and out, but scroll normally

VSCode Tabs Scrolling, Multiline tabs, AutoSave

CopyQ clipboard manager

sudo apt install copyq

Enable external monitor for login/lock screen

sudo cp ~/.config/monitors.xml /var/lib/gdm3/.config

make sudo typed less

make apt install auto

Hover to switch windows

sudo apt install gnome-tweaks

remap middle click <=> right click

add mouse buttons to press:

  • alt + tab

  • enter

sudo apt install input-remapper

Keyd

sudo vim /etc/keyd/default.conf

[ids]
k:05ac:0262 # apple macbook pro 2014 internal keyboard
k:05ac:024f # apple A1243 keyboard

[main]
shift = oneshot(shift)
meta = oneshot(meta)
control = oneshot(control)
leftalt = oneshot(alt)
capslock = overload(control, esc)
esc = A-tab
f4 = A-f4
f5 = middlemouse
f9 = print
f10 = M-space

[global]
oneshot_timeout = 1000