Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/daemon/client/include/input.client.class

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2058 by niro, Wed May 8 12:22:16 2013 UTC revision 2059 by niro, Wed May 8 12:39:51 2013 UTC
# Line 49  set_input_keyboard() Line 49  set_input_keyboard()
49  get_input_keymap()  get_input_keymap()
50  {  {
51   local keymap   local keymap
52   if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]]   if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]] && pidof X &> /dev/null
53   then   then
54   keymap=$(x11runas "setxkbmap -query" | grep layout | awk '{print $2}')   keymap=$(x11runas "setxkbmap -query" | grep layout | awk '{print $2}')
55   else   else

Legend:
Removed from v.2058  
changed lines
  Added in v.2059