Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to start GNOME temporarily with a different GUI language with Wayland?

I know how to start a GNOME session in a console tty under Wayland (original source) and also the LANG=en-US trick that usually works in Linux applications.

Now from the previously linked source I tried this command:

LANG=en-US XDG_SESSION_TYPE=wayland dbus-run-session gnome-session

It did not work and returned me some errors ending with:

fusermount: failed to access mountpoint /run/user/1000/gvfs: Permission denied
A connection to the bus can't be made

Running it with my system's configured language did work, however.

My use case is just that I'd like to make screenshots of some GNOME built-in messages/GUI elements itself (that are not part of any program, such as gnome-control-center. To be more useful (for an international reader/viewer) I'd like to get/use the English version of these. Temporarily of course, I am not keen on changing my system's language in the settings back and forth. Usually that way with LANG=en-US it works so smoothly.


This question has been cross-posted on unix.stackexchange.com.