[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Bug when running pyqt application as root?
From:       Baz Walter <bazwal () ftml ! net>
Date:       2016-02-26 21:37:33
Message-ID: 56D0C59D.1080003 () ftml ! net
[Download RAW message or body]

On 26/02/16 21:18, Mart Stecker wrote:
> 2016-02-26 22:05 GMT+01:00 Baz Walter <bazwal@ftml.net>:
>
>> On 26/02/16 20:31, Mart Stecker wrote:
>>
>>> Hello,
>>>
>>> I just created a pyqt4 application using the designer (python 2.7). There
>>> are several buttons involved and I use the theme-icons eg
>>> application-exit.
>>>
>>> When running this application as non root all theme-icons are displayed as
>>> in the designer.When running the application as root or with sudo (Ubuntu)
>>> the buttons do not show the icons anymore.
>>>
>>> This application needs root permission, but without icons the GUI is
>>> difficult to operate.
>>>
>>> I tested this with Debian and Ubuntu (gnome).
>>>
>>> Is this a bug in pyqt? Does someone know a solution?
>>>
>>>
>> Does the root user have an icon theme configured for it?
>>
> Hi Baz,
>
> Can you tell me how to check this?
>

The settings should stored in same way as they are for an ordinary user 
on your system, only under /root. But obviously, you cannot view or make 
changes in this directory as an ordinary user.

I've never used ubuntu or gnome, so I don't know the specific places to 
look for the icon theme settings.

-- 
Regards
Baz Walter
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic