diff options
Diffstat (limited to 'modules/profile/xprofile.dot.link')
-rwxr-xr-x | modules/profile/xprofile.dot.link | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/modules/profile/xprofile.dot.link b/modules/profile/xprofile.dot.link index b679ed4..7de56ea 100755 --- a/modules/profile/xprofile.dot.link +++ b/modules/profile/xprofile.dot.link @@ -12,6 +12,9 @@ PROGRAMS="" # OS Version OSVERSION="`cut -d . -f 1 /etc/debian_version`" +# Hostname +HOSTNAME="`cat /etc/hostname`" + # Make sure to load the profile . $HOME/.profile @@ -42,17 +45,19 @@ for program in $PROGRAMS; do $program & done -# See https://bugzilla.redhat.com/show_bug.cgi?id=783568 -# https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/932177 -unset GNOME_KEYRING_PID -unset GNOME_KEYRING_CONTROL - # Apply custom keyboard configuration if [ -f "$HOME/.Xmodmaps/$HOSTNAME" ]; then xmodmap $HOME/.Xmodmaps/$HOSTNAME fi # Execute window manager -if [ "$OSVERSION" == '7' ]; then +if [ "$OSVERSION" = "7" ]; then + # See https://bugzilla.redhat.com/show_bug.cgi?id=783568 + # https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/932177 + #unset GNOME_KEYRING_PID + #unset GNOME_KEYRING_CONTROL + #eval $(gnome-keyring-daemon --start) & + + # Start window manager awesome fi |