FreeBSD Bugzilla – Attachment 7893 Details for
Bug 16841
New FAQ entry describing use of "Windows(tm)" keys
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.90 KB, created by
mark
on 2000-02-20 20:50:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
mark
Created:
2000-02-20 20:50:02 UTC
Size:
2.90 KB
patch
obsolete
>*** book.sgml.orig Sun Feb 20 19:39:04 2000 >--- book.sgml Sun Feb 20 20:37:21 2000 >*************** >*** 5517,5523 **** >--- 5517,5586 ---- > <para>Now all you need is a splash screen. For that you can surf > on over to the gallery at <ulink URL="http://www.cslab.vt.edu/~jobaldwi/splash/">http://www.cslab.vt.edu/~jobaldwi/splash/</ulink>.</para> > >+ </answer></qandaentry> >+ >+ <qandaentry><question> >+ <para>Can I use the Windows(tm) keys on my keyboard in X?</para></question> >+ >+ <answer> >+ <para>Yes. All you need to do is use &man.xmodmap.1; to define what >+ function you wish them to perform.</para> >+ >+ <para>Assuming all "Windows(tm)" keyboards are standard then >+ the keycodes for the 3 keys are</para> >+ >+ <itemizedlist> >+ <listitem> >+ <para>115 - Windows(tm) key, between the left-hand Ctrl and >+ Alt keys</para> >+ </listitem> >+ <listitem> >+ <para>116 - Windows(tm) key, to the right of the Alt-Gr key</para> >+ </listitem> >+ <listitem> >+ <para>117 - Menu key, to the left of the right-hand Ctrl key</para> >+ </listitem> >+ </itemizedlist> >+ >+ <para>The command >+ <screen>&prompt.root; <userinput>xmodmap -e "keycode 115 = comma" >+ </userinput></screen>will make the left Windows(tm) key print a comma >+ (you will probably have to re-start X to see the result)</para> >+ >+ <para>To have the Windows(tm) key-mappings enabled automatically >+ everytime you start X either put the <command>xmodmap</command> commands >+ in your <filename>~/.xinitrc</filename> file or, preferably, create a >+ file <filename>~/.xmodmaprc</filename> and just include the >+ <command>xmodmap</command> options, one per line.</para> >+ >+ <para>For example, I have mapped the 3 keys to be F13, F14, and F15 >+ respectively. This makes it easy to map them to useful functions within >+ applications or your window manager.</para> >+ >+ <para>To do this put the following in <filename>~/.xmodmaprc</filename> >+ </para> >+ >+ <programlisting>keycode 115 = F13 >+ keycode 116 = F14 >+ keycode 117 = F15</programlisting> >+ >+ <para>I use <command>fvwm2</command> and have mapped the keys so that >+ F13 iconifies (or de-iconifies) the window the cursor is in, F14 brings >+ the window the cursor is in to the front or, if it is already at the >+ front, pushes it to the back, and F15 pops up the main Workplace >+ (application) menu even if the cursor is not on the desktop, which is >+ useful if you don't have any part of the desktop visible (and the logo >+ on the key matches its functionality).</para> >+ >+ <para>The entries in my <filename>~/.fvwmrc</filename> which map the >+ keys this way are:</para> >+ >+ <programlisting>Key F13 FTIWS A Iconify >+ Key F14 FTIWS A RaiseLower >+ Key F15 A A Menu Workplace Nop</programlisting> >+ > </answer></qandaentry></qandaset> >+ > </chapter> > > <chapter
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 16841
: 7893 |
7894