Re: [orca-list] Changing Orca key



If you create a ~/.orca/orca-customizations.py file, it will not be overridden. Only the user-preferences.py file will be overridden when you change the preferences via the GUI.

If you look closely at the end of ~/.orca/user-preferences.py, you will see that the orca-customizations.py file is merely imported and is just a Python script. So, you can make it do anything. Just be careful to use good syntax. Temporarily adding a "print" statement to the "except ImportError" clause can help you debug typos you might make.

Will

Jacob Schmude wrote:
Hi
Is there a way to prevent orca from overwriting this preference? When I change it manually like this, if I then change any of my orca preferences it is overridden with the default modifiers of the keyboard layout I've chosen.



On Jan 22, 2009, at 14:55, Willie Walker wrote:

Hi Everett:

There's a work-in-progress patch at http://bugzilla.gnome.org/show_bug.cgi?id=536827, but you can also edit your ~/.orca/user-settings.py or ~/.orca/orca-customizations.py files (you might need to create the latter if it doesn't exist) and change/add the line that looks similar to the following:

orca.settings.orcaModifierKeys = orca.settings.DESKTOP_MODIFIER_KEYS

You might, for example, make it look like the following (all on one line, just in case my e-mail app or yours decides to wrap it):

orca.settings.orcaModifierKeys = orca.settings.DESKTOP_MODIFIER_KEYS["`"]

Hope this helps,

Will

E.J. Zufelt wrote:
Good evening,
I am using Orca on Ubuntu through VMWare Fusion. Long story short I have neither a caps lock or Insert key. Using Laptop layout in Orca, how can I change the Orca modifier key to something other than Caps Lock? Perhaps the accent key to the left of the 1
Thanks,
Everett
_______________________________________________
Orca-list mailing list
Orca-list gnome org
http://mail.gnome.org/mailman/listinfo/orca-list
Visit http://live.gnome.org/Orca for more information on Orca

_______________________________________________
Orca-list mailing list
Orca-list gnome org
http://mail.gnome.org/mailman/listinfo/orca-list
Visit http://live.gnome.org/Orca for more information on Orca

The major difference between a thing that might go wrong and a thing that cannot possibly go wrong is that when a thing that cannot possibly go wrong goes wrong it usually turns out to be impossible to get at or repair.
    --Douglas Adams

_______________________________________________
Orca-list mailing list
Orca-list gnome org
http://mail.gnome.org/mailman/listinfo/orca-list
Visit http://live.gnome.org/Orca for more information on Orca




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