Zim

No easy way to rebind "switch to the side pane" from <Ctrl><Space>

Bug #1214726 reported by Sparhawk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Confirmed
Wishlist
Unassigned

Bug Description

Expected behaviour
I want to rebind "switch to the side pane" from <Ctrl><Space>, as this keybinding is already used on my system (to bind my dropdown terminal, guake).

Observed behaviour
As per the FAQ, I added `gtk-can-change-accels = 1` to `~/.gtkrc-2.0`, which allowed me to change keybindings in general, but this "switch to the side pane" doesn't appear to be in any menu. In addition, I couldn't find any reference to this function in ~/.config/zim/accelmap (which was already populated for me).

Suggested alternatives
Have a default accelmap that includes *all* options. Alternatively, create a "change keyboard shortcuts" window within zim.

In the meantime, could you please tell me if there is a manual fix that I can apply to accelmap?

Cheers.

zim 0.60
Kubuntu 13.04
DEBUG: Gtk version is (2, 24, 17)
DEBUG: Pygtk version is (2, 24, 0)

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 1214726] [NEW] No easy way to rebind "switch to the side pane" from <Ctrl><Space>

This keybinding is one of two exceptions that do not appear in the
accelerator list. Will look into fixing that. To make a quick hack edit
zim/gui/__init__.py and look for the method "do_preferences_changed" around
line 2450.

You can enable Alt-Space for the same action in the preferences - edift the
config file and enable "toggle_on_altspace".

Regards,

Jaap

On Wed, Aug 21, 2013 at 8:26 AM, Sparhawk <email address hidden>wrote:

> Public bug reported:
>
> Expected behaviour
> I want to rebind "switch to the side pane" from <Ctrl><Space>, as this
> keybinding is already used on my system (to bind my dropdown terminal,
> guake).
>
> Observed behaviour
> As per the FAQ, I added `gtk-can-change-accels = 1` to `~/.gtkrc-2.0`,
> which allowed me to change keybindings in general, but this "switch to the
> side pane" doesn't appear to be in any menu. In addition, I couldn't find
> any reference to this function in ~/.config/zim/accelmap (which was already
> populated for me).
>
> Suggested alternatives
> Have a default accelmap that includes *all* options. Alternatively, create
> a "change keyboard shortcuts" window within zim.
>
> In the meantime, could you please tell me if there is a manual fix that
> I can apply to accelmap?
>
> Cheers.
>
> zim 0.60
> Kubuntu 13.04
> DEBUG: Gtk version is (2, 24, 17)
> DEBUG: Pygtk version is (2, 24, 0)
>
> ** Affects: zim
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to Zim.
> https://bugs.launchpad.net/bugs/1214726
>
> Title:
> No easy way to rebind "switch to the side pane" from <Ctrl><Space>
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/zim/+bug/1214726/+subscriptions
>

Revision history for this message
Sparhawk (sparhawkthesecond) wrote :

Thanks for that. I'm happy enough with alt+space, so I just changed the prefs.

I see now that you've removed this as default because of user conflicts, but I noted that alt+space is still listed as an appropriate shortcut here:
http://zim-wiki.org/manual/Help/Menu_Items.html

Also, it's not relevant to me directly, as I'm happy with alt+space, but I wasn't sure if you were referring to
  /usr/lib/pymodules/python2.7/zim/gui/__init__.py
or
  /usr/share/pyshared/zim/gui/__init__.py

Cheers.

Changed in zim:
status: New → Confirmed
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.