Hi,

On 07/11/2020 09:34 PM, Stef Binde wrote:
Edit the config files in/root/.config/pcmanfm-qt and .config/lxqt or
copy your configuration:

cd ~/.config
sudo cp -a lxqt//root/.config
sudo cp -a pcmanfm-qt//root/.config


Il 11/07/20 20:24, Abdurrahman Yaqute via Lxde-list ha scritto:
As says the title, root instances (windows) won't respect my
user-defined fonts, I have Roboto available in /usr/share/fonts and set
as my system font, when I open pcmanfm-qt or featherpad as root I get
the defaults instead of Roboto. How to change font type and size for
applications running as root?
There is also another configuration file outside the .config folder and related with the appearance of the Gtk2 apps, that is:

~/.gtkrc-2.0

In any case, you can always run lxappearance (i don't know about its analogous in lxqt), obconf, etc... as *root*. On the other hand, if you can't access to X11 as root (it'll depend on your display manager), copy the magic number stored in ~/.Xauthority to /root.
You can get it by running:

xauth list|grep `uname -n`

You might also will need to set your display system variable as root:

export DISPLAY=:0.0

Further discussion:

https://serverfault.com/questions/51005/how-to-use-xauth-to-run-graphical-application-via-other-user-on-linux

Cheers,

Aitor.

|
|
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to