Hi all, I started using a new keyboard layout not too long ago, and I'm having trouble getting the settings to stick when I suspend the computer.
The settings seem to be persist fine in the console, but in X sometimes reset back to qwerty.
I suspend using:
Code:
echo -n mem > /sys/power/state
Is there a script that runs when waking up? I have the command to set the layout in both my xinitrc, and bashrc, and yet it still resets
Any ideas?
xinitrc
Code:
LANG=en_US.UTF-8
export LANG
XMODIFIERS="@im=SCIM"
export XMODIFIERS
GTK_IM_MODULE="scim"
export GTK_IM_MODULE
QT_IM_MODULE="scim"
export QT_IM_MODULE
scim -d&
xrandr --output VGA --mode 1680x1050 --output LVDS --mode 1280x800 --pos 1680x470
feh --bg-center /home/matt/media/images/wallpapers/Dark_Soul_Clouds.jpg
#feh --bg-tile /home/matt/media/images/wallpapers/deathnotel-920412.jpeg
#setxkbmap -option "ctrl:nocaps"
setxkbmap -layout us -variant dvp -option "ctrl:nocaps"
xmodmap -e "pointer = 3 2 1"
xscreensaver -nosplash &
ratpoison
bashrc
Code:
#!/usr/bin/bash
. ~/.config/prompts/redblue.sh
# prompt script
redblue
set -o vi
alias ls="ls -F --color=auto"
alias grep="grep --color=auto"
alias egrep="egrep --color=auto"
alias fgrep="fgrep --color=auto"
MANPATH=/usr/local/man:/usr/man:/usr/lib/java/man:/usr/share/texmf/man:/usr/local/share/man/
export LESS="-R"
setxkbmap -layout us -variant dvp -option "ctrl:nocaps"