You are not logged in.

#1 2021-07-25 20:53:00

Valso
Member
Registered: 2021-04-22
Posts: 136

Programs started as sudo don't look the way I want

I'm not sure if this topic is for this section but considering it's about applications, I can only hope I've posted it in the right section.

Here's the thing: when I start a program with sudo (such as any file manager, like pcmanfm, for instance) it's always white and bright which is literally murder for my eyes. So I logged in as root, set a theme and logged out. While I was logged in as root, the file manager had the theme and colors I wanted it to have. But when I log back to my user (not root) and start it as sudo, it still appears bright and white.

Why sudoed programs don't accept the theme I've set and how do I force them to accept it?

P.S. This is what a sudoed file manager should look like: https://i.imgur.com/NxUYsRj.png (that's Cinnamox-Rhino theme)
And this is what it actually looks like when I sudo it from my user: https://i.imgur.com/DgotCWO.png


RESIST OS GTK3 (customized Arch without pipewire), i7-12700F, RTX 3070 Ti 8GB, 64GB DDR5-4800 (OCed to 5200 MHz).

Offline

#2 2021-07-25 20:55:44

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Programs started as sudo don't look the way I want


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB