Skip to content

Instantly share code, notes, and snippets.

@Nyubis
Created April 18, 2016 18:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nyubis/7864af4176bdc9d3bfc9c22fb9d18e8e to your computer and use it in GitHub Desktop.
Save Nyubis/7864af4176bdc9d3bfc9c22fb9d18e8e to your computer and use it in GitHub Desktop.
# ~/.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
# fix locale
# Don't put LC_ALL here, read https://wiki.debian.org/Locale and https://wiki.archlinux.org/index.php/Locale
export LANG="en_DK.UTF-8"
export LC_CTYPE="en_DK.utf8"
export LC_NUMERIC="en_DK.utf8"
export LC_TIME="en_DK.utf8"
export LC_COLLATE="en_DK.utf8"
export LC_MONETARY="en_DK.utf8"
export LC_MESSAGES="en_DK.utf8"
export LC_PAPER="en_DK.utf8"
export LC_NAME="en_DK.utf8"
export LC_ADDRESS="en_DK.utf8"
export LC_TELEPHONE="en_DK.utf8"
export LC_MEASUREMENT="en_DK.utf8"
export LC_IDENTIFICATION="en_DK.utf8"
# fix keybind stuff
export GTK_IM_MODULE=xim
export KDE_IM_MODULE=xim
export QT_IM_MODULE=xim
setxkbmap -option compose:ralt
setxkbmap -option caps:escape
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment