Re: [opensuse-gnome] GtkWarning: could not open display

2017-03-20 Thread Sascha Manns
Hi Dominique,

Am Montag, den 20.03.2017, 16:45 +0100 schrieb Dimstar / Dominique
Leuenberger:
> On Mon, 2017-03-20 at 16:34 +0100, Sascha Manns wrote:
> > 
> > Can we add the tumbleweed repository to GNOME:Apps? 
> > 
> 
> Factory == Tumbleweed - with the sub-message that a project providing
> 'openSUSE_Factory' does not consider itself as a user-facing repo,
> but
> as a devel repo - which is exactly true for GNOME:Apps
> 
> Enabling build for openSUSE_Tumbleweed in plus is a waste of
> resources,
> replacing openSUSE_Fatory by openSUSE_Tumbleweed means braking all
> setups of users that have this repo enabled (I rather consider
> dropping
> even more of the targets)
> 
> So far nobody could sell me on the switch.
> 
> Cheers,
> Dominique
Got it. Thanks for clarifying :-)
-- 
Sascha Manns
Email: saigk...@opensuse.org | Blog: http://saigkill.tuxfamily.org
GPG: 0x62ECD463
-- 
To unsubscribe, e-mail: opensuse-gnome+unsubscr...@opensuse.org
To contact the owner, e-mail: opensuse-gnome+ow...@opensuse.org



Re: [opensuse-gnome] GtkWarning: could not open display

2017-03-20 Thread Dimstar / Dominique Leuenberger
On Mon, 2017-03-20 at 16:34 +0100, Sascha Manns wrote:
> 
> Can we add the tumbleweed repository to GNOME:Apps? 
> 

Factory == Tumbleweed - with the sub-message that a project providing
'openSUSE_Factory' does not consider itself as a user-facing repo, but
as a devel repo - which is exactly true for GNOME:Apps

Enabling build for openSUSE_Tumbleweed in plus is a waste of resources,
replacing openSUSE_Fatory by openSUSE_Tumbleweed means braking all
setups of users that have this repo enabled (I rather consider dropping
even more of the targets)

So far nobody could sell me on the switch.

Cheers,
Dominique


signature.asc
Description: This is a digitally signed message part


Re: [opensuse-gnome] GtkWarning: could not open display

2017-03-20 Thread Sascha Manns
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: saigk...@opensuse.org | Blog: http://saigkill.tuxfamily.org
GPG: 0x62ECD463
-- 
To unsubscribe, e-mail: opensuse-gnome+unsubscr...@opensuse.org
To contact the owner, e-mail: opensuse-gnome+ow...@opensuse.org



Re: [opensuse-gnome] GtkWarning: could not open display

2017-03-20 Thread 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..)

-- 
Frederic Crozat
Enterprise Desktop Release Manager
SUSE

-- 
To unsubscribe, e-mail: opensuse-gnome+unsubscr...@opensuse.org
To contact the owner, e-mail: opensuse-gnome+ow...@opensuse.org



Re: [opensuse-gnome] GtkWarning: could not open display

2017-03-19 Thread Sascha Manns
Am Sonntag, den 19.03.2017, 12:04 +0100 schrieb Sascha Manns:
> 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: [...]

I have checked the repository list and found out, that all repos are
targeting Tumbleweed, but not Gnome:Apps. It targets Factory. For that
i doesn't found any Tumbleweed Repo.
Are the contents from Gnome:Apps available in Tumbleweed? Maybe the
error goes away, if all repos targeting just Tumbleweed.

Greetings
Sascha
-- 
Sascha Manns
Email: saigk...@opensuse.org | Blog: http://saigkill.tuxfamily.org
GPG: 0x62ECD463
-- 
To unsubscribe, e-mail: opensuse-gnome+unsubscr...@opensuse.org
To contact the owner, e-mail: opensuse-gnome+ow...@opensuse.org