From 0afc716ccf2f9ef4144144319b175f9c6240333f Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Mon, 4 Feb 2019 20:33:31 +0200 Subject: [PATCH] Partially revert f7fbf35109bd80ecac5601f51a5ed85cacf7a35f That was just too evil, especially as the line has moved to my i3wm config where nothing else I have tried works. --- etc/profile.d/mikaela.sh | 5 ++--- rc/profile | 6 ++---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/etc/profile.d/mikaela.sh b/etc/profile.d/mikaela.sh index 12ab2eb3..972b5713 100644 --- a/etc/profile.d/mikaela.sh +++ b/etc/profile.d/mikaela.sh @@ -1,7 +1,6 @@ # Map compose to left menu and kill x with ctrl alt backspace and -# disable unbreakable space, male alt+shift change layout and -# layouts Finnish, Czech Qwerty and Esperanto. -setxkbmap -option compose:menu -option terminate:ctrl_alt_bksp -option nbsp:none -option 'grp:alt_shift_toggle' -layout fi,cz,epo -variant ,qwerty, +# disable unbreakable space +setxkbmap -option compose:menu -option terminate:ctrl_alt_bksp -option nbsp:none # Set TZ as the current timezone. This is supposed to be sent over SSH. TZ=$(date +%Z) diff --git a/rc/profile b/rc/profile index 2c120c8f..f067a33d 100644 --- a/rc/profile +++ b/rc/profile @@ -7,10 +7,8 @@ if hash ruby 2>/dev/null; then fi # Set compose to menu, kill X with ctrl-alt-backspace, -# disable nbsp (still available with compose-space-space, -# make alt+shift toggle layout and specify layouts -# as Finnish, Czech Qwerty and Esperanto. -setxkbmap -option compose:menu -option terminate:ctrl_alt_bksp -option nbsp:none -option 'grp:alt_shift_toggle' -layout fi,cz,epo -variant ,qwerty, +# disable nbsp (still available with compose-space-space) +setxkbmap -option compose:menu -option terminate:ctrl_alt_bksp -option nbsp:none # Removes duplicates from $PATH. Copied from http://unix.stackexchange.com/a/14896 PATH=$(echo "$PATH" | awk -v RS=':' -v ORS=":" '!a[$1]++{if (NR > 1) printf ORS; printf $a[$1]}')