cd /usr/share/X11/xorg.conf.d
sudo nano 40-libinput.conf
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
<?xml version="1.0" encoding="UTF-8"?> | |
<openbox_config xmlns="http://openbox.org/3.4/rc"> | |
<resistance> | |
<strength>10</strength> | |
<screen_edge_strength>20</screen_edge_strength> | |
</resistance> | |
<focus> | |
<focusNew>yes</focusNew> | |
<!-- always try to focus new windows when they appear. other rules do | |
apply --> |
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
https://github.com/cspeterson/splatmoji |
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
! 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 |
On Arch Linux, the following works really great (should work on all systemd-based distros):
Create a systemd user service, by putting the following to ~/.config/systemd/user/ssh-agent.service
:
[Unit]
Description=SSH key agent
[Service]
Type=simple
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
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
export $(gnome-keyring-daemon --daemonize --start) |
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
# add this to /usr/share/libinput/50-system-apple.quirks (create if doesn't exist) | |
[Apple Magic Trackpad v2] | |
MatchName=*Magic Trackpad 2 | |
AttrSizeHint=162x115 | |
AttrTouchSizeRange=20:10 | |
AttrPressureRange=2:0 | |
AttrPalmSizeThreshold=900 | |
AttrThumbSizeThreshold=700 |
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
Add the following to the end of the line in /boot/cmdline.txt (separated with a space) | |
`usbhid.mousepoll=0` |
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
# Configuration file for libinput-gestures. | |
# JDM — 12/11/2020 | |
# Thanks to: Mark Blakeney, Sep 2015 | |
# | |
# The default configuration file exists at /etc/libinput-gestures.conf | |
# but a user can create a personal custom configuration file at | |
# ~/.config/libinput-gestures.conf. | |
# | |
# Each gesture line has 3 [or 4] arguments separated by whitespace: | |
# |
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
# Configuration file for dbus-action. Mark Blakeney, Apr 2020 | |
# | |
# The default configuration file exists at /etc/dbus-action.conf. A user | |
# can create a personal custom configuration file by copying that to | |
# ~/.config/dbus-action.conf and adding entries. This file is YAML | |
# format, see https://en.wikipedia.org/wiki/YAML. | |
# List of trigger definitions. Each trigger must define: | |
# bus: Must be "session" or "system". | |
# interface: Interface name, e.g. org.freedesktop.DBus. |