keymap change in lxkeymap not remembered in lubuntu Quantal

Bug #1014049 reported by michelf41
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
LXKeymap
Fix Committed
High
Leszek Lesner
lxkeymap (Ubuntu)
Fix Released
Undecided
Julien Lavergne

Bug Description

I can change keymap from french to belgian with lxkeymap in Lubuntu Quantal, but it is forgotten after reboot.
Note :
'sudo dpkg-reconfigure keyboard-configuration'
works OK
So minor.

Tags: patch

Related branches

Revision history for this message
Leszek Lesner (leszek-lesner) wrote :

I think an lxkeymap --autostart should fix that.
If there is no keyboard layout entry in your lxsession-edit autostart configuration it seems to be an Lubuntu bug.
Set to incomplete for the time beeing.

Changed in lxkeymap:
status: New → Incomplete
assignee: nobody → Leszek Lesner (leszek-lesner)
Revision history for this message
michelf41 (michel-franckart) wrote :

"lxkeymap --autostart" crahes with this report:

/usr/share/themes/Lubuntu-default/gtk-2.0/panel.rc:65: error: unexpected identifier `textstyle', expected character `}'
Sections: ['Global']
Layouts: ['be']
Variants: []
Options: ['terminate:ctrl_alt_bksp']
Traceback (most recent call last):
  File "/usr/bin/lxkeymap", line 621, in <module>
    (options, args) = parser.parse_args()
  File "/usr/lib/python2.7/optparse.py", line 1399, in parse_args
    stop = self._process_args(largs, rargs, values)
  File "/usr/lib/python2.7/optparse.py", line 1439, in _process_args
    self._process_long_opt(rargs, values)
  File "/usr/lib/python2.7/optparse.py", line 1514, in _process_long_opt
    option.process(opt, value, values, self)
  File "/usr/lib/python2.7/optparse.py", line 788, in process
    self.action, self.dest, opt, value, values, parser)
  File "/usr/lib/python2.7/optparse.py", line 808, in take_action
    self.callback(self, opt, value, parser, *args, **kwargs)
  File "/usr/bin/lxkeymap", line 611, in autostart
    LxkeymapWindow.loadFromConfig()
TypeError: unbound method loadFromConfig() must be called with LxkeymapWindow instance as first argument (got nothing instead)

I managed to get the keyboard I wanted using a roundabout but the bug is still there.
Best regards

Michel

Revision history for this message
Leszek Lesner (leszek-lesner) wrote :

Thanks for the report.

Changed in lxkeymap:
status: Incomplete → Confirmed
importance: Undecided → High
Revision history for this message
pawciobiel (pawciobiel) wrote :

I guess You might have already fixed this small typo in lxkeymap, but if you didn't please see attached patch against the trunk code.

Revision history for this message
Leszek Lesner (leszek-lesner) wrote :

Thanks for the patch.
I applied it and set this to fix commited.

Changed in lxkeymap:
status: Confirmed → Fix Committed
Julien Lavergne (gilir)
Changed in lxkeymap (Ubuntu):
status: New → In Progress
assignee: nobody → Julien Lavergne (gilir)
Revision history for this message
Julien Lavergne (gilir) wrote :

A package including the fix is available in Lubuntu Dev PPA Staging : https://launchpad.net/~lubuntu-dev/+archive/staging
Please report any problems you have with this new version.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "1014049_autostart_typo.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lxkeymap - 0.7.99+dfsg-0ubuntu3

---------------
lxkeymap (0.7.99+dfsg-0ubuntu3) quantal; urgency=low

  * debian/patches:
   - 04_crash_on_autostart.patch: From upstream, fix crash when launching with
     autostart (LP: #1014049).
   - 05_select_keyboard_option.patch: From upstream, fix freeze of the combobox
     (LP: #996588).
   - 06_crash_on_apply.patch: From upstream, fix crash on apply (LP: #996590).
   - 07_str_list_comparaison.patch: From upstream, fix crash on comparaison
     (LP: #1017249)
 -- Julien Lavergne <email address hidden> Tue, 09 Oct 2012 01:25:02 +0200

Changed in lxkeymap (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
vatbier (vatbier) wrote :

In Lubuntu 13.04 "sudo dpkg-reconfigure keyboard-configuration" does not keep the chosen keyboard layout remembered.
I had to put "@lxkeymap --autostart" in /home/vatbier/.config/lxsession/Lubuntu/autostart (putting it in /etc/xdg/lxsession/Lubuntu/autostart doesn't work if you already got an autostart file in your home directory .config/lxsession/Lubuntu)

Revision history for this message
pawciobiel (pawciobiel) wrote :

@vatbier: in 13.04 you may want to use Keyboard Layout handler Panel applet.

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.