Skip to content

Instantly share code, notes, and snippets.

@yuri1969
yuri1969 / etc portage make.conf
Last active January 30, 2024 13:00
Gentoo Portage make.conf - ThinkPad T430
###################################################
#
# ThinkPad T430
#
# i5-3320M, 3rd Gen Intel GFX, SSD Intel 240G
#
###################################################
# Prefer stability over agressive optimizations
# Use '-march=native' since working fine; check: 'echo | gcc -### -E - -march=native'
###################################################
#
# ThinkPad T430
#
# i5-3320M, 3rd Gen Intel GFX, SSD Intel 240G
#
###################################################
[Unit]
Description=Run fstrim.service every day at 20:17:00
###################################################
#
# ThinkPad T430
#
# i5-3320M, 3rd Gen Intel GFX, SSD Intel 240G
#
###################################################
[Unit]
Description=Runs fstrim on devides supporting TRIM
@yuri1969
yuri1969 / grub
Last active November 8, 2021 21:10
Default template for GRUB2 - etc-defaults-grub - adjusted for T430
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
#
# To populate all changes in this file you need to regenerate your
# grub configuration file afterwards:
# 'grub2-mkconfig -o /boot/grub/grub.cfg'
#
# See the grub info page for documentation on possible variables and
# their associated values.
#!/bin/sh
###################################################
#
# ThinkPad T430
#
# i5-3320M, 3rd Gen Intel GFX, SSD Intel 240G
#
# https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-devices-power
#
###################################################
#
# ThinkPad T430
#
# i5-3320M, 3rd Gen Intel GFX, SSD Intel 240G
#
###################################################
[Unit]
Description=Runs a batch of commands enabling HW power saving features
###################################################
#
# ThinkPad T430
#
# i5-3320M, 3rd Gen Intel GFX, SSD Intel 240G
#
###################################################
[Unit]
Description=Run power-save.service 5 seconds after systemd starts
###################################################
#
# ThinkPad T430
#
# i5-3320M, 3rd Gen Intel GFX, SSD Intel 240G
#
###################################################
Section "InputClass"
Identifier "two finger scrolling"
Driver "synaptics"
###################################################
#
# ThinkPad T430
#
# i5-3320M, 3rd Gen Intel GFX, SSD Intel 240G
#
###################################################
Section "InputClass"
Identifier "ThinkPad TrackPoint"
Driver "evdev"
Parameter settings:
LeftEdge = 1556
RightEdge = 5325
TopEdge = 1555
BottomEdge = 4580
FingerLow = 35
FingerHigh = 40
MaxTapTime = 80
MaxTapMove = 71
MaxDoubleTapTime = 180