Author: jsuchome Date: Mon Jan 11 15:42:17 2010 New Revision: 60314 URL: http://svn.opensuse.org/viewcvs/yast?rev=60314&view=rev Log: - do not call setxkbmap if running over ssh (bnc#539218) - 2.19.7 Modified: trunk/country/VERSION trunk/country/keyboard/src/modules/Keyboard.ycp trunk/country/package/yast2-country.changes Modified: trunk/country/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/VERSION?rev=60314&r1=60313&r2=60314&view=diff ============================================================================== --- trunk/country/VERSION (original) +++ trunk/country/VERSION Mon Jan 11 15:42:17 2010 @@ -1 +1 @@ -2.19.6 +2.19.7 Modified: trunk/country/keyboard/src/modules/Keyboard.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/keyboard/src/modules/Keyboard.ycp?rev=60314&r1=60313&r2=60314&view=diff ============================================================================== --- trunk/country/keyboard/src/modules/Keyboard.ycp (original) +++ trunk/country/keyboard/src/modules/Keyboard.ycp Mon Jan 11 15:42:17 2010 @@ -1072,10 +1072,16 @@ map display_info = UI::GetDisplayInfo (); textmode = display_info["TextMode"]:false; } + string display = getenv ("DISPLAY"); if (textmode) { y2milestone("Not setting X keyboard due to text mode"); } + // check if we are running over ssh: bnc#539218,c4 + else if (tointeger (splitstring (display, ":")[1]:"0") >= 10) + { + y2milestone("Not setting X keyboard: running over ssh"); + } else if (size (xkb_cmd)>0) { SetKeyboard (keyboard); Modified: trunk/country/package/yast2-country.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/package/yast2-country.changes?rev=60314&r1=60313&r2=60314&view=diff ============================================================================== --- trunk/country/package/yast2-country.changes (original) +++ trunk/country/package/yast2-country.changes Mon Jan 11 15:42:17 2010 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Jan 11 15:27:15 CET 2010 - jsuchome@suse.cz + +- do not call setxkbmap if running over ssh (bnc#539218) +- 2.19.7 + +------------------------------------------------------------------- Fri Jan 8 10:09:52 CET 2010 - jsuchome@suse.cz - package keyboard desktop file -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org