You are not logged in.

#1 2013-03-13 20:40:16

Pacopag
Member
Registered: 2011-05-29
Posts: 287

[SOLVED] Using gksudo in openbox gives ugly theme

Hi.  In openbox, whenever I do gksudo to open a gui app as root, I get a really ugly theme rather than my usual gtk theme.  Anyone know why this would happen?  It's not happening in xfce.

Last edited by Pacopag (2013-03-14 15:52:10)

Offline

#2 2013-03-13 20:51:35

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: [SOLVED] Using gksudo in openbox gives ugly theme

Old Chinese proverb: He, who configures GTK3 as well, will enjoy pretty gksudo.

Offline

#3 2013-03-13 20:53:46

Pacopag
Member
Registered: 2011-05-29
Posts: 287

Re: [SOLVED] Using gksudo in openbox gives ugly theme

Hehe.  Love it.

Why does it work in xfce?  I never went out of my way to configure GTK3 there.  I'm pretty sure I'm using the same gtk theme in both openbox and xfce.

Offline

#4 2013-03-13 21:05:39

Šaran
Member
From: Bosnia
Registered: 2011-09-03
Posts: 407

Re: [SOLVED] Using gksudo in openbox gives ugly theme

You don't have gtk theme set for root. Copy .gtkrc-2.0 and/or .config/gtk-3.0 to /root or run app you use to set themes (lxappearance is nice) as root.

Offline

#5 2013-03-14 15:51:59

Pacopag
Member
Registered: 2011-05-29
Posts: 287

Re: [SOLVED] Using gksudo in openbox gives ugly theme

Thank you Saran.

sudo lxappearance did the trick.

Cheers,.

Offline

Board footer

Powered by FluxBB