You are not logged in.
I have a dual keyboard layout, and when xscreensaver triggers, I have no indication which language am I in. This is not a problem with gnome screen saver, but with xscreensaver that comes with xfce4 there is no indicator, which is annoying. Also, no indication that caps-lock is on, but at least this could be detected by the LED.
I modified /usr/bin/xflock4, adding following line to beginning of the file:
/usr/bin/setxkbmap -layout "us,ru" -option "grp:lalt_lshift_toggle,terminate:ctrl_alt_bksp"it works, but only when I lock the screen using "lock screen" button on xfce panel. When screen locks up due to timeout, keyboard layout stays as-is. It looks like there is a different command being used by power manager to turn off screen. Anyone knows how to hook into this?
Last edited by asg1448 (2014-07-28 22:40:09)
Offline