Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7503

Beginners • Keybinding Ctrl+Alt+Space

$
0
0
I don't know if this is something new, but I just accidentally pressed "Control + Alt + Space" simultaneously and discovered, to my great surprise, that this key combination installs Orca and reboots the computer without asking for permission and without giving me time to properly close my work.
I understand that those who use Orca don't care about visual warnings, and we can applaud the effort to make computers accessible to everyone. But perhaps we have another small ergonomic or design flaw here:
why force keyboard shortcuts for Orca on me when I haven't installed it?

Anyway, if, like me, you find this keyboard shortcut not very useful, or even unpleasant, here's how to make it harmless to your ongoing work.

Open ~/.config/labwc/rc.xml with your favorite editor, and in the <keyboard> section add :

Code:

<!-- Override RPI Keybind --><keybind key="C-A-space"><action name="Execute"><command>sh -c "$(zenoty --info --text='this keybind is available')"</command></action></keybind>
Save and in your terminal, type

Code:

labwc -rorlabwc --reconfigure
in order to reload the compositor config.
Default keybind is now overridden but this harmless info message (but you can obviously use it for anything else).
zenoty version with a dark theme :
zenoty.png

You can also use "zenity" or "yad" instead of zenoty.
Here's the Zenity version

Code:

<keybind key="C-A-space"><action name="Execute"> <command>sh -c "$(zenity --info --title='DWAM INFO' --text='Keybind available')"</command></action></keybind>
which produces :
zenity.png

If you do not have a rc.xml in your personal folder yet, just create one like this

Code:

touch ~/.config/labwc/rc.xml
and copy and paste the following in it

Code:

<?xml version="1.0"?><openbox_config xmlns="http://openbox.org/3.4/rc"><keyboard><numlock>on</numlock><default /><!-- Replace RPI Keybind --><keybind key="C-A-space"><action name="Execute"><command>sh -c "$(zenoty --info --text='this keybind is available')"</command></action></keybind><keybind key="S-Print">    <action name="Execute">        <command>sh -c 'grim -g "$(slurp)"' </command>   </action></keybind></keyboard></openbox_config>
Save and in your terminal, type

Code:

labwc -rorlabwc --reconfigure
Note : I left, as examples, 2 useful sections for numlock ON by default and a keybinding for screencapture with interactive area selection. Remove if you don't want them.

Hope this helps

Statistics: Posted by dwam — Fri Dec 05, 2025 10:29 am — Replies 0 — Views 30



Viewing all articles
Browse latest Browse all 7503

Trending Articles