[Bug 1875062] Re: [20.04] Keyboard layout changes during installation before typing username/password

2022-04-08 Thread Benjamin Drung
** Summary changed:

- [20.04] Keyboard layout not enabled immediately during installation when 
typing username/password
+ [20.04] Keyboard layout changes during installation before typing 
username/password

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875062

Title:
  [20.04] Keyboard layout changes during installation before typing
  username/password

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1875062/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1875062] Re: [20.04] Keyboard layout changes during installation before typing username/password

2022-04-08 Thread Benjamin Drung
I have a working patch for ubiquity that sets the GNOME keyboard there as well. 
Next steps (next week):
* finish test cases
* test Kubuntu (KDE)
* then create merge request

I created bug #1968354 for open-vm-tools to make the udev trigger more
precise.

Site notes
==

If you do following steps in the live system:
```
sudo gedit # close without any change
ps auxff | grep dconf-servic[e]
ubiquity --debug gtk_ui
```

`sudo gedit` will start a dconf-service process owned by root. Then
ubiquity will launch another dconf-service process owned by ubuntu:

```
ubuntu@ubuntu:~$ ps aux | grep dconf-servic[e]
ubuntu  1596  0.0  0.1 156984  6020 ?Ssl  17:28   0:00 
/usr/libexec/dconf-service
root5615  0.0  0.1 156856  5708 ?Sl   17:29   0:00 
/usr/libexec/dconf-service
ubuntu  5998  0.0  0.1 156956  6060 ?Sl   17:29   0:00 
/usr/libexec/dconf-service
```

In that case, gsettings changes by ubiquity will be send to the "wrong"
dconf-service and the gnome-shell will not get these changes.

Solution: Run ubiquity the same way the ubiquity.desktop runs it:
```
sudo --preserve-env=DBUS_SESSION_BUS_ADDRESS,XDG_DATA_DIRS,XDG_RUNTIME_DIR sh 
-c 'ubiquity --debug gtk_ui'
```

Note 2: I also run into #1755452 during testing.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875062

Title:
  [20.04] Keyboard layout changes during installation before typing
  username/password

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1875062/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1875062] Re: [20.04] Keyboard layout changes during installation before typing username/password

2022-04-11 Thread Benjamin Drung
Finished the test cases, successfully tested on Kubuntu and Xubuntu
jammy live images, created merge request:
https://code.launchpad.net/~ubuntu-
installer/ubiquity/+git/ubiquity/+merge/419219

** Merge proposal linked:
   
https://code.launchpad.net/~ubuntu-installer/ubiquity/+git/ubiquity/+merge/419219

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875062

Title:
  [20.04] Keyboard layout changes during installation before typing
  username/password

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1875062/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1875062] Re: [20.04] Keyboard layout changes during installation before typing username/password

2022-04-12 Thread Gunnar Hjalmarsson
Thanks a lot for your hard work with this, Benjamin. It looks promising
indeed.

While I suppose it's considered too late for the 22.04 release, I really
hope that somebody will review and merge your proposal soon after that.
If it proves to work without side issues, it could then be included in
the 22.04.1 point release.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875062

Title:
  [20.04] Keyboard layout changes during installation before typing
  username/password

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1875062/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1875062] Re: [20.04] Keyboard layout changes during installation before typing username/password

2022-04-13 Thread Launchpad Bug Tracker
This bug was fixed in the package ubiquity - 22.04.15

---
ubiquity (22.04.15) jammy; urgency=medium

  * Set GNOME keyboard layout during installation (LP: #1875062)

 -- Benjamin Drung   Wed, 13 Apr 2022 15:56:30 -0700

** Changed in: ubiquity (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875062

Title:
  [20.04] Keyboard layout changes during installation before typing
  username/password

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1875062/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1875062] Re: [20.04] Keyboard layout changes during installation before typing username/password

2022-04-17 Thread Gunnar Hjalmarsson
I tested with the Ubuntu 22.04 daily build ISO from yesterday, and can
no longer reproduce the issue with incorrect effective layout in the
window for entering username, password, etc.

Well done, Benjamin! :) I'd love to see the fix backported to focal too.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875062

Title:
  [20.04] Keyboard layout changes during installation before typing
  username/password

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1875062/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1875062] Re: [20.04] Keyboard layout changes during installation before typing username/password

2024-04-13 Thread Mark Smith
Hi guys,

I'm sorry to say that this bug is back in 24.04 Beta.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875062

Title:
  [20.04] Keyboard layout changes during installation before typing
  username/password

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1875062/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1875062] Re: [20.04] Keyboard layout changes during installation before typing username/password

2024-04-15 Thread Dag Bjerkeli
I've just tested this, and can confirm that there is a bug regarding
keyboard layout in 22.04 beta. As this time the error also appears when
you select the keyboard initially it could a new error.

I also have a preview image of 22.04 dated mars 27th that does not have
the error, even after updated installer.


** Attachment added: "Entering æøå after selecting Norwegian keyboard does not 
show correct keys"
   
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1875062/+attachment/5765721/+files/not%20norwegian%20in%20install.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875062

Title:
  [20.04] Keyboard layout changes during installation before typing
  username/password

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1875062/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1875062] Re: [20.04] Keyboard layout changes during installation before typing username/password

2024-04-15 Thread Dag Bjerkeli
Sorry, it was of course 24.04 I were testing. 24.04 beta and the preview
image was also of 24.04.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875062

Title:
  [20.04] Keyboard layout changes during installation before typing
  username/password

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1875062/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1875062] Re: [20.04] Keyboard layout changes during installation before typing username/password

2024-04-15 Thread Mark Smith
Dag,

Can you confirm you mean 24.04 and not 22.04, please?

On Mon, 15 Apr 2024 at 17:25, Dag Bjerkeli <1875...@bugs.launchpad.net>
wrote:

> I've just tested this, and can confirm that there is a bug regarding
> keyboard layout in 22.04 beta. As this time the error also appears when
> you select the keyboard initially it could a new error.
>
> I also have a preview image of 22.04 dated mars 27th that does not have
> the error, even after updated installer.
>
>
> ** Attachment added: "Entering æøå after selecting Norwegian keyboard does
> not show correct keys"
>
> https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1875062/+attachment/5765721/+files/not%20norwegian%20in%20install.png
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1875062
>
> Title:
>   [20.04] Keyboard layout changes during installation before typing
>   username/password
>
> Status in Release Notes for Ubuntu:
>   Fix Released
> Status in ubiquity package in Ubuntu:
>   Fix Released
> Status in ubiquity source package in Focal:
>   Triaged
> Status in ubiquity source package in Hirsute:
>   Won't Fix
>
> Bug description:
>   During a fresh install of Ubuntu 20.04, selecting Norwegian keyboard
>   is provided and keys are responding correctly at that stage. But later
>   when entering user information the keyboard setting is wrong.
>
>   It looks like it have fallen back to English keyboard-layout.
>   I failed to log in after my first install, so a new attempt I tried to
> write some special letters in the name field, and noticed that I got the
> wrong characters for the key.
>
>   The install is done in VMware workstation 15.
>
>   In the attached screendump, the characters (';[":{) after my name
>   should have been (æøåÆØÅ) that is norwegian characters.
>
>   Problem analysis
>   
>
>   * ubiquity installs open-vm-tools.
>   * open-vm-tools calls "udevadm trigger" in it's postinst script (line 8).
>   * udevadm triggers all udev rules which includes all input devices.
>   * gdm-x-session reads /etc/default/keyboard and sets the keyboard layout.
>   * gnome-shell sets the keyboard layout as well.
>
>   ubiquity already sets /etc/default/keyboard, but does not change the
>   keyboard layout in the GNOME session.
>
>   Proposed solution
>   =
>
>   Let ubiquity also configure the GNOME session to use the selected
>   keyboard layout.
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 20.04
>   Package: ubiquity (not installed)
>   ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
>   Uname: Linux 5.4.0-26-generic x86_64
>   ApportVersion: 2.20.11-0ubuntu27
>   Architecture: amd64
>   CasperMD5CheckResult: skip
>   CurrentDesktop: ubuntu:GNOME
>   Date: Sat Apr 25 19:27:41 2020
>   InstallCmdLine: file=/cdrom/preseed/ubuntu.seed initrd=/casper/initrd
> quiet splash --- maybe-ubiquity
>   InstallationDate: Installed on 2020-04-25 (0 days ago)
>   InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64
> (20200423)
>   SourcePackage: ubiquity
>   Symptom: installer
>   UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu-release-notes/+bug/1875062/+subscriptions
>
> Launchpad-Notification-Type: bug
> Launchpad-Bug: product=ubuntu-release-notes; status=Fix Released;
> importance=Undecided; assignee=None;
> Launchpad-Bug: distribution=ubuntu; sourcepackage=ubiquity;
> component=main; milestone=ubuntu-22.04; status=Fix Released;
> importance=High; assignee=lukasz.zemc...@canonical.com;
> Launchpad-Bug: distribution=ubuntu; distroseries=focal;
> sourcepackage=ubiquity; component=main; milestone=focal-updates;
> status=Triaged; importance=High; assignee=None;
> Launchpad-Bug: distribution=ubuntu; distroseries=hirsute;
> sourcepackage=ubiquity; component=None; milestone=ubuntu-21.04;
> status=Won't Fix; importance=High; assignee=lukasz.zemc...@canonical.com;
> Launchpad-Bug-Tags: amd64 apport-bug focal fr-1091
> id-5ef4c1e222b6324e1c59ad48 iso-testing patch ubiquity-20.04.15
> Launchpad-Bug-Information-Type: Public
> Launchpad-Bug-Private: no
> Launchpad-Bug-Security-Vulnerability: no
> Launchpad-Bug-Commenters: bdrung brian-murray coeur-noir dag-e gunnarhj
> janitor jeando jessicavdh juglugs1974 michel.ekimia nm sh-yaron
> shlomzions sil2100 simosx ubuntuqa vorlon xnox
> Launchpad-Bug-Reporter: Dag Bjerkeli (dag-e)
> Launchpad-Bug-Modifier: Dag Bjerkeli (dag-e)
> Launchpad-Message-Rationale: Subscriber
> Launchpad-Message-For: juglugs1974
>
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875062

Title:
  [20.04] Keyboard layout changes during installation before typing
  username/password

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1875062/+subscriptions


-- 
ubuntu-