You are not logged in.

#1 2012-04-01 14:38:24

Crone
Member
Registered: 2012-03-21
Posts: 71

[SOVLED]Openbox menu and LD_PRELOAD=...

Hello everyone.

I would like to open firefox by loading a plugin first with this command:

LD_PRELOAD=/usr/lib/nspluginwrapper/i386/linux/libfullscreenhack.so firefox

Its a trick that fixes a youtube issue with dual head setups.

So I want to issue this trick every time I open firefox and therefore I need to set it somehow in the openbox menu. However setting the above command even with single/double quotes doesn't do the trick.
I guess I must do it some other way so can you guys help me?

Thanks

Last edited by Crone (2012-04-01 14:48:18)

Offline

#2 2012-04-01 14:42:35

Psykorgasm
Member
Registered: 2011-11-24
Posts: 177

Re: [SOVLED]Openbox menu and LD_PRELOAD=...

Small bash script in, for example: ~/.config/openbox/ and have the menu exec the script instead?
That's what I do for all my menu related scripts for shutdown/reboot anyway.

Offline

#3 2012-04-01 14:47:51

Crone
Member
Registered: 2012-03-21
Posts: 71

Re: [SOVLED]Openbox menu and LD_PRELOAD=...

Bash script of course. Thanks a lot man it worked

Offline

Board footer

Powered by FluxBB