[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#370564: xkb/symbols/macintosh_vndr/us without srvr_ctrl(xfree86)



Package: xkb-data
Version: 0.8-5
Tags: patch

The current xkb-symbols files for macintosh keyboards do not allow 
console switching (Control + Alt + F<n>). The file 
/usr/share/X11/xkb/symbols/macintosh_vndr/us  only defines
    // Begin "Function" section
    key <FK01> {        [  F1           ]       };
    key <FK02> {        [  F2           ]       };
    ...
    key <FK12> {        [  F12          ]       };


I think, the following patch should be applied:
==============================
diff -ur xkb-orig/symbols/macintosh_vndr/us xkb/symbols/macintosh_vndr/us
--- xkb-orig/symbols/macintosh_vndr/us  2006-04-14 22:43:46.000000000 
+0200
+++ xkb/symbols/macintosh_vndr/us       2006-06-05 21:57:19.000000000 
+0200
@@ -147,6 +147,7 @@

     include "compose(rwin)"
     include "macintosh_vndr/apple(extended)"
+    include "srvr_ctrl(xfree86)"

 // *** FIXME
 //    key <LSGT> {     [ quoteleft,    asciitilde      ]       };
==============================
to include the definitions from /usr/share/X11/xkb/symbols/srvr_ctrl.

But maybe the problem is more complicated, because the rules file
/usr/share/X11/xkb/rules/base uses different combinations of xkb-symbols 
for different macintosh keyboards, for example
  macintosh_vndr/us(extended)
  macintosh_vndr/us(extended)+macintosh_vndr/%l%(v)
  macintosh_vndr/us(extended)+%l%(v):2
  macintosh_vndr/us(extended)+%l%(v)
  pc(pc105)+macintosh_vndr/us(extended)
  pc(pc105)+macintosh_vndr/%l%(v)

Those which are based on pc(pc105) should already include the stuff 
for console switching, but I did not test this.

  Ben



Reply to: