Created
October 9, 2017 16:14
-
-
Save resurrexi/ee45b056bf8e54c1e6a3b4c4c91795e0 to your computer and use it in GitHub Desktop.
My profile script for Deepin OS on Chromebook Pixel 2
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
| # ~/.profile: executed by the command interpreter for login shells. | |
| # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login | |
| # exists. | |
| # see /usr/share/doc/bash/examples/startup-files for examples. | |
| # the files are located in the bash-doc package. | |
| # the default umask is set in /etc/profile; for setting the umask | |
| # for ssh logins, install and configure the libpam-umask package. | |
| #umask 022 | |
| # if running bash | |
| if [ -n "$BASH_VERSION" ]; then | |
| # include .bashrc if it exists | |
| if [ -f "$HOME/.bashrc" ]; then | |
| . "$HOME/.bashrc" | |
| fi | |
| fi | |
| # set PATH so it includes user's private bin if it exists | |
| if [ -d "$HOME/bin" ] ; then | |
| PATH="$HOME/bin:$PATH" | |
| fi | |
| # add new screen resolutions to profile | |
| # deepin OS will auto set to 1600x1062 since it's the last one added | |
| xrandr --newmode "1920x1275" 206.55 1920 2056 2264 2608 1275 1276 1279 1320 -HSync +Vsync | |
| xrandr --addmode eDP-1 "1920x1275" | |
| xrandr --newmode "1600x1062" 141.38 1600 1704 1872 2144 1062 1063 1066 1099 -HSync +Vsync | |
| xrandr --addmode eDP-1 "1600x1062" | |
| # adding linux-samus path to allow keybindings for changing brightness | |
| # refer to manual @ https://github.com/raphael/linux-samus | |
| export PATH="$HOME/linux-samus/scripts/setup/brightness:$PATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment