Fildem icon indicating copy to clipboard operation
Fildem copied to clipboard

How to change the HUD shortcut: Alt + Space

Open drnxloc opened this issue 3 years ago • 1 comments

I can't find a way to change the keyboard shortcut: Alt + Space

drnxloc avatar Apr 27 '22 13:04 drnxloc

My workaround:

  1. find the egg file that fildem is using, e.g. locate fildem | grep .egg$
  2. extract the egg file (just unzip it) that fildem is using.
  3. replace the hard-coded <Alt>space in line 22 in fildem/keybinder.py with something else.
21	if not is_wayland():
22		Keybinder.bind('<Ctrl><Alt>H', callback, dbus_menu)
23	# GLib.timeout_add_seconds(1, callback)
24	try:
25		GLib.MainLoop().run()
26	except KeyboardInterrupt:
27		GLib.MainLoop().quit()
  1. re-zip the file. and replace the original egg file with the modified one (without changing its name).

You may have to log out to make the current HUD binding disappear.

PromethiumL avatar May 08 '22 04:05 PromethiumL