Hi Frederic, Am Montag, den 20.03.2017, 10:12 +0100 schrieb Frederic Crozat:
Le dimanche 19 mars 2017 à 12:04 +0100, Sascha Manns a écrit :
Hello List,
i'm using Tumbleweed with the GNOME Desktop. Also i have installed galternatives and tried to launch it in the console. But i got:
sascha@linux-ktr9:~$ sudo galternatives /usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
This is the issue.. Using sudo on a GUI program. It is stripping DISPLAY environmnent variable.
You should avoid to run graphical program as root, but if you really must, either use "xdg-su -c program" or using "sudo -E" but the second one might cause a lot of issues with interaction with other desktop components (dbus socket, etc..)
Thank you very much for helping out. Now it works. Can we add the tumbleweed repository to GNOME:Apps? Greetings Sascha -- Sascha Manns Email: saigkill@opensuse.org | Blog: http://saigkill.tuxfamily.org GPG: 0x62ECD463 -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-gnome+owner@opensuse.org