1

Topic: Visual style under different users

Greetings to all. At an application launch under the normal user it looks as well as it is expected, and at start through sudo I receive the interface of type Windows 95 Help to understand

2

Re: Visual style under different users

Hello, Maveric _, you wrote: M _> At an application launch under the normal user it looks as well as it is expected, and at start through sudo I receive the interface of type Windows 95 M _> Help to understand  At the user root subject Qt is not adjusted.

3

Re: Visual style under different users

Hello, CaptainFlint, you wrote: CF> At the user root subject Qt is not adjusted. Thanks. And how it to adjust? Or even it is better to copy from other user?

4

Re: Visual style under different users

Hello, Maveric _, you wrote: CF>> At the user root subject Qt is not adjusted. M _> Thanks. M _> and how it to adjust? Or even it is better to copy from other user? The general-purpose recipe is not present, all strongly depends on the specific distribution kit. It is possible  from  in graphic session and there  on adjustments. If graphic session is remote (a-lja at Ubuntu) it is possible to look the adjuster in the current user, to look, what process for it answers, and to launch the same through sudo. Well and if through a drawing it is not possible to find anything necessary it is necessary to search for configs-files only. As a variant to launch a program from the current user through strace and to trace, she reads what files, to filter that in the house directory, and to compare with similar in the house directory . Plus can be dependence on surrounding variables, too it is desirable to check.

5

Re: Visual style under different users

Hello, CaptainFlint, you wrote: CF> the General-purpose recipe is not present, all strongly depends on the specific distribution kit. It is possible  from  in graphic session and there  on adjustments. If graphic session is remote (a-lja at Ubuntu) it is possible to look the adjuster in the current user, to look, what process for it answers, and to launch the same through sudo. Well and if through a drawing it is not possible to find anything necessary it is necessary to search for configs-files only. As a variant to launch a program from the current user through strace and to trace, she reads what files, to filter that in the house directory, and to compare with similar in the house directory . Plus can be dependence on surrounding variables, too it is desirable to check. Here it is a question of application,  I write itself. And, probably, a foolish question: and who and when adjusted style for my user. System put itself. Qt too. Anything in this plan specially did not adjust.

6

Re: Visual style under different users

Hello, Maveric _, you wrote: M _> Greetings to all. M _> at an application launch under the normal user it looks as well as it is expected, and at start through sudo I receive the interface of type Windows 95 M _> Help to understand  Try test examples with styles  to look. Can make enough in the program beginning QApplication:: setStyle (QStyleFactory:: create ("fusion"));///or QApplication:: setStyle (QStyleFactory:: create ("gtk"));

7

Re: Visual style under different users