librem5-base issueshttps://source.puri.sm/Librem5/librem5-base/-/issues2023-11-08T17:21:35Zhttps://source.puri.sm/Librem5/librem5-base/-/issues/75Consider making flatpak and pureos-store-plugin-flatpak non essential system ...2023-11-08T17:21:35ZJoao AzevedoConsider making flatpak and pureos-store-plugin-flatpak non essential system packagesAt the moment in PureOS Byzantium (have not tested in Crimson), it is not possible for a user to remove `flatpak` without breaking the system.
```
purism@pureos:~$ sudo apt remove flatpak
Reading package lists... Done
Building dependen...At the moment in PureOS Byzantium (have not tested in Crimson), it is not possible for a user to remove `flatpak` without breaking the system.
```
purism@pureos:~$ sudo apt remove flatpak
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
dcraw elfutils gcc-10-cross-base gir1.2-flatpak-1.0 libasm1 libc6-arm64-cross libgcc-s1-arm64-cross
libimage-exiftool-perl libposix-strptime-perl libraw-bin ostree
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
flatpak librem5-base librem5-gnome librem5-gnome-base librem5-gnome-phone pureos-flatpak-defaults
pureos-store-plugin-flatpak
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
librem5-base flatpak (due to librem5-base) librem5-gnome librem5-gnome-base (due to librem5-gnome)
librem5-gnome-phone (due to librem5-gnome) pureos-store-plugin-flatpak (due to librem5-gnome-base)
0 upgraded, 0 newly installed, 7 to remove and 0 not upgraded.
After this operation, 6.925 kB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
```
```
purism@pureos:~$ sudo apt remove pureos-store-plugin-flatpak
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
dcraw elfutils gcc-10-cross-base gir1.2-flatpak-1.0 libasm1 libc6-arm64-cross libgcc-s1-arm64-cross
libimage-exiftool-perl libposix-strptime-perl libraw-bin ostree
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
librem5-gnome librem5-gnome-base librem5-gnome-phone pureos-store-plugin-flatpak
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
librem5-gnome librem5-gnome-base (due to librem5-gnome) librem5-gnome-phone (due to librem5-gnome)
pureos-store-plugin-flatpak (due to librem5-gnome-base)
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
After this operation, 284 kB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
?]
```https://source.puri.sm/Librem5/librem5-base/-/issues/74Use Debian's mobile-tweaks2023-07-18T12:40:43ZGuido GuntherUse Debian's mobile-tweaksDebian's mobile-tweaks has device specific changes. E.g. `librem5-tweaks`. Basing on that would help us unclutter librem5-base and would also make PureOS approachable for people that want to use it on other devices.Debian's mobile-tweaks has device specific changes. E.g. `librem5-tweaks`. Basing on that would help us unclutter librem5-base and would also make PureOS approachable for people that want to use it on other devices.https://source.puri.sm/Librem5/librem5-base/-/issues/71Override for key "default-zoom-level" in nautilus.icon-view schema is not in ...2023-06-13T19:02:45ZEvangelos Ribeiro TzarasOverride for key "default-zoom-level" in nautilus.icon-view schema is not in the list of valid choices**UNCONFIRMED, FILING TO NOT FORGET AS THIS MAY BE RELEVANT FOR CRIMSON**
During a package upgrade on L14 running PureOS (with bookworm pinned) I get the following when processing triggers for libglib2.0-0:
```
Processing triggers for...**UNCONFIRMED, FILING TO NOT FORGET AS THIS MAY BE RELEVANT FOR CRIMSON**
During a package upgrade on L14 running PureOS (with bookworm pinned) I get the following when processing triggers for libglib2.0-0:
```
Processing triggers for libglib2.0-0:amd64 (2.74.6-2) ...
Override for key “default-zoom-level” in schema “org.gnome.nautilus.icon-view” in override file “/usr/share/glib-2.0/schemas/11_librem5.gschema.override” is not in the list of valid choices; ignoring override for this key.
```https://source.puri.sm/Librem5/librem5-base/-/issues/70Replace Web with Firefox as the default browser2023-06-19T19:54:23ZFrancois TecheneReplace Web with Firefox as the default browserWeb is progressing well but is still not always reliable with some more complex websites. Firefox, however, already has a strong user base and brings the reliability that Librem customers will be expecting in a web browser.
Web needs to...Web is progressing well but is still not always reliable with some more complex websites. Firefox, however, already has a strong user base and brings the reliability that Librem customers will be expecting in a web browser.
Web needs to be removed (Having two web browsers by default would trigger confusion)https://source.puri.sm/Librem5/librem5-base/-/issues/68Add a license?2023-02-14T19:04:12ZChris TalbotAdd a license?Hello!
there does not look to be a license for this repo. Would you mind adding one?Hello!
there does not look to be a license for this repo. Would you mind adding one?https://source.puri.sm/Librem5/librem5-base/-/issues/64Configure NTP servers for systemd-timesyncd2022-08-11T10:41:47ZEvangelos Ribeiro TzarasConfigure NTP servers for systemd-timesyncdFrom https://source.puri.sm/Librem5/librem5-base/-/merge_requests/317
> Orthogonal question is if we want to set different ntp servers via `/usr/lib/systemd/*.conf.d/` rather than piggy backing on Debian's ntp pool).From https://source.puri.sm/Librem5/librem5-base/-/merge_requests/317
> Orthogonal question is if we want to set different ntp servers via `/usr/lib/systemd/*.conf.d/` rather than piggy backing on Debian's ntp pool).https://source.puri.sm/Librem5/librem5-base/-/issues/62broken udev rule for storage classification / rotational2022-10-22T04:32:29ZMartin Kepplingerbroken udev rule for storage classification / rotationalI see each boot:
`systemd-udevd[938]: sda1: /usr/lib/udev/rules.d/85-librem5-storage.rules:7 Failed to write ATTR{/sys/devices/platform/soc@0/38200000.usb/xhci-hcd.4.auto/usb1/1-1/1-1.1/1-1.1:1.0/host0/target0:0:0/0:0:0:0/block/sda/sda1/...I see each boot:
`systemd-udevd[938]: sda1: /usr/lib/udev/rules.d/85-librem5-storage.rules:7 Failed to write ATTR{/sys/devices/platform/soc@0/38200000.usb/xhci-hcd.4.auto/usb1/1-1/1-1.1/1-1.1:1.0/host0/target0:0:0/0:0:0:0/block/sda/sda1/queue/rotational}, ignoring: No such file or directory`
I think @sebastian.krzyszkowiak added it in https://source.puri.sm/Librem5/librem5-base/-/commit/d58d0a796187cc71723f819581a199ab3b42bcb0https://source.puri.sm/Librem5/librem5-base/-/issues/61sudo is sometimes slow if the hostname has been changed from `pureos` (/etc/n...2022-10-28T10:39:03ZEvangelos Ribeiro Tzarassudo is sometimes slow if the hostname has been changed from `pureos` (/etc/nsswitch.conf)##TL;DR
- if the hostname has been changed to something other than the default `pureos`
it can sometimes take a long time for the `sudo` password prompt to show up
- put `myhostname` before `dns` in `/etc/nsswitch.conf` in the `hosts:` l...##TL;DR
- if the hostname has been changed to something other than the default `pureos`
it can sometimes take a long time for the `sudo` password prompt to show up
- put `myhostname` before `dns` in `/etc/nsswitch.conf` in the `hosts:` line
Spawned from a recent discussion on matrix starting at
https://matrix.to/#/!FwbcAdwtvCYkHekZKf:talk.puri.sm/$0lyWbU8NOF2eIUAQ1dnvYsJwAOdujg43MyqgpDOfAns?via=talk.puri.sm&via=matrix.org&via=librem.one
I mitigated this locally by adding my hostname in `/etc/hosts`, but @sebastian.krzyszkowiak pointed the [manpages](https://www.freedesktop.org/software/systemd/man/nss-myhostname.html) which read
> It is recommended to place "myhostname" after "file" and before "dns". This resolves well-known hostnames like "localhost" and the machine hostnames locally. It is consistent with the behaviour of nss-resolve, and still allows overriding via /etc/hosts.
while I had `myhostname` after `dns`, not before.
I've switched the order and will observe if I ever have slow sudo again.Evangelos Ribeiro TzarasEvangelos Ribeiro Tzarashttps://source.puri.sm/Librem5/librem5-base/-/issues/60Dell Monitor with 'USB 3.2 (Gen1, 5Gb/s) type-c' hub not recognize as dock by...2022-05-06T14:54:21ZRichard DuivenvoordeDell Monitor with 'USB 3.2 (Gen1, 5Gb/s) type-c' hub not recognize as dock by Librem 5Hi,
Got myself an new Dell UltraSharp U2722DE 'USB 3.2 (Gen1, 5Gb/s) type-c' for my laptop:
- usb hub/eth/power over usb-c etc etc
Thought to test it with my Librem5, hoping/thinking it would:
- be charged (it does)
- pick up the 'h...Hi,
Got myself an new Dell UltraSharp U2722DE 'USB 3.2 (Gen1, 5Gb/s) type-c' for my laptop:
- usb hub/eth/power over usb-c etc etc
Thought to test it with my Librem5, hoping/thinking it would:
- be charged (it does)
- pick up the 'hub' (giving it my eth/network, keyboard/mouse etc): nope
- AND give me a Quad HD display to 'work/play' on: nope
But... the monitor/hub is not recognized as such.
While another Quad HD display with a (Delock) DisplayPort->Usb-c-cable just works.
(but then missing my eth/keyboard/mouse)
Looking into the dmesg of the Librem, it looks like most of the usb stuff is recognized, but it apparently misses some flag/bit/whatever to work.
Anything I can do to make this work?
Provide info/logs other?
Other pointers?
Thanks In Advance,
Richard Duivenvoorde
PS below an excerpt of my dmesg, let me know what else I can provide
```
usb 3-1: new high-speed USB device number 9 using xhci-hcd
[ +0.152518] usb 3-1: New USB device found, idVendor=0424, idProduct=4206, bcdDevice= 6.25
[ +0.000029] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ +0.000006] usb 3-1: Product: USB4206 Smart Hub
[ +0.000006] usb 3-1: Manufacturer: Microchip
[ +0.082636] usb 3-1: can't set config #1, error -71
[ +0.010020] usb 3-1: USB disconnect, device number 9
[ +0.728820] bq25890-charger 3-006a: Upstream supply changed: 1.
[ +0.000032] bq25890-charger 3-006a: Disabling OTG_EN pin
[ +0.177646] bq25890-charger 3-006a: Upstream supply changed: 1.
[ +0.000026] bq25890-charger 3-006a: Disabling OTG_EN pin
[ +0.027446] bq25890-charger 3-006a: Upstream supply changed: 1.
[ +0.000034] bq25890-charger 3-006a: Disabling OTG_EN pin
[ +0.018367] bq25890-charger 3-006a: Upstream supply changed: 1.
[ +0.000029] bq25890-charger 3-006a: Disabling OTG_EN pin
[ +0.033865] usb 3-1: new high-speed USB device number 10 using xhci-hcd
[ +0.152828] usb 3-1: New USB device found, idVendor=0424, idProduct=4206, bcdDevice= 6.25
[ +0.000035] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ +0.000007] usb 3-1: Product: USB4206 Smart Hub
[ +0.000006] usb 3-1: Manufacturer: Microchip
[ +0.066856] usb 3-1: can't set config #1, error -71
[ +0.005502] usb 3-1: USB disconnect, device number 10
[ +0.782623] bq25890-charger 3-006a: Upstream supply changed: 1.
[ +0.000043] bq25890-charger 3-006a: Disabling OTG_EN pin
[ +0.178485] bq25890-charger 3-006a: Upstream supply changed: 1.
[ +0.000030] bq25890-charger 3-006a: Disabling OTG_EN pin
[ +0.027078] bq25890-charger 3-006a: Upstream supply changed: 1.
[ +0.000028] bq25890-charger 3-006a: Disabling OTG_EN pin
[ +0.018311] usb 3-1: new high-speed USB device number 11 using xhci-hcd
[ +0.000101] bq25890-charger 3-006a: Upstream supply changed: 1.
[ +0.000011] bq25890-charger 3-006a: Disabling OTG_EN pin
[ +0.153004] usb 3-1: New USB device found, idVendor=0424, idProduct=4206, bcdDevice= 6.25
[ +0.000041] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ +0.000007] usb 3-1: Product: USB4206 Smart Hub
[ +0.000006] usb 3-1: Manufacturer: Microchip
[ +0.051123] hub 3-1:1.0: USB hub found
[ +0.000584] hub 3-1:1.0: 5 ports detected
[ +0.079183] usb 4-1: new SuperSpeed USB device number 7 using xhci-hcd
[ +0.020558] usb 4-1: New USB device found, idVendor=0424, idProduct=7206, bcdDevice= 6.25
[ +0.000037] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ +0.000008] usb 4-1: Product: USB7206 Smart Hub
[ +0.000005] usb 4-1: Manufacturer: Microchip
[ +0.007144] usb 3-1: USB disconnect, device number 11
[ +0.036083] usb 4-1: can't set config #1, error -71
[ +0.006069] usb 4-1: USB disconnect, device number 7
```https://source.puri.sm/Librem5/librem5-base/-/issues/59set usb2642 hubs' ports' pm_qos_no_power_off to 02022-05-05T08:57:54ZMartin Kepplingerset usb2642 hubs' ports' pm_qos_no_power_off to 0the following lets our usb hubs' ports power off. It doesn't make anything worse but could save power (not verified).
```
#!/bin/bash
# let the usb2642 hubs' port power off:
# sd cardreader
echo 0 | sudo tee /sys/bus/usb/devices/1-1/1-1...the following lets our usb hubs' ports power off. It doesn't make anything worse but could save power (not verified).
```
#!/bin/bash
# let the usb2642 hubs' port power off:
# sd cardreader
echo 0 | sudo tee /sys/bus/usb/devices/1-1/1-1:1.0/1-1-port1/power/pm_qos_no_power_off
# modem
echo 0 | sudo tee /sys/bus/usb/devices/1-1/1-1:1.0/1-1-port2/power/pm_qos_no_power_off
# nothing connected
echo 0 | sudo tee /sys/bus/usb/devices/1-1/1-1:1.0/1-1-port3/power/pm_qos_no_power_off
```
Is it possible to set this via udev? I couldn't find it via `udevadm info -a`...
For details see https://www.kernel.org/doc/html/v5.17/driver-api/usb/power-management.html (" This writable flag controls the state of an idle port. Once all children and descendants have suspended the port may suspend/poweroff provided that pm_qos_no_power_off is ‘0’. If pm_qos_no_power_off is ‘1’ the port will remain active/powered regardless of the stats of descendants. Defaults to 1. ")https://source.puri.sm/Librem5/librem5-base/-/issues/57Use wallpaper from pureos-artwork2022-01-19T16:31:46ZGuido GuntherUse wallpaper from pureos-artwork@francois.techene added wallpapers for the l5 there as well, lets use these.@francois.techene added wallpapers for the l5 there as well, lets use these.https://source.puri.sm/Librem5/librem5-base/-/issues/56Reduce non call volume during phone call2022-01-26T13:16:06ZSteve StevensReduce non call volume during phone callProblem: When you're on a call and you receive a text message (or anything else that generates audio), it comes through just as loud as when you're not on a call and thus is quite painfully loud and disruptive.
Potential Solution: I don...Problem: When you're on a call and you receive a text message (or anything else that generates audio), it comes through just as loud as when you're not on a call and thus is quite painfully loud and disruptive.
Potential Solution: I don't know if phosh is the right place for it, but it would be nice if it could reduce the volume for all other programs not a part of a phone call.
One case to think about is when on speaker phone. As it should likely still reduce the volume of other programs as to not allow them to interfere with the call.
Moved from: https://gitlab.gnome.org/World/Phosh/phosh/-/issues/699https://source.puri.sm/Librem5/librem5-base/-/issues/545.16: sysctl nob for wireless roam2021-11-11T17:04:07ZGuido Gunther5.16: sysctl nob for wireless roamWe can set `arp_evict_nocarrier` from 5.16 on:
Details:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fcdb44d08a95We can set `arp_evict_nocarrier` from 5.16 on:
Details:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fcdb44d08a95https://source.puri.sm/Librem5/librem5-base/-/issues/53Clean app grid after install2021-11-05T17:16:58ZTobias BernardClean app grid after installBy default we should only be showing desktop files for apps that are core or at least equivalent in terms of UX/quality.
I'd hide the following desktop files (regardless of the state of the adaptive-only toggle):
- ~~Vim, GVIM~~
- Advan...By default we should only be showing desktop files for apps that are core or at least equivalent in terms of UX/quality.
I'd hide the following desktop files (regardless of the state of the adaptive-only toggle):
- ~~Vim, GVIM~~
- Advanced Network Configuration
Additionally, there are some apps that I don't think should be pre-installed to begin with:
- Parental controls (not adaptive, doesn't work on L5 because we don't have UI for multi-user)
- Megapixels (weird UI, bad icon, non-generic name). I thought we'd agreed to not pre-install that by default and have it just be installable for people from the Store?
- ~~Dconf Editor (old icon, developer tool that we don't recommend pre-installing)~~
![image](/uploads/bce0d9c5e225007cca2b6b0587e0261d/image.png)
Screenshot is from right after first booting today's CI image.https://source.puri.sm/Librem5/librem5-base/-/issues/46Revisit purism user's group2021-05-07T12:53:28ZGuido GuntherRevisit purism user's groupMost additioal groupsshould be superfluous since systemd/udev adds the logged in user anyway so we ought to clean up before byzantium.Most additioal groupsshould be superfluous since systemd/udev adds the logged in user anyway so we ought to clean up before byzantium.https://source.puri.sm/Librem5/librem5-base/-/issues/43Switch to using mobile-tweaks2021-08-17T14:39:54ZGuido GuntherSwitch to using mobile-tweaksThis moves more non-librem5 specific stuff out of this package. We need to fork `mobile-tweaks` since we need proper replaces when moving over config files.
Not necessarily a hard requirement for making byzantium default but won't hurt.This moves more non-librem5 specific stuff out of this package. We need to fork `mobile-tweaks` since we need proper replaces when moving over config files.
Not necessarily a hard requirement for making byzantium default but won't hurt.https://source.puri.sm/Librem5/librem5-base/-/issues/41Drop apps form Phosh's force-adaptive setting2020-11-06T15:12:06ZAdrien PlazasDrop apps form Phosh's force-adaptive settingHere are the apps we should drop (checked ⇒ ready to be dropped):
* [ ] chromium.desktop
* [ ] com.github.johnfactotum.Foliate.desktop
* [ ] firefox-esr.desktop
* [x] gnome-control-center.desktop
* [ ] org.gnome.DejaDup.desktop
* [ ] org...Here are the apps we should drop (checked ⇒ ready to be dropped):
* [ ] chromium.desktop
* [ ] com.github.johnfactotum.Foliate.desktop
* [ ] firefox-esr.desktop
* [x] gnome-control-center.desktop
* [ ] org.gnome.DejaDup.desktop
* [ ] org.gnome.Dictionary.desktop
* [x] org.gnome.Evince.desktop
* [ ] org.gnome.gedit.desktop
* [ ] org.gnome.Lollypop.desktop: https://source.puri.sm/librem5-apps/lollypop/-/merge_requests/1
* [ ] org.gnome.PasswordSafe.desktop
* [ ] org.gnome.Podcasts.desktop: https://github.com/flathub/org.gnome.Podcasts/pull/14
* [ ] org.gnome.Software.desktop
* [x] org.gnome.TwentyFortyEight.desktop
* [x] org.gnome.Usage.desktop
* [ ] org.gnome.zbrown.KingsCross.desktop: https://source.puri.sm/Librem5/kgx/-/merge_requests/4
* [x] sm.puri.Calls.desktop
* [x] sm.puri.Store.desktop
* [ ] supertuxkart.desktop
* [ ] yelp.desktop: https://source.puri.sm/Librem5/yelp/-/issues/2
I'll submit MRs where possible so we can drop as many as possible.https://source.puri.sm/Librem5/librem5-base/-/issues/38Set correct BM818 audio channel mapping2020-11-01T21:42:34ZSebastian KrzyszkowiakSet correct BM818 audio channel mappingAlthough BM818 consumes stereo audio stream, it appears that it randomly decides which channel it's going to use for the call.
This has burned me a few times when configuring echo cancellation. It would be nice to set channel mapping in...Although BM818 consumes stereo audio stream, it appears that it randomly decides which channel it's going to use for the call.
This has burned me a few times when configuring echo cancellation. It would be nice to set channel mapping in ALSA/PulseAudio so both output channels are treated as mono channels and contain the same downmixed content.https://source.puri.sm/Librem5/librem5-base/-/issues/37Rename `gnome-all` to `phosh-all`2020-10-19T07:36:20ZGuido GuntherRename `gnome-all` to `phosh-all`We're not building a pure GNOME desktop but a gnome based one with phosh and other applications (needs a rename in image-builder too.We're not building a pure GNOME desktop but a gnome based one with phosh and other applications (needs a rename in image-builder too.https://source.puri.sm/Librem5/librem5-base/-/issues/33Consider switching to phosh-mobile-tweaks2020-08-23T11:24:58ZGuido GuntherConsider switching to phosh-mobile-tweaksI've opened https://salsa.debian.org/DebianOnMobile-team/phosh/-/merge_requests/7 to add the most important tweaks by a package that's pulled in by phosh by default. If we use that in pureos as well it will allow us to drop more tweaks.I've opened https://salsa.debian.org/DebianOnMobile-team/phosh/-/merge_requests/7 to add the most important tweaks by a package that's pulled in by phosh by default. If we use that in pureos as well it will allow us to drop more tweaks.