Re: gnome-shell magnifier



Hello Robert,

There is some information in the GNOME Help application regarding keyboard shortcuts. Launch the "Help" application and search topics using "Set keyboard shorcuts". That page contains general instructions for changing keyboard shortcuts. In particular, there is a section for defining custom keyboard shortcuts.

Here's one way to create a keyboard shortcut for reverse video, quoting from the help, and listing the commands needed:

To create your own keyboard shortcut:

1. Select Custom Shortcuts in the left pane, and click the + button (or click the + button in any category). The Custom Shortcut window will appear.

2. Type a Name to identify the shortcut, and a Command to run an application, then click Apply. For example, if you wanted the shortcut to open Rhythmbox, you could name it Music and use the rhythmbox command.

I chose "RevVideo" for the name, but you can call it what you want. The command is:

gsettings set org.gnome.desktop.a11y.magnifier invert-lightness true

3. Click Disabled in the row that was just added. When it changes to New accelerator..., hold down the desired shortcut key combination.


I chose Ctrl+Alt+R, but I didn't carefully check if that key combination was being used for anything else. But that worked for me -- when the magnifier is on, Ctrl+Alt+R switches the magnified view to reverse video.

A problem with the above is that it *only* turns inverse video on, but not off. I couldn't determine how to make it a true toggle. However, to compensate, I created a second custom shortcut to switch back to normal video. The command in that case is:

gsettings set org.gnome.desktop.a11y.magnifier invert-lightness false.

As for the rest of your questions, hopefully reading the help for keyboard shortcuts will provide insight.

Hope that helps.

--
;;;;joseph.


'A: After all, it isn't rocket science.'
'K: Right. It's merely computer science.'
             - J. D. Klaun -



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