-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ubuntu_22.04: Configure system via stow (root dotfiles)
- copy root dotfiles to a new directory "RootDotfiles" - manage them via stow Advantage of managing the system dotfiles this way instead of using bare git repo is that the stow packages can be installed independently of each other, hence this is a more appropriate way of managing tweaks. Also adding the logid.cfg file and temporary bugfix in order to disable High resolution on MX3 master scroll wheel (otherwise the scrolling is erratic).
- Loading branch information
Showing
3 changed files
with
132 additions
and
0 deletions.
There are no files selected for viewing
113 changes: 113 additions & 0 deletions
113
Ubuntu_22.04/RootDotfiles/MX3_MASTER_LOGID_CONFIG/etc/logid.cfg
This file contains 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 file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
# Logiops (Linux driver) configuration for Logitech MX Master 3 mouse. | ||
# See: https://github.com/PixlOne/logiops/wiki/Configuration for more info. | ||
|
||
devices: ( | ||
{ | ||
name: "Wireless Mouse MX Master 3"; | ||
smartshift: | ||
{ | ||
on: true; | ||
threshold: 5; | ||
default_threshold: 5; | ||
}; | ||
hiresscroll: | ||
{ | ||
hires: true; | ||
invert: false; | ||
target: false; | ||
}; | ||
dpi: 2000; | ||
|
||
buttons: ( | ||
{ | ||
cid: 0xc3; | ||
action = | ||
{ | ||
type: "Gestures"; | ||
gestures: ( | ||
{ | ||
direction: "Up"; | ||
mode: "OnRelease"; | ||
action = | ||
{ | ||
type: "Keypress"; | ||
keys: ["KEY_LEFTMETA"]; | ||
}; | ||
}, | ||
{ | ||
direction: "Down"; | ||
mode: "OnRelease"; | ||
action = | ||
{ | ||
type: "Keypress"; | ||
keys: ["KEY_LEFTCTRL", "KEY_C"]; | ||
}; | ||
}, | ||
{ | ||
direction: "Left"; | ||
mode: "OnRelease"; | ||
action = | ||
{ | ||
type: "Keypress"; | ||
keys: ["KEY_LEFTCTRL", "KEY_X"]; | ||
}; | ||
}, | ||
{ | ||
direction: "Right"; | ||
mode: "OnRelease"; | ||
action = | ||
{ | ||
type: "Keypress"; | ||
keys: ["KEY_LEFTCTRL", "KEY_V"]; | ||
}; | ||
}, | ||
|
||
|
||
# { | ||
# # Switch tabs - left | ||
# direction: "Left"; | ||
# mode: "OnInterval"; | ||
# interval: 350; | ||
# threshold: 1; | ||
# action = { | ||
# type: "Keypress"; | ||
# keys: ["KEY_LEFTCTRL", "KEY_PAGEUP"]; | ||
# }; | ||
# }, | ||
# { | ||
# # Switch tabs - right | ||
# direction: "Right"; | ||
# mode: "OnInterval"; | ||
# interval: 350; | ||
# threshold: 1; | ||
# action = { | ||
# type: "Keypress"; | ||
# keys: ["KEY_LEFTCTRL", "KEY_PAGEDOWN"]; | ||
# } | ||
# }, | ||
|
||
|
||
{ | ||
# A direction "None" is unreliable as it requires a mouse | ||
# to be completely stationary to function correctly. | ||
direction: "None"; | ||
mode: "OnRelease"; | ||
action = { | ||
type: "Keypress"; | ||
keys: ["KEY_LEFTCTRL", "KEY_V"]; | ||
} | ||
} | ||
); | ||
}; | ||
}, | ||
{ | ||
cid: 0xc4; | ||
action = | ||
{ | ||
type: "Keypress"; | ||
keys: ["KEY_LEFTCTRL", "KEY_W"]; | ||
}; | ||
} | ||
); | ||
} | ||
); |
13 changes: 13 additions & 0 deletions
13
Ubuntu_22.04/RootDotfiles/disable_highres_scroll/etc/libinput/local-overrides.quirks
This file contains 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 file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[Logitech MX Master 3] | ||
MatchVendor=0x46D | ||
MatchProduct=0x4082 | ||
ModelInvertHorizontalScrolling=1 | ||
AttrEventCode=-REL_WHEEL_HI_RES;-REL_HWHEEL_HI_RES; | ||
|
||
|
||
# MX Master 3 has a different PID on bluetooth | ||
[Logitech MX Master 3] | ||
MatchVendor=0x46D | ||
MatchProduct=0xB023 | ||
ModelInvertHorizontalScrolling=1 | ||
AttrEventCode=-REL_WHEEL_HI_RES;-REL_HWHEEL_HI_RES; |
This file contains 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