Last active
July 5, 2019 19:29
-
-
Save surhudm/ffcc0f2928802223211fa47944ffb780 to your computer and use it in GitHub Desktop.
Make Fedora usable on Lenovo T460s
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
# Please read everything below carefully, and do not blindly run it. | |
# Install gnome-tweak-tool and change fonts in Fonts section to | |
# change scaling factor 1.25 or directly from command line: | |
gsettings set org.gnome.desktop.interface text-scaling-factor 1.25 | |
# Adjust which fonts you want below: | |
# gsettings set org.gnome.desktop.wm.preferences titlebar-font 'Font fontsize' | |
# gsettings set org.gnome.desktop.interface monospace-font-name 'Font fontsize' | |
# gsettings set org.gnome.desktop.interface font-name 'Font fontsize' | |
# Remove gnome-keyring-daemon from autostart, gnome-keyring cannot deal with ssh-add -c | |
cd /etc/xdg/autostart | |
cp gnome-keyring-ssh.desktop $HOME/.config/autostart/gnome-keyring-ssh.desktop | |
cd $HOME/.config/autostart/ | |
echo "X-GNOME-Autostart-enabled=false" >> gnome-keyring-ssh.desktop | |
cd | |
# Add an ssh-agent script to $HOME/bin/run-ssh-agent.sh | |
echo '#!/bin/bash | |
if [[ -S $XDG_RUNTIME_DIR/ssh-agent.socket ]]; then | |
echo "ssh agent exists" | |
else | |
echo "ssh agent does not exist" | |
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent.socket | |
/usr/bin/ssh-agent -a $SSH_AUTH_SOCK -s >& .ssh/testit | |
fi' > $HOME/bin/run-ssh-agent.sh | |
chmod +x $HOME/bin/run-ssh-agent.sh | |
# Finally add this to your .bash_profile | |
# run-ssh-agent.sh | |
echo 'export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"' >> .bash_profile | |
# For increasing touchpad and trackpad sensitivity | |
echo 'xinput --set-prop "12" "libinput Accel Speed" 1.0' >> .bash_profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@camsn0w Sorry I just saw the comment now. I am not sure what still does not behave normally mean? Can you clarify? If you have trouble getting the mouse to move the right direction, it might be a hardware issue. I had to get my keyboard and mouse replaced to get the trackpoint not misbehaving. You are in luck if you are in warranty, they should be able to replace without charge.