Re: [gnome-list] 2 questions of a keyboard shortcut-eth nature

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

 



On Sun, Jan 25, 2004 at 09:22:37PM -0800 or thereabouts, Eric Pierce wrote:
> (Wouldn't it be nice if the mailer automatically added
> [gnome-list] to all subject lines...)

Ugh, no, another 13 characters taking space and hiding
more of the subject line. :) > 

> 1. How can I assign '<ctrl><alt>delete' to bring up
> the log-off dialog?  I don't see that dialog anywhere
> in the 'Keyboard Shortcuts' listing.  I noticed this
> works on a friend's RedHat's install.  Maybe hidden
> somewhere in 'gconf-editor'?

It's a RH patch. The Red Hat metacity source rpm contains 
this in metacity.spec

Summary: Metacity window manager
Name: metacity
Version: 2.6.3
...
Patch2: metacity-2.4.13.90-ctrlaltdel.patch

The patch is attached to this email, but essentially it just
adds the keybinding.

> 2. I've assigned '<ctrl>esc' to bring up the apps
> menu.  However, the menu will display wherever the
> mouse happens to be.  Anyway to get it to display from
> the panel?

I've seen this question before (not just from you),
but I don't know the answer.

Telsa

--- metacity-2.4.13.90/src/metacity.schemas.in.ctrlaltdel	2003-01-16 15:11:47.000000000 -0500
+++ metacity-2.4.13.90/src/metacity.schemas.in	2003-01-16 15:13:41.000000000 -0500
@@ -1549,8 +1549,31 @@
     </schema>
 
     <schema>
-      <key>/schemas/apps/metacity/global_keybindings/run_command</key>
+      <key>/schemas/apps/metacity/global_keybindings/run_command_1</key>
       <applyto>/apps/metacity/global_keybindings/run_command_1</applyto>
+      <owner>metacity</owner>
+      <type>string</type>
+      <default>&lt;Ctrl&gt;&lt;Alt&gt;Delete</default>
+      <locale name="C">
+         <short>Run a defined command</short>
+         <long>
+          The keybinding that runs the correspondingly-numbered
+          command in /apps/metacity/keybinding_commands
+
+          The format looks like "&lt;Control&gt;a" or
+          "&lt;Shift&gt;&lt;Alt&gt;F1.
+
+          The parser is fairly liberal and allows lower or upper case,
+          and also abbreviations such as "&lt;Ctl&gt;" and
+          "&lt;Ctrl&gt;". If you set the option to the special string
+          "disabled", then there will be no keybinding for this
+          action.
+         </long>
+      </locale>
+    </schema>
+
+    <schema>
+      <key>/schemas/apps/metacity/global_keybindings/run_command</key>
       <applyto>/apps/metacity/global_keybindings/run_command_2</applyto>
       <applyto>/apps/metacity/global_keybindings/run_command_3</applyto>
       <applyto>/apps/metacity/global_keybindings/run_command_4</applyto>
@@ -1586,8 +1609,24 @@
     <!-- commands to run with the run_command keybindings -->
 
     <schema>
-      <key>/schemas/apps/metacity/keybinding_commands/command</key>
+      <key>/schemas/apps/metacity/keybinding_commands/command_1</key>
       <applyto>/apps/metacity/keybinding_commands/command_1</applyto>
+      <owner>metacity</owner>
+      <type>string</type>
+      <default>gnome-session-save --kill</default>
+      <locale name="C">
+         <short>Commands to run in response to keybindings</short>
+         <long>
+         The /apps/metacity/global_keybindings/run_command_N 
+         keys define keybindings that correspond to these commands.
+         Pressing the keybinding for run_command_N will 
+         execute command_N.
+         </long>
+      </locale>
+    </schema>
+
+    <schema>
+      <key>/schemas/apps/metacity/keybinding_commands/command</key>
       <applyto>/apps/metacity/keybinding_commands/command_2</applyto>
       <applyto>/apps/metacity/keybinding_commands/command_3</applyto>
       <applyto>/apps/metacity/keybinding_commands/command_4</applyto>

[Index of Archives]     [Fedora Desktop]     [Trinity Users]     [KDE]     [Gimp]     [Yosemite News]

  Powered by Linux