Alterações visuais das aplicações com root no Kubuntu 15.10 / 16.04

1

O problema é: quando inicio aplicativos no Kubuntu com sudo ou kdesudo , esses aplicativos alteram seus temas visuais e alguns deles são exibidos com problemas.

Como exemplo:

Golfinho no modo normal:

Dolphincomkdesudo:

A próxima coisa muito estranha é a saída do Konsole, durante kdesudo :

eugene@Eugene-KubuntuPC:~$ kdesudo dolphin
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QPixmap::scaled: Pixmap is a null pixmap
...
QPixmap::scaled: Pixmap is a null pixmap
QPainter::begin: Paint device returned engine == 0, type: 2
QPixmap::scaled: Pixmap is a null pixmap
QPainter::begin: Paint device returned engine == 0, type: 2
QPixmap::scaled: Pixmap is a null pixmap
...
QPixmap::scaled: Pixmap is a null pixmap
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
"ÐÑоÑеÑÑ Ð¿ÑоÑокола trash неожиданно завеÑÑилÑÑ"
QPixmap::scaled: Pixmap is a null pixmap
...
QPixmap::scaled: Pixmap is a null pixmap
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setOpacity: Painter not active
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setOpacity: Painter not active
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setCompositionMode: Painter not active
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setOpacity: Painter not active
QPainter::begin: Paint device returned engine == 0, type: 2
...
QPixmap::scaled: Pixmap is a null pixmap
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setOpacity: Painter not active
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setOpacity: Painter not active
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setCompositionMode: Painter not active
QPixmap::scaled: Pixmap is a null pixmap
...
QPixmap::scaled: Pixmap is a null pixmap
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
...
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'

Eu tentei executar aplicativos com variáveis de ambiente como XDG_CURRENT_DESKTOP=$XDG_CURRENT_DESKTOP XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR , mas o resultado não é muito melhor:

Eu notei esse problema no Kubuntu 15.10, mas pensei que seria corrigido no lançamento do LTS. Parece que eu estava errado. Como isso pode ser corrigido?

    
por Eugene 24.04.2016 / 23:14

0 respostas