Ticket #76 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

Can't change the key bindings

Reported by: legendario Owned by: somebody
Priority: blocker Milestone:
Component: guake Version: 0.3.1
Keywords: key binding Cc: pingou@…

Description

I couldn't change the key bindings. When I try to set a new one on the preferences, the new combination always appears with some mod2, whatever it is. And it is even worse cause i couldn't change it back, because the bug persisted. For example: i tried to change ctrl+shift+C for ctrl+c, which is much better. But guake showed it as ctrl+mod2+c. Couldn't change it back. Now none works.

I have version 0.3.1

Change History

  Changed 5 years ago by legendario

  • version set to 0.3.1

  Changed 5 years ago by legendario

  • keywords key binding added

  Changed 5 years ago by pingou

Could you run guake from the terminal and paste the output if there is any ?

Do you have a wireless keyboard ?

  Changed 5 years ago by legendario

No, i don't have a wireless keyboard.

There was no output from the terminal while trying to change the keybinds. The only output was when opening the the program:

~$ guake
/home/kemel/.gtkrc-2.0:2: error: scanner: unterminated string constant - e.g. `style'

  Changed 5 years ago by pingou

Could you paste the ~/.gconf/apps/guake/keybindings/global/%gconf.xml ?

What brand is your keyboard ?

Thanks

  Changed 5 years ago by pingou

  • cc pingou@… added

I can reproduce it

  Changed 4 years ago by dundee

Same problem with wireless set Logitech S 510 and notebook Lenovo 3000 N200.

Both works when NumLock? off.

  Changed 4 years ago by pingou

  • priority changed from major to blocker

ok I got the trick

sed -i -e 's| static const gchar text_mod2\[\] = "<Mod2>" | static const gchar text_mod2\[\] = " |g' src/globalhotkeys/eggaccelerators.c

For what I tested, it works on the latest git version

  Changed 4 years ago by pingou

There is a new version coming out for Fedora, with a tempory fix for that bug :)

follow-up: ↓ 11   Changed 4 years ago by lincoln

Which version of gtk are you using? right now guake uses the cellrendererkey from gtk instead of using an egglibrary. I coudn't reproduce this bug with guake from git and gtk 2.14.4 (Debian package)

in reply to: ↑ 10   Changed 4 years ago by dundee

Replying to lincoln:

Which version of gtk are you using? right now guake uses the cellrendererkey from gtk instead of using an egglibrary. I coudn't reproduce this bug with guake from git and gtk 2.14.4 (Debian package)

I am using gtk 2.14.4 and guake 0.3.1 and the problem persists. I am running Ubuntu.

  Changed 4 years ago by lincoln

I've worked on this issue and can't reproduce anymore, can someone test if it is still broken?

Thank you =)

  Changed 4 years ago by pingou

Does it fix also  http://trac.guake-terminal.org/ticket/97 ?

I will give it a try ;)

  Changed 4 years ago by pingou

Ok seems to work for me here :)

(I remove the previous trick ;))

It also seems to handle quite well the combinason (alt - alt+shift - ctrl+alt+shift..)

  Changed 4 years ago by dundee

I have the same packages in repository as before (libgtk2.0-0 2.14.4 and guake 0.3.1-3), so nothing changed. Still not working, Num Lock needs to be off.

  Changed 4 years ago by pingou

@dundee

Lincoln was referring to the changed he made on the git repo. Since there has been no update/release of the version 0.3.1 which is the latest release done you can not test the changes made :)

You can either build the .deb from the git repo or wait for the next release to be able to test this change :)

  Changed 4 years ago by dundee

I am unfortunately unable to build a deb. I run autogen.sh. He is complaining that AM_GCONF_SOURCE_2 is not in library. So I comment it. Run again, this time ok. I run ./configure and it tells me "No package 'pygtk-2.0' found". I have package python-gtk2.

follow-up: ↓ 19   Changed 4 years ago by pingou

@dundee

You need the -devel package:

To build guake for Fedora I need:

BuildRequires:  python-devel gtk2-devel gettext desktop-file-utils perl(XML::Parser) GConf2-devel
BuildRequires:  pygtk2-devel >= 2.10 intltool vte

I don't know the equivalent for ubuntu/debian but you can find them easily... :)

in reply to: ↑ 18   Changed 4 years ago by dundee

Replying to pingou:

@dundee You need the -devel package: To build guake for Fedora I need: {{{ BuildRequires?: python-devel gtk2-devel gettext desktop-file-utils perl(XML::Parser) GConf2-devel BuildRequires?: pygtk2-devel >= 2.10 intltool vte }}} I don't know the equivalent for ubuntu/debian but you can find them easily... :)

Thanks, that worked.

Work for me now!

However background opacity stopped to work.

  Changed 4 years ago by pingou

  • status changed from new to closed
  • resolution set to fixed

So we can consider this bug as fixed :)

I also fix #97 for the same reasons :)

Note: See TracTickets for help on using tickets.