Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Sep 2011 12:46:03 +0200
From:      Michal Varga <varga.michal@gmail.com>
To:        Craig Rodrigues <rodrigc@crodrigues.org>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: Gnome keyboard shortcuts equivalent to Windows keyboard shortcuts?
Message-ID:  <1316515563.1744.70.camel@xenon>
In-Reply-To: <CAG=rPVeV3VHVXyOY5144pzU1MSpFaWH2kP91y3O=J%2BHHoPMjWA@mail.gmail.com>
References:  <CAG=rPVeV3VHVXyOY5144pzU1MSpFaWH2kP91y3O=J%2BHHoPMjWA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2011-09-20 at 00:41 -0700, Craig Rodrigues wrote:
> Hi,
> 
> I tend to use Windows a lot, and have gotten used to the Windows
> keyboard shortcuts, as listed here:
> 
> http://support.microsoft.com/kb/126449
> 
> I would like to configure my Gnome desktop in FreeBSD to have the same
> keyboard shortcuts.
> I would especially like these ones:
> 
> Windows Logo+R: Run dialog box
> Windows Logo+D: Minimizes all open windows and displays the desktop



> Is there an easy way to do this?  Has someone set up a "Windows
> keyboard shortcut profile" in Gnome
> that I can just import and use?
> 
> Thanks.

Not exactly, but you can make your own one based on this example, you
will get the general idea:

gconftool-2 -t string -s /apps/metacity/global_keybindings/show_desktop "<Mod4>d"
gconftool-2 -t string -s /apps/metacity/global_keybindings/panel_main_menu "<Mod4>q"
gconftool-2 -t string -s /apps/metacity/global_keybindings/panel_run_dialog "<Mod4>r"
gconftool-2 -t string -s /apps/metacity/global_keybindings/switch_to_workspace_left "<Mod4>Left"
gconftool-2 -t string -s /apps/metacity/global_keybindings/switch_to_workspace_right "<Mod4>Right"

gconftool-2 -t string -s /apps/metacity/window_keybindings/move_to_workspace_left "<Control><Mod4>Left"
gconftool-2 -t string -s /apps/metacity/window_keybindings/move_to_workspace_right "<Control><Mod4>Right"
gconftool-2 -t string -s /apps/metacity/window_keybindings/toggle_fullscreen "<Mod4>Return"
gconftool-2 -t string -s /apps/metacity/window_keybindings/toggle_maximized "<Alt>Return"


To get a full list of keys in specific gconf path, use:

gconftool-2 -a /apps/metacity/global_keybindings
gconftool-2 -a /apps/metacity/window_keybindings

Also see `gconf-editor` for simple way to browse gconf database and
`gnome-keybinding-properties` for a GUI version of the above process.

m.


-- 
Michal Varga,
Stonehenge (Gmail account)





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1316515563.1744.70.camel>