Skip to content
This repository has been archived by the owner on May 10, 2018. It is now read-only.

'enviroment' file not working for Openbox #1497

Closed
ghost opened this issue Oct 18, 2014 · 10 comments
Closed

'enviroment' file not working for Openbox #1497

ghost opened this issue Oct 18, 2014 · 10 comments

Comments

@ghost
Copy link

ghost commented Oct 18, 2014

If I use qupzilla --style=gtk works this works for using gtk themes with QupZilla with QT 5.3.2

I use Openbox and I read somewhere for Openbox you use an 'enviroment' file placed in ~/.config/openbox

This is the contents I used;

# Set the environment variable to force a specific style for QT5
export QT_STYLE_OVERRIDE=gtk

# Set desktop to use for QT5
export DESKTOP_SESSION=gnome

When I use this for QT5 apps this is working, but in QupZilla I can't see the buttons/icons on the toolbar for the Home, Reload, Back & Forward

@JHooverman
Copy link
Member

Closed as duplicate of #1357

@ghost
Copy link
Author

ghost commented Oct 20, 2014

Added hack to fix QT_STYLE_OVERRIDE with QProxyStyle

This commit has been added to the source?

@JHooverman
Copy link
Member

@MouLei: Yes, this hack has been added to the source, please have a look here.

@ghost
Copy link
Author

ghost commented Oct 30, 2014

So is this is 1.8.3, or I need to clone from git to get this?

thanks

@nowrep
Copy link
Member

nowrep commented Oct 30, 2014

This commit is officially available from 1.8.0 release.
Please make sure that $QT_STYLE_OVERRIDE is really available in shell from which you are starting qupzilla.

@ghost
Copy link
Author

ghost commented Oct 31, 2014

I'm running Openbox and you place in this path for the environment file;

~/.config/openbox/environment

This is the contents I'm using;

# Set the environment variable to force a specific style for QT5
export QT_STYLE_OVERRIDE=gtk

# Set desktop to use for QT5
export DESKTOP_SESSION=gnome

@nowrep
Copy link
Member

nowrep commented Oct 31, 2014

I know, you already said this in first post.
I asked you if the $QT_STYLE_OVERRIDE variable is really correctly set (iow if your environment file is sourced).

@nowrep
Copy link
Member

nowrep commented Oct 31, 2014

Can you please test if running qupzilla with QT_STYLE_OVERRIDE=gtk qupzilla works fine?

@ghost
Copy link
Author

ghost commented Oct 31, 2014

WOW fast reply hehe...

I'm compiling 1.8.3 with QT5 as we speak, so brb... :)

@ghost
Copy link
Author

ghost commented Oct 31, 2014

Now I'm not sure which version I was running when I tested this, but I thought it was 1.8.3, it appears to be working now, sorry, not sure what was going on before... :(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants