Tried to run gromit-mpx installing via flatpak , but didnt work.
I got this message from terminal:
process:2): Gtk-WARNING **: 15:53:50.630: Locale not supported by C library.
Using the fallback 'C' locale
(gromit-mpx:2): Gtk-WARNING **: 15:53:50.630: cannot open display:
any alternative to a screen writer app or a way to solve that ?
chrisawi
(Chris Williams)
December 19, 2023, 1:39am
2
What desktop is this?
What does flatpak run --command=locale net.christianbeier.Gromit-MPX
output?
crazymonkey
(Crazy Monkey)
December 19, 2023, 11:32am
3
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LC_CTYPE=“en_US.UTF-8”
LC_NUMERIC=pt_BR.UTF-8
LC_TIME=pt_BR.UTF-8
LC_COLLATE=“en_US.UTF-8”
LC_MONETARY=pt_BR.UTF-8
LC_MESSAGES=“en_US.UTF-8”
LC_PAPER=pt_BR.UTF-8
LC_NAME=“en_US.UTF-8”
LC_ADDRESS=pt_BR.UTF-8
LC_TELEPHONE=pt_BR.UTF-8
LC_MEASUREMENT=pt_BR.UTF-8
LC_IDENTIFICATION=“en_US.UTF-8”
LC_ALL=
i dont know what these means
jjames
(Jerry James)
December 19, 2023, 5:15pm
4
Have you installed both glibc-langpack-en and glibc-langpack-pt?
no, unless flatpak installed, how to verify and install that on silverblue ?
that is what is causing the problem ?
should i rpm-ostree these ?
chrisawi
(Chris Williams)
December 19, 2023, 9:47pm
7
This locale issue probably isn’t fatal, but you can fix it with:
flatpak config --set languages 'en;pt'
flatpak update
Flatpak only installs locale subsets for the language(s) you’re using, but this seems to be broken for mixed locales: [Bug]: not all languages recognised with mixed locale and thus not used for Locale extensions · Issue #5497 · flatpak/flatpak · GitHub
This is the real problem. It’s supposed to work using XWayland, and it does at least run here in GNOME. I couldn’t get it to actually do anything, but I didn’t try very hard.
There’s a report of it failing similarly on sway:
opened 04:28PM - 22 Nov 23 UTC
question
answer-needed
Xwayland autostarts but cannot run gromit
```
gromit-mpx
(gromit-mpx:3205)… : Gtk-WARNING **: 13:27:28.104: cannot open display: :0
```
```
ps aux|grep Xway
user 751 0.0 0.8 333876 70520 tty1 Sl+ 13:14 0:00 Xwayland :0 -rootless -core -terminate 10 -listenfd 28 -listenfd 30 -displayfd 64 -wm 61
```
Archlinux
gromit-mpx 1.5.1-1
sway 1:1.8.1-3
wlroots 0.16.2-2
xorg-xwayland 23.2.2-1
wayland 1.22.0-1
1 Like
i see and thanks for your support, so do you know any other screen annotation app that could run under wayland ?
chrisawi
(Chris Williams)
December 19, 2023, 10:22pm
9
If you’re using GNOME, my first thought would be an extension, but the only one I see on extensions.gnome.org hasn’t been updated in a while: Draw On You Screen - GNOME Shell Extensions
There’s an updated fork, but it hasn’t passed review for inclusion on the website: GitHub - zhrexl/DrawOnYourScreen2