When I try to modify the config /desktop/gnome/interface/menubar_accel to
Ctrl-Shift-M (instead of the default F10 key) this setting has no effect
on any gnome/gtk application.
I'm using FluxBox, Debian Lenny and gconf-editor. On my notebook
everything works fine (Ubuntu 8.04)
I want to change the config because I want the F10 key to be the "step
over" command in debugger of Eclipse 3.4.0
Thanks,
Gino
You say you're using Fluxbox, but you are changing a Gnome setting. By
default, Fluxbox operates independently of Gnome. Indeed, you need a
special procedure to get Gnome to use Fluxbox as its window manager, and
few people know how to do this, so I'm confused about what environment
you're using.
Fluxbox's keys can be configured by changing ~/.fluxbox/keys; see "man
fluxbox"; however, on my Etch system Fluxbox doesn't do anything with
F10, but I'm not running Fluxbox from within Gnome.
> You say you're using Fluxbox, but you are changing a Gnome setting. By
> default, Fluxbox operates independently of Gnome. Indeed, you need a
> special procedure to get Gnome to use Fluxbox as its window manager, and
> few people know how to do this, ...
Interesting. I know I can google for it, but do you have a good link
handy?
--
Intel engineering seem to have misheard Intel marketing strategy. The
phrase was "Divide and conquer" not "Divide and cock up"
-- Alan Cox, iia...@www.linux.org.uk
I discovered it by experimenting. Open a terminal then go into
"Desktop-> Preferences-> Sessions-> Current session" and abort the
current window manager (probably metacity). From the terminal start
"fluxbox &" and go back into the sessions window and configure Fluxbox
to restart automatically. Save the session.
Note, Fluxbox and Gnome probably won't mix as well as metacity and Gnome.
So maybe my previous post was a little bit confusing. I'm just using
fluxbox, no gnome. It's not even installed on my system. On my notebook
(ubuntu installation) I'm using gnome with metacity as the window
manager. This can also explain why the same settings is not working on my
desktop. But my problem still exists on my desktop with fluxbox: gtk
applications use the F10 key to show the menu. How can I change this
default behaviour, so I can use the F10 key for debugging in eclipse
3.4.0?
I suspect the problem is not with Fluxbox but with any Gtk application.
In addition to "/desktop/gnome/interface/menubar_accel" examine these
keys also:
/desktop/gnome/interface/can_change_accels
/apps/gnome-terminal/global/use_menu_accelerators
However, I doubt those will work, and I'm out of ideas.
> I discovered it by experimenting. Open a terminal then go into
> "Desktop-> Preferences-> Sessions-> Current session" and abort the
> current window manager (probably metacity). From the terminal start
> "fluxbox &" and go back into the sessions window and configure Fluxbox
> to restart automatically. Save the session.
>
> Note, Fluxbox and Gnome probably won't mix as well as metacity and Gnome.
I run a lot of gnome apps from a fluxbox window manager, I wonder what's
different if you run fluxbox-under-gnome. May have to try it.
--
"For a male and female to live continuously together is... biologically
speaking, an extremely unnatural condition."
-- Robert Briffault
After some googling I found a solution for my problem. If you don't use
gnome, but still using gtk applications you need to change the gtk-menu-
bar-accel setting (this is the gtk equivelent for /desktop/gnome/
interface/menubar_accel). This can be done by adding the following line
to your .gtkrc-2.0 file, if you want the F12 key to pop out the menu in
gtk applications:
gtk-menu-bar-accel = "F12"
For disabling this functionality you can simply set an empty string.
Thanks for the feedback.