You are not logged in.

#1 2011-11-30 19:08:16

arctor
Member
Registered: 2011-10-22
Posts: 21

[SOLVED] QGTK Style not loading from menu

vlc.jpg

Does anyone know why my QTGTK Style would load when launching an application from the command line and not load when opening it from the Openbox Menu?

I have tried both

export env GTK2_RC_FILES=~/.gtkrc-2.0
and
export GTK2_RC_FILES=~/.gtkrc-2.0

Last edited by arctor (2011-12-01 00:03:32)

Offline

#2 2011-11-30 20:48:16

smudge
Member
Registered: 2011-03-20
Posts: 158

Re: [SOLVED] QGTK Style not loading from menu

If you start openbox with your .xinitrc try putting:

export GTK2_RC_FILES="$HOME/.gtkrc-2.0"

before your "exec openbox-session" line. Logout, login and maybe check GUI Style using qtconfig.

Offline

#3 2011-11-30 21:03:47

arctor
Member
Registered: 2011-10-22
Posts: 21

Re: [SOLVED] QGTK Style not loading from menu

smudge wrote:

If you start openbox with your .xinitrc try putting:

export GTK2_RC_FILES="$HOME/.gtkrc-2.0"

before your "exec openbox-session" line. Logout, login and maybe check GUI Style using qtconfig.

That worked! Thanks much.

I had it set after "exec openbox-session" :\.

Still wondering why the openbox menu executes applications in a way that the skin wouldnt load as it did with the command line and gmrun.

Offline

#4 2011-11-30 21:29:38

smudge
Member
Registered: 2011-03-20
Posts: 158

Re: [SOLVED] QGTK Style not loading from menu

Glad it worked.

AFAIK anything after the exec line in .xinitrc gets ignored so openbox would run but never know about the export. As for cmd line & gmrun they must have been getting the export from somewhere. I don't know where smile

Offline

Board footer

Powered by FluxBB