Last active
June 1, 2017 11:45
-
-
Save navhaxs/c34fe26b547c3b460aff56e7dd3dea6e to your computer and use it in GitHub Desktop.
T450s-linux-17.04
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
These are my personal customisations for Ubuntu 17.04 on T450s. | |
This is not actually a shell script, I am lazy. | |
# Xilinx SDK fix not launching | |
~/.local/share/applications/Xilinx\ SDK\ 2016.4*.desktop | |
Exec=env SWT_GTK3=0 /opt/Xilinx/SDK/2016.4/bin/xsdk | |
# Fix Mini DisplayPort from flickering (Intel graphics) | |
https://askubuntu.com/q/752743/ | |
# Disable the scrolling-only function of the Trackpad | |
# This lets you: | |
# - use those physical left/right/middle mouse buttons to 'drag' like normal | |
# (e.g. use the physical middle button to drag in Blender) | |
/usr/share/X11/xorg.conf.d/99-synaptics.conf | |
Section "InputClass" | |
Identifier "Disable TrackPoint scrolling mode" | |
MatchProduct "TPPS/2 IBM TrackPoint" | |
MatchDevicePath "/dev/input/event*" | |
Option "ScrollMethod" "none" | |
EndSection | |
# Disable greeter sound | |
/usr/share/glib-2.0/schemas/50_unity-greeter.gschema.override | |
# Copy keys to ~/.ssh/, then chmod: | |
chmod 600 id_rsa | |
chmod 644 id_rsa.pub | |
# | |
sudo apt-get install compizconfig-settings-manager compiz-plugins-extra | |
# then go into ccsm ---> enable 'put' plugin ---> set shortcut for moving window to next/prev screen | |
# A how-to for OpenVPN from the network status bar menu in Ubuntu Unity 7: | |
# | |
# VPN Connections --> will show a "Add a VPN Connection..." which you can't click because it's greyed out. | |
# | |
# What you're supposed to do is go into "Edit Connections" and add a new VPN Connection from there. | |
# Except there's no VPN option to select unless you have the OpenVPN plugin installed: | |
sudo apt install network-manager-openvpn-gnome | |
# | |
# Now, add the connection, and the menu will show your connection which is clickable :) | |
# omg touchpad gestures! this made my day. | |
# read how to config at https://github.com/bulletmark/libinput-gestures | |
sudo apt install libinput-tools xdotool | |
# Handy utils | |
sudo apt install apt-file | |
sudo apt install redshift-gtk | |
sudo apt install tmux | |
sudo apt install neovim | |
# !! Don't run neovim as sudo on the very first run, or you'll need to chmod some stuff. | |
# so run it now as your normal user !! | |
vim | |
# I think the nm bug is still all weird and stuff since 16.xx ? | |
# Ubuntu seems to forget what the DNS servers are and drops | |
# internet connectivity intermittently on my T450s :( | |
# Fix - run during a drop out: | |
sudo dhclient | |
# https://superuser.com/q/1087359/ | |
# (Perhaps I'll be back to Fedora sooner than I thought..) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment