Gparted su wayland

Installazione, configurazione e uso di programmi e strumenti.
Scrivi risposta
Avatar utente
corradoventu
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3987
Iscrizione: domenica 27 aprile 2008, 22:23
Desktop: GNOME
Distribuzione: Ubuntu 22.04,23.10,24.04,24.10
Sesso: Maschile
Località: Rezzoaglio (GE)
Contatti:

Gparted su wayland

Messaggio da corradoventu »

Normalmente gparted non funziona su wayland per questioni autorizzative ma in realtà è pronto per funzionare, andate a guardare in /usr/sbin/gparted
basta cambiare

Codice: Seleziona tutto

ENABLE_XHOST_ROOT=no
GRANTED_XHOST_ROOT=no
in

Codice: Seleziona tutto

ENABLE_XHOST_ROOT=yes
GRANTED_XHOST_ROOT=yes
e il gioco è fatto.

Codice: Seleziona tutto

	# Interim workaround to allow GParted run by root access to the
	# X11 display server under Wayland.  If configured with
	# './configure --enable-xhost-root', the xhost command is
	# available and root has not been granted access to the X11
	# display via xhost, then grant access.
	#
	ENABLE_XHOST_ROOT=no
	GRANTED_XHOST_ROOT=no
	if test "x$ENABLE_XHOST_ROOT" = 'xyes' && xhost 1> /dev/null 2>&1; then
		if ! xhost | grep -qi 'SI:localuser:root$'; then
			xhost +SI:localuser:root
			GRANTED_XHOST_ROOT=yes
		fi
	fi
Con o senza religione, i buoni si comportano bene e i cattivi male, ma ci vuole la religione per far comportare male i buoni.
(Steven Weinberg)
Scrivi risposta

Ritorna a “Applicazioni”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 12 ospiti