
		brpubunto
		
		(usa Ubuntu)
		
		Enviado em 02/09/2020 - 18:49h 
		-josinaldo- escreveu:
Aqui o Timeshift pede senha para abrir/executar. o Ícone não aparece no menu do KDE, sendo necessário digitar o nome "timeshift" e clicar sobre o ícone do programa com nome "Backups e snapshots" (como falei na postagem anterior).
Veja a imagem anexada do Timeshift.
 
Não quando clico no timeshift não aparece nada só via linha de comando e eu notei uma digamos anomalia pois o kubuntu 20.04 esta sobre o xorg mas quando do um 
cat /usr/bin/timeshift-launcher 
 Aparece isto: [quoteapp_command='timeshift-gtk'
if [ `id -u` -eq 0 ]; then
        #user is admin
        ${app_command}
else
        #user is not admin
        if `echo $- | grep "i" >/dev/null 2>&1`; then
                #script is running in interactive mode
                su - -c "${app_command}"
        else
                #script is running in non-interactive mode
                if [ $XDG_SESSION_TYPE = "wayland" ] ; then
                        xhost +SI:localuser:root
                        pkexec ${app_command}
                        xhost -SI:localuser:root
                        xhost
                elif command -v pkexec >/dev/null 2>&1; then
                        pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY ${app_command}
                elif command -v sudo >/dev/null 2>&1; then
                        x-terminal-emulator -e "sudo ${app_command}"
                elif command -v su >/dev/null 2>&1; then
                        x-terminal-emulator -e "su - -c '${app_command}'"
                else
                        x-terminal-emulator -e "echo 'Command must be run as root user: ${app_command}'"
                fi
        fi
fi]  
 Mas quero da enfase nesta linha: 
 if [ $XDG_SESSION_TYPE = "wayland" ] ; then